mlsanityData to 7 Oct 2026

Understanding Dynamic Compute Allocation in Recurrent Transformers

arXiv 2602.08864 ↗First posted 9 Feb 2026cs.CL cs.AI cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

Token-level adaptive computation seeks to reduce inference cost by allocating more computation to harder tokens and less to easier ones. However, prior work is primarily evaluated on natural-language benchmarks using task-level metrics, where token-level difficulty is unobservable and confounded with architectural factors, making it unclear whether compute allocation truly aligns with underlying complexity. We address this gap through three contributions. First, we introduce a complexity-controlled evaluation paradigm using algorithmic and synthetic language tasks with parameterized difficulty, enabling direct testing of token-level compute allocation. Second, we propose ANIRA, a unified recurrent Transformer framework that supports per-token variable-depth computation while isolating compute allocation decisions from other model factors. Third, we use this framework to conduct a systematic analysis of token-level adaptive computation across alignment with complexity, generalization, and decision timing. Our results show that compute allocation aligned with task complexity can emerge without explicit difficulty supervision, but such alignment does not imply algorithmic generalization: models fail to extrapolate to unseen input sizes despite allocating additional computation. We further find that early compute decisions rely on static structural cues, whereas online halting more closely tracks algorithmic execution state.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 25 references that are in the map. First posted on arXiv 9 Feb 2026.

Builds on

22 of 25 references.

References · 22

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  4. 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
  5. 2018Universal Transformerscited by 613
  6. 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 533
  7. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
  8. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
  9. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  10. 2022Confident Adaptive Language Modelingcited by 297
  11. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  12. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
10 more
  1. 2019Depth-Adaptive Transformercited by 227
  2. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
  3. 2021PonderNet: Learning to Pondercited by 156
  4. 2025Scaling Latent Reasoning via Looped Language Modelscited by 145
  5. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 120
  6. 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 41
  7. 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 34
  8. 2025Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layerscited by 32
  9. 2024The CLRS-Text Algorithmic Reasoning Language Benchmarkcited by 28
  10. 2023A Fast Algorithm for Computing Prefix Probabilitiescited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.