arXiv:2609.01279cs.CLSep 2026

Manuscript Offprint

arXiv:2609.01279

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

Tian Fang, Gaël Guibon, Davide Buscaldi

Abstract

Emotion is expressed in text along a wide spectrum, from surface lexical cues to inferences entangled with content. Most layer-wise analyses of emotion in LLMs use a single corpus, leaving open whether the depth at which emotion becomes accessible is a property of the model or also of the text source. We investigate this across three datasets spanning different degrees of explicitness and contextualization in emotion expression (Twitter posts, Reddit comments, and autobiographical narratives) and eight 1B–9B open-weight LLMs from the Llama, Qwen, and Granite families. We combine layer-wise probing with offline feature scaling and online forward interventions, transfer analyses, and an early-exit classifier. We find that (i) the best probing layer shifts systematically across corpora, from input-adjacent layers to over half model depth, and this ordering persists after matching label-by-length-bin distributions; (ii) across the evaluated settings, forward-pass interventions on probe-selected bands reduce test accuracy by 5–6 points more than same-width random bands (q<0.01q < 0.01); (iii) selected bands transfer across datasets and emotion categories, suggesting partially shared affective information rather than strictly per-emotion substrates; and (iv) probe-selected early-exit representations outperform full-depth exits by 6.9 percentage points on average.

1 Introduction

Large language models are increasingly used in affect-sensitive settings, including emotion classification, emotional support, and broader tests of emotional intelligence (Sabour et al., 2024; Wang et al., 2023; Kang et al., 2024). Although prior evaluations show that LLMs can recognize and respond to emotional content at the output level, less is known about how affective information is organized internally: whether it becomes accessible at

a fixed depth in decoder-only LLMs, or varies with the kind of text being processed.

This question matters because emotion is expressed differently across text sources. In short social-media posts, affect often appears through surface cues such as lexical markers, emotion hashtags, emoji/emoticons, punctuation, or conventional phrases (Mohammad and Kiritchenko, 2015; Mohammad and Bravo-Marquez, 2017; Dresner and Herring, 2010). In longer comments and autobiographical narratives, it may instead be conveyed implicitly through situations, appraisals, causal structure, or pragmatic inference (Balahur et al., 2011; Hofmann et al., 2020; Troiano et al., 2023; Scherer and Wallbott, 1994).

Layer-wise probing is a natural tool for locating where emotion becomes accessible in LLM representations (Alain and Bengio, 2017; Belinkov, 2022). Prior work shows that linguistic, semantic, and factual information peak at different transformer depths (Tenney et al., 2019; Rogers et al., 2020; Geva et al., 2023), and that sentiment and emotion are most detectable in early-to-mid Llama layers (Di Palma et al., 2025). Whether this affective pattern generalizes across model families and text sources remains unclear. Because decodability alone does not imply functional relevance (Hewitt and Liang, 2019; Belinkov, 2022), we pair probing with intervention-based perturbations and early-exit readout (Fan et al., 2020; Sajjad et al., 2023; McGrath et al., 2023; Xin et al., 2020).

We study where emotion-sensitive information becomes accessible in decoder-only LLMs, and whether probe-selected layers are merely diagnostic or also useful for intervention and readout. We analyze eight open-weight LLMs from three families (Llama, Qwen, and Granite; 1B–9B parameters) on three stylistically different English emotion corpora: Emotion/CARER, GoEmotions, and ISEAR. We restrict them to the shared labels fear, joy, anger, and sadness, use frozen representations with fixed deterministic pooling and linear probes, and evaluate selected layer bands through online intervention, offline feature scaling, transfer analyses, and early-exit classification. Figure 1 summarizes the pipeline.

Our main findings are fourfold:

  • Emotion depth varies systematically with dataset source: Emotion/CARER peaks near input-adjacent layers, GoEmotions is intermediate and diffuse, and ISEAR peaks much deeper.

  • Probe-selected bands are causally engaged in the probe-mediated readout, as online interventions disrupt prediction more than same-width unrelated controls.

  • Transfer depends on the evaluation setting, with stronger sharing under intervention than under early-exit readout.

  • Probe-selected bands support compact readout: across the evaluated settings, selected early exits outperform, on average, full-depth exits and control exits based on random, low-sensitivity, or transferred layers under the same linear-probe protocol.

Together, these results show that affective information is localized enough to be causally disrupted and efficiently exploited, but its depth and generalizability are not universal: they depend on what kind of text is being processed, which model family is used, and how the representation is decoded.

References (18)