Skip to main navigation Skip to search Skip to main content

Decoding and controlling emotion in LLMs through human-aligned representational geometry with enhanced interpretability

  • Xiuwen Wu
  • , Hao Wang
  • , Zhiang Yan
  • , Xiaohan Tang
  • , Pengfei Xu
  • , Wai Ting Siok
  • , Ping Li
  • , Jia Hong Gao (Corresponding Author)
  • , Bingjiang Lyu (Corresponding Author)
  • , Lang Qin (Corresponding Author)

Research output: Journal article publicationJournal articleAcademic researchpeer-review

Abstract

Aligning the internal states of large language models (LLMs) with human emotion is a fundamental challenge for safety and interpretability of artificial intelligence (AI). However, whether the high-dimensional representations within LLMs encode emotion in a way that is structurally analogous to human affective perception, and whether these features can be used to causally control the emotional tone of model outputs, remains unknown. Here, we develop a concept-driven approach to extract a dictionary of interpretable, human-centric emotion features from multilingual LLMs. We show that these features form a high-dimensional emotion space that is remarkably structured by the core psychological dimensions of valence and arousal. This representational geometry is robust across different model families (Gemma and Llama) and generalizes across languages (English and Chinese), revealing a shared basis for cross-linguistic affective semantics. Crucially, we provide causal evidence for the functional relevance of these features by demonstrating that they can be used as ‘steering vectors’ to precisely and reliably control the emotional tone of model outputs in generative tasks. Our work provides a computational basis for human-aligned emotional representations in AI, offering a generalizable framework for identifying and controlling complex conceptual representations, thereby paving the way for safer and more interpretable models.

Original languageEnglish
Article number109051
JournalComputers in Human Behavior
Volume183
DOIs
Publication statusPublished - 13 May 2026

Keywords

  • Alignment
  • Emotion
  • GenAI
  • Human behaviour
  • Model steering
  • Sparse autoencoder

ASJC Scopus subject areas

  • Arts and Humanities (miscellaneous)
  • General Psychology
  • Human-Computer Interaction

Fingerprint

Dive into the research topics of 'Decoding and controlling emotion in LLMs through human-aligned representational geometry with enhanced interpretability'. Together they form a unique fingerprint.

Cite this