Lune

ICML2024顶会

Representation Surgery: Theory and Practice of Affine Steering

Shashwat Singh, Shauli Ravfogel, Jonathan Herzig, Roee Aharoni, Ryan Cotterell, Ponnurangam Kumaraguru

摘要

Language models often exhibit undesirable behavior, e.g., generating toxic or gender-biased text. In the case of neural language models, an encoding of the undesirable behavior is often present in the model's representations. Thus, one natural (and common) approach to prevent the model from exhibiting undesirable behavior is to steer the model's representations in a manner that reduces the probability of it generating undesirable text. This paper investigates the formal and empirical properties of steering functions, i.e., transformation of the neural language model's representations that alter its behavior. First, we derive two optimal, in the least-squares sense, affine steering functions under different constraints. Our theory provides justification for existing approaches and offers a novel, improved steering approach. Second, we offer a series of experiments that demonstrate the empirical effectiveness of the methods in mitigating bias and reducing toxic generation. https://github.com/shauliravfogel/affine-steering 1 IIIT Hyderabad 2 Bar-Ilan University. Work done during an internship at Google Research.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Mitigating Hallucination in VideoLLMs via Temporal-Aware Activation Engineering 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
  • Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 Locating and Editing Factual Associations in GPT
  • Angular Steering: Behavior Control via Rotation in Activation Space 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
  • ODESteer: A Unified ODE-Based Steering Framework for LLM Alignment 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
  • ODESteer: A Unified ODE-Based Steering Framework for LLM Alignment 引用了 RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
  • Emergence of Linear Truth Encodings in Language Models 引用了 Locating and Editing Factual Associations in GPT
  • Emergence of Linear Truth Encodings in Language Models 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Angular Steering: Behavior Control via Rotation in Activation SpaceMinh Hieu Vu, Tan M. NguyenNeurIPS 2025 · 53 次引用
  2. ODESteer: A Unified ODE-Based Steering Framework for LLM AlignmentHongjue Zhao, Haosen Sun, Jiangtao Kong, Xiaochang Li 等ICLR 2026 · 16 次引用
  3. Emergence of Linear Truth Encodings in Language ModelsShauli Ravfogel, Gilad Yehudai, Tal Linzen, Joan Bruna 等NeurIPS 2025 · 12 次引用
  4. Mitigating Hallucination in VideoLLMs via Temporal-Aware Activation EngineeringJianfeng Cai, Jiale Hong, Zongmeng Zhang, Wengang Zhou 等NeurIPS 2025 · 7 次引用
  5. From Directions to Regions: Decomposing Activations in Language Models via Local GeometryOr Shafran, Shaked Ronen, Omri Fahn, Shauli Ravfogel 等ICML 2026 · 7 次引用

它引用的 Paper13

  1. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
  2. Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister 等NeurIPS 2023 · 1,549 次引用
  3. RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi 等EMNLP Findings 2020 · 692 次引用
  4. LEACE: Perfect linear concept erasure in closed formNora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell 等NeurIPS 2023 · 305 次引用
  5. Fair and Optimal Classification via Post-ProcessingRuicheng Xian, Lang Yin, Han ZhaoICML 2023 · 57 次引用

相关 Paper

  1. Distributional Surgery for Language Model ActivationsBao Nguyen, Binh T. Nguyen, Duy Nguyen, Viet Anh NguyenEMNLP Findings 2025
  2. Unsupervised Concept Vector Extraction for Bias Control in LLMsHannah Cyberey, Yangfeng Ji, David EvansEMNLP 2025 · 4 次引用
  3. Multi-Attribute Steering of Language Models via Targeted InterventionDuy Nguyen, Archiki Prasad, Elias Stengel-Eskin, Mohit BansalACL 2025 · 30 次引用
  4. LinEAS: End-to-end Learning of Activation Steering with a Distributional LossPau Rodríguez, Michal Klein, Eleonora Gualdoni, Valentino Maiorca 等NeurIPS 2025 · 15 次引用
  5. IF-Guide: Influence Function-Guided Detoxification of LLMsZachary Coalson, Juhan Bae, Nicholas Carlini, Sanghyun HongNeurIPS 2025 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖