← All entries
Paper2026#486

The State-Prediction Separation Hypothesis

Summary

SPS inserts a dummy prediction token after every input so the input stream owns the persistent KV cache and the prediction stream emits the next token (plus a w=64 ephemeral prediction window). Pretraining 53M-1.678B on FineWeb-Edu: at 1.6B, matches a standard Transformer validation loss with 2.6x fewer tokens (pre-decay) and gains ~2-3 pp average zero-shot accuracy, with persistent KV ~1.01x Standard and decode throughput within 6-10%. 2x Memory and Delayed State ablations show extra compute/memory is not enough; gradient analysis routes future-loss onto the input stream. Code https://github.com/lil-lab/sps.

Venue
arXiv / Cornell University / Harvard
Source
arxiv
Access
free
License
arXiv perpetual non-exclusive license 1.0
License family
Other
Language
en
Purpose
Test whether splitting next-token prediction and persistent state into two Transformer streams improves LM quality
Scale
FineWeb-Edu, GPT-2 tokenizer, ctx 4096; 53M/131M/379M/831M/1.678B; 20B tokens default (Standard also 40B/47B); 2xH100 (XS-L) or 2xB200 (XL); 5 zero-shot benches plus 4 OOD corpora
Used for
Unknown
Time period
2026-07-01 (arXiv 2607.01218 v1)
Author type
human
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jul 1, 2026
arXiv categories
cs.CL, cs.AI, cs.LG
Author comment
Preprint
Citations
3
References
40

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Transformers use the same forward computation stream to both predict the next token and store useful state for future token predictions. We formulate the \emph{state-prediction separation hypothesis}: disentangling the two roles yields better language modeling performance. We design a Transformer variant that uses two computation streams to separate the two functions, and conduct pretraining experiments across various scales. Our experiments show that state-prediction separation consistently offers better data and compute efficiencies, improving validation loss and outperforming standard Transformers by 2--3 percentage points on average on downstream tasks. We also conduct extensive empirical analysis that rules out potential confounders and demonstrates the fundamental difference in the gradients our design entails.

Tags

spstwo-streamkv-cachestate-predictionfineweb-educornellharvard

Topics

transformer architecture, language modeling

Research notes

  • Primary: arxiv abs (default nonexclusive-distrib 1.0, cs.LG/CL). Cornell LIL Lab; Brantley at Harvard. Correspondence giovanni@cs.cornell.edu. Code https://github.com/lil-lab/sps (23 stars at check); license not stated on the GitHub landing page, so left blank. Discord posted AlphaXiv 2607.01218; canonical abs recorded. HF paper page 12 upvotes, org lil-lab; no linked models/datasets. Trains on public FineWeb-Edu; no new corpus, so no datasets_local row.

Similar entries