Manuscript Offprint

arXiv:2610.35411

The Geometry of Emotion Representations Across Scale, Depth, and Instruction Tuning

Adam Hollowell

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We measure the emotion geometry of six LLMs spanning Google’s Gemma 2 family. Using an extraction pipeline established by Sofroniew et al. (2026) on Claude Sonnet 4.5 and replicated by Hollowell (2026) on Gemma 2 27B base, we compare emotion geometry across base and instruction-tuned variants of Gemma 2 2B, 9B, and 27B. First, all six model cells exhibit the core emotion geometry. A linear map fit between two cells places held-out emotions nearest their own vectors in the target model. Across all fifteen model pairs, fit in one direction each, this failed exactly once, and the median rank was 1 in every pair. Linear maps refit on cleaned embedding-table vectors recover every held-out emotion at rank 1 in all thirty ordered pairs. Second, scale spreads the geometry’s variance across more directions without weakening its tie to valence. The leading component’s share of variance falls from 31.6 percent (2B) to 29.8 (9B) to 26.7 (27B) in the base models and from 31.9 (2B) to 29.2 (9B) to 27.3 (27B) in the tuned ones, while its correlation with human valence ratings stays between .71 and .78 in all six models. Third, we project each emotion vector onto the output vocabulary and ask at what depth the vector’s own emotion word enters the top 10,000 of the 256,000 tokens. In the 2B and 9B models the median emotion word is there from layer 0, while in the 27B models it begins near chance, stays outside the top 10,000 for half the network, and enters at layer 23 in one step. Fourth, tuning leaves every registered analysis-layer measure within its floor. At every size, valence correlation rises and arousal correlation falls by amounts within their floors, the latter against prediction. PC2’s variance share also falls, with a pooled decrease significant after correction. Mid-late layer stability exceeds its floor and traces to base 27B’s final layer. Code, data, and audit reports are released.

1 Introduction

Sofroniew et al. (2026) extracted vectors for 171 emotions from Claude Sonnet 4.5 (Anthropic, 2025) and found them organized via a strong valence axis, a weaker and more variable arousal axis, soft but stable emotion families, and high family cohesion. Hollowell (2026) replicated that emotion structure in an open-weights model, Gemma 2 27B base, inheriting the extraction pipeline unchanged. How the core emotion geometry holds across scale and tuning, however, remains an open question.

We apply the pipeline from Sofroniew et al. (2026) to the Gemma 2 family at three sizes, 2B, 9B, and 27B, each in base and instruction-tuned form, for six model cells. Figure 1 shows each cell's layer count, with its analysis layer marked at 2/32/3 depth.

We define core emotion geometry as the structure common to both Claude Sonnet 4.5 in Sofroniew et al. (2026) and Gemma 2 27B base in Hollowell (2026), and we measure it in every cell as four properties: a valence axis, a weaker and more variable arousal axis, soft but stable family partitions,

Preprint. Licensed under CC BY 4.0

Figure

Figure 1: Model depths and analysis layers for base and instruction-tuned Gemma 2 at 2B, 9B, and 27B.

and family cohesion. We count a cell as showing the core emotion geometry when it passes a pre-stated test of the two axes, which requires that its valence and arousal correlations with human ratings are both significant by permutation (p ≤ .02 over 5,000 shuffles) and that the arousal correlation is the weaker of the two. We report family partitions and cohesion in every cell alongside base 27B's published values. The registration predicted directions for these measures but did not specify effect-size floors or pass criteria.

We find that all six Gemma 2 cells exhibit the core emotion geometry ( §4.1§4.1). The nine registered comparisons between cells find it closely shared, with pairwise-similarity agreement above .99 and family-partition agreement above its registered floor in all nine ( §4.2§4.2). A linear map fit between two cells on four fifths of the emotions places the median held-out emotion at retrieval rank 1 of 171 in the target cell ( §4.3§4.3).

Part of this geometry is present before any layer runs ( §5.1§5.1). Vectors built from each model’s token-embedding table, with no forward pass and cleaned of generic token statistics, correlate moderately with human valence ratings in every cell (r = .48 to .51) and only weakly with arousal ratings (r = .12 to .18, significant in no cell). Linear maps refit on embedding-table vectors keep median rank 1 in every pair ( §5.1§5.1). Larger models place a smaller share of their emotion variance on the leading component, 31.6 percent at 2B against 26.7 at 27B in the base models, the opposite of our registered prediction, while its correlation with human valence ratings holds at .71 to .78 in all six cells ( §5.2§5.2).

In the 2B and 9B cells, each emotion vector's own word, projected onto the output vocabulary, already ranks at median in the top few thousand of 256,000 output tokens at layer 0, while in both 27B cells it starts near chance and stays outside the top 10,000 until layer 23, exactly half depth, where it enters the top 10,000 in a single step ( §6.2§6.2). The 27B geometry also consolidates at layer 23, though stricter readability thresholds are crossed later ( §6.3§6.3).

Instruction tuning leaves every registered analysis-layer measure within its floor ( §7.1§7.1). At every size, the valence correlation rises and the arousal correlation falls, the latter contrary to our prediction. PC2's variance share also falls at every size, and its pooled decrease remains significant after correction (Table 4). The mid-late layer-stability contrast does exceed its floor, but §8.3§8.3 traces that result to base 27B's final layer. Base and tuned activation profiles on neutral dialogues largely agree, though their finer differences are not preserved at 9B ( §7.2§7.2). Tuning's perturbation of the geometry grows across successive thirds of the network at every size, but the late rise at 27B depends on the final layer ( §7.3§7.3). Tuning also displaces some emotions much more than others ( §7.4§7.4).

We distinguish registered, pre-stated, and unregistered analyses according to when and how we specified them. Registered means fixed in the preregistration before any grid data existed, with the measure, the predicted direction, and the effect-size floor locked together. Pre-stated means the plan was fixed before it ran, by a hash or by a dated filing, but after the registered work, so it binds us without the preregistration’s protection. Unregistered means none of these, and each unregistered analysis carries that label where its result is reported. Locked describes a plan fixed before running the relevant analyses, not necessarily at preregistration.

This study’s code, results, and audit prompts and reports are released at github.com/adamhollowell/emotion_probes/tree/main/gemma_grid. The vectors, activations, per-story slices, and bootstrap files are hosted in the companion repository at huggingface.co/adamhollowell/gemma-emotion-vectors. §11 lists what ships directly, what ships as recipes, and what can be re-derived from Gemma weights.

References (66)