Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extension
Amanda Bertsch, Luca Soldaini, Matthew R. Gormley, Graham Neubig, Hannaneh Hajishirzi, Kyle Lo, Dirk Groeneveld
Key points
From the paper's conclusion- We show that much of the variation in long context ability across model families is driven by these architectural features and detectable from applying context extension early in pretraining.
Abstract
One might imagine that architectural variations within the dense transformer paradigm have a limited effect on accuracy. However, we demonstrate that this is not the case in the long context setting. Specifically, we show that a set of four minor architectural decisions --- all made by at least one of the Olmo, Llama, and Qwen dense model families --- have a compoundingly negative effect on long context extensibility. Any one of these choices alone has a minor impact on long context performance, but combining three or more can drop the performance downstream by up to 47%. Furthermore, these differences are not detectable from short-context loss or validation datasets. We show that much of the variation in long context ability across model families is driven by these architectural features and detectable from applying context extension early in pretraining. We demonstrate this with controlled ablations that hold data, tokenizer, and extension recipe fixed while varying normalization, GQA, pretraining context length, and sliding window attention. After over 170,000 GPU hours of training, we release the resulting set of models as OlmPool, a set of 26 comparable 7B models with checkpoints before and after long-context extension. This pool includes several architectures that outperform the Llama 3 architecture on long context extensibility. In an analysis of our ablation models, we identify patterns in attention sink behavior and attention distributions across context that are attributable to specific architectural differences.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Structured sparse attention for accelerating long-context diffusion language modelsFrontiers in Artificial Intelligence · 2026
- Accelerating Long-Context Decoding in Large-Scale Hybrid LLMs Without RetrainingarXiv · 2026
- Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can TellarXiv · 2026
- KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language ModelsarXiv · 2026
- Pipelining the Memory Hierarchy for Ultra-Long-Context Language Model TrainingGetMobile: Mobile Computing and Communications · 2026
- Local Inference of LLMs on Long Contexts: A Data Systems PerspectivearXiv · 2026