atlas

Research map / Architectures and efficiency / Attention and transformers

Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors

ICLR 2024 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that self-pretraining (denoising pretraining on only the downstream task data) greatly improves Transformers and S4 on Long Range Arena, closing the gap between architectures and making diagonal linear RNNs competitive.

Problem

Long-sequence benchmarks such as Long Range Arena are evaluated by training models from random initialization, which may underestimate architectures (notably Transformers) and yield unfair comparisons relative to pretrained practice.

Approach

Pretrain each architecture with a standard denoising objective (causal or masked sequence modeling) solely on the downstream task's training data before finetuning, which acts as a data-driven prior and enables fair architecture comparison without extra data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
self-pretrain Transformer with masked sequence modelingTransformer · LRAmean accuracy: 53.66 -> 81.34Helped
self-pretrain Transformer with causal sequence modelingTransformer · LRAmean accuracy: 53.66 -> 81.81Helped
use masked rather than causal SPT (ablation)Transformer · LRAmean accuracy: 81.34 vs 81.81No clear effect
add masked SPT and rotary embeddingsTransformer · LRA Avg. (without PathX-256)accuracy: 74.28 -> 86.21Helped
add masked SPTS4 · PathX-256accuracy: 67.82 -> 87.11Helped
add masked SPTS4 · LRA (ListOps, Text, Image, PathX)mean accuracy: 82.85 -> 84.47Helped
use DLR instead of S4, with SPT (ablation)SSM · LRA (ListOps, Text, Image, PathX)mean accuracy: 84.47 -> 83.37Hurt
replace structured initialization with random initialization before SPT (ablation)S4 · LRA (ListOps, Text, Image, PathX)mean accuracy: 82.85 -> 82.75No clear effect
add SPTTransformer · Speech Commands (bidirectional)accuracy: 86.93 -> 91.49Helped
add SPTTransformer · sCIFARaccuracy: 79.41 -> 90.29Helped
add SPTS4 · BIDMC HRR2: 0.999 -> 0.999No clear effect
allocate 20% of a fixed training budget to SPTTransformer · Imageaccuracy: 75.04 -> 84.45Helped

Surprising findings

Limitations

Experimental setup

Datasets: ListOps IMDb (character-level Text) AAN (Retrieval) CIFAR-10 grayscale (Image) Pathfinder PathX PathX-256 Speech Commands sCIFAR BIDMC The Pile

Benchmarks: Long Range Arena PathX-256 Speech Commands sCIFAR BIDMC

Metrics: accuracy average accuracy R2

Baselines: S4 SPADE MEGA Transformers + Rotary Pythia 70M DLR Linformer BigBird Performer

Builds on: S4 HiPPO Long Range Arena diagonal linear RNN self-supervised pretraining on downstream data

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy