Controllable Affective Generation via Latent Vector Steering

Xixian Yong, Siyuan Chang, Yingying Zhang, Xian Wu, Xiao Zhou
8/26/2026
cs.CLcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yong2026controllable,
  title  = {Controllable Affective Generation via Latent Vector Steering},
  author = {Xixian Yong and Siyuan Chang and Yingying Zhang and Xian Wu and Xiao Zhou},
  year   = {2026},
  eprint = {2608.25569},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.25569v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.25569.svg)](https://codeofpaper.com/paper/2608.25569)

Discussion