The Residual Stream's Effective Depth
Organizations: Technion Israel Institute of Technology · Nvidia · Technion Israel Institute of Technology & ISTA Institute of Science and Technology Austria
Abstract
We introduce effective depth (), a scalar diagnostic that treats the layer-wise residual stream of a transformer as a discrete-time process, measures how representation similarity decays with layer distance, and aggregates that profile into one number. Across sixteen decoder-only language models, separates a structural consequence of residual accumulation from an empirical one: even maximally diverse orthogonal updates have the closed-form reference , yet fifteen of sixteen default measurements lie below (Qwen3.5: 32--44%, OLMo-2: 40--41%, Pythia: 23--28%). Matched references show that the gap is not caused by the persistent initial state or update-size imbalance, but is largely a calibrated signature of correlated residual updates rather than evidence that depth is unused. Symmetric position-0, token-normalisation, and top-PC controls show the regime is not reducible to BOS or top-PC artefacts: the lone above-reference default outlier joins the same regime, and all sixteen models are sub-reference after token-normalisation or top-1-PC removal. Intermediate checkpoints show that the regime is established early in OLMo-2 and stable through 5T tokens, while Pythia-1.4B follows a distinct decreasing trajectory. A controlled residual-carry intervention supports the mechanism, and is best read as a global accumulated-state diagnostic, not as a capability score or pruning method.
Figures & tables
| Model | Trained | Random | ||
|---|---|---|---|---|
| OLMo-2-1B | 16 | 0.070 | 0.074 | 0.004 |
| Qwen3.5-0.8B | 24 | 0.045 | 0.060 | 0.016 |
| Qwen3.5-2B | 24 | 0.045 | 0.063 | 0.018 |
| Qwen3.5-4B | 32 | 0.034 | 0.047 | 0.013 |
| Llama-3.1-8B | 32 | 0.046 | 0.035 | 0.011 |
| OLMo-2-7B | 32 | 0.037 | 0.036 | 0.001 |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | gap (%) | |||||
| Pythia-70M | 6 | 512 | 1.23 | 0.205 | 0.862 | |
| Pythia-160M | 12 | 768 | 1.34 | 0.112 | 0.856 | |
| Pythia-410M | 24 | 1024 | 1.46 | 0.061 | 0.940 | |
| Pythia-1B | 16 | 2048 | 1.46 | 0.091 | 0.914 | |
| Pythia-1.4B | 24 | 2048 | 1.42 | 0.059 | 0.954 | |
| OLMo-2-1B | 16 | 2048 | 1.12 | 0.070 | 0.972 |
| Construction | |||
|---|---|---|---|
| Independent states | 0.258 | – | 0.093 |
| Orthogonal states | 0.996 | – | 0.0001 |
| Orthogonal updates (scale sweep) | 0.031–0.056 | 0.258 | 0.911–0.9999 |
| scale | |||
|---|---|---|---|
| 0.01 | 0.031 | 0.258 | 0.9999 |
| 0.05 | 0.032 | 0.258 | 0.998 |
| 0.10 | 0.034 | 0.258 | 0.992 |
| 0.30 | 0.044 | 0.258 | 0.964 |
| 0.50 | 0.049 | 0.258 | 0.945 |
| 1.00 | 0.054 | 0.258 | 0.924 |
| Model | gap to | gap to | gap to | gap to | ||
|---|---|---|---|---|---|---|
| Pythia-70M | 6 | 1.23 | +28.3 | +59.0 | +59.0 | -14.7 |
| Pythia-160M | 12 | 1.34 | +27.4 | +54.5 | +54.5 | -24.6 |
| Pythia-410M | 24 | 1.46 | +23.7 | +46.6 | +46.6 | -39.0 |
| Pythia-1B | 16 | 1.45 | +23.0 | +34.9 | +34.9 | -38.6 |
| Pythia-1.4B | 24 | 1.42 | +26.0 | +42.1 | +42.1 | -36.9 |
| OLMo-2-1B | 16 | 1.12 | +40.4 | +64.1 | +61.7 | -5.8 |
| Default | Control variants (gap to , %) | |||||||
|---|---|---|---|---|---|---|---|---|
| Model | gap% | first non-BOS | token-normed | top-1 PC | top-3 PC | max pos-0 norm ratio | ||
| Pythia-70M | 6 | 0.2047 | +28.3 | -6.5 | +30.1 | +20.0 | +11.4 | 10.0 at |
| Pythia-160M | 12 | 0.1117 | +27.4 | +22.1 | +33.7 | +27.7 | +23.3 | 18.4 at |
| Pythia-410M | 24 | 0.0610 | +23.7 | +8.7 | +38.4 | +34.3 | +27.9 | 42.1 at |
| Pythia-1B | 16 | 0.0906 | +23.0 | +13.7 | +40.0 | +35.3 | +29.7 | 35.3 at |
| Pythia-1.4B | 24 | 0.0592 | +26.0 | +14.1 | +41.8 | +37.2 | +30.9 | 24.6 at |
| Model | Default | first non-BOS | token-normed | top-1 PC | top-3 PC |
|---|---|---|---|---|---|
| Gemma-3-4B | |||||
| Gemma-3-27B |
| Model | Intervention | Default | first non-BOS | token-normed | top-1 PC | top-3 PC |
|---|---|---|---|---|---|---|
| Gemma-3-4B | none | |||||
| no post | ||||||
| no QK | ||||||
| no post/no QK | ||||||
| Gemma-3-12B | none | |||||
| no post |
| Variant | Default | first pos-1 | token-normed | top-1 PC | top-3 PC | max pos-0 ratio |
|---|---|---|---|---|---|---|
| none | ||||||
| no post | ||||||
| no QK | ||||||
| no post/no QK |
| Variant | Default | first pos-1 | token-normed | top-1 PC | top-3 PC | max pos-0 ratio | val loss |
|---|---|---|---|---|---|---|---|
| none | |||||||
| no post | |||||||
| no QK | |||||||
| no post/no QK |
| Model | ||||||
|---|---|---|---|---|---|---|
| Pythia-70M | 6 | 0.239 | – | – | – | – |
| Pythia-160M | 12 | 0.145 | 0.112 | – | – | 0.110 |
| Pythia-1.4B | 24 | 0.116 | 0.076 | 0.064 | – | 0.057 |
| Qwen3.5-4B | 32 | 0.102 | 0.060 | 0.045 | 0.035 | 0.034 |
| OLMo-2-7B | 32 | 0.103 | 0.061 | 0.047 | 0.037 | 0.035 |
| Llama-3.1-8B | 32 | 0.106 | 0.064 | 0.052 | 0.046 | 0.045 |
| Model | Trained | Random mean | Random range | mean |
|---|---|---|---|---|
| OLMo-2-1B | 0.0702 | 0.0741 | [0.0739, 0.0743] | [0.0737, 0.0745] |
| OLMo-2-7B | 0.0369 | 0.0361 | [0.0360, 0.0362] | [0.0359, 0.0362] |
| OLMo-2-13B | 0.0294 | 0.0286 | [0.0286, 0.0287] | [0.0285, 0.0287] |
| Qwen3.5-4B | 0.0350 | 0.0469 | [0.0468, 0.0470] | [0.0468, 0.0471] |
| Qwen3.5-9B | 0.0369 | 0.0442 | [0.0441, 0.0442] | [0.0441, 0.0443] |
| Qwen3.5-27B | 0.0211 | 0.0217 | [0.0216, 0.0218] | [0.0216, 0.0218] |
| Model | CKA | Unbiased HSIC-CKA | Cosine |
|---|---|---|---|
| Pythia-70M | 0.239 | 0.240 | 0.277 |
| OLMo-2-1B | 0.071 | 0.071 | 0.137 |
| Llama-3.1-8B | 0.035 | 0.035 | 0.051 |
| Mistral-7B | 0.036 | 0.036 | 0.047 |
| OLMo-2-7B | 0.037 | 0.038 | 0.054 |
| OLMo-2-13B | 0.033 | 0.033 | 0.046 |
| Model | Instruct | Base | ||
|---|---|---|---|---|
| Qwen3.5-0.8B | 24 | 0.045 | 0.045 | 0.001 |
| Qwen3.5-4B | 32 | 0.035 | 0.035 | 0.001 |
| Llama-3.1-8B | 32 | 0.047 | 0.047 | 0.002 |
| Model | |||||
|---|---|---|---|---|---|
| Pythia-160M | 12 | 0.112 | 0.154 | 0.648 | 0.54 |
| OLMo-2-1B | 16 | 0.070 | 0.080 | 0.846 | 0.50 |
| Qwen3.5-4B | 32 | 0.034 | 0.045 | 0.787 | 0.31 |
| Llama-3.1-8B | 32 | 0.046 | 0.045 | 0.806 | 0.37 |
| OLMo-2-13B | 40 | 0.029 | 0.041 | 0.796 | 0.29 |
| Qwen3.5-27B | 64 | 0.021 | 0.033 | 0.601 | 0.18 |
| val. loss | ||||
|---|---|---|---|---|
| 1.00 | 3.46 [3.30, 3.58] | 0.094 [0.093, 0.095] | 0.96 | 0.32 |
| 0.75 | 1.76 [1.71, 1.86] | 0.092 [0.087, 0.098] | 0.95 | 0.82 |
| 0.50 | 3.35 [3.35, 3.35] | 0.124 [0.112, 0.137] | 0.84 | 0.82 |
| 0.25 | 3.35 [3.35, 3.35] | 0.268 [0.211, 0.325] | 0.52 | 1.25 |
| Model | Point | Bootstrap mean | 95% CI | CI width | |
|---|---|---|---|---|---|
| Llama-3.1-8B | 32 | 0.0461 | 0.0461 | [0.0459, 0.0462] | 0.0003 |
| OLMo-2-7B | 32 | 0.0357 | 0.0356 | [0.0356, 0.0357] | 0.0001 |
| Qwen3.5-4B | 32 | 0.0337 | 0.0337 | [0.0336, 0.0337] | 0.0001 |
| Qwen3.5-9B | 32 | 0.0358 | 0.0358 | [0.0357, 0.0359] | 0.0002 |
| Qwen3.5-27B | 64 | 0.0211 | 0.0211 | [0.0210, 0.0212] | 0.0002 |
| Model | Method | ||||||
|---|---|---|---|---|---|---|---|
| OLMo-2-1B | BI | 6.5 | 9.1 | 17.9 | 85.0 | 2,021 | 16,091 |
| OLMo-2-1B | Local | 6.5 | 31.0 | 1,322 | 87,606 | 190,276 | 2,768,762 |
| Llama-3.1-8B | BI | 4.6 | 5.0 | 5.8 | 10.0 | 18.5 | 56.1 |
| Llama-3.1-8B | Local | 4.6 | 431.1 | 662.0 | 34,625 | 89,183 | 487,295 |
| Model | gap (%) | PPL 0 | ||||
|---|---|---|---|---|---|---|
| OLMo-2-1B | 16 | 0.070 | 6.54 | 0 | 0.000 | |
| Pythia-1.4B | 24 | 0.059 | 8.11 | 0 | 0.000 | |
| Mistral-7B | 32 | 0.048 | 3.94 | 1 | 0.031 | |
| Llama-3.1-8B | 32 | 0.046 | 4.60 | 1 | 0.031 | |
| OLMo-2-7B | 32 | 0.036 | 5.08 | 1 | 0.031 | |
| Qwen3.5-9B | 32 | 0.036 | 6.37 | 1 | 0.031 |
| vs | vs | ||||
|---|---|---|---|---|---|
| Subset | Pearson ( ) | Spearman ( ) | Pearson ( ) | Spearman ( ) | |
| Full panel | 8 | ( ) | ( ) | ( ) | ( ) |
| Drop OLMo-2-1B | 7 | ( ) | ( ) | ( ) | ( ) |
| Drop Qwen3.5-4B | 7 | ( ) | ( ) | ( ) | ( ) |
| Drop both | 6 | ( ) | ( ) | ( ) | ( ) |
| Family | Models | MMLU | ARC | HellaSwag | GSM8K-CoT |
|---|---|---|---|---|---|
| Pythia | 70M, 160M, 410M, 1B, 1.4B | 5/5 | 5/5 | 5/5 | 0/5 |
| OLMo-2 | 1B, 7B, 13B | 3/3 | 3/3 | 3/3 | 2/3 |
| Qwen3.5 | 0.8B, 2B, 4B, 9B, 27B | 5/5 | 5/5 | 5/5 | 3/5 |
| Llama | 3.1-8B | 1/1 | 1/1 | 1/1 | 1/1 |
| Mistral | 7B | 1/1 | 1/1 | 1/1 | 1/1 |
| Gemma | 3-12b | 1/1 | 1/1 | 1/1 | 1/1 |
| Panel | Task | Pearson | Spearman | ||
|---|---|---|---|---|---|
| All 16 | MMLU | ||||
| All 16 | ARC | ||||
| All 16 | HellaSwag | ||||
| All 16 | GSM8K-CoT | ||||
| Modern only | MMLU | – | – | ||
| Modern only | ARC | – | – |
| Dropped family | MMLU | ARC | HellaSwag | GSM8K-CoT |
|---|---|---|---|---|
| Gemma | ( ) | ( ) | ( ) | ( ) |
| Llama | ( ) | ( ) | ( ) | ( ) |
| Mistral | ( ) | ( ) | ( ) | ( ) |
| OLMo-2 | ( ) | ( ) | ( ) | ( ) |
| Pythia | ( ) | ( ) | ( ) | – |
| Qwen3.5 | ( ) | ( ) | ( ) | ( ) |
| Model | |||
|---|---|---|---|
| Pythia-410M | |||
| Llama-3.1-8B | |||
| OLMo-2-7B |
Transformer Interpretability
Transformer interpretability studies how attention, feed-forward layers, and hidden representations support model predictions and behavior.
See all 338 papers