paper-with-me

홈 › Papers

Fine-Tuning Without Forgetting In-Context Learning: A Theoretical Analysis of Linear Attention Models

2026-02-26 · Chungpa Lee, Jy-yong Sohn, Kangwook Lee arxiv

Transformer-based large language models exhibit in-context learning, enabling adaptation to downstream tasks via few-shot prompting with demonstrations. In practice, such models are often fine-tuned to improve zero-shot performance on downstream tasks, allowing them to solve tasks without examples and thereby reducing inference costs. However, fine-tuning can degrade in-context learning, limiting the performance of fine-tuned models on tasks not seen during fine-tuning. Using linear attention models, we provide a theoretical analysis that characterizes how fine-tuning objectives modify attention parameters and identifies conditions under which this leads to degraded few-shot performance. We show that fine-tuning all attention parameters can harm in-context learning, whereas restricting updates to the value matrix improves zero-shot performance while preserving in-context learning. We further show that incorporating an auxiliary few-shot loss enhances in-context learning primarily on the target task, at the expense of degraded in-context learning ability on tasks not seen during fine-tuning. We provide empirical evidence from synthetic and real-world datasets consistent with the qualitative predictions of our theory.

📄 PDF Abstract BibTeX arXiv:2602.23197

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Why Fine-Tuning Struggles with Forgetting in Machine Unlearning? Theoretical Insights and a Remedial Approach

2024-10-04 · Meng Ding, Jinhui Xu, Kaiyi Ji

Machine Unlearning has emerged as a significant area of research, focusing on 'removing' specific subsets of data from a trained model. Fine-tuning (FT) methods have become one of the fundamental approaches for approxima…

Machine Unlearning

Talking to Yourself: Defying Forgetting in Large Language Models

2026-01-23 · Yutao Sun, Mingshuai Chen, Tiancheng Zhao, Phillip Miao 외 arxiv

Catastrophic forgetting remains a major challenge when fine-tuning large language models (LLMs) on narrow, task-specific data, often degrading their general knowledge and reasoning abilities. We propose SA-SFT, a lightwe…

General Knowledge

SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRA

2025-05-29 · Minrui Luo, Fuhang Kuang, Yu Wang, Zirui Liu 외

Parameter-Efficient Fine-Tuning (PEFT) methods, particularly Low-Rank Adaptation (LoRA), are indispensable for efficiently customizing Large Language Models (LLMs). However, vanilla LoRA suffers from slow convergence spe…

Navigateparameter-efficient fine-tuningWorld Knowledge

Proxy-FDA: Proxy-based Feature Distribution Alignment for Fine-tuning Vision Foundation Models without Forgetting

2025-05-30 · Chen Huang, Skyler Seto, Hadi Pouransari, Mehrdad Farajtabar 외

Vision foundation models pre-trained on massive data encode rich representations of real-world concepts, which can be adapted to downstream tasks by fine-tuning. However, fine-tuning foundation models on one task often l…

image-classificationImage ClassificationVisual Question Answering (VQA)

Fine-Tuning Without Forgetting via Loss-Adaptive Learning Rates

2026-05-19 · Parjanya Prajakta Prashant, Jiongli Zhu, Aldan Creo, Babak Salimi arxiv

Fine-tuning large language models on new data improves task performance but degrades capabilities learned during pretraining, a phenomenon known as catastrophic forgetting. Existing methods mitigate this by modifying the…