Emotions Where Art Thou: Understanding and Characterizing the Emotional Latent Space of Large Language Models

Benjamin Z. Reichman, Adar Avsian, Larry Heck · DOI

Abstract

Researchers have identified a consistent, low-dimensional "emotional manifold" within the hidden states of Large Language Models (LLMs) that remains stable across different languages and model architectures. By isolating these specific geometric directions, they developed a steering module capable of precisely manipulating a model's internal emotional perception while preserving the original semantic meaning of the text.

Introduction

While Large Language Models (LLMs) are highly proficient at mimicking emotional tones in their output, our understanding of how they represent emotion internally has remained limited. Most prior work treats emotion as a label to be predicted or a style to be imitated, rather than a fundamental structural component of the model's latent space. This research investigates the existence of a dedicated "affective geometry" inside LLMs and evaluates whether this structure is universal across different languages and datasets.

Methodology

The researchers employed a multi-stage geometric approach to map the emotional representations within the LLM:

  1. Centered-SVD: Singular Value Decomposition was applied to mean-pooled hidden state activations to identify primary orthogonal directions of emotional variation.
  2. Space Alignment: Linear regression was used to align emotional subspaces derived from synthetic data with those from real-world human-authored datasets.
  3. Geometry Preservation Metrics: "Stress" and "distortion" scores quantified how much relative distances between emotions were warped across different contexts.
  4. ML-AURA: This technique identified "expert" neurons that respond selectively to specific emotional concepts, determining if emotion is localized or distributed.
  5. Steering Module: A small intervention module (an MLP) was trained to operate within the identified emotional subspace to shift the model's internal state toward a target emotion during inference.

The Geometry of Emotion

The study confirms that LLMs organize emotions into a coherent, low-dimensional geometric structure that is remarkably stable across the model's depth. Without explicit supervision, the model's internal axes naturally align with classic psychological constructs. For example, the primary principal components strongly resemble Valence (pleasure vs. displeasure), Dominance, and Approach-Avoidance motivations.

Emotion centroids in 3D latent space showing alignment with psychological dimensions.

This emotional representation is distributed redundantly throughout the network, though MLP layers show slightly higher selectivity than attention layers. Furthermore, the emotional geometry found in English hidden states generalizes well to other languages, suggesting that the model learns a language-agnostic representation of human affect.

Key Results

The researchers found high centroid cosine similarity (0.83–0.93) between real-world and synthetic emotion directions across models like Llama 3.1, Olmo-v2, and Ministral. Linear probes trained on the projected emotional subspace achieved high accuracy in predicting emotions from human-written text, proving the subspace captures a robust signal.

Quantitative comparison of emotional subspace alignment and preservation metrics across various LLMs and languages.

The steering module successfully shifted the model's internal perception, with post-steering accuracy for target emotions often exceeding 80-90% while maintaining low semantic loss. Notably, while instruction tuning (RLHF) improves alignment with human emotional categories, it can sometimes "warp" the local geometry, making the emotional manifold more fragile compared to base models.

Conclusion and Future Work

The identification of a universal emotional manifold provides a new lens for AI interpretability and safety. While basic emotions like anger and sadness are easy to isolate and steer, more nuanced states like envy remain ambiguous. Future research will investigate when this manifold emerges during pretraining and whether these same affective subspaces exist across vision and speech modalities.

Summary updated

BibTeX
@inproceedings{reichman2026emotions,
  author = {Benjamin Z. Reichman and Adar Avsian and Larry Heck},
  title = {{Emotions Where Art Thou: Understanding and Characterizing the Emotional Latent Space of Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=72TN9UAtNI},
}
Figure