Towards Understanding Self-Pretraining for Sequence Classification
Summary
Replicates Amos et al. 2024 (ICLR Outstanding Paper): SPT on LRA lifts ListOps/CIFAR10/PathFinder/Retrieval/Text vs from-scratch. Ablations: gains after 1–10 SPT epochs, even in 1-layer models and after swapping the pretraining dataset, pointing to an optimization bottleneck rather than hierarchical features. Freezing random Attention barely hurts from-scratch accuracy; hybrid inits show W_Q/W_K carry the SPT benefit. A 1-layer toy task shows SPT turns additive sinusoidal PEs into a proximity-biased QK map that fine-tuning builds on. Theory: at uniform attention, mean-pooled label loss has zero derivative along some score directions that masked reconstruction can see. No official code on the abs page.
- Venue
- arXiv / Università Campus Bio-Medico di Roma / MPI-IS / ELLIS Institute Tübingen
- Purpose
- Explain why masked self-pretraining on the same labeled data helps Transformers learn useful attention from labels
- Scale
- LRA ListOps/CIFAR10/PathFinder/Retrieval/Text (PathX skipped); 1-layer synthetic length-100 binary sequences, 10 seeds; UCR GunPoint/ECG extras; Amos et al. 2024 Transformer codebase
- Time period
- 2026-05-20 (arXiv 2605.21070 v1). Preliminary extension of an ICML 2025 Workshop MOSS paper.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- May 20, 2026
- arXiv categories
- cs.LG
- Author comment
- v1: Preliminary, extension of the version accepted at ICML 2025 Workshop MOSS
- Citations
- 1
- References
- 48
Abstract (from arXiv)
Amos et al. (2024) showed that the accuracy of Transformer models in sequence classification can be significantly improved by first pretraining with a masked token prediction objective without external data or augmentation, a procedure referred to as self-pretraining (SPT). While the primary objective of Amos et al. (2024) was to showcase that Transformers can achieve strong performance on the Long-Range Arena (LRA), their pipeline raises more fundamental questions: How does SPT drive optimization to better solutions? Why can standard supervised training fail in Transformers? To better understand this, we replicate and systematically ablate the findings of Amos et al. (2024). Our ablations suggest that a central bottleneck in the studied settings is not depth or generalization alone, but the ability of label supervision to learn useful query-key Attention patterns from random initialization. With a minimal setup, we identify learning proximity interactions - turning absolute positional encodings into proximity-biased Attention scores - as a key source of the improvements brought by SPT. Finally, in a simplified theoretical setup, we show that label supervision can be locally blind to certain Attention-score directions that are instead detectable through masked reconstruction.
Tags
Topics
transformers, self-pretraining, attention, Long-Range Arena
Research notes
- Primary: arxiv abs (cs.LG). Campus Bio-Medico di Roma / Umeå / MPI-IS / ELLIS Institute Tübingen; correspondence omarcoser10@gmail.com. Discord posted abs. HF has no paper page (API 404). No official code on abs (experiments reuse Amos et al. 2024). ArXiv license widget not visible in converted abs HTML, so license left blank. Uses public LRA/UCR; no new corpus, so no datasets_local row.
Cites, within this collection
Similar entries
- Paper MoBA: Mixture of Block Attention for Long-Context LLMs
- Paper TCNCA: Temporal Convolution Network with Chunked Attention for Scalable Sequence Processing
- Paper Universal interpolation for deep residual self-attention networks
- Paper Screening Is Enough
- Paper High-Dimensional Learning Dynamics of Attention-Indexed Models
- Paper No More Free Lunch: Corpus Task Complexity Matters as Corpora Grow