Lune

NeurIPS2025顶会

On the Loss of Context Awareness in General Instruction Fine-tuning

Yihan Wang, Andrew Bai, Nanyun Peng, Cho-Jui Hsieh

摘要

Pre-trained Large Language Models (LLMs) require post-training methods such as supervised fine-tuning (SFT) on instruction-response pairs to enable instruction following. However, this process can potentially harm existing capabilities learned during pre-training. In this paper, we investigate the loss of context awareness after SFT, where context awareness is defined as the ability to extract and understand information from user-provided context and respond accordingly. We identify and demonstrate that the loss of context awareness, particularly in open-source models, occurs in instruction fine-tuned LLMs when the chat template is applied to input prompts. We identify that the performance decline is associated with a bias toward different roles learned during conversational instruction fine-tuning. We demonstrate this correlation by visualizing changes in attention allocation after the chat template is applied and manually steering the attention heads. The bias can be learned from training examples that align with the model's internal knowledge and rely less on the user-provided context to generate correct responses. Based on these observations, we propose a metric to identify context-dependent examples from general instruction fine-tuning datasets. We then apply conditional instruction fine-tuning with a context-dependency indicator, enabling the model to preserve context awareness after SFT. Empirical experiments on four context-dependent downstream tasks and three pre-trained LLMs of different sizes show that our method effectively mitigates the loss of context awareness without compromising general instruction-following capabilities.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Flan Collection: Designing Data and Methods for Effective Instruction Tuning 引用了 Finetuned Language Models are Zero-Shot Learners
  • The Flan Collection: Designing Data and Methods for Effective Instruction Tuning 引用了 Training language models to follow instructions with human feedback
  • WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions 引用了 The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
  • WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions 引用了 Finetuned Language Models are Zero-Shot Learners
  • WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions 引用了 Training language models to follow instructions with human feedback
  • Transformer Copilot: Learning from The Mistake Log in LLM Fine-tuning 引用了 Finetuned Language Models are Zero-Shot Learners
  • Transformer Copilot: Learning from The Mistake Log in LLM Fine-tuning 引用了 Training language models to follow instructions with human feedback
  • Finetuned Language Models are Zero-Shot Learners 引用了 Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback 引用了 Finetuned Language Models are Zero-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-TuningJulian Minder, Clément Dumas, Caden Juang, Bilal Chughtai 等NeurIPS 2025 · 32 次引用
  2. ChatInject: Abusing Chat Templates for Prompt Injection in LLM AgentsHwan Chang, Yonghyun Jun, Hwanhee LeeICLR 2026 · 32 次引用
  3. Transformer Copilot: Learning from The Mistake Log in LLM Fine-tuningJiaru Zou, Yikun Ban, Zihao Li, Yunzhe Qi 等NeurIPS 2025 · 29 次引用
  4. Fine-Tuned LLMs Know They Don't Know: A Parameter-Efficient Approach to Recovering HonestyZeyu Shi, Ziming Wang, Tianyu Chen, Shiqi Gao 等AAAI 2026 · 1 次引用
  5. Fine-Tuning Without Forgetting In-Context Learning: A Theoretical Analysis of Linear Attention ModelsChungpa Lee, Jy-yong Sohn, Kangwook LeeICML 2026 · 1 次引用

它引用的 Paper13

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
  3. WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex InstructionsCan Xu, Qingfeng Sun, Kai Zheng, Xiubo Geng 等ICLR 2024 · 1,206 次引用
  4. The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson 等ICML 2023 · 908 次引用
  5. Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用

相关 Paper

  1. Context-Parametric Inversion: Why Instruction Finetuning May Not Actually Improve Context RelianceSachin Goyal, Christina Baek, J. Zico Kolter, Aditi RaghunathanICLR 2025
  2. Instruction Position Matters in Sequence Generation with Large Language ModelsYijin Liu, Xianfeng Zeng, Chenze Shao, Fandong Meng 等ACL Findings 2024 · 6 次引用
  3. Understanding Catastrophic Forgetting in Language Models via Implicit InferenceSuhas Kotha, Jacob Mitchell Springer, Aditi RaghunathanICLR 2024 · 131 次引用
  4. Large Language Models Are Overconfident in Their Own ResponsesMario Sanz-Guerrero, Manuel Mager, Katharina von der WenseACL Findings 2026
  5. Revealing the Inherent Instructability of Pre-Trained Language ModelsSeokhyun An, Minji Kim, Hyounghun KimEMNLP Findings 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖