Pre-training massive language fashions is pricey sufficient that even modest effectivity enhancements can translate into significant price and time financial savings. Nous Analysis is releasing Token Superposition Coaching (TST), a technique that considerably reduces pre-training wall-clock time at fastened compute with out touching the mannequin structure, optimizer, tokenizer, parallelism technique, or coaching knowledge.
On the 10B-A1B mixture-of-experts scale, TST reaches a decrease ultimate coaching loss than a matched-FLOPs baseline whereas consuming 4,768 B200-GPU-hours versus the baseline’s 12,311 — roughly a 2.5x discount in complete pre-training time.
The Downside TST is Fixing
Trendy LLM pre-training is closely data-driven. Latest coaching regimes routinely overtrain nicely past compute-optimal estimates, and uncooked textual content throughput. How a lot knowledge a mannequin can course of per FLOP has turn out to be a key lever. Subword tokenizers like BPE already enhance throughput by compressing sequences; and the analysis suggests a lot of the BPE benefit over byte-level fashions comes merely from shorter sequences, which suggests the mannequin sees extra textual content per unit of compute.
TST asks whether or not that throughput lever will be pulled additional throughout coaching, independently of the tokenizer and with out completely altering the mannequin.
How TST Works: Two Phases
TST modifies the usual pre-training loop in two sequential phases:
Part 1 — Superposition: For the primary r fraction of complete coaching steps (the paper finds r ∈ [0.2, 0.4] to be near optimum throughout examined scales), the mannequin doesn’t obtain particular person tokens. As a substitute, the enter sequence of size L is segmented into non-overlapping luggage of s contiguous tokens. Within the embedding layer, every bag is collapsed right into a single latent “s-token” by averaging the s token embeddings. The transformer then processes a sequence of size L/s.
Crucially, every TST step is saved equal-FLOPs to an ordinary coaching step by rising the info sequence size by s instances in the course of the superposition section. As a result of every latent place corresponds to s supply tokens, the mannequin ingests s instances as a lot textual content per unit of compute — that is what drives the throughput achieve.
On the output aspect, every latent place predicts the following bag of s tokens fairly than a single subsequent token. The usual cross-entropy loss is changed with a multi-hot cross-entropy (MCE) loss, which assigns equal likelihood mass 1/s to every token within the goal bag. The MCE loss reduces to a easy imply of normal cross-entropy phrases over the s targets — it may be carried out utilizing the prevailing fused CE kernels already current in any main pre-training library, with out writing a brand new kernel or including an auxiliary head.
Part 2 — Restoration: After the superposition section, coaching resumes from the saved checkpoint with normal next-token prediction for the remaining 1 - r steps. The TST code is absolutely eliminated at this boundary to keep away from any experimental contamination. A transient loss spike happens on the transition, sometimes between 1 and a couple of nats, which resolves inside just a few thousand steps. After that, the recovered mannequin crosses beneath the equal-FLOPs baseline and stays there.
The mannequin produced on the finish of Part 2 is architecturally an identical to 1 produced by standard pre-training, with the identical next-token prediction inference conduct.
What the Experiments Present
TST was validated at 4 scales: 270M and 600M dense (SmolLM2 shapes tailored to the Llama3 modeling code, with the Llama3-8B tokenizer and untied enter/output embeddings — which makes the 270M mannequin equal in measurement to SmolLM2-135M and the 600M to SmolLM2-360M), 3B dense (SmolLM3 form), and a 10B-A1B MoE within the Qwen3 household. Coaching used the DCLM dataset for the smaller runs and a 50/50 mixture of DCLM and FineWeb-Edu for the MoE run. All runs used AdamW with the Warmup-Steady-Decay studying price schedule and had been run in TorchTitan beneath FSDP parallelism, on 64 NVIDIA B200 GPUs for the bigger fashions and eight B200 GPUs for the smaller ones.
On the 3B scale with bag measurement s = 6 and step ratio r = 0.3, TST at 20,000 steps reaches a ultimate lack of 2.676 — practically matching a 36,000-step baseline at 2.677 — whereas utilizing 247 B200-GPU-hours versus 443. The 20k-step TST run scores 62.4 on HellaSwag and 66.3 on ARC-Straightforward, versus 62.3 and 65.9 for the 36k baseline.
On the 10B-A1B MoE scale with s = 16 and r ≈ 0.25, the TST run processes 2T knowledge tokens and achieves a ultimate lack of 2.236, beneath the baseline’s 2.252 after 1.05T tokens, whereas beating it on all 4 reported benchmarks: HellaSwag (71.2 vs. 70.1), ARC-Straightforward (74.2 vs. 73.8), ARC-Problem (47.3 vs. 46.3), and MMLU (39.0 vs. 37.4).
The analysis crew presents three comparability views in opposition to the baseline — equal-FLOPs, equal-loss, and equal-data. Beneath equal-FLOPs and equal-loss situations, TST constantly wins. Beneath equal complete token consumption, the baseline wins, as a result of TST’s efficient compute finances per knowledge token is smaller. This is a crucial boundary situation that determines the place TST applies.
Two Distinct Mechanisms
An ablation examine isolates the input-side and output-side parts. Each independently outperform the baseline; combining them produces additional enchancment with out indicators of interference. The authors interpret this as proof that TST is 2 orthogonal mechanisms fairly than a single trick.
The output-side mechanism — next-bag-of-tokens prediction — is conceptually associated to multi-token prediction (MTP). In contrast to MTP, which provides okay impartial prediction heads and additional parameters, TST retains a single output head and replaces solely the goal. This makes it the least costly member of a rising class of future-signal auxiliary targets. In contrast to MTP, it exhibits constant positive factors throughout all examined scales together with small fashions the place MTP has been proven to degrade efficiency.
The input-side mechanism has no direct analog within the current pre-training literature. The analysis crew gives two believable explanations: it might implicitly regularize the embedding geometry (since many random s-grams of tokens should stay linearly separable as soon as averaged), or it might act as a type of pre-pre-training, exposing the mannequin to a coarser model of the actual knowledge earlier than fine-resolution language modeling begins.
A focused ablation instantly assessments what occurs when illustration continuity is damaged. The analysis crew runs a 3B TST experiment the place the enter embedding and output LM head are randomly re-initialized in the beginning of Part 2. The consequence: ultimate loss jumps to 2.938 — worse than each the TST run (2.676) and the usual baseline (2.808). The Part 1 TST steps contributed nothing to the ultimate mannequin. This confirms that shared representations throughout each phases are usually not incidental to TST’s success — they’re what makes it work.
Marktechpost’s Visible Explainer
Key Takeaways
- Nous Analysis’s Token Superposition Coaching (TST) cuts LLM pre-training time by as much as 2.5x at matched FLOPs — no structure, tokenizer, or optimizer adjustments required.
- Part 1 averages contiguous token embeddings into luggage and predicts the following bag through multi-hot cross-entropy; Part 2 reverts to plain next-token prediction from the identical checkpoint.
- Validated at 270M, 600M, 3B dense, and 10B-A1B MoE — TST beats the baseline on loss and downstream evals (HellaSwag, ARC, MMLU) throughout all scales.
- Optimum hyperparameters: bag measurement s ∈ [3–8] for smaller fashions, step ratio r ∈ [0.2, 0.4]; shared embeddings throughout each phases are important — re-initializing them makes TST worse than the baseline.
- Commerce-off: TST consumes extra uncooked knowledge tokens per compute finances — finest fitted to compute-bound coaching; the output-only variant is the choice for data-bound settings.
Take a look at the Paper and Project. Additionally, be happy to comply with us on Twitter and don’t overlook to affix our 150k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
Have to companion with us for selling your GitHub Repo OR Hugging Face Web page OR Product Launch OR Webinar and so on.? Connect with us
