arXiv:2610.19344cs.CLOct 2026

Manuscript Offprint

arXiv:2610.19344

Target-Token Asymmetry Can Masquerade As Depth Specialization

Danlin Li, Miao Li, Xu Han, Jiecheng Lu

ABSTRACT

Layer-ablation studies often perturb early or late layers of a language model, compare the damage to prediction on two corpora, and read a larger early-layer effect on one corpus as early-layer specialization for its task. Such a comparison averages over the tokens that each corpus asks the model to predict, and these target tokens differ: math solutions, for example, ask for far more whitespace and numbers than encyclopedia prose. We show that this difference can create the appearance of depth specialization. We split a cross-corpus early–late damage interaction by target-token type and recompute it under a target mixture shared by both corpora. Between GSM8K and Wikitext, a positive interaction replicates across five model instances. In the three fully decomposed models, only whitespace has a positive interaction. Removing whitespace reverses the pooled effect in all three, and matching the full target mixture reverses it in two. The diagnosis holds under position matching, adversarial reassignment of token types, and a continuous readout. The risk can also be anticipated from the tokenizer alone. A screen computed before any model runs places every held-out pair it scored in the region its label predicts, and on the pairs it rates at high or medium risk, removing whitespace reverses every positive pooled estimate. A smaller content-word effect one token ahead follows the share of content targets that the unablated model already predicts. A cross-corpus depth effect therefore supports an interpretation of task specialization only after the target-token mixture is reported, the effect is decomposed by token type, and a mixture-matched summary keeps its sign.

1 INTRODUCTION

Interpretability research often asks which layers of a Transformer (Vaswani et al., 2017) carry the computation behind a behavior, because the answer shapes mechanistic explanations and tells later analyses where to look. A common and inexpensive test perturbs a band of early or late layers, measures how much next-token accuracy drops, and compares the drop across corpora. Suppose that perturbing the early layers hurts accuracy on math solutions more than on encyclopedia prose, relative to the same comparison for the late layers. It is then natural to conclude that the early layers matter more for mathematical reasoning, and the conclusion gains weight when the pattern repeats across model families.

This reading assumes that the two corpora pose comparable prediction tasks. The token that the model must predict at an evaluated position is its target token, and a pooled accuracy averages over every target, whether it is a word, a number, a punctuation mark, or a bare space. Corpora differ in how often each kind occurs. Figure 1a shows two evaluated positions. In a GSM8K solution (Cobbe et al., 2021) that ends with “The answer is 9”, the tokenizer writes the space before the number as a token of its own, so the model is scored on predicting a lone space. At an evaluated position in a Wikitext article (Merity et al., 2017), the model is scored on the word “Issue”. Math solutions ask for far more whitespace and numbers than encyclopedia prose does (Figure 1b). A perturbation that changes how often the model predicts a space therefore moves the pooled score of the math corpus more, even if it affects words in the same way in both corpora.

This confound is hard to see because it lives inside the quantity that makes the test attractive. A pooled score is cheap to compute and easy to replicate, and a target mixture that repeats across models makes a the model at t is scored on the token three ahead

GSM8K scored target: a lone space

Figure

Wikitext scored target: the content word Issue

chips: Qwen 2.5 tokens, barred by target type; read through t, scored at t+3t + 3

E: 9

L: 10

the 28 Qwen blocks; mean-blend in E or L:

h → 0.8 h + 0.2 × position mean

b GSM8K asks for 3× the whitespace

whitespace number function word

punctuation content word

Figure

c one pooled contrast

damage on Qwen 2.5-7B, all targets

early, Elate, L
GSM8K, R-0.0237-0.0598
Wikitext, N-0.0033-0.0141
R - N-0.0204-0.0457

CAI = -0.0204 + 0.0457 = +0.0253

pooled CAI, 95% intervals

Qwen+0.0253
Llama+0.0428
Gemma+0.0421
00.0250.05

damage = control - ablated accuracy

d only whitespace is positive

whitespaceQwenLlamaGemma+0.518+0.821+0.715
numberQwenLlamaGemma-0.018-0.005-0.025
function wordQwenLlamaGemma-0.026-0.014-0.015
punctuationQwenLlamaGemma-0.098-0.198-0.035
content wordQwenLlamaGemma-0.008-0.008-0.002

-0.2 0 0.4 0.8

conditional CAI, 95% CI

e the sign needs whitespace

pooledQwenLlamaGemma+0.025+0.043+0.042
whitespace excludedQwenLlamaGemma-0.025-0.033+0.013
non-ws, measuredQwenLlamaGemma-0.025-0.033+0.015
reference mixtureQwenLlamaGemma-0.012-0.012+0.007

-0.04 0 0.04

CAI, 95% CI

grey: the whitespace cell left out;

reference mixture: the five cells at

Wikitext's type shares

Figure 1: The argument on one model instance: Qwen2.5-7B, GSM8K against Wikitext, three tokens ahead, mean-blend, top-1 accuracy. Panel a quotes two real evaluated positions, one chip per token with the scored target filled, selected for readability and target type (Appendix B), and marks the two blended layer bands. Panel b gives each corpus's H=3 target-type shares in all three models. Panel c fills in the four damage terms of Eq. (2) and gives each model's pooled CAI. Panel d gives the conditional CAI of each target type, Eq. (3), and panel e sets the pooled estimate beside two summaries M(q)M(q) and the directly measured non-whitespace CAI. Under the two corpora's combined mixture q, with whitespace share 5.3%, M(q)=0.053×0.518−0.023=+0.004M(q) = 0.053 \times 0.518 - 0.023 = +0.004 . The pooled +0.0253 weights each corpus by its own mixture: M(πR)=+0.0207M(\pi_{\mathcal{R}}) = +0.0207 , the mixture shift adds +0.0057, and per-sequence averaging adds -0.0011. Intervals are 95%, and Table 1 lists the values.

the pooled contrast repeat as well, so replication alone cannot tell a depth effect from a composition effect. Aggregation bias of this kind is classical (Simpson, 1951). Work on tokenization disparity (Petrov et al., 2023; Wegmann et al., 2025), evaluation validity (Liang et al., 2023; Schaeffer et al., 2023), and the dependence of activation patching and ablation on the chosen intervention and metric (Zhang & Nanda, 2024; Li & Janson, 2024; Miller et al., 2024) documents related measurement risks. The stakes are practical: layer-level findings guide where later work edits a model (Meng et al., 2022) or which layers it decodes from. For example, DoLa contrasts predictions from earlier and later layers to improve factuality (Chuang et al., 2024). Cross-corpus depth attribution therefore needs a direct measurement of how much of a pooled contrast the target mixture carries, and a way to anticipate that risk before a model is run.

We study one such contrast in detail. Our measure, the contextual ablation interaction (CAI), is a difference of differences: how much more an early-layer perturbation damages accuracy on a focal corpus than on a reference corpus, minus the same difference for a late-layer perturbation (Figure 1c). We fix a mild perturbation that blends each layer's output toward the corpus average at the same position, and we score the model on the token three positions past the visible text. In this setting the CAI of GSM8K against Wikitext is positive in every model instance we audited. We then split the CAI by the type of the target token, recompute it under a target mixture shared by both corpora, and test whether a screen computed from the tokenizer alone can label a corpus pair's risk before any model runs.

The positive contrast comes from whitespace targets (Figure 1d–e). The CAI restricted to whitespace targets is far larger than the pooled estimate, every other target type has a non-positive estimate, and removing whitespace reverses the pooled sign. Across the other high- and medium-risk corpus pairs, excluding whitespace reverses every positive pooled estimate. Position matching, adversarial reassignment of token types, and a continuous readout further support the whitespace finding. On every held-out and DoLa pair that the screen rated at high or low risk in advance, the measured interaction falls in the region that the label predicts.

The paper makes three contributions. The first is a diagnosis: the evaluated target population carries a replicated pooled depth contrast, which makes target-token composition a concrete source of aggregation bias in cross-corpus depth attribution. The second is a tokenizer-only screen that rates a corpus pair's risk before any model runs. The third is a reporting protocol that decomposes a pooled depth effect by target type, tests mixture-matched summaries, and splits a remaining positive cell by whether the unablated model predicts its targets. Applied to a content-word effect one token ahead under a second perturbation, that split traces the effect to how many content targets the model already predicts in each corpus.