[Paper Review] Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors
This paper argues that fair evaluation of long-sequence models requires data-driven priors via self-pretraining (SPT) instead of random weight initialization. By pretraining models on downstream task data using denoising objectives, SPT boosts performance across Transformers and state space models (SSMs), enabling vanilla Transformers to match S4's LRA performance and improving SSMs on PathX-256 by 20 accuracy points, rendering many architectural biases redundant.
Modeling long-range dependencies across sequences is a longstanding goal in machine learning and has led to architectures, such as state space models, that dramatically outperform Transformers on long sequences. However, these impressive empirical gains have been by and large demonstrated on benchmarks (e.g. Long Range Arena), where models are randomly initialized and trained to predict a target label from an input sequence. In this work, we show that random initialization leads to gross overestimation of the differences between architectures and that pretraining with standard denoising objectives, using $ extit{only the downstream task data}$, leads to dramatic gains across multiple architectures and to very small gaps between Transformers and state space models (SSMs). In stark contrast to prior works, we find vanilla Transformers to match the performance of S4 on Long Range Arena when properly pretrained, and we improve the best reported results of SSMs on the PathX-256 task by 20 absolute points. Subsequently, we analyze the utility of previously-proposed structured parameterizations for SSMs and show they become mostly redundant in the presence of data-driven initialization obtained through pretraining. Our work shows that, when evaluating different architectures on supervised tasks, incorporation of data-driven priors via pretraining is essential for reliable performance estimation, and can be done efficiently.
Motivation & Objective
- To address the unfair performance comparison between long-sequence models due to random weight initialization.
- To investigate whether pretraining on downstream task data alone can provide effective inductive biases for long-range modeling.
- To evaluate whether architectural innovations in SSMs remain necessary when models are properly pretrained.
- To demonstrate that self-pretraining (SPT) leads to superior generalization and reduces performance gaps between architectures.
Proposed method
- Apply self-pretraining (SPT) using masked denoising objectives on downstream task data only, without external corpora.
- Train models from scratch versus SPT-fine-tuned on Long Range Arena (LRA) and PathX-256 benchmarks.
- Use a two-stage training protocol: pretrain on denoising task, then fine-tune on downstream classification.
- Compare performance of standard Transformers and S4 state space models under both random initialization and SPT.
- Conduct compute-tied ablation studies to isolate SPT gains from increased training compute.
- Evaluate model scaling across four orders of magnitude in model size to assess SPT’s robustness.
Experimental results
Research questions
- RQ1Does random weight initialization lead to biased performance comparisons between long-sequence architectures?
- RQ2Can self-pretraining on downstream task data alone provide sufficient inductive bias to close performance gaps between Transformers and SSMs?
- RQ3To what extent do hand-crafted architectural biases in SSMs become redundant when models are pretrained with data-driven priors?
- RQ4Does SPT improve generalization more than additional training compute alone?
- RQ5How does SPT performance scale across different model sizes and sequence lengths?
Key findings
- Vanilla Transformers achieve state-of-the-art performance on Long Range Arena (LRA) when pretrained via SPT, matching S4’s reported results without architectural modifications.
- S4 achieves a 20 absolute point improvement on the PathX-256 task when using SPT compared to training from scratch.
- SPT reduces the performance gap between Transformers and SSMs to near-zero on LRA, demonstrating that architectural differences are less critical when proper priors are used.
- SPT consistently improves performance across all model sizes tested, from 100K to 10M parameters, showing robustness to scale.
- The gains from SPT cannot be explained by additional compute alone, as compute-tied experiments show SPT outperforms training from scratch even with fixed total training budget.
- Structured parameterizations in SSMs become largely redundant when combined with SPT, indicating that data-driven priors subsume much of the benefit of hand-crafted architectural biases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.