ACL Findings2022
Extracting Latent Steering Vectors from Pretrained Language Models
Nishant Subramani, Nivedita Suresh, Matthew E. Peters
摘要
Prior work on controllable text generation has focused on learning how to control language models through trainable decoding, smartprompt design, or fine-tuning based on a desired objective. We hypothesize that the information needed to steer the model to generate a target sentence is already encoded within the model. Accordingly, we explore a different approach altogether: extracting latent vectors directly from pretrained language model decoders without fine-tuning. Experiments show that there exist steering vectors, which, when added to the hidden states of the language model, generate a target sentence nearly perfectly (> 99 BLEU) for English sentences from a variety of domains. We show that vector arithmetic can be used for unsupervised sentiment transfer on the Yelp sentiment benchmark, with performance comparable to models tailored to this task. We find that distances between steering vectors reflect sentence similarity when evaluated on a textual similarity benchmark (STS-B), outperforming pooled hidden states of models. Finally, we present an analysis of the intrinsic properties of the steering vectors. Taken together, our results suggest that frozen LMs can be effectively controlled through their latent steering space. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 108 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Function Vectors in Large Language Models 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Function Vectors in Large Language Models 引用了 Language Models are Few-Shot Learners
- Implicit In-context Learning 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Implicit In-context Learning 引用了 Language Models are Few-Shot Learners
- Many-shot Jailbreaking 引用了 Language Models are Few-Shot Learners
- ReFT: Representation Finetuning for Language Models 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- GeDi: Generative Discriminator Guided Sequence Generation 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- GeDi: Generative Discriminator Guided Sequence Generation 引用了 Language Models are Few-Shot Learners
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 GeDi: Generative Discriminator Guided Sequence Generation
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 Language Models are Few-Shot Learners
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper108
- Implicit In-context LearningZhuowei Li, Zihao Xu, Ligong Han, Yunhe Gao 等ICLR 2025 · 1,989 次引用
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister 等NeurIPS 2023 · 1,549 次引用
- Many-shot JailbreakingCem Anil, Esin Durmus, Nina Panickssery, Mrinank Sharma 等NeurIPS 2024 · 338 次引用
- ReFT: Representation Finetuning for Language ModelsZhengxuan Wu, Aryaman Arora, Zheng Wang, Atticus Geiger 等NeurIPS 2024 · 233 次引用
- Function Vectors in Large Language ModelsEric Todd, Millicent L. Li, Arnab Sen Sharma, Aaron Mueller 等ICLR 2024 · 229 次引用
它引用的 Paper12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
- GeDi: Generative Discriminator Guided Sequence GenerationBen Krause, Akhilesh Deepak Gotmare, Bryan McCann, Nitish Shirish Keskar 等EMNLP Findings 2021 · 219 次引用
- Residual Energy-Based Models for Text GenerationYuntian Deng, Anton Bakhtin, Myle Ott, Arthur Szlam 等ICLR 2020 · 147 次引用
相关 Paper
- Word Embeddings Are Steers for Language ModelsChi Han, Jialiang Xu, Manling Li, Yi Fung 等ACL 2024 · 8 次引用
- SAE-SSV: Supervised Steering in Sparse Representation Spaces for Reliable Control of Language ModelsZirui He, Mingyu Jin, Bo Shen, Ali Payani 等EMNLP 2025 · 1 次引用
- Attribute Alignment: Controlling Text Generation from Pre-trained Language ModelsDian Yu, Zhou Yu, Kenji SagaeEMNLP Findings 2021 · 26 次引用
- TextSETTR: Few-Shot Text Style Extraction and Tunable Targeted RestylingParker Riley, Noah Constant, Mandy Guo, Girish Kumar 等ACL 2021
- Improving Instruction-Following in Language Models through Activation SteeringAlessandro Stolfo, Vidhisha Balachandran, Safoora Yousefi, Eric Horvitz 等ICLR 2025
