paper-with-me

홈 › Papers

Decoding Emotion in the Deep: A Systematic Study of How LLMs Represent, Retain, and Express Emotion

2025-10-05 · Jingxiang Zhang, Lujia Zhong arxiv

Large Language Models (LLMs) are increasingly expected to navigate the nuances of human emotion. While research confirms that LLMs can simulate emotional intelligence, their internal emotional mechanisms remain largely unexplored. This paper investigates the latent emotional representations within modern LLMs by asking: how, where, and for how long is emotion encoded in their neural architecture? To address this, we introduce a novel, large-scale Reddit corpus of approximately 400,000 utterances, balanced across seven basic emotions through a multi-stage process of classification, rewriting, and synthetic generation. Using this dataset, we employ lightweight "probes" to read out information from the hidden layers of various Qwen3 and LLaMA models without altering their parameters. Our findings reveal that LLMs develop a surprisingly well-defined internal geometry of emotion, which sharpens with model scale and significantly outperforms zero-shot prompting. We demonstrate that this emotional signal is not a final-layer phenomenon but emerges early and peaks mid-network. Furthermore, the internal states are both malleable (they can be influenced by simple system prompts) and persistent, as the initial emotional tone remains detectable for hundreds of subsequent tokens. We contribute our dataset, an open-source probing toolkit, and a detailed map of the emotional landscape within LLMs, offering crucial insights for developing more transparent and aligned AI systems. The code and dataset are open-sourced.

📄 PDF Abstract BibTeX arXiv:2510.04064

Code (0)

등록된 구현이 없습니다.

Tasks

Emotional Intelligence

Similar Papers 제목 키워드 기반

How Emotion Shapes the Behavior of LLMs and Agents: A Mechanistic Study

2026-03-09 · Moran Sun, Tianlin Li, Yuwei Zheng, Zhenhong Zhou 외 arxiv

Emotion plays an important role in human cognition and performance. Motivated by this, we investigate whether analogous emotional signals can shape the behavior of large language models (LLMs) and agents. Existing emotio…

Expressing Social Emotions: Misalignment Between LLMs and Human Cultural Emotion Norms

2026-04-18 · Sree Bhattacharyya, Manas Mehta, Leona Chen, Cristina Salvador 외 arxiv

The expression of emotions that serve social purposes, such as asserting independence or fostering interdependence, is central to human interactions and varies systematically across cultures. As LLMs are increasingly use…

Do LLMs "Feel"? Emotion Circuits Discovery and Control

2025-10-13 · Chenxi Wang, Yixuan Zhang, Ruiji Yu, Yufei Zheng 외 arxiv

As the demand for emotional intelligence in large language models (LLMs) grows, a key challenge lies in understanding the internal mechanisms that give rise to emotional expression and in controlling emotions in generate…

Emotional Intelligence

Retrieving Implicit and Explicit Emotional Events Using Large Language Models

2024-10-24 · Guimin Hu, Hasti Seifi

Large language models (LLMs) have garnered significant attention in recent years due to their impressive performance. While considerable research has evaluated these models from various perspectives, the extent to which …

DiversityRetrieval

When Personality Meets Quantization: A Layer-wise MBTI Analysis of Quantized LLMs

2026-08-26 · Yao Fu, Lijia Huang, Xiaomin Li, Runchao Li 외 arxiv

Personality is increasingly important in large language models (LLMs), as it shapes users' trust, engagement, and emotional experiences. While the Myers--Briggs Type Indicator (MBTI) has emerged as a common framework for…