PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 29, 20250 citationsOpen Access

Optimization-Inspired Few-Shot Adaptation for Large Language Models

View Full Paper
BGBoyan GaoXWXin WangYYYibo Yang

Key Points

  • The proposed method, Optimization-Inspired Few-Shot Adaptation, enhances performance on few-shot tasks.
  • By reinterpreting the LLM forward pass as an optimization process, it reduces computational overhead found in standard approaches.
  • The approach successfully learns preconditioners without adding trainable parameters, improving optimization efficiency.
  • Performance is notably superior in various tasks compared to in-context learning and parameter-efficient fine-tuning methods.

Abstract

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Gao et al. (2025) studied this question.

synapsesocial.com/papers/68da58e0c1728099cfd11744https://doi.org/10.48550/arxiv.2505.19107
Ask AI
Helpful
Bookmark
Share
View Full Paper