atlas

Research map / Architectures and efficiency / Attention and transformers

Stabilizing Extrapolation in Looped Transformers via Learned Stochastic Stopping

NeurIPS 2026 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that Looped Transformers' length generalization is unstable across runs, and that randomizing (including learned RL-Halting) training loop depth reduces OOD variance and stabilizes predictions, though stability does not guarantee extrapolation.

Problem

Length generalization of Looped Transformers on algorithmic tasks is brittle: runs with similar in-distribution accuracy differ widely in OOD behavior, due to the training-time choice of loop depth.

Approach

Treat the loop-depth stopping schedule as a training-time design choice: sample one supervised depth per example (hand-designed windows around input length, or a learned hazard-based stopping distribution trained with REINFORCE using negative task loss as reward) to reduce OOD variance and flip rates across inference-time loop counts.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: binary addition Dyck-1 Unique Set Copy

Benchmarks: binary addition Dyck-1 Unique Set Copy

Metrics: oracle-over-iterations accuracy Front.@90 standard deviation across runs prediction flip rate oracle-policy gap

Baselines: Fixed K=20 looped transformer length-matched K=n looped transformer K=n±5 random looped transformer 3-layer Transformer 60-layer Transformer PonderNet

Builds on: Adaptive Computation Time PonderNet Fan et al. looped transformer for length generalization REINFORCE input injection

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy