Lune

ICLR2024顶会

Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Tracking

Nikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov, David Bau

摘要

Fine-tuning on generalized tasks such as instruction following, code generation, and mathematics has been shown to enhance language models' performance on a range of tasks. Nevertheless, explanations of how such fine-tuning influences the internal computations in these models remain elusive. We study how fine-tuning affects the internal mechanisms implemented in language models. As a case study, we explore the property of entity tracking, a crucial facet of language comprehension, where models fine-tuned on mathematics have substantial performance gains. We identify the mechanism that enables entity tracking and show that (i) in both the original model and its fine-tuned versions primarily the same circuit implements entity tracking. In fact, the entity tracking circuit of the original model on the fine-tuned versions performs better than the full original model. (ii) The circuits of all the models implement roughly the same functionality: Entity tracking is performed by tracking the position of the correct entity in both the original model and its fine-tuned versions. (iii) Performance boost in the fine-tuned models is primarily attributed to its improved ability to handle the augmented positional information. To uncover these findings, we employ: Patch Patching, DCM, which automatically detects model components responsible for specific semantics, and CMAP, a new approach for patching activations across models to reveal improved mechanisms. Our findings suggest that fine-tuning enhances, rather than fundamentally alters, the mechanistic operation of the model.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Persona Features Control Emergent Misalignment 引用了 Training language models to follow instructions with human feedback
  • Persona Features Control Emergent Misalignment 引用了 Refusal in Language Models Is Mediated by a Single Direction
  • How do Language Models Bind Entities in Context? 引用了 Locating and Editing Factual Associations in GPT
  • LLMs Encode Harmfulness and Refusal Separately 引用了 Training language models to follow instructions with human feedback
  • LLMs Encode Harmfulness and Refusal Separately 引用了 Refusal in Language Models Is Mediated by a Single Direction
  • Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks 引用了 Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
  • Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks 引用了 Training language models to follow instructions with human feedback
  • LIMA: Less Is More for Alignment 引用了 Training language models to follow instructions with human feedback
  • Refusal in Language Models Is Mediated by a Single Direction 引用了 Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks
  • Refusal in Language Models Is Mediated by a Single Direction 引用了 Training language models to follow instructions with human feedback
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper50

  1. Refusal in Language Models Is Mediated by a Single DirectionAndy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka 等NeurIPS 2024 · 1,166 次引用
  2. Mechanistically analyzing the effects of fine-tuning on procedurally defined tasksSamyak Jain, Robert Kirk, Ekdeep Singh Lubana, Robert P. Dick 等ICLR 2024 · 108 次引用
  3. LLMs Encode Harmfulness and Refusal SeparatelyJiachen Zhao, Jing Huang, Zhengxuan Wu, David Bau 等NeurIPS 2025 · 93 次引用
  4. Persona Features Control Emergent MisalignmentMiles Wang, Tom Dupré la Tour, Olivia Watkins, Aleksandar Makelov 等ICLR 2026 · 81 次引用
  5. How do Language Models Bind Entities in Context?Jiahai Feng, Jacob SteinhardtICLR 2024 · 81 次引用

它引用的 Paper25

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
  4. LIMA: Less Is More for AlignmentChunting Zhou, Pengfei Liu, Puxin Xu, Srinivasan Iyer 等NeurIPS 2023 · 1,486 次引用
  5. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma 等ICLR 2022 · 911 次引用

相关 Paper

  1. Dynamic Weight Grafting: Localizing Finetuned Factual Knowledge in TransformersTodd Nief, David Reber, Sean M. Richardson, Ari HoltzmanICLR 2026 · 3 次引用
  2. Entity Tracking in Language ModelsNajoung Kim, Sebastian SchusterACL 2023 · 9 次引用
  3. Memory or Reasoning? Explore How LLMs Compute Mixed Arithmetic ExpressionsChengzhi Li, Heyan Huang, Ping Jian, Zhen Yang 等ACL Findings 2025
  4. Interpretability of Language Models via Task SpacesLucas Weber, Jaap Jumelet, Elia Bruni, Dieuwke HupkesACL 2024
  5. Interpret and Improve In-Context Learning via the Lens of Input-Label MappingsChenghao Sun, Zhen Huang, Yonggang Zhang, Le Lu 等ACL 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖