Introduction
Prompt-tuning has emerged as a powerful paradigm for adapting Pretrained Language Models (PLMs) to downstream tasks with minimal data. By framing tasks as "cloze" questions (e.g., "The movie was great. It was [MASK]."), researchers can leverage the inherent knowledge of the model. However, a significant bottleneck remains in the verbalizer—the component responsible for mapping the PLM’s predicted [MASK] token back to a discrete class label (e.g., mapping "great" to "Positive").
Traditional verbalizers suffer from two primary issues: manual bias from expert-chosen label words and the "Cold Start" problem. The latter occurs in "soft" verbalizers, where labels are treated as trainable embeddings; these often fail in zero-shot or few-shot settings because they begin with random initializations and lack task-specific knowledge. This paper introduces the Prototypical Prompt Verbalizer (PPV), which replaces discrete words with continuous "prototypical embeddings" elicited directly from the PLM.
Methodology: Prototypical Prompt Verbalizer
The core innovation of PPV is representing labels as vectors (prototypes) in a feature space. This approach allows for a richer semantic representation than single-word labels.
1. Knowledge Elicitation (Zero-Shot Initialization)
To overcome the Cold Start problem, PPV "elicits" knowledge from the PLM itself. The process involves sampling unlabeled sentences containing a specific label word (e.g., "Politics") and wrapping them in a specialized template: "[SENTENCE] In this sentence, [WORD] means [MASK]." The resulting embedding at the [MASK] position serves as the initial prototype for that label, ensuring the verbalizer is aligned with the model's internal logic from the start.
2. Contrastive Learning and Classification
In few-shot scenarios, the model is refined using three contrastive loss functions. The Instance-Instance Loss ($L_s$) clusters embeddings of the same class, while the Instance-Prototype Losses ($L_{p1}$ & $L_{p2}$) ensure input embeddings are proximal to their corresponding label prototypes. For classification, the model calculates the cosine similarity between the input's [MASK] embedding and all label prototypes, selecting the label with the highest similarity.
Experimental Evaluation
The researchers evaluated PPV on three many-class topic classification benchmarks: AG’s News (4 classes), Yahoo Answers (10 classes), and DBPedia (14 classes).
Key Results
PPV consistently outperformed standard prompt-tuning (PT) and soft prompt verbalizers (SPV) across various k-shot settings, demonstrating superior stability in low-resource environments.
- Zero-Shot Performance: On the DBPedia dataset, PPV achieved a Micro-F1 of 80.65, significantly outperforming standard prompt-tuning, which scored 65.10.
- Few-Shot Robustness: In the 20-shot setting on Yahoo Answers, PPV reached an F1 of 68.22, while standard prompt-tuning trailed at 67.11.
- Efficiency: PPV achieves these gains with fewer trainable parameters than standard tuning methods that modify the entire language model head.
Discussion and Future Work
By moving from discrete words to continuous prototypes, PPV captures nuanced semantic information that single words cannot. The "PLM-as-teacher" approach to initialization provides a robust foundation for few-shot learning.
However, the method faces challenges regarding noise in the elicitation process, particularly with polysemous label words. Future research may explore automated de-noising techniques or self-supervised refinement to further enhance prototype quality without relying on raw sentence sampling. Despite these limitations, PPV represents a significant step toward more stable and knowledgeable prompt-tuning systems.
Summary updated