[Paper Review] Small Models are Valuable Plug-ins for Large Language Models
SuperICL combines a black-box LLM with a locally fine-tuned small model as a plug-in to improve supervised task performance beyond standard fine-tuning and ICL, while offering stability and interpretability enhancements.
Large language models (LLMs) such as GPT-3 and GPT-4 are powerful but their weights are often publicly unavailable and their immense sizes make the models difficult to be tuned with common hardware. As a result, effectively tuning these models with large-scale supervised data can be challenging. As an alternative, In-Context Learning (ICL) can only use a small number of supervised examples due to context length limits. In this paper, we propose Super In-Context Learning (SuperICL) which allows black-box LLMs to work with locally fine-tuned smaller models, resulting in superior performance on supervised tasks. Our experiments demonstrate that SuperICL can improve performance beyond state-of-the-art fine-tuned models while addressing the instability problem of in-context learning. Furthermore, SuperICL can enhance the capabilities of smaller models, such as multilinguality and interpretability.
Motivation & Objective
- Motivate and develop a method to leverage locally fine-tuned small models as plug-ins for black-box LLMs to improve supervised task performance.
- Address instability and context-length limitations of In-Context Learning (ICL) by using plug-in predictions and confidence to guide the LLM.
- Demonstrate effectiveness on GLUE and XNLI benchmarks, including multilingual settings.
- Explore robustness to adversarial attacks and analyze component contributions, example selection, and number of in-context examples.
Proposed method
- Fine-tune a small plug-in model on the task data (e.g., RoBERTa-Large for GLUE, XLM-V for XNLI).
- Construct a context by sampling training examples and including plug-in predictions with confidence scores and ground-truth labels.
- Attach the plug-in test-prediction (and confidence) to the test input and have the LLM generate the final label and optional explanation.
- Evaluate SuperICL against ICL and the plug-in model alone on GLUE and XNLI, analyzing ablations, overrides, and sensitivity to the number of examples.
- Analyze robustness to adversarial attacks (ANLI) and study the impact of plug-in confidence on decision-making.
- Compare performance with different plug-in models (e.g., RoBERTa vs DeBERTa) and discuss limitations and potential future directions.
Experimental results
Research questions
- RQ1Does SuperICL outperform both GPT-3.5 ICL and the plug-in model alone on standard supervised benchmarks (GLUE, XNLI)?
- RQ2How do the context, plug-in confidence scores, and test-input plug-in predictions contribute to overall performance (ablation analysis)?
- RQ3What is the stability of SuperICL with respect to in-context example selection and the number of examples?
- RQ4How does SuperICL handle multilingual transfer and what languages benefit or lag (XNLI results)?
- RQ5What is the impact of plug-in robustness (adversarial attacks) on SuperICL performance?
Key findings
- On GLUE, SuperICL surpasses GPT-3.5 ICL and RoBERTa-Large with an average margin of 8.58 and 1.22 points, respectively.
- On XNLI, SuperICL yields significant improvements across many languages when paired with XLM-V, though Urdu shows no improvement due to tokenization and baseline weaknesses.
- Ablation shows the importance of including the test-input plug-in prediction, plug-in confidence scores, and in-context examples for effective knowledge transfer.
- SuperICL exhibits more stable performance than ICL across random seeds, with lower variance, particularly on MRPC.
- Overridden predictions by GPT-3.5 tend to occur when the plug-in confidence is low, indicating meaningful use of confidence scores for decision making.
- Using stronger plug-ins (e.g., DeBERTa) still benefits SuperICL, though gains are reduced as the gap between plug-in and LLM narrows.
- Adversarial robustness analysis reveals that attacks on the plug-in can degrade SuperICL, and in some cases ICL may outperform SuperICL under strong plug-in attacks.
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.