Aligning Large Language Models with Representation Editing: A Control Perspective
Lingkai Kong, Haorui Wang, Wenhao Mu, Yuanqi Du, Yuchen Zhuang, Yifei Zhou, Yue Song, Rongzhi Zhang, Kai Wang, Chao Zhang
摘要
Aligning large language models (LLMs) with human objectives is crucial for real-world applications. However, fine-tuning LLMs for alignment often suffers from unstable training and requires substantial computing resources. Test-time alignment techniques, such as prompting and guided decoding, do not modify the underlying model, and their performance remains dependent on the original model's capabilities. To address these challenges, we propose aligning LLMs through representation editing. The core of our method is to view a pre-trained autoregressive LLM as a discrete-time stochastic dynamical system. To achieve alignment for specific objectives, we introduce external control signals into the state space of this language dynamical system. We train a value function directly on the hidden states according to the Bellman equation, enabling gradient-based optimization to obtain the optimal control signals at test time. Our experiments demonstrate that our method outperforms existing test-time alignment techniques while requiring significantly fewer resources compared to fine-tuning methods. Our code is available at https://github.com/Lingkai-Kong/RE-Control.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing 引用了 Language Models are Few-Shot Learners
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation Editing 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- 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 引用了 Language Models are Few-Shot Learners
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model 引用了 Training language models to follow instructions with human feedback
- Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neurons 引用了 Training language models to follow instructions with human feedback
- Robust Multi-Objective Controlled Decoding of Large Language Models 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Robust Multi-Objective Controlled Decoding of Large Language Models 引用了 Training language models to follow instructions with human feedback
- ODESteer: A Unified ODE-Based Steering Framework for LLM Alignment 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Training language models to follow instructions with human feedback 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
- Activation Steering with a Feedback Controller 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Activation Steering with a Feedback Controller 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper26
- Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety NeuronsJianhui Chen, Xiaozhi Wang, Zijun Yao, Yushi Bai 等NeurIPS 2025 · 53 次引用
- ODESteer: A Unified ODE-Based Steering Framework for LLM AlignmentHongjue Zhao, Haosen Sun, Jiangtao Kong, Xiaochang Li 等ICLR 2026 · 16 次引用
- Activation Steering with a Feedback ControllerDung Viet Nguyen, Yen Nhi Pham, Hieu M. Vu, Lei Zhang 等ICLR 2026 · 13 次引用
- Detoxifying Large Language Models via Autoregressive Reward Guided Representation EditingYisong Xiao, Aishan Liu, Siyuan Liang, Zonghao Ying 等NeurIPS 2025 · 12 次引用
- Robust Multi-Objective Controlled Decoding of Large Language ModelsSeongho Son, William Bankes, Sangwoong Yoon, Shyam Sundhar Ramesh 等ICLR 2026 · 12 次引用
它引用的 Paper25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister 等NeurIPS 2023 · 1,549 次引用
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
相关 Paper
- MEAV: Model Editing with Alignment Vectors for inference time LLM alignment in single and multidomain preference spectrumSadat Shahriar, Zheng Qi, Nikolaos Pappas, Srikanth Doss 等ACL Findings 2026 · 1 次引用
- REAR: Test-time Preference Realignment through Reward DecompositionFuxiang Zhang, Pengcheng Wang, Chenran Li, Yi-Chen Li 等ICML 2026
- Constructing Your Model's Value Distinction: Towards LLM Alignment with Anchor Words TuningZhen Yang, Ping Jian, Chengzhi Li, Chenxu Wang 等EMNLP Findings 2025 · 1 次引用
- DeAL: Decoding-time Alignment for Large Language ModelsJames Y. Huang, Sailik Sengupta, Daniele Bonadiman, Yi-An Lai 等ACL 2025
- Topology-Enhanced Alignment for Large Language Models: Trajectory Topology Loss and Topological Preference OptimizationYurui Pan, Ke Xu, Bo PengACL Findings 2026
