Usage-Modulated Sentiment Representations in Large Language Models
cs.CL
Submitted: 2026-10-04
Updated: 2026-10-04
Comments: Accepted to EMNLP 2026 (main conference). 18 pages, 3 figures, including appendices
License: http://creativecommons.org/licenses/by/4.0/
The gist: Prior work suggests that sentiment can often be captured by approximately linear directions in LLM activation spaces, but a single direction may not fully capture sentiment representations.
Abstract
Prior work suggests that sentiment can often be captured by approximately linear directions in LLM activation spaces, but a single direction may not fully capture sentiment representations. In natural communication, sentiment is shaped not only by polarity but also by usage factors, such as tone and audience adaptation. We test whether these factors systematically modulate sentiment representations beyond a shared sentiment direction. We construct a controlled paired dataset that holds event content fixed while varying sentiment polarity and usage factors, and analyze Llama, Mistral, and Gemma. We identify a shared sentiment direction, remove it, and test the residual structure through erasure and generation-time tone steering. Across models, the shared direction is robust (median cosine 0.953-0.975), yet removing it leaves 0.833-0.909 of the original positive-negative representation-difference norm. The residuals contain compact, reproducible usage-conditioned structure. Targeted erasure weakens held-out usage metrics more than random and label-shuffled controls. On Llama, outputs steered along residualized tone components are preferred in 92.8% of blind target-tone comparisons while preserving the requested sentiment polarity in 98.7% of evaluated outputs.
Sources
- Persona Vectors: Monitoring and Controlling Character Traits in Language Models
- Latent Structure of Affective Representations in Large Language Models
- The Llama 3 Herd of Models
- Beyond Empathy: Integrating Diagnostic and Therapeutic Reasoning with Large Language Models for Mental Health Counseling
- Mistral 7B
- The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasets
- Valence-Arousal Subspace in LLMs: Circular Emotion Geometry and Multi-Behavioral Control
- Gemma: Open Models Based on Gemini Research and Technology
- Steering Language Models With Activation Engineering
- Extending Activation Steering to Broad Skills and Multiple Behaviours
- Representation Engineering: A Top-Down Approach to AI Transparency
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering