Skip to content

Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extension

A CMU / Ai2 controlled-ablation study across four “minor” dense-Transformer architectural choices — normalization variant, GQA vs MHA, pretraining context length, and sliding-window attention — that each family among Olmo, Llama, and Qwen has made at least once. Any single choice barely moves short-context loss, but combining three or more compounds negatively and can drop long-context downstream performance by up to 47%. The differences are not detectable from short-context loss or validation sets — they only surface after context extension, and can be probed cheaply by running context extension early in pretraining. Ships OlmPool, 26 comparable 7B models trained for over 170k GPU-hours with pre/post-extension checkpoints; several of the architectural mixtures outperform the Llama 3 architecture on long-context extensibility.

  • Four architectural choices — normalization scheme, GQA, pretraining context length, sliding-window attention — each have minor individual effects on long-context extensibility but combine compoundingly negatively, with 3+ combined choices dropping downstream performance up to 47% [Abstract].
  • These architecture-driven differences are not detectable from short-context training loss or validation datasets — they surface only after long-context extension [Abstract].
  • Most of the cross-family variation in long-context ability (Olmo vs Llama vs Qwen) is attributable to these four architectural features, holding data, tokenizer, and extension recipe fixed [Abstract].
  • Long-context extensibility can be probed cheaply by applying context extension early in pretraining — the pattern shows up before the model finishes training [Abstract].
  • Several architectural configurations in the OlmPool release outperform the Llama 3 architecture on long-context extensibility [Abstract].
  • Ablation-model analysis identifies specific attention-sink behavior patterns and attention-distribution shapes across context that are attributable to specific architectural choices [Abstract].

The setup is a controlled architecture-ablation sweep at 7B dense scale: data, tokenizer, and context-extension recipe are held fixed while four axes are varied — normalization (variant unspecified in the abstract), Grouped-Query Attention vs MHA, pretraining context length, and sliding-window attention. Each of the four choices is drawn from decisions actually made by at least one of Olmo, Llama, or Qwen, so the ablation space is grounded in production model families rather than synthetic. Total compute is over 170,000 GPU-hours; the 26 resulting 7B checkpoints — released as OlmPool — include both the base pretrained model and the post-context-extension model for each configuration, enabling before/after diagnostics. Attention-sink and attention-distribution analyses are then run across the pool to attribute observed long-context degradations to specific architectural features.

  • Up to 47% downstream drop on long-context evaluations when 3+ of the four architectural choices are combined; individual choices produce only minor drops [Abstract].
  • Short-context training loss and validation loss are insensitive to these architectural differences — the delta only shows up on long-context downstream tasks [Abstract].
  • OlmPool contains architecture configurations that beat Llama 3 on long-context extensibility [Abstract].
  • Context extension applied early in pretraining already surfaces the long-context extensibility differences — the diagnostic is cheap [Abstract].

The clean framing: long-context evaluation isn’t just a data or recipe question — the architecture itself carries hidden long-context taxes that don’t appear in the standard pretraining-loss / short-context-eval pipeline. That is directly load-bearing for the Training stability at scale cluster on the wiki: A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training argued attention sinks are load-bearing for training stability but PTQ-hostile; this paper says specific normalization / GQA / SWA combinations shape the very attention-sink patterns that show up at long context. It also complements DeepSeek-V3.1-Base — long-context-extended V3 base with UE8M0 FP8 microscaling‘s long-context-extension recipe story with an architectural-selection prerequisite: even a well-tuned extension phase can’t rescue a bad architecture mixture. The “run extension early to diagnose long-context quality” trick is the sharper practical finding — it turns a 47%-drop failure mode into something a scaling-law sweep can detect at small scale.