- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper investigates why self-pretraining (SPT) — masked-token reconstruction on the same data before supervised finetuning, no external corpus — improves Transformer sequence classification, a phenomenon highlighted by Amos et al. (2024) on the Long-Range Arena. The authors first replicate the original gains (Table 1), then run four ablations: pretraining duration, model depth + cross-dataset pretraining, freezing attention at random init, and hybrid initialization that restores SPT weights only to selected parameter subsets. Their evidence converges on a single claim: the bottleneck supervised-from-scratch training hits is the learning of useful query-key attention patterns, not depth or generalization. They isolate W_Q, W_K in one-layer models as the primary carriers of the SPT benefit. A controlled synthetic task then shows that SPT reshapes additive sinusoidal positional encodings into a relative, proximity-biased attention structure (resembling ALiBi), acting through the product W_Q^T W_K rather than the marginal weights. Finally, a simplified theoretical setup (Proposition 1) shows that mean-pooled label supervision can be locally blind, at uniform attention initialization, to certain attention-score directions that the masked-reconstruction loss does detect.
Strengths and weaknesses
Strengths: This paper peels the question down to a specific, falsifiable mechanistic hypothesis. The freezing experiment (Table 2) is particularly convincing: clamping attention weights to random initialization barely hurts from-scratch performance except on PathFinder, and even slightly improves it on CIFAR10 — strongly suggesting that attention parameters are largely not effectively used when learning from labels. The hybrid-initialization results (Table 3) and the one-layer QK experiment (Table 4) corroborate this from a different angle: restoring only the SPT values of W_Q/W_K recovers most of the gain in one-layer models, whereas restoring only the MLP branch does almost nothing. Three independent lines of evidence point to the same conclusion, which is what an analysis paper should deliver. Weaknesses: Many of the larger LRA runs, along with the ListOps / Retrieval / Text entries, are single-seed. The authors acknowledge this and justify it by arguing that seed-to-seed variance of max accuracy on CIFAR/PathFinder is small and therefore extrapolates — but this extrapolation is never validated on ListOps / Retrieval / Text, which are precisely the single-seed cases. Large headline numbers such as +0.24 (Text) in Table 1 sit in cells with no error bar, leaving the reader unable to assess stability.
Questions
- Could you provide std over at least 3 seeds for ListOps, Retrieval, and Text?
- Proposition 1 assumes input-independent scores and a single scalar α moving along one direction ∆. Could you clarify to what extent the "mean-pooled supervision is locally blind" result still holds when scores depend on the input, or when multiple parameters are optimized jointly? Even a 2-D α counterexample or numerical check would help. This bears directly on whether the body's phrasing "label supervision can fail" is supportable.
Limitations
Yes.
Paper formatting concerns
None.
Final justification
The authors have solved my concerns. Based on their rebuttal and the comments of other reviewers, I would like to keep my positive rating to this work.
We thank the reviewer for their thorough review and positive evaluation of the paper's progression. We reply to their two questions below. We also refer to the replies from the other two reviewers for further experiments and theoretical considerations that might be of interest to you.
Three Seeds (also posted as a reply to tW5q).
We re-ran the previously single-seed entries of the freezing table with 3 seeds each (from scratch, with Attention frozen, and with Attention & MLP frozen):
The multi-seed validation confirms the original single-seed results: all means lie within one standard deviation of the previously reported values, and every qualitative conclusion is unchanged freezing Attention at random initialization leaves ListOps, Retrieval, and Text essentially unaffected (Δ≤0.01), while additionally freezing the MLP substantially degrades ListOps (−0.12) and Retrieval (−0.11) and leaves Text unaffected. Variance is larger in the Att. & MLP frozen setting on ListOps and Retrieval (±0.09, ±0.11), reflecting increased training instability when most parameters are clamped; the degradation is nonetheless consistent across seeds.
Validity of our results when scores depend on the input, or when multiple parameters are optimized jointly.
Thank you for raising this point. The extension does follow from the chain rule: the blind subspace in Attention space corresponds to a blind subspace in parameter space. This does not imply that the complete gradient of a jointly trained model vanishes. Moreover, the next computation (as our Proposition 1) is local and thus cannot be used to prove that training will never eventually pick up signal. We however believe it can be insightful.
General case. Let us first remind the setup: let X1,…,XL be the token values and possibly input-dependent scores sij(θ,X), Attention computes
aij(θ,X)=∑kexp(sik(θ,X))exp(sij(θ,X)),oi(θ,X)=∑jaij(θ,X)Vj,
and classification uses h(θ,X)=L−1∑ioi(θ,X).
Let θ0 produce uniform Attention. For any direction v in the query-key parameters, let Γv(X)=DθS(θ0,X)[v] and subtract its row means:
Γˉv(X)=Γv(X)−L1Γv(X)11⊤.
Differentiating at uniform Attention gives
Dvh(θ0,X)=L21∑j(Γˉv(X)⊤1)jVj.
Therefore, if Γˉv(X)⊤1=0 for every input X, then Dvh(θ0,X)=0. This is logically similar to our proposition 1. An example of this cancellation effect can be found below.
Concrete example. Consider two tokens and the following weights [";" denotes new row]:
z1=(1,x)⊤,z2=(1,−x)⊤,WQ(α)=[10;0α],WK(β)=[1β;01],WV=[01].
Let the Attention matrix be A(α,β;x)=softmaxrow(S(α,β;x)). The score matrix is (after absorbing constants)
S(α,β;x)=11⊤+αx2[1−1;−11]+βx[1−1;1−1].
At (α,β)=(0,0), all Attention weights equal 1/2. Using ∂θai1=ai1ai2∂θ(si1−si2), we obtain
∂αa11(0,0)=2x2,∂αa21(0,0)=−2x2,∂βa11(0,0)=∂βa21(0,0)=2x.
The mean-pooled output is h(α,β;x)=21∑i=12(ai1x+ai2(−x))=x(a11+a21−1). Therefore,
∂αh(0,0;x)=x(2x2−2x2)=0,∂βh(0,0;x)=x(2x+2x)=x2.
Hence, α is blind to any differentiable supervised loss, whereas β can have a nonzero supervised gradient