Per-Token Fixed-Point Convergence in Depth-Recurrent Transformers
Abstract
A depth-recurrent transformer applies a weight-tied core a variable number of times, and prior work has shown that training with a randomized recursion count yields one checkpoint usable across a range of inference depths. We ask what such a model actually computes per token, and measure it directly. On a 135M-class model trained on FineWeb-Edu, the recurrent state converges to a per-token fixed point: mean successive-output KL divergence falls from 3.9e-1 at the second loop to 8.5e-6 by the sixteenth, and per-token state change decays in step. Crucially, this convergence is not uniform across tokens. The median token converges by loop six, while approximately 10 percent of tokens continue to update at the training-mean depth of eight, and mean convergence depth is ordered by token type (whitespace shallowest, content words deepest). This per-token variation is the central object of the paper. We show it is directly readable and that reading it outperforms learning to predict it: a training-free rule that halts each token once its output stabilizes attains uniform depth-8 quality at 4.94 average loops (a 38 percent reduction in average depth) and matches uniform depth across the average-depth range, whereas a linear router trained on convergence labels harvested from the same model requires nearly full depth and yields no reduction. The elasticity that makes this possible reproduces here as background (validation loss decreases monotonically from 3.80 at one loop to 3.20 at eight and remains stable to 32 loops). We report average depth as a FLOP proxy with a three-point wall-clock bracket rather than a realized speedup, make no FLOP-matched parity claim, and note that the allocation results are established at a single scale and seed. The complete study runs on a single RTX 4090 in approximately 100 GPU-hours.
Create a lesson
Metadata
- Comments
- 15 pages, 4 figures. Code, configs, experiment log, and checkpoint at https://github.com/jlognn/depth-recurrent-convergence
Related papers
Transformer-Based Token Fusion and Dynamic Graph Planning for Audio-Visual Navigation
Shared title terminologycs.AIShaohang Wu, Yinfeng Yu
Faster and Better Query (FBQ): Learning Future-Position Probes from the First Generated Token
Shared title terminologycs.AIJiankun Zou, Daixing Chen, Tongtong Yuan
Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data
Shared title terminologycs.AIBaptiste Juran, Dimitri Kachler, Damien Sileo
Perception Is Enough, at the Right Scale: Scale-Adaptive Token Pruning for Vision-Language-Action Models
Shared title terminologycs.AIYifeng Lin, Liuxiang Qiu, Yunfeng Chen et al.
PANOPTICON: A PII-Based Assemblage of Naturalistic Output Tokens for Investigating Privacy Leakage Within LLM Context Window
Shared title terminologycs.AIRyan Thornton, Mir Mehedi Ahsan Pritom, Maanak Gupta
MGDT: MLLM-Guided Diffusion Transformer with Relation-Adaptive Mixture-of-Experts for Multimodal Knowledge Graph Completion
Shared title terminologycs.AIXu Hou, Meiyu Liang, Wei Huang et al.