Skip to content
AI News HubLIVE
Original source2 min read

Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts

Summary

This study diagnoses adaptive depth in looped transformers through a trajectory-readout lens, finding that fixed-prior depth supervision yields difficulty-aware trajectories and simple post-hoc confidence readouts often match or outperform learned gates. The main failure stems from joint gate training inducing poor trajectories, not limited gate expressivity.

SourcearXiv Machine LearningAuthor: Andrei Cristian Popescu, Haitz S\'aez de Oc\'ariz Borde, Pietro Li\`o
Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 8 Jul 2026]

Title:Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts

View a PDF of the paper titled Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts, by Andrei Cristian Popescu and 2 other authors

View PDF HTML (experimental)

Abstract:Looped Transformers increase test-time computation by repeatedly applying a shared recurrent block. Learned halting objectives in looped Transformers typically use a single exit distribution both as the inference-time stopping rule and as the training-time weighting of per-depth losses. This entangles exit selection with trajectory formation: the gate not only chooses which recurrent state to use, but also determines how strongly each intermediate state is supervised. Consequently, poor adaptive-compute performance can arise from the readout, the induced trajectory, or their interaction. We study adaptive depth in looped Transformers through this trajectory--readout lens, across controlled synthetic tasks (modular arithmetic and binary parity) and large-scale Ouro-1.4B and 2.6B checkpoints. We find that fixed-prior depth supervision, which shapes the trajectory without an input-dependent halting policy, produces difficulty-aware trajectories whose intermediate states expose useful stopping signals, and that simple post-hoc confidence readouts often match or outperform learned linear and MLP gates. Fitting gates on frozen trajectories localizes the failure: it appears to stem mainly from the trajectory induced by joint gate training rather than from limited gate expressivity. The same pattern is present in Ouro evaluations, where pretrained ponder gates are competitive but not uniformly Pareto-optimal, and measured latency confirms that the resulting reductions in average exit depth translate into practical inference-time savings. Our systematic diagnostic evaluation reframes adaptive depth in looped Transformers as a joint problem of trajectory formation and exit readout, rather than gate learning alone, highlighting a distinction that prior learned-halting work has often left implicit.

Subjects:

Machine Learning (cs.LG)

Cite as: arXiv:2607.20519 [cs.LG]

(or arXiv:2607.20519v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2607.20519

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Haitz Sáez de Ocáriz Borde [view email] [v1] Wed, 8 Jul 2026 02:54:03 UTC (7,164 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts, by Andrei Cristian Popescu and 2 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.LG

new | recent | 2026-07

Change to browse by:

cs

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

IArxiv recommender toggle

IArxiv Recommender (What is IArxiv?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Learned halting gates in looped transformers entangle exit selection with trajectory formation, causing poor adaptive computation.
  • Fixed-prior depth supervision produces difficulty-aware trajectories with useful stopping signals.
  • Simple post-hoc confidence readouts often match or outperform learned linear and MLP gates.
  • Trajectories induced by joint gate training are the primary failure source, not gate expressivity.

Highlights and analysis are generated automatically and may contain errors. Check the original source.