Context Steering: Controllable Personalization at Inference Time
Jerry Zhi-Yang He, Sashrika Pandey, Mariah L. Schrum, Anca D. Dragan
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Multitask Prompted Training Enables Zero-Shot Task Generalization cites Language Models are Few-Shot Learners
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning Dynamics cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning Dynamics cites Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation cites NextQuill: Causal Preference Modeling for Enhancing LLM Personalization
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation cites Training language models to follow instructions with human feedback
Cited by top-tier papers11
- NextQuill: Causal Preference Modeling for Enhancing LLM PersonalizationXiaoyan Zhao, Juntao You, Yang Zhang, Wenjie Wang et al.ICLR 2026 · 38 citations
- Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form GenerationChengbing Wang, Yang Zhang, Wenjie Wang, Xiaoyan Zhao et al.ICLR 2026 · 35 citations
- COLD-Steer: Steering Large Language Models via In-Context One-step Learning DynamicsKartik Sharma, Rakshit S. TrivediICLR 2026 · 8 citations
- Your Language Model Secretly Contains Personality SubnetworksRuimeng Ye, Zihan Wang, Zinan Ling, Yang Xiao et al.ICLR 2026 · 4 citations
- URLs Help, Topics Guide: Understanding Metadata Utility in LLM TrainingDongyang Fan, Vinko Sabolcec, Martin JaggiNeurIPS 2025 · 2 citations
Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
Related papers
- 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 et al.ICML 2026
- Unsupervised Human Preference LearningSumuk Shashidhar, Abhinav Chinta, Vaibhav Sahai, Dilek Hakkani-TürEMNLP 2024 · 1 citation
- 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 et al.ICML 2025
