Lune

EMNLP2024顶会

Backward Lens: Projecting Language Model Gradients into the Vocabulary Space

Shahar Katz, Yonatan Belinkov, Mor Geva, Lior Wolf

摘要

Understanding how Transformer-based Language Models (LMs) learn and recall information is a key goal of the deep learning community. Recent interpretability methods project weights and hidden states obtained from the forward pass to the models' vocabularies, helping to uncover how information flows within LMs. In this work, we extend this methodology to LMs' backward pass and gradients. We first prove that a gradient matrix can be cast as a low-rank linear combination of its forward and backward passes' inputs. We then develop methods to project these gradients into vocabulary items and explore the mechanics of how new information is stored in the LMs' neurons. Our code is available at: https: //github.com/shacharKZ/BackwardLens .

问 Lune

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

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

已有 12 篇顶会 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 引用了 Fast Model Editing at Scale
  • Locating and Editing Factual Associations in GPT 引用了 Language Models are Few-Shot Learners
  • Attributing Response to Context: A Jensen–Shannon Divergence Driven Mechanistic Study of Context Attribution in Retrieval-Augmented Generation 引用了 Locating and Editing Factual Associations in GPT
  • LoKI: Low-Damage Knowledge Implanting of Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • LoKI: Low-Damage Knowledge Implanting of Large Language Models 引用了 Locating and Editing Factual Associations in GPT
  • LoKI: Low-Damage Knowledge Implanting of Large Language Models 引用了 Language Models are Few-Shot Learners
  • Fast Model Editing at Scale 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Fast Model Editing at Scale 引用了 Language Models are Few-Shot Learners
  • Fine-Grained Activation Steering: Steering Less, Achieving More 引用了 Language Models are Few-Shot Learners
  • Understanding Parametric and Contextual Knowledge Reconciliation within Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Understanding Parametric and Contextual Knowledge Reconciliation within Large Language Models 引用了 Locating and Editing Factual Associations in GPT
  • LLM Braces: Straightening Out LLM Predictions with Relevant Sub-Updates 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • LLM Braces: Straightening Out LLM Predictions with Relevant Sub-Updates 引用了 Locating and Editing Factual Associations in GPT
  • LLM Braces: Straightening Out LLM Predictions with Relevant Sub-Updates 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Attributing Response to Context: A Jensen–Shannon Divergence Driven Mechanistic Study of Context Attribution in Retrieval-Augmented GenerationRuizhe Li, Chen Chen, Yuchen Hu, Yanjun Gao 等ICLR 2026 · 11 次引用
  2. Understanding Parametric and Contextual Knowledge Reconciliation within Large Language ModelsJun Zhao, Yongzhuo Yang, Xiang Hu, Jingqi Tong 等NeurIPS 2025 · 10 次引用
  3. Fine-Grained Activation Steering: Steering Less, Achieving MoreZijian Feng, Tianjiao Li, Zixiao Zhu, Hanzhang Zhou 等ICLR 2026 · 6 次引用
  4. LoKI: Low-Damage Knowledge Implanting of Large Language ModelsRunyu Wang, Peng Ping, Zhengyu Guo, Xiaoye Zhang 等AAAI 2026 · 3 次引用
  5. LLM Braces: Straightening Out LLM Predictions with Relevant Sub-UpdatesYing Shen, Lifu HuangACL 2025 · 3 次引用

它引用的 Paper22

  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. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
  4. Sparse Autoencoders Find Highly Interpretable Features in Language ModelsRobert Huben, Hoagy Cunningham, Logan Riggs Smith, Aidan Ewart 等ICLR 2024 · 1,072 次引用
  5. Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn 等ICLR 2022 · 527 次引用

相关 Paper

  1. VISIT: Visualizing and Interpreting the Semantic Information Flow of TransformersShahar Katz, Yonatan BelinkovEMNLP Findings 2023 · 12 次引用
  2. XAI for Transformers: Better Explanations through Conservative PropagationAmeen Ali, Thomas Schnake, Oliver Eberle, Grégoire Montavon 等ICML 2022 · 144 次引用
  3. LatentLens: Revealing Highly Interpretable Visual Tokens in LLMsBenno Krojer, Perampalli Shravan Nayak, Oscar Mañas, Vaibhav Adlakha 等ICML 2026 · 6 次引用
  4. Learning Transformer ProgramsDan Friedman, Alexander Wettig, Danqi ChenNeurIPS 2023 · 59 次引用
  5. Talking Heads: Understanding Inter-Layer Communication in Transformer Language ModelsJack Merullo, Carsten Eickhoff, Ellie PavlickNeurIPS 2024 · 49 次引用
黄昏的海面,两侧是细线勾勒的悬崖