arXiv Computation and Language By Ali Hassan Khan, Saad Bin Ather, Muhammad Saif, Maryam Bashir, Hajra Waheed

Do Language Models Feel the Sentiment? Investigating Emotion Vectors

Read the original on arXiv Computation and Language →

Emotion vectors—directions in a language model’s internal representations linked to emotional concepts—are examined in Qwen2.5-0.5B-Instruct and Qwen2.5-3B-Instruct. Eight such directions from GoEmotions are tested via sentiment probing, activation interventions, and supervised correction, achieving 88.66% and 90.70% accuracy on binary TweetEval. Removal of raw emotion-space causes greater accuracy loss than matched random subspace, and emotion-based correction improves Amazon Polarity accuracy but does not consistently beat margin-only baselines.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.

arXiv Computation and Language
Nov 9

Compression of Emotion in Language Model Representations

The paper investigates how seven large language models encode fine‑grained emotions by analyzing their hidden representations on the GoEmotions dataset, which contains 27 emotion categories plus neutral. Using KMeans clustering on the models’ final‑token representations, the authors find that the representations tend to over‑compress, grouping emotions mainly into positive versus negative clusters and recovering coarser emotion families with fewer clusters than the full taxonomy. Despite this compression, linear probes still capture substantial fine‑grained emotional information, indicating that detailed affective signals remain accessible within the models’ internal geometry.

By Laya Iyer, Sanmi Koyejo, Chen Shani
arXiv AI
Sep 2

Some Emotions Run Deeper: Layer-wise Probing and Causal Intervention in Large Language Models

The study examines how emotions are represented across layers of large language models (LLMs) by probing eight 1B–9B open‑weight models on three datasets (Twitter, Reddit, autobiographical narratives). It finds that the optimal probing layer varies systematically with the dataset, moving from near‑input layers to deeper layers, and that targeted forward‑pass interventions on these layers degrade performance more than random interventions. Additionally, the selected layers transfer across datasets and emotion categories, and early‑exit representations from these layers outperform full‑depth exits by an average of 6.9 percentage points.

By Tian Fang, Ga\"el Guibon, Davide Buscaldi
arXiv AI
Aug 20

Nine Emotion Centroids: A Label-Free Valence Axis That Transfers Across Four Modalities

The paper demonstrates that a single internal direction in modern language models—called the valence axis (V-axis)—captures how positive or negative a sentence feels. By using only nine emotion category names and 50 short narrative paragraphs per emotion, the authors identify this axis via principal component analysis of frozen encoder embeddings, achieving 93% of supervised performance on SST‑2 and strong correlations with human valence ratings across images, audio, and brain recordings. The method transfers across modalities without target‑modality labels, but works only for continuous attributes and is specific to certain model families.

By Yousef Radwan
arXiv Computation and Language
Oct 26

Semantically Rich, Metrically Affect-Blind: A Geometric Blind Spot in Modern Text Embedders

The paper uncovers a systematic mismatch in modern text embeddings: while sentiment can be extracted with high accuracy from frozen encoders, the embeddings’ cosine similarity metric barely reflects polarity differences. Across eleven models from 2021–2026, a linear probe achieves up to 91.3% accuracy, yet cosine similarity margins are only 0.003–0.064, leading to poor retrieval performance (e.g., Qwen3-Embedding-4B’s 64.3 MAP). Introducing a lightweight supervised‑contrastive head (Sentiment‑Injected Sentence Embeddings) dramatically improves probe accuracy, retrieval MAP, and polarity margins, but at the cost of downstream semantic similarity. "whyItMatters":"The findings reveal that widely used retrieval and clustering systems may ignore valuable sentiment information encoded in embeddings, impacting their effectiveness."

By Mahdi Naser Moghadasi