cs.CLAug 26, 2026

Controllable Affective Generation via Latent Vector Steering

Authors: Xixian Yong, Siyuan Chang, Yingying Zhang, Xian Wu, Xiao Zhou

Organizations: Gaoling School of Artificial Intelligence, Renmin University of China · Tencent Jarvis Lab · Beijing Key Laboratory of Research on Large Models and Intelligent Governance · Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE

Abstract

Large Language Models (LLMs) often produce emotionally flattened responses after alignment, limiting their effectiveness in affect-sensitive applications. In this paper, we propose EmoVec, a lightweight framework for controllable affective generation via latent vector steering. EmoVec extracts emotion-specific directions from paired neutral and emotion-conditioned responses using contrastive activation addition, and further refines them through task-specific debiasing and principal subspace removal. During inference, these vectors are injected into the final residual stream with static or scenario-adaptive scaling, enabling continuous control over emotional intensity without updating model weights. Experiments across three LLMs and eight emotions show that EmoVec consistently improves emotional salience while largely preserving semantic content, fluency, and coherence. Ablation studies and human evaluation further confirm the effectiveness of vector purification and adaptive scaling, establishing EmoVec as a practical inference-time method for affective control in deployed LLMs.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Valence-Arousal Subspace in LLMs: Circular Emotion Geometry and Multi-Behavioral Control

    Apr 3, 2026Lihao Sun, Lewen Yan, Xiaoya Lu +3Emotion Representation in Language ModelsLanguage Model Steering

  2. Emotion is Not Just a Label: Latent Emotional Factors in LLM Processing

    Mar 10, 2026Benjamin Reichman, Adar Avsian, Samuel Webster +1Emotion Representation in Language ModelsLLM Interpretability