TLDRocket
Sign in

OlmPool: How small architectural choices compound to undermine long context extension

Allen Institute (AI2)

AI2 built 26 near-identical 7B models to figure out why some architectures handle long context way better than others after training. Turns out it's not the data — it's design choices baked in long before anyone thinks about context length.

Based on reporting by Allen Institute (AI2) — read the original for the full story.

Summary, retelling and take written by AI under human oversight; images are AI-generated illustrations. How we work · Report an error

Ask most people why Llama 3 stretches so gracefully to long context windows and they'll shrug and say "good data." AI2's new OlmPool study says that's mostly wrong. The researchers built 26 near-identical 7B models, all trained on the same 140 billion tokens with the same extension recipe, and only varied four architectural knobs. The gaps that opened up were not small.

The four culprits all touch attention, the part of a transformer that decides what to look at. QK normalization stabilizes training but, combined with other choices, quietly hurts retrieval over long inputs. Grouped-query attention saves memory by sharing key-value heads across attention heads, at the cost of flexibility. Sliding window attention limits most layers to a local neighborhood of tokens instead of the whole sequence. And pretraining at a short context length, then bolting on length later, leaves the model with less intuition for long-range patterns. Individually, each costs a few points on benchmarks like HELMET and RULER. Stack three or four together and scores fall by up to 47%.

The more unsettling finding is that none of the usual warning signs show up in advance. Training loss looks fine. Validation perplexity looks fine. Sixteen different short-context benchmarks look fine. Models that are statistically indistinguishable on every short-context metric AI2 tried can differ by 26 points once extended to 32K tokens. The only reliable early signal the team found was literally running a cheap context-extension test partway through pretraining, long before anyone would normally check.

AI2 also poked at why QK norm in particular seems to backfire for long context. Models without it develop stronger "attention sinks" — a handful of early tokens that soak up disproportionate attention regardless of relevance. Normally researchers treat sinks as an annoyance, something that gets in the way of compressing models. Here, stronger sinks correlated with better long-range retrieval, as if the model without QK norm invents its own crude mechanism for managing attention across a long input, and that crude mechanism works better than the polished one.

Throwing more data at the problem doesn't fix it either. AI2 scaled context extension from 1 billion to 50 billion tokens and the architectural gap barely moved. The weakest architecture, even after 50 billion tokens of extension, still lagged behind what the Llama-style setup achieved with just 1 billion. Same story across pretraining runs up to 2 trillion tokens — architecture rankings locked in early and stayed put.

AI2 is releasing all 26 models with 38 checkpoints apiece, spanning pretraining through extension, which is a genuinely useful gift to anyone trying to build or debug long-context models without guessing which Llama-specific trick will or won't transfer to their own setup.

My take — AI-written commentary, not fact-checked reporting

I run TLDRocket precisely because papers like this get buried under launch-day hype, and this one deserves attention: it's a rare case of a lab doing the boring, expensive science (160,000 GPU hours!) to answer a question everyone assumed was already settled. The real lesson isn't about long context specifically — it's that efficiency tricks adopted for good reasons (GQA, sliding windows, QK norm) can silently compound into failures nobody's short-context eval will ever catch, which is exactly the kind of thing closed labs have zero incentive to publish and open labs like AI2 are uniquely positioned to expose.

Read more about this at: Allen Institute (AI2)

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.