paper-with-me

Papers

Understanding Dynamic Compute Allocation in Recurrent Transformers

2026-02-09 · Ibraheem Muhammad Moosa, Suhas Lohit, Ye Wang, Moitreya Chatterjee, Wenpeng Yin 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.

📄 PDF Abstract BibTeX arXiv:2602.08864

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Representation learning for neural population activity with Neural Data Transformers

2021-08-02 · Joel Ye, Chethan Pandarinath

Neural population activity is theorized to reflect an underlying dynamical structure. This structure can be accurately captured using state space models with explicit dynamics, such as those based on recurrent neural net…

Representation LearningState Space Models

RD-ViT: Recurrent-Depth Vision Transformer for Semantic Segmentation with Reduced Data Dependence Extending the Recurrent-Depth Transformer Architecture to Dense Prediction

2026-05-05 · Renjie He arxiv

Vision Transformers (ViTs) achieve state-of-the-art segmentation accuracy but require large training datasets because each layer has unique parameters that must be learned independently. We present RD-ViT, a Recurrent-De…

Computational EfficiencySemantic Segmentation

Two-Scale Latent Dynamics for Recurrent-Depth Transformers

2025-09-27 · Francesco Pappone, Donato Crisostomi, Emanuele Rodolà arxiv

Recurrent-depth transformers scale test-time compute by iterating latent computations before emitting tokens. We study the geometry of these iterates and argue for a simple, two-scale operational picture: (i) within a lo…

When Do Transformers Outperform Feedforward and Recurrent Networks? A Statistical Perspective

2025-03-14 · Alireza Mousavi-Hosseini, Clayton Sanford, Denny Wu, Murat A. Erdogdu

Theoretical efforts to prove advantages of Transformers in comparison with classical architectures such as feedforward and recurrent neural networks have mostly focused on representational power. In this work, we take an…

Subjective Depth and Timescale Transformers: Learning Where and When to Compute

2025-11-26 · Frederico Wieser, Martin Benfeghoul, Haitham Bou Ammar, Jun Wang 외 arxiv

The rigid, uniform allocation of computation in standard Transformer (TF) architectures can limit their efficiency and scalability, particularly for large-scale models and long sequences. Addressing this, we introduce Su…