Source-linked AI summary

AI shares emotion with humans across languages and cultures

Xiuwen Wu, Hao Wang, Zhiang Yan, Xiaohan Tang, Pengfei Xu, Wai-Ting Siok, Ping Li, Jia-Hong Gao, Bingjiang Lyu, Lang Qin

arXiv:2506.13978v1cs.CL

TL;DR

Whether LLMs represent emotion as humans do and whether their emotional outputs can be controlled remains unclear. Using a concept-driven approach, the paper finds that LLM emotion-space geometry is driven by valence and arousal.

  • Problem

    It remains unclear whether LLMs represent emotion in language as humans do, a question relevant to emotional intelligence in AI.

    Source: Introduction · pp. 2, 4
  • Method

    The paper develops a concept-driven approach to extract and structure emotion representations in LLMs.

    Source: LLM-derived interpretable emotion… · p. 7
  • Results

    The geometric structure of LLM-derived computational emotion spaces is driven by valence and arousal.

    Source: Discussion · p. 22
  • Takeaways & Limitations

    The findings support the existence of a concept-driven computational emotion space within LLMs.

    Source: Discussion · p. 22

    The study’s approach demands substantial computational resources.

    Source: Discussion · p. 24

Abstract

from arXiv · show

Effective and safe human-machine collaboration requires the regulated and meaningful exchange of emotions between humans and artificial intelligence (AI). Current AI systems based on large language models (LLMs) can provide feedback that makes people feel heard. Yet it remains unclear whether LLMs represent emotion in language as humans do, or whether and how the emotional tone of their output can be controlled. We assess human-AI emotional alignment across linguistic-cultural groups and model-families, using interpretable LLM features translated from concept-sets for over twenty nuanced emotion categories (including six basic emotions). Our analyses reveal that LLM-derived emotion spaces are structurally congruent with human perception, underpinned by the fundamental affective dimensions of valence and arousal. Furthermore, these emotion-related features also accurately predict large-scale behavioural data on word ratings along these two core dimensions, reflecting both universal and language-specific patterns. Finally, by leveraging steering vectors derived solely from human-centric emotion concepts, we show that model expressions can be stably and naturally modulated across distinct emotion categories, which provides causal evidence that human emotion concepts can be used to systematically induce LLMs to produce corresponding affective states when conveying content. These findings suggest AI not only shares emotional representations with humans but its affective outputs can be precisely guided using psychologically grounded emotion concepts.

Introduction

The introduction motivates an interpretable, bilingual investigation of whether LLM emotion representations align with human affective perception and whether their outputs can be regulated. It presents the study’s examination of emotion spaces, their correspondence to human judgments, and steering with human-centric emotion concepts.

Introduction

  • Human–LLM emotional alignment matters for effective, trustworthy collaboration, but whether models represent emotion as humans do and how to regulate their output remain open questions.The introduction links meaningful emotional exchange to mutual understanding and trust, and to safer interactions in applications requiring nuanced emotional understanding.Source: Introduction · p. 2
  • Human emotions are nuanced, dynamic, and culturally and linguistically variable, while coarse categorical or sentiment-based datasets miss their continuous, high-dimensional character.The introduction notes that culture-specific emotional states may be difficult to translate across languages.Source: Introduction · p. 3
  • Foundational gaps include limited interpretability of LLM emotion features and opaque mechanisms linking internal representations to emotional expression, alongside inadequate precise control.Polysemantic neurons complicate human interpretation, and regulating outputs could help reveal causal links between internal representations and expression.Source: Introduction · p. 4
  • The study asks whether interpretable emotion spaces resemble human emotion, using SAE features from Gemma and Llama models across English and Chinese and comparing latent embeddings with valence and arousal.The constructed spaces use a broad taxonomy of human-centric emotion categories.Source: Introduction · p. 6
  • A second question is whether features shared across English and Chinese emotion spaces can predict human affective ratings in large-scale behavioral datasets.The ratings concern emotional content in language.Source: Introduction · p. 6
  • LLM-derived emotion spaces are anchored in valence and arousal, two foundational dimensions of human emotion.Source: Introduction · p. 6
  • LLMs encode fine-grained emotional features in a way akin to human affective perception.Source: Introduction · pp. 6–7
  • Small sets of interpretable features transformed from human-centric concepts can causally steer the emotional tone of LLM outputs.Source: Introduction · p. 7

Results · LLM-derived interpretable emotion spaces are underpinned by valence and arousal

SAE-based emotion spaces built from human-associated emotion concepts form distinct but overlapping clusters across languages and model families. Their organization aligns with valence and arousal, the two core dimensions of human emotional perception.

LLM-derived interpretable emotion spaces are underpinned by valence and arousal

  • The concept-driven approach maps human behavioural emotion semantics to interpretable SAE features in multilingual LLMs using associated-word concept sets.The approach aligns across linguistic-cultural contexts without further human annotation of LLM states or outputs.Source: LLM-derived interpretable emotion… · p. 7
  • The analysis covers 26 emotion categories per language, excluding sexual desire because it could prompt taboo or sensitive model content.Separate English and Chinese emotion spaces were constructed.Source: LLM-derived interpretable emotion… · p. 7
  • The approach was applied with SAEs for Gemma2-9B-IT and Llama3-8B-IT, selecting each model’s analysis layer based on the lowest delta language-modelling loss.This design was used to assess applicability beyond one SAE implementation or LLM architecture.Source: LLM-derived interpretable emotion… · p. 9
  • Emotion-space dimensionality tracks the vocabulary size of its concept sets, while multiword sets prioritize broad emotional coverage over avoiding redundant features.This allows the scale of a space to be tailored.Source: LLM-derived interpretable emotion… · p. 10
  • Significant Pearson correlations (Bonferroni-corrected P < 0.001) between all three CEBRA-Behaviour dimensions and valence and arousal scores show that both dimensions underpin the emotion-space geometry.The authors interpret this alignment as evidence that the SAE-based spaces capture fundamental aspects of how people represent and understand emotions in language.Source: LLM-derived interpretable emotion… · p. 11, Figure 2 · p. 12
  • CEBRA-Behaviour embeddings show distinct yet interrelated emotion clusters in English and Chinese across both LLM families, consistent with the initial UMAP projections.Recolouring the embeddings by valence and arousal reveals gradients that align with the latent-space organization.Source: LLM-derived interpretable emotion… · pp. 10–11, Figure 2 · p. 12

Emotional SAE features encoded in LLMs align with human linguistic emotion perception

Intersectional SAE emotion features aligned with human affective ratings across languages: they outperformed extra-space features while matching the full feature set, and predictions reflected differences between valence and arousal and between within- and cross-language tests.

Emotional SAE features encoded in LLMs align with human linguistic emotion perception

  • Intersectional features outperformed extra-space features and performed comparably to all features across within- and cross-language predictions.The intersectional set had considerably reduced dimensionality, with no significant difference from the all-features benchmark.Source: Figure 3 · p. 15, Emotional SAE features encoded in LLMs… · pp. 15–16
  • Valence ratings were predicted more accurately than arousal ratings, and cross-language predictions were less accurate than within-language predictions.These patterns held across both LLM families and the SAE configurations tested.Source: Emotional SAE features encoded in LLMs… · p. 16
  • Human-centred emotion concepts and concise associated-term sets enabled extraction of emotion-relevant SAE features that predicted human affective ratings across languages.The features also reflected cross-linguistic variation in emotional perception and the difficulty of predicting arousal.Source: Emotional SAE features encoded in LLMs… · p. 16

Steering emotions in LLM outputs via SAE features in the human-aligned computational

The study translated human-centric emotion concepts into SAE-based steering vectors and found that increasing steering strength shifted LLM outputs toward target emotions. In both sentence generation and question answering, steering modulated emotional expression, including nuanced states, while preserving coherent, naturalistic discourse.

Steering-vector framework

  • The framework translated emotional concepts into steering vectors by selecting SAE decoder basis features prominent in each emotion subspace and using non-negative matrix factorization to identify concise, directionally specific contributors.The resulting vectors were added to hidden-state activations at a designated model layer during inference, with a steering factor controlling perturbation intensity.Source: Steering emotions in LLM outputs via… · pp. 17–18

Experiment 3

  • Across Gemma2-9B-IT and Llama3-8B-IT, stronger steering monotonically raised target-emotion classification scores; mixed-effects analyses found positive effects for every steered emotion while untargeted and neutral scores generally fell.Without steering, sentences were predominantly classified as neutral, consistent with the neutral cue words.Source: Steering emotions in LLM outputs via… · p. 19, Figure 5 · p. 20

Experiment 4

  • In question answering, Gemma2-9B-IT responses shifted in tone and content toward the applied steering emotion and its intensity, while retaining comprehension and coherent, naturalistic discourse.This qualitative experiment applied steering vectors for 26 emotions, including nuanced states; Table 1 presents illustrative English examples.Source: Steering emotions in LLM outputs via… · p. 21, Table 1 · p. 21

Discussion

The study finds interpretable LLM emotion spaces structurally aligned with human emotion that predict affective perception across languages and allow emotional expression to be steered. The discussion also qualifies these findings by noting model, modality, and steering limitations.

  • These spaces are organized around valence and arousal, encode fine-grained emotions, and show continuous structure with diffuse category boundaries.Source: Discussion · pp. 22–23
  • English- and Chinese-derived spaces support cross-linguistic prediction of affect ratings, while differential prediction accuracy may reflect universal and language- or culture-specific emotion patterns.Arousal perception showed greater individual and linguistic variation.Source: Discussion · pp. 23–24
  • Concept-derived SAE features enable flexible, naturalistic control of emotional expression by mapping human emotional concepts into the model feature space.Source: Discussion · p. 24
  • Evidence is limited by computationally costly SAE training and reliance on similar-sized open-source Gemma and Llama models; text-only LLMs also lack extra-textual emotional cues.Source: Discussion · p. 24
  • Steering does not consistently achieve perfect or highly nuanced expression for all 26 target emotions, especially at high intervention intensities, motivating further refinement.Source: Discussion · pp. 24–25
  • LLMs show interpretable emotion spaces structurally aligned with human emotion, whose features predict affective perception across languages and steer emotional expression; this does not imply sentience.Source: Discussion · pp. 23, 25

Concept-driven emotional word sets

Emotion concept-sets were built from word-association data, with separate English and Chinese sets for 26 emotion categories.

Concept-driven emotional word sets

  • Each emotion’s concept-set includes words associated with its label cue and cue words that elicited the label as an associated response.This was the operational basis for identifying SAE features related to emotions and constructing the SAE-based computational emotion space.Source: Concept-driven emotional word sets · p. 27
  • Participants supplied three associated words for each cue in the Small World of Words (SWOW) project, whose association data informed the concept-sets following prior research 16.The procedure was applied independently to the English and Chinese SWOW datasets 54,55.Source: Concept-driven emotional word sets · p. 27
  • Separate English and Chinese concept-sets were constructed for 26 emotion categories, with mean sizes of 289.9 ± 196.1 and 241.1 ± 141.4 words, respectively.The category set spans nuanced emotions such as admiration, empathic pain, and nostalgia, alongside basic emotions.Source: Concept-driven emotional word sets · p. 27

Construction of the computational emotion space

The computational emotion space is built from SAE features associated with 26 emotions and their concept words, across languages and models. The methods also vary SAE configurations and specify permutation tests of emotion clustering.

Construction of the computational emotion space

  • For each emotion, the 10 concept-set words most similar to its label by SAE-feature cosine similarity define a subspace from their nonzero activation features.A word’s SAE feature vector includes all features in the SAE configuration.Source: Construction of the computational… · pp. 27–28
  • The overall space is the union of the 26 emotion subspaces, constructed separately for English and Chinese and for Gemma2-9B-IT and Llama3-8B-IT.Source: Construction of the computational… · p. 28
  • To test generalizability, the approach uses six SAE configurations per model, varying layers at 1/4, 1/2, and 3/4 depth and feature widths across two open-source model families.Widths are 16k/131k for Gemma and 32k/131k for Llama.Source: Construction of the computational… · p. 28
  • Clustering structure among the 26 emotions is quantified with Davies-Bouldin and Calinski-Harabasz indices and 5-fold cross-validation accuracy from logistic-regression multiclass classification.Source: Construction of the computational… · p. 28
  • For each metric, 1,000 shuffles of the true cluster labels form a null distribution used to calculate a p-value and test deviation from random assignments.Source: Construction of the computational… · p. 28

Latent space analyses of computational emotion space using CEBRA

The section describes how CEBRA-Behaviour was used to map SAE emotion features into a three-dimensional space and relate the embeddings to human ratings. It also outlines methods for predicting affective ratings from SAE features and steering generated language toward target emotions.

Latent space analyses of computational emotion space using CEBRA

  • CEBRA-Behaviour used emotion-label-supervised contrastive learning to project English and Chinese SAE emotion features into a three-dimensional latent space.Models were trained for 50,000 steps on features associated with words in the 26 emotion concept-sets.Source: Latent space analyses of computational… · p. 29
  • The study assessed the psychological relevance of the CEBRA embeddings by correlating their dimensions with human-rated valence and arousal for matched English and Chinese words.Ratings were matched for 7,178 English and 3,319 Chinese words, and Pearson correlations and p-values were computed.Source: Latent space analyses of computational… · p. 29

SAE-based prediction of human affective ratings

  • LightGBM models mapped SAE activations to human valence and arousal ratings, with within-language comparisons across all, shared, and out-of-space features and cross-language validation on shared words.Ratings were min-max normalized to [0,1]; performance was measured by Pearson correlation between predictions and human ratings.Source: Latent space analyses of computational… · p. 30

Latent space analyses of computational emotion space using CEBRA

  • Emotion steering vectors were derived from SAE features associated with each target emotion, using NMF to select salient features and adding the vectors to an LLM residual-stream layer during inference.Features were identified from up to 10 associated words per emotion; the selected features formed vectors used to bias generated outputs toward the target emotion.Source: Latent space analyses of computational… · pp. 31–32

Evaluation of emotion steering performance

  • Steering performance was evaluated by classifying sentences generated from neutral English cue words across four steering strengths for each of six emotions.A fine-tuned RoBERTa classifier assigned six emotion labels or neutral, and linear mixed-effects models and a 10,000-iteration permutation test assessed steering effects.Source: Latent space analyses of computational… · p. 32

Statistical analyses

The analyses compared prediction performance across model conditions, tested prediction and steering effects against permutation-based null distributions, and applied Bonferroni correction where applicable.

  • Wilcoxon rank-sum tests compared SAE prediction performance across 10 random seeds for all-features, EN∩CH, and (EN∪CH)C conditions.Source: Statistical analyses · p. 33
  • LightGBM prediction significance was assessed against a null distribution from 10,000 shuffles of test-set ratings, using its 95th percentile as the threshold.Source: Statistical analyses · p. 33
  • Steering effects were quantified with linear mixed-effects models and tested by shuffling steering-factor labels across 400 sentences for 10,000 iterations.Actual steering-factor coefficients were compared with the permutation null distribution to determine P-values.Source: Statistical analyses · p. 33
  • Bonferroni correction was applied where applicable to control for multiple comparisons.Source: Statistical analyses · p. 33

Data availability

The study’s behavioral datasets and computational resources are publicly accessible or open-source. Its emotion-recognition model is also available through Hugging Face.

Data availability

  • Word-association data came from the Small World of Words project, while affective word ratings came from established public databases [58, 59].The Small World of Words project is at smallworldofwords.org.Source: Data availability · p. 34
  • The Gemma and Llama model families used in the study are open-source, and the pretrained SAEs are publicly available.The SAEs are available through SAELens.Source: Data availability · p. 34
  • The Emotion English DistilRoBERTa-base model used for emotion recognition is accessible through its Hugging Face repository.The repository is j-hartmann/emotion-english-distilroberta-base.Source: Data availability · p. 34
Loading 2506.13978v1…