Context Steering: Controllable Personalization at Inference Time
Jerry Zhi-Yang He, Sashrika Pandey, Mariah L. Schrum, Anca D. Dragan
摘要
To deliver high-quality, personalized responses, large language models (LLMs) must effectively incorporate context -personal, demographic, and cultural information specific to an end-user. For example, asking the model to explain Newton's second law with the context "I am a toddler" should produce a response different from when the context is "I am a physics professor". However, leveraging the context in practice is a nuanced and challenging task, and is often dependent on the specific situation or user base. The model must strike a balance between providing specific, personalized responses and maintaining general applicability. Current solutions, such as prompt-engineering and fine-tuning, require collection of contextually appropriate responses as examples, making them time-consuming and less flexible to use across different contexts. In this work, we introduce Context Steering (CoS) -a simple, training-free decoding approach that amplifies the influence of the context in next token predictions. CoS computes contextual influence by comparing the output probabilities from two LLM forward passes: one that includes the context and one that does not. By linearly scaling the contextual influence, CoS allows practitioners to flexibly control the degree of personalization for different use cases. We show that CoS can be applied to autoregressive LLMs, and demonstrates strong performance in personalized recommendations. Additionally, we show that CoS can function as a Bayesian Generative model to infer and quantify correlations between open-ended texts, broadening its potential applications.
Sure, I'd be happy to explain Newton's second law of motion! Newton's second law of motion, also known as the law of acceleration, states that the acceleration of an object is... LLM WOWZA! giggles Oh my, you little TODDLER you! bounces on knee Well, let me tell ya, little buddy ... is like a super cool secret code! Newton's SECOND law is like when you run around and play! chases after toy ...Isn't that FUN?! LLM with CoS I am a toddler.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Multitask Prompted Training Enables Zero-Shot Task Generalization 引用了 Language Models are Few-Shot Learners
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning Dynamics 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning Dynamics 引用了 Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Multitask Prompted Training Enables Zero-Shot Task Generalization
- 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
- Training language models to follow instructions with human feedback 引用了 Multitask Prompted Training Enables Zero-Shot Task Generalization
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation 引用了 NextQuill: Causal Preference Modeling for Enhancing LLM Personalization
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper11
- NextQuill: Causal Preference Modeling for Enhancing LLM PersonalizationXiaoyan Zhao, Juntao You, Yang Zhang, Wenjie Wang 等ICLR 2026 · 38 次引用
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form GenerationChengbing Wang, Yang Zhang, Wenjie Wang, Xiaoyan Zhao 等ICLR 2026 · 35 次引用
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning DynamicsKartik Sharma, Rakshit S. TrivediICLR 2026 · 8 次引用
- Your Language Model Secretly Contains Personality SubnetworksRuimeng Ye, Zihan Wang, Zinan Ling, Yang Xiao 等ICLR 2026 · 4 次引用
- URLs Help, Topics Guide: Understanding Metadata Utility in LLM TrainingDongyang Fan, Vinko Sabolcec, Martin JaggiNeurIPS 2025 · 2 次引用
它引用的 Paper14
- 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 次引用
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach 等ICLR 2022 · 1,976 次引用
相关 Paper
- Beyond Static Personas: Situational Personality Steering for Large Language ModelsZesheng Wei, Mengxiang Li, Zilei Wang, Yang DengACL Findings 2026
- Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation SteeringEric Bigelow, Daniel Wurgaft, YingQiao Wang, Noah Goodman 等ICML 2026
- Unsupervised Human Preference LearningSumuk Shashidhar, Abhinav Chinta, Vaibhav Sahai, Dilek Hakkani-TürEMNLP 2024 · 1 次引用
- Dynamic Steering With Episodic Memory For Large Language ModelsVan Dai Do, Quan Hung Tran, Svetha Venkatesh, Hung LeACL Findings 2025
- Fast Large Language Model Collaborative Decoding via SpeculationJiale Fu, Yuchu Jiang, Junkai Chen, Jiaming Fan 等ICML 2025
