Comparing Transformers and Hybrid Models at the Token Level
cs.CL, cs.AI
Submitted: 2026-06-18
Updated: 2026-12-02
Comments: NeurIPS 2026 (camera-ready version)
License: http://creativecommons.org/licenses/by/4.0/
The gist: Hybrid language models combine attention and recurrence: recurrent layers theoretically ameliorate pure transformers' state-tracking limitations…
Terminology
Abstract
Hybrid language models combine attention and recurrence: recurrent layers theoretically ameliorate pure transformers' state-tracking limitations, and hybrids can empirically outperform pure transformers in loss and downstream evaluations (Waleffe et al., 2024; Merrill et al., 2026). Which data or capabilities drive these gains, and how closely they reflect hybrids' theoretical advantages, remains unclear. We address this using the open-weight Olmo 3 (Olmo et al., 2026) and Olmo Hybrid (Merrill et al., 2026) checkpoints, comparing losses for the matched transformer and hybrid at identical target tokens and prefixes, stratified by natural token tags, copy features, delimiter structure, and controlled synthetic probes. The hybrid lowers loss on most tag families, especially open-class content words, with smaller gains on many closed-class function words. Across prose, code, and markup, its advantage is larger on opening than corresponding closing delimiters and nearly vanishes on repeated n-grams. Probes likewise favor the hybrid on pronoun memory and entity tracking, but the transformer on bracket matching requiring closing delimiters. These patterns suggest hybrids' recurrent layers improve predictions using document semantic state, while attention helps predict tokens predictable by n-gram copying or syntactic bracket matching. Proof-of-concept filtered evaluations show how token-level decompositions can sharpen pretraining diagnostics for hybrid architectures.
Sources
- Olmo Hybrid: From Theory to Practice and Back
- Olmo 3
- RWKV-7 "Goose" with Expressive Dynamic State Evolution
- An Empirical Study of Mamba-based Language Models
- Thinking Like Transformers
Related papers
- MedGame: Storytelling Gamification Empowered by Large Language Models for Medical Education
- SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
- UniVer: A Unified Perspective for Multi-step and Multi-draft Speculative Decoding
- Grounding Text Embeddings in Stakeholder Associations
- Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agents
- TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning