Elastic Strided Looping: Router-Free Anytime Inference and the Elasticity Tax in Recurrent-Depth Transformers

Deterministic Strided Looping (DOI: 10.5281/zenodo.24637768) recently demonstrated that executing a weight-tied Transformer core with a fixed Coarse-to-Fine stride schedule strictly dominates naive full-block looping on both accuracy and throughput by breaking Pass-3 fixed-point collapse. However, static strided schedules remain rigid at deployment: a model trained at one fixed operation budget cannot dynamically scale its compute to match varying query difficulty or latency constraints. In this work, we first quantify the severe off-diagonal brittleness of static looped Transformers: on TinyStories language modeling, a static Coarse-to-Fine model achieves the lowest native validation perplexity (9.14 PPL at 11 core ops) but collapses to 17.55 PPL at 6 ops and 50.27 PPL at 18 ops. To resolve this, we introduce Elastic Strided Looping, a router-free training framework that stochastically cycles across discrete strided compute budgets ({6, 11, 18} core ops) using a single shared weight-tied checkpoint and schedule-specific scalar pass gates. Across multi-hop pointer chasing (N=16, up to H=10 hops) and TinyStories language modeling, Elastic Strided Looping completely eliminates off-diagonal collapse—maintaining flat validation perplexity (10.18 → 10.18 → 10.12) across all three budgets and exhibiting implicit self-distillation on pointer chasing (where a single elastic checkpoint reaches 96.6% at 6 ops vs. 87.3% for a dedicated 1-pass baseline on the same seed). Finally, we diagnose the ~1.0 PPL elasticity tax relative to specialized static models. Through controlled ablations, we falsify the hypothesis that the tax stems from output normalization mismatch—adding Switchable Final LayerNorm worsens 3-budget perplexity (10.54 vs. 10.18) due to update dilution—and show instead that pruning the redundant 18-op pass to a 2-budget {6, 11} schedule cuts the elasticity tax in half (9.80 → 9.73 PPL), restores monotonic depth scaling, and trains faster than static Coarse-to-Fine (379.8s vs. 404.7s).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24650041
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Elastic Strided Looping: Router-Free Anytime Inference and the Elasticity Tax in Recurrent-Depth Transformers

Faheem Sarwar
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
preprint

Elastic Strided Looping: Router-Free Anytime Inference and the Elasticity Tax in Recurrent-Depth Transformers

Faheem Sarwar
preprint en

Abstract

Deterministic Strided Looping (DOI: 10.5281/zenodo.24637768) recently demonstrated that executing a weight-tied Transformer core with a fixed Coarse-to-Fine stride schedule strictly dominates naive full-block looping on both accuracy and throughput by breaking Pass-3 fixed-point collapse. However, static strided schedules remain rigid at deployment: a model trained at one fixed operation budget cannot dynamically scale its compute to match varying query difficulty or latency constraints. In this work, we first quantify the severe off-diagonal brittleness of static looped Transformers: on TinyStories language modeling, a static Coarse-to-Fine model achieves the lowest native validation perplexity (9.14 PPL at 11 core ops) but collapses to 17.55 PPL at 6 ops and 50.27 PPL at 18 ops. To resolve this, we introduce Elastic Strided Looping, a router-free training framework that stochastically cycles across discrete strided compute budgets ({6, 11, 18} core ops) using a single shared weight-tied checkpoint and schedule-specific scalar pass gates. Across multi-hop pointer chasing (N=16, up to H=10 hops) and TinyStories language modeling, Elastic Strided Looping completely eliminates off-diagonal collapse—maintaining flat validation perplexity (10.18 → 10.18 → 10.12) across all three budgets and exhibiting implicit self-distillation on pointer chasing (where a single elastic checkpoint reaches 96.6% at 6 ops vs. 87.3% for a dedicated 1-pass baseline on the same seed). Finally, we diagnose the ~1.0 PPL elasticity tax relative to specialized static models. Through controlled ablations, we falsify the hypothesis that the tax stems from output normalization mismatch—adding Switchable Final LayerNorm worsens 3-budget perplexity (10.54 vs. 10.18) due to update dilution—and show instead that pruning the redundant 18-op pass to a 2-budget {6, 11} schedule cuts the elasticity tax in half (9.80 → 9.73 PPL), restores monotonic depth scaling, and trains faster than static Coarse-to-Fine (379.8s vs. 404.7s).

Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon