Lune

NeurIPS2024顶会

LoFiT: Localized Fine-tuning on LLM Representations

Fangcong Yin, Xi Ye, Greg Durrett

摘要

Recent work in interpretability shows that large language models (LLMs) can be adapted for new tasks in a learning-free way: it is possible to intervene on LLM representations to elicit desired behaviors for alignment. For instance, adding certain bias vectors to the outputs of certain attention heads is reported to boost the truthfulness of models. In this work, we show that localized fine-tuning serves as an effective alternative to such representation intervention methods. We introduce a framework called Localized Fine-Tuning on LLM Representations (LoFiT), which identifies a subset of attention heads that are most important for learning a specific task, then trains offset vectors to add to the model's hidden representations at those selected heads. LoFiT localizes to a sparse set of heads (3%-10%) and learns the offset vectors from limited training data, comparable to the settings used for representation intervention. For truthfulness and reasoning tasks, we find that LoFiT's intervention vectors are more effective for LLM adaptation than vectors from representation intervention methods such as Inference-time Intervention. We also find that the localization step is important: selecting a task-specific set of attention heads can lead to higher performance than intervening on heads selected for a different task. Finally, across 7 tasks we study, LoFiT achieves comparable performance to other parameter-efficient fine-tuning methods such as LoRA, despite modifying 20x-200x fewer parameters than these methods.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
  • Measuring Massive Multitask Language Understanding 引用了 Language Models are Few-Shot Learners
  • Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers 引用了 Locating and Editing Factual Associations in GPT
  • Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers 引用了 Language Models are Few-Shot Learners
  • Permissioned LLMs: Enforcing Access Control in Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • LinEAS: End-to-end Learning of Activation Steering with a Distributional Loss 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • LinEAS: End-to-end Learning of Activation Steering with a Distributional Loss 引用了 Measuring Massive Multitask Language Understanding
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
  • REAL: Reading Out Transformer Activations for Precise Localization in Language Model Steering 引用了 Locating and Editing Factual Associations in GPT
  • REAL: Reading Out Transformer Activations for Precise Localization in Language Model Steering 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • REAL: Reading Out Transformer Activations for Precise Localization in Language Model Steering 引用了 Language Models are Few-Shot Learners
  • DISCO: Disentangled Communication Steering for Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • DISCO: Disentangled Communication Steering for Large Language Models 引用了 Locating and Editing Factual Associations in GPT
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in TransformersAndrew Nam, Henry Conklin, Yukang Yang, Tom Griffiths 等NeurIPS 2025 · 21 次引用
  2. LinEAS: End-to-end Learning of Activation Steering with a Distributional LossPau Rodríguez, Michal Klein, Eleonora Gualdoni, Valentino Maiorca 等NeurIPS 2025 · 15 次引用
  3. Permissioned LLMs: Enforcing Access Control in Large Language ModelsBargav Jayaraman, Virendra J. Marathe, Hamid Mozaffari, William F. Shen 等NeurIPS 2025 · 13 次引用
  4. DISCO: Disentangled Communication Steering for Large Language ModelsMax Torop, Aria Masoomi, Masih Eskandar, Jennifer G. DyNeurIPS 2025 · 5 次引用
  5. REAL: Reading Out Transformer Activations for Precise Localization in Language Model SteeringLi-Ming Zhan, Bo LIU, Yujie Feng, Chengqiang Xie 等ICLR 2026 · 4 次引用

它引用的 Paper27

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
  4. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  5. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用

相关 Paper

  1. ReFT: Representation Finetuning for Language ModelsZhengxuan Wu, Aryaman Arora, Zheng Wang, Atticus Geiger 等NeurIPS 2024 · 233 次引用
  2. Sparsity May Be All You Need: Sparse Random Parameter AdaptationJesus Rios, Pierre L. Dognin, Ronny Luss, Karthikeyan Natesan RamamurthyEMNLP Findings 2025
  3. MELoRA: Mini-Ensemble Low-Rank Adapters for Parameter-Efficient Fine-TuningPengjie Ren, Chengshun Shi, Shiguang Wu, Mengqi Zhang 等ACL 2024
  4. LoSiA: Efficient High-Rank Fine-Tuning via Subnet Localization and OptimizationXujia Wang, Yunjia Qi, Bin XuEMNLP 2025
  5. SuLoRA: Subspace Low-Rank Adaptation for Parameter-Efficient Fine-TuningChenhao Ding, Jiangyang Li, Songlin Dong, Xinyuan Gao 等ACL Findings 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖