mlsanityData to 14 Oct 2026

Optimization-Inspired Few-Shot Adaptation for Large Language Models

arXiv 2505.19107 ↗First posted 25 May 2025cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated remarkable performance in real-world applications. However, adapting LLMs to novel tasks via fine-tuning often requires substantial training data and computational resources that are impractical in few-shot scenarios. Existing approaches, such as in-context learning and Parameter-Efficient Fine-Tuning (PEFT), face key limitations: in-context learning introduces additional inference computational overhead with limited performance gains, while PEFT models are prone to overfitting on the few demonstration examples. In this work, we reinterpret the forward pass of LLMs as an optimization process, a sequence of preconditioned gradient descent steps refining internal representations. Based on this connection, we propose Optimization-Inspired Few-Shot Adaptation (OFA), integrating a parameterization that learns preconditioners without introducing additional trainable parameters, and an objective that improves optimization efficiency by learning preconditioners based on a convergence bound, while simultaneously steering the optimization path toward the flat local minimum. Our method overcomes both issues of ICL-based and PEFT-based methods, and demonstrates superior performance over the existing methods on a variety of few-shot adaptation tasks in experiments.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 62 of its 79 references that are in the map. First posted on arXiv 25 May 2025.

Builds on

62 of 79 references.

References · 62

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  7. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  9. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  10. 2023Qwen Technical Reportcited by 3,344
  11. 2023RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Controlcited by 3,080
  12. 2017Prototypical Networks for Few-shot Learningcited by 3,015
38 more
  1. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  2. 2016Matching Networks for One Shot Learningcited by 2,255
  3. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  4. 2022Large Language Models Encode Clinical Knowledgecited by 1,830
  5. 2019Root Mean Square Layer Normalizationcited by 1,480
  6. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  8. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  9. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  10. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  11. 2022Transformers learn in-context by gradient descentcited by 732
  12. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  13. 2023The Falcon Series of Open Language Modelscited by 535
  14. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
  15. 2019Meta-Learning with Implicit Gradientscited by 525
  16. 2017Sharp Minima Can Generalize For Deep Netscited by 466
  17. 2022CodeT: Code Generation with Generated Testscited by 384
  18. 2017Meta-SGD: Learning to Learn Quickly for Few-Shot Learningcited by 379
  19. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
  20. 2017A PAC-Bayesian Approach to Spectrally-Normalized Margin Bounds for Neural Networkscited by 314
  21. 2023In-Context Learning Creates Task Vectorscited by 312
  22. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
  23. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  24. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
  25. 2024PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Modelscited by 269
  26. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 236
  27. 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
  28. 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
  29. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
  30. 2021Free Lunch for Few-shot Learning: Distribution Calibrationcited by 165
  31. 2019Improved Few-Shot Visual Classificationcited by 115
  32. 2019Infinite Mixture Prototypes for Few-Shot Learningcited by 99
  33. 2019Meta-Learning with Warped Gradient Descentcited by 98
  34. 2023How Many Pretraining Tasks Are Needed for In-Context Learning of Linear Regression?cited by 96
  35. 2019Meta-Curvaturecited by 70
  36. 2024The Impact of Initialization on LoRA Finetuning Dynamicscited by 54
  37. 2024VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Bankscited by 52
  38. 2024CorDA: Context-Oriented Decomposition Adaptation of Large Language Models for Task-Aware Parameter-Efficient Fine-tuningcited by 44

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.