# Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation

- **ID:** 735
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2507.10524
- **Authors:** Sangmin Bae, Yujin Kim, Reza Bayat, Sungnyun Kim, Jiyoun Ha, Tal Schuster, Adam Fisch, Hrayr Harutyunyan, Ziwei Ji, Aaron Courville, Se-Young Yun
- **Venue:** arXiv
- **Published:** 2025
- **Source:** arxiv
- **Language:** en
- **Access:** public
- **Tags:** architecture, adaptive-compute, recursion, efficiency, pretraining
- **Topics:** architecture, adaptive-compute, recursion, efficiency, pretraining
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/735

## Summary

Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.

## From the source (fetched 2026-10-03)

- **Published:** Jul 14, 2025 (arXiv)
- **Last revised:** Oct 25, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.LG (arXiv)
- **Author comment:** 38 pages, 9 figures, 17 tables, codes at https://github.com/raymin0223/mixture_of_recursions (arXiv)
- **Citations:** 138 (18 influential) (Semantic Scholar)
- **References:** 112 (Semantic Scholar)
- **Published in:** Neural Information Processing Systems (Semantic Scholar)

## Abstract

Scaling language models unlocks impressive capabilities, but the accompanying computational and memory demands make both training and deployment expensive. Existing efficiency efforts typically target either parameter sharing or adaptive computation, leaving open the question of how to attain both simultaneously. We introduce Mixture-of-Recursions (MoR), a unified framework that combines the two axes of efficiency inside a single Recursive Transformer. MoR reuses a shared stack of layers across recursion steps to achieve parameter efficiency, while lightweight routers enable adaptive token-level thinking by dynamically assigning different recursion depths to individual tokens. This allows MoR to focus quadratic attention computation only among tokens still active at a given recursion depth, further improving memory access efficiency by selectively caching only their key-value pairs. Beyond these core mechanisms, we also propose a KV sharing variant that reuses KV pairs from the first recursion, specifically designed to further decrease memory footprint. Across model scales ranging from 135M to 1.7B parameters, MoR forms a new Pareto frontier: at equal training FLOPs and smaller model sizes, it significantly lowers validation perplexity and improves few-shot accuracy, while delivering higher throughput compared with vanilla and existing recursive baselines. These gains demonstrate that MoR is an effective path towards large-model quality without incurring large-model cost.

## Research notes

- Discovery: Posted in #random-papers on 2026-09-28; arXiv abstract page fetched on 2026-09-29.
- Method: Mixture-of-Recursions (MoR): layer sharing across recursion steps plus a routing mechanism that assigns tokens to different recursion depths dynamically.
- Key findings: Reported better validation perplexity, few-shot accuracy, model size, and throughput Pareto trade-offs than vanilla and recursive baselines across 135M-1.7B scales.
- Limitations: Code URL not verified from available sources. Evaluation reported up to 1.7B parameters; results at larger scales and full limitation discussion not extracted.
- Latest revision 2025-10-25 (v2). Related conceptually to adaptive-depth / early-exit work but distinct in token-level recursion-depth routing.

## Cites, within this collection

- [Mixture-of-Depths: Dynamically allocating compute in transformer-based language models](https://papers.projxon.ai/entries/563) (paper 2024, #563)
- [Training Large Language Models to Reason in a Continuous Latent Space (Coconut)](https://papers.projxon.ai/entries/925) (paper 2024, #925)

## Cited by, within this collection

- [Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers](https://papers.projxon.ai/entries/476) (paper 2026, #476)
- [LT2: Linear-Time Looped Transformers](https://papers.projxon.ai/entries/494) (model 2026, #494)
- [Looped Diffusion Language Models](https://papers.projxon.ai/entries/504) (paper 2026, #504)
- [Training-Free Looped Transformers](https://papers.projxon.ai/entries/510) (paper 2026, #510)
- [Probabilistic Tiny Recursive Model](https://papers.projxon.ai/entries/520) (paper 2026, #520)
- [Generative Recursive Reasoning](https://papers.projxon.ai/entries/521) (paper 2026, #521)
- [Dr.LLM: Dynamic Layer Routing in LLMs](https://papers.projxon.ai/entries/542) (paper 2025, #542)
- [How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models](https://papers.projxon.ai/entries/699) (paper 2026, #699)
- [Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes It](https://papers.projxon.ai/entries/826) (paper 2026, #826)
- [LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulation](https://papers.projxon.ai/entries/1078) (paper 2026, #1078)
- [Sparse Layers are Critical to Scaling Looped Language Models](https://papers.projxon.ai/entries/1085) (paper 2026, #1085)

## Similar entries

- [>10x More Efficient Pretraining](https://papers.projxon.ai/entries/702) (post, #702)
- [How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents](https://papers.projxon.ai/entries/725) (paper, #725)
- [GrowLength: Accelerating LLMs Pretraining by Progressively Growing Training Length](https://papers.projxon.ai/entries/1103) (paper, #1103)
- [Memory Attention](https://papers.projxon.ai/entries/728) (paper, #728)
- [DepthBench: Measuring How Residual Connections Enable More Computational Depth](https://papers.projxon.ai/entries/789) (paper, #789)
- [Why Adaptive Optimizers Underestimate Rare Tokens](https://papers.projxon.ai/entries/1219) (paper, #1219)
