LiSeCo: Linear Semantic Control for Language Generation
Not on the map. Why?
Abstract (arXiv)
The prevalence of Large Language Models (LLMs) in critical applications highlights the need for controlled language generation methods that are both computationally efficient and enjoy performance guarantees. To address this need, we use a common model of concept semantics as linearly represented in an LLM's latent space. In particular, we take the view that natural language generation traces a trajectory in this continuous semantic space, realized by the language model's hidden activations. This view permits a control-theoretic treatment of text generation in latent space, in which we propose Linear Semantic Control (LiSeCo), a lightweight, gradient-free intervention that dynamically steers trajectories away from regions corresponding to undesired meanings. In particular, we propose to directly intervene, in an online fashion, the activations of the token that is being generated in embedding space. Crucially, LiSeCo does not simply steer activations towards a desirable region. Instead, it relies on classical techniques from control theory to precisely control activations in a context-dependent way, and guarantees that they are brought into a specific pre-defined region of embedding space that corresponds to allowed semantics. The intervention is computed in closed form according to an optimal controller formulation, minimally impacting generation time. This control of the activations in embedding space allows for fine-grained steering of attributes of the generated sequence. We demonstrate that our approach is effective on different tasks -- toxicity, sentiment, and language (English/Spanish) steering -- while maintaining text quality.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 40 of its 59 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
40 of 59 references.
References · 40
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2023Qwen Technical Reportcited by 3,344
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,027
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
28 more
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2021Editing Factual Knowledge in Language Modelscited by 553
- 2021Fast Model Editing at Scalecited by 498
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
- 2023LEACE: Perfect linear concept erasure in closed formcited by 267
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 225
- 2024ReFT: Representation Finetuning for Language Modelscited by 197
- 2023PMET: Precise Model Editing in a Transformercited by 173
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 161
- 2023Fundamental Limitations of Alignment in Large Language Modelscited by 155
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 154
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 141
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 96
- 2022TweetNLP: Cutting-Edge Natural Language Processing for Social Mediacited by 71
- 2021Controlled Text Generation as Continuous Optimization with Multiple Constraintscited by 70
- 2024Style Vectors for Steering Generative Large Language Modelcited by 56
- 2023Unveiling the Pitfalls of Knowledge Editing for Large Language Modelscited by 43
- 2023What's the Magic Word? A Control Theory of LLM Promptingcited by 41
- 2023Mind the instructions: a holistic evaluation of consistency and interactions in prompt-based learningcited by 31
- 2023Taming AI Bots: Controllability of Neural States in Large Language Modelscited by 22
- 2023Prompt Engineering Through the Lens of Optimal Controlcited by 16
- 2024Large Language Models for Social Networks: Applications, Challenges, and Solutionscited by 11
- 2024Controllable Text Generation in the Instruction-Tuning Eracited by 7
Built on by
Citing papers per year: 2025: 8; 2026: 12.
20 papers.
Sort:
By area:
- 2025A Unified Understanding and Evaluation of Steering Methodscited by 46
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 46
- 2025To Steer or Not to Steer? Mechanistic Error Reduction with Abstention for Language Modelscited by 29
- 2026Observing and Controlling Features in Vision-Language-Action Modelscited by 16
- 2025Activation Steering with a Feedback Controllercited by 15
- 2025Preemptive Detection and Steering of LLM Misalignment via Latent Reachabilitycited by 10
- 2026Local Linearity of LLMs Enables Activation Steering via Model-Based Linear Optimal Controlcited by 9
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generationcited by 8
- 2026Steered LLM Activations are Non-Surjectivecited by 8
- 2025Machine Unlearning Meets Adversarial Robustness via Constrained Interventions on LLMscited by 3
- 2026Activation Steering of Video Generation Models via Reduced-Order Linear Optimal Controlcited by 3
- 2026GenCtrl -- A Formal Controllability Toolkit for Generative Modelscited by 2
8 more
- 2026Efficient Paths and Dense Rewards: Probabilistic Flow Reasoning for Large Language Modelscited by 2
- 2026Understanding the Theoretical Foundations of Deep Neural Networks through Differential Equationscited by 1
- 2025How Does Controllability Emerge In Language Models During Pretraining?cited by 0
- 2026Context is All You Needcited by 0
- 2026Mitigating Hallucination in Vision-Language Models through Barrier-Regulated Adaptive Closed-form Steeringcited by 0
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Modelscited by 0
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Controlcited by 0
- 2026The Low-Rank Structure of VLA Reinforcement Learningcited by 0
- 2026The Low-Rank Structure of VLA Reinforcement Learning28 Sep 2026
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Control15 Sep 2026
- 2026Activation Steering of Video Generation Models via Reduced-Order Linear Optimal Control3 Jun 2026
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models29 May 2026
- 2026Mitigating Hallucination in Vision-Language Models through Barrier-Regulated Adaptive Closed-form Steering28 May 2026
- 2026Local Linearity of LLMs Enables Activation Steering via Model-Based Linear Optimal Control21 Apr 2026
- 2026Steered LLM Activations are Non-Surjective10 Apr 2026
- 2026Context is All You Need6 Apr 2026
- 2026Understanding the Theoretical Foundations of Deep Neural Networks through Differential Equations18 Mar 2026
- 2026Observing and Controlling Features in Vision-Language-Action Models5 Mar 2026
- 2026Efficient Paths and Dense Rewards: Probabilistic Flow Reasoning for Large Language Models14 Jan 2026
- 2026GenCtrl -- A Formal Controllability Toolkit for Generative Models9 Jan 2026
8 more
- 2025To Steer or Not to Steer? Mechanistic Error Reduction with Abstention for Language Models15 Oct 2025
- 2025Activation Steering with a Feedback Controller5 Oct 2025
- 2025Machine Unlearning Meets Adversarial Robustness via Constrained Interventions on LLMs3 Oct 2025
- 2025Preemptive Detection and Steering of LLM Misalignment via Latent Reachability25 Sep 2025
- 2025How Does Controllability Emerge In Language Models During Pretraining?3 Aug 2025
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generation25 Apr 2025
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo17 Apr 2025
- 2025A Unified Understanding and Evaluation of Steering Methods4 Feb 2025
- 2025A Unified Understanding and Evaluation of Steering Methodscited by 46
- 2026Steered LLM Activations are Non-Surjectivecited by 8
- 2026Activation Steering of Video Generation Models via Reduced-Order Linear Optimal Controlcited by 3
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Controlcited by 0
- 2026Target-Language Generation in Multilingual Models: Activation Steering and Optimal Control15 Sep 2026
- 2026Activation Steering of Video Generation Models via Reduced-Order Linear Optimal Control3 Jun 2026
- 2026Steered LLM Activations are Non-Surjective10 Apr 2026
- 2025A Unified Understanding and Evaluation of Steering Methods4 Feb 2025
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 46
- 2025To Steer or Not to Steer? Mechanistic Error Reduction with Abstention for Language Modelscited by 29
- 2026GenCtrl -- A Formal Controllability Toolkit for Generative Modelscited by 2
- 2026Understanding the Theoretical Foundations of Deep Neural Networks through Differential Equationscited by 1
- 2025How Does Controllability Emerge In Language Models During Pretraining?cited by 0
- 2026Context is All You Needcited by 0
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Modelscited by 0
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models29 May 2026
- 2026Context is All You Need6 Apr 2026
- 2026Understanding the Theoretical Foundations of Deep Neural Networks through Differential Equations18 Mar 2026
- 2026GenCtrl -- A Formal Controllability Toolkit for Generative Models9 Jan 2026
- 2025To Steer or Not to Steer? Mechanistic Error Reduction with Abstention for Language Models15 Oct 2025
- 2025How Does Controllability Emerge In Language Models During Pretraining?3 Aug 2025
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo17 Apr 2025