Manuscript Offprint

arXiv:2609.15975

Disentangling Representation Evolution in Transformers through Directional Decomposition

Shwai He, Haichao Zhang, Shen Yan

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

Abstract

Transformer layers evolve representations through learned additive transformations that combine parallel scaling and perpendicular steering. Across pretrained models, we find that learned updates consistently contain substantial parallel components. To test whether these components are redundant or behaviorally important, we decompose updates in two complementary spaces: residual space, analyzing complete sub-layer updates relative to the incoming hidden state; and attention value space, analyzing pre-output-projection aggregation relative to the token's own value. Targeted edits reveal a consistent directional and space-dependent asymmetry: perpendicular edits are consistently disruptive, whereas parallel edits are comparatively redundant, especially in value space when preserving the direct self message while scaling cross-token aggregation. The same geometry informs compression and training: better-performing compressed models show lower perpendicular transformation error, and suppressing parallel attention components during from-scratch pretraining improves downstream performance across evaluated model scales, with the value-space variant strongest. Overall, this geometry connects update direction to editing robustness, compression diagnostics, and training-time intervention. Code is available in the project repository.

1 Introduction

Transformer layers evolve representations through learned additive updates (Vaswani et al., 2017; Elhage et al., 2021) on top of residual streams (He et al., 2016). Geometrically, each update performs two distinct roles relative to the incoming representation: a parallel component that modulates magnitude while preserving direction, and a perpendicular component that redirects it into new semantic subspaces. This dichotomy reframes representation evolution as a problem of functional geometry: decomposing learned updates by their directional role and testing their behavioral sensitivity through targeted interventions.

Across diverse pretrained models, our measurements reveal that learned updates consistently contain substantial components parallel to their incoming states. Geometrically, parallel updates amount to simple scalar rescaling, which the residual stream already provides at zero parameter cost (He et al., 2016; Elhage et al., 2021). Yet, heavily parameterized attention and MLP sub-layers actively allocate capacity to produce such components. This paradox prompts a fundamental question: are these parallel updates behaviorally essential to Transformer capabilities, or are they functionally redundant?

To resolve this question, we formulate directional decomposition across two complementary representation spaces: residual space, which analyzes sub-layer updates relative to the incoming hidden state, and attention value space, which analyzes internal value aggregation relative to the token's own value representation. Using component-scaling interventions, we systematically modulate the parallel and perpendicular components in these spaces to measure their behavioral sensitivity.

Our interventions reveal a pronounced directional asymmetry across both representation spaces. Perpendicular scaling is consistently disruptive, confirming that orthogonal steering is essential to model capabilities. In contrast, parallel scaling is comparatively benign, leaving performance near baseline across a wide scaling interval. Within this parallel resilience, the degree of stability depends on the representation space: in attention value space, scaling the parallel component of cross-token aggregation keeps model behavior re-

∗^{*}Work done while Shwai He was an intern at ByteDance.

markably close to baseline, whereas residual-space parallel scaling is comparatively less stable. Thus, parallel updates exhibit broad resilience compared to perpendicular steering, especially within internal value aggregation.

Finally, this directional geometry extends beyond inference-time editing to post-training compression and from-scratch pretraining. For model compression (Frantar et al., 2023; Lin et al., 2024; Sun et al., 2024; Men et al., 2024; He et al., 2026), decomposing update distortion reveals that better-performing quantized and pruned models consistently exhibit lower perpendicular error, whereas parallel error is far less discriminative. Motivated by this directional geometry, we evaluate parallel attention suppression during pretraining. Across model scales from 296M to 2.7B parameters, the value-space variant consistently yields lower validation-loss trajectories, and both variants improve downstream performance, with the value-space variant producing the largest gains.

In summary, the contributions of this work are as follows:

• This work reveals substantial direction-preserving components in learned transformer updates and maps their behavioral robustness across representation spaces.

• For attention updates, value-space decomposition separates direct self-value flow from cross-token aggregation, revealing a marked stability gap between value-space and residual-space edits.

• For compression and pretraining, this directional geometry extends beyond editing: perpendicular error tracks compressed-model quality, while parallel suppression consistently improves validation loss and downstream performance across model scales.

References (15)