AIExplainer

prompt tuning

A parameter efficient tuning mechanism that learns a "prefix" that the system prepends to the actual prompt.

A parameter efficient tuning mechanism that learns a "prefix" that the system prepends to the actual prompt. One variation of prompt tuning—sometimes called prefix tuning—is to prepend the prefix at every layer. In contrast, most prompt tuning only adds a prefix to the input layer.

For prompt tuning, the "prefix" (also known as a "soft prompt") is a handful of learned, task-specific vectors prepended to the text token embeddings from the actual prompt. The system learns the soft prompt by freezing all other model parameters and fine-tuning on a specific task. ---

Practitioners refer to prompt tuning when building, training, or evaluating machine learning systems. It appears in research papers, product documentation, and technical discussions about AI capabilities and limitations.