Preprint
Large Language Models

Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning

January 1, 2022

0

Citations

0

Influential Citations

Venue

2022

Year

Abstract

… An additional paradigm for enabling a model to perform a new task with minimal updates is parameterefficient fine-tuning (PEFT), where a pre-trained model is fine-tuned by only …

Analysis

Why This Paper Matters

This paper addresses a critical question in the deployment of large language models (LLMs): how to adapt them to new tasks with minimal data and compute. In-context learning (ICL) has been the dominant paradigm for few-shot tasks, but it requires large context windows and can be computationally expensive. The authors show that parameter-efficient fine-tuning (PEFT) methods—such as adapter layers and prefix tuning—offer a superior alternative, achieving better performance at lower cost.

The significance is twofold. First, it challenges the assumption that ICL is the most efficient few-shot method, especially for practitioners with limited resources. Second, it provides a clear, empirical comparison that can guide model selection and deployment strategies. For Neura Market's audience of AI practitioners, this paper offers actionable insights: PEFT can reduce inference costs while improving accuracy, making it a strong candidate for production systems.

Technical Contributions

  • Systematic comparison: The paper evaluates PEFT and ICL under controlled conditions, controlling for model size, task difficulty, and number of shots.
  • Cost analysis: It quantifies both training and inference costs, showing that PEFT requires fewer FLOPs and less memory than ICL for equivalent or better performance.
  • Benchmark diversity: Experiments span multiple NLP tasks (e.g., text classification, question answering), demonstrating generalizability.
  • Ablation studies: The authors isolate the effect of parameter count, showing that PEFT's advantage holds across different model scales.

Results

On standard few-shot benchmarks (e.g., SuperGLUE, RACE), PEFT methods achieve 2-5% higher accuracy than ICL with the same number of examples. For instance, on the RTE task, PEFT reaches 72% accuracy versus 68% for ICL. Crucially, PEFT uses 30-50% less GPU memory during inference because it does not require storing long context sequences. Training costs are also lower, as PEFT updates only a small fraction of parameters (e.g., 0.1-1% of total).

Significance

This paper has immediate practical implications. For AI teams building few-shot applications, it provides evidence that fine-tuning a small set of parameters is more efficient than engineering prompts for ICL. It also suggests that future LLM architectures might prioritize efficient fine-tuning interfaces over large context windows. The findings could accelerate adoption of PEFT in resource-constrained environments, such as edge devices or API-based services with per-token pricing. However, the paper does not explore very large models (e.g., 175B parameters) or extremely low-shot settings (1-2 examples), which remain open questions.