[Paper Review] Model ensemble instead of prompt fusion: a sample-specific knowledge transfer method for few-shot prompt tuning
This paper proposes Sample-specific Ensemble of Source Models (SESoM), a novel method for few-shot prompt tuning that improves performance by adaptively weighting predictions from multiple source task models based on each target sample's needs. Unlike prompt fusion, SESoM uses a sample-specific ensemble strategy with an attention-based weighting mechanism, achieving state-of-the-art results across eight NLP tasks and three model scales (T5-Base to T5-XL).
Prompt tuning approaches, which learn task-specific soft prompts for a downstream task conditioning on frozen pre-trained models, have attracted growing interest due to its parameter efficiency. With large language models and sufficient training data, prompt tuning performs comparably to full-model tuning. However, with limited training samples in few-shot settings, prompt tuning fails to match the performance of full-model fine-tuning. In this work, we focus on improving the few-shot performance of prompt tuning by transferring knowledge from soft prompts of source tasks. Recognizing the good generalization capabilities of ensemble methods in low-data regime, we first experiment and show that a simple ensemble of model predictions based on different source prompts, outperforms existing multi-prompt knowledge transfer approaches such as source prompt fusion in the few-shot setting. Motivated by this observation, we further investigate model ensembles and propose Sample-specific Ensemble of Source Models (SESoM). SESoM learns to adjust the contribution of each source model for each target sample separately when ensembling source model outputs. Through this way, SESoM inherits the superior generalization of model ensemble approaches and simultaneously captures the sample-specific competence of each source prompt. We conduct experiments across a diverse set of eight NLP tasks using models of different scales (T5-{base, large, XL}) and find that SESoM consistently outperforms the existing models of the same as well as larger parametric scale by a large margin.
Motivation & Objective
- Improve few-shot prompt tuning performance when labeled data is scarce.
- Address the limitation of existing multi-prompt knowledge transfer methods, such as prompt fusion, in low-data regimes.
- Leverage soft prompts from multiple source tasks to enhance generalization in few-shot settings.
- Develop a model ensemble strategy that adapts to individual target samples rather than applying a fixed fusion rule.
- Demonstrate that sample-specific model ensembling outperforms prompt-level fusion and uniform ensemble baselines in few-shot NLP tasks.
Proposed method
- Propose Sample-specific Ensemble of Source Models (SESoM), which learns dynamic, sample-specific weights for ensembling predictions from multiple source models.
- Use an attention-style network (G) to generate adaptive ensemble weights for each target input based on its features and the performance of each source model.
- Train the ensemble weights using few-shot labeled data from the target task, allowing the model to learn which source models are most competent for each sample.
- Replace prompt fusion with model-level ensemble: instead of combining soft prompts, combine model outputs using learned attention weights.
- Integrate SESoM with frozen pre-trained models (T5-base, large, XL), fine-tuning only the soft prompt for the target task while keeping all other parameters frozen.
- Apply logit averaging with learned attention weights to combine predictions from source models, improving robustness and accuracy in low-data regimes.
Experimental results
Research questions
- RQ1Can a simple model ensemble of predictions from different source models outperform prompt fusion in few-shot prompt tuning?
- RQ2Is a sample-specific ensemble strategy—where each target sample gets a unique combination of source model contributions—more effective than fixed or uniform ensembling?
- RQ3How does the performance of SESoM compare to prompt fusion and other ensemble baselines across diverse NLP tasks and model scales?
- RQ4Do the attention weights learned by SESoM align with the actual predictive competence of source models on individual target samples?
- RQ5Can SESoM generalize well even when the number of labeled examples in the target task is extremely small?
Key findings
- A simple uniform logit-averaging ensemble of source model predictions outperforms prompt fusion and other multi-prompt knowledge transfer methods in few-shot settings.
- SESoM consistently outperforms all baselines, including prompt fusion and other ensemble methods, across all eight evaluated NLP tasks and three T5 model scales (Base, Large, XL).
- In case studies on the MRPC task, SESoM assigns higher attention weights to source models that make correct predictions on each target sample, demonstrating sample-specific adaptivity.
- The attention weights generated by SESoM’s module G are aligned with the actual performance of source models per sample, confirming the model’s ability to learn relevant, context-aware ensembling.
- SESoM maintains superior performance even when increasing the number of labeled examples and source tasks, indicating strong scalability and robustness.
- The method achieves state-of-the-art results in every tested scenario, demonstrating that model-level ensemble with sample-specific weighting is more effective than prompt-level fusion.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.