Abstract
Small language models (SLMs) in the 100M-10B parameter range increasingly power production systems, yet whether they possess the internal emotion representations recently discovered in frontier models remains unknown. We present the first comparative analysis of emotion vector extraction methods for SLMs, evaluating 9 models across 5 architectural families (GPT-2, Gemma, Qwen, Llama, Mistral) using 20 emotions and two extraction methods (generation-based and comprehension-based). Generation-based extraction produces statistically superior emotion separation (Mann-Whitney p = 0.007; Cohen's d = -107.5), with the advantage modulated by instruction tuning and architecture. Emotion representations localize at middle transformer layers (~50% depth), following a U-shaped curve that is architecture-invariant from 124M to 3B parameters. We validate these findings against representational anisotropy baselines across 4 models and confirm causal behavioral effects through steering experiments, independently verified by an external emotion classifier (92% success rate, 37/40 scenarios). Steering reveals three regimes -- surgical (coherent text transformation), repetitive collapse, and explosive (text degradation) -- quantified by perplexity ratios and separated by model architecture rather than scale. We document cross-lingual emotion entanglement in Qwen, where steering activates semantically aligned Chinese tokens that RLHF does not suppress, raising safety concerns for multilingual deployment. This work provides methodological guidelines for emotion research on open-weight models and contributes to the Model Medicine series by bridging external behavioral profiling with internal representational analysis.
Abstract (translated)
参数量在1亿至100亿之间的小型语言模型(SLMs)正日益赋能生产系统,然而它们是否具备前沿模型中近期发现的内在情感表征仍属未知。本研究首次对SLMs的情感向量提取方法进行 comparative analysis,评估了5种架构家族(GPT-2、Gemma、Qwen、Llama、Mistral)的9个模型,涵盖20种情感及两种提取方法(生成式与理解式)。生成式提取在情感分离效果上统计显著更优(曼-惠特尼检验 p=0.007;科恩d值=-107.5),该优势受指令微调与架构调制。情感表征定位于中间Transformer层(约50%深度),呈现从1.24亿至30亿参数范围内架构无关的U形曲线。我们通过4个模型的表征各向异性基线验证了这些发现,并借助定向操控实验确认了因果行为效应,该结论同时得到外部情感分类器的独立验证(成功率92%,37/40场景)。操控实验揭示三种模式——外科手术式(连贯文本转换)、重复性崩溃与爆炸式(文本退化),其通过困惑度比率量化,并按模型架构而非规模区分。我们记录了Qwen中的跨语言情感纠缠现象:定向操控会激活语义对齐的中文词元,而基于人类反馈的强化学习(RLHF)未能抑制此现象,这对多语言部署构成安全隐患。本研究为开源权重模型的情感研究提供了方法论指南,并通过联结外部行为剖析与内部表征分析,为"模型医学"系列研究做出贡献。
URL
https://arxiv.org/abs/2604.04064