atlas

Research map / Large language models / Reasoning and chain of thought

CoTFormer: A Chain of Thought Driven Architecture with Budget-Adaptive Computation Cost at Inference

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 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.

Proposes CoTFormer, a weight-tied Transformer whose repeated passes let each new token-level representation attend to earlier-pass representations (mimicking CoT), plus a Mixture-of-Repeats router for budget-adaptive token-wise compute at inference.

Problem

Deeper weight-tied (recurrent) Transformers such as Universal Transformers struggle when tokens exit at different depths, since deeper layers cannot cleanly attend to halted tokens; the paper also seeks compute-adaptive inference without retraining.

Approach

Treat each repeat as creating a new token-level representation that attends to the representations from all previous repeats (as CoT thought tokens do), and train a token-wise router (Mixture of Repeats) with randomly sampled per-repeat capacities so the compute budget can be chosen at inference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Allow later repeats to attend to representations from previous repeats, as in CoTFormer rather than Block Universal Transformer12-layer repeated Transformer · OpenWebText2perplexity: 27.74(0.01) -> 27.55(0.02); 27.47(0.01) -> 27.07(0.01); 27.15(0.02) -> 26.64(0.04)Helped
Allow later repeats to attend to representations from previous repeats, as in CoTFormer rather than Block Universal Transformer24-layer repeated Transformer · OpenWebText2perplexity: 25.47(0.01) -> 25.28(0.00); 25.19(0.03) -> 24.85(0.04); 24.95(0.01) -> 24.48(0.03)Helped
Use Mixture of Repeats instead of Stick Breaking halting (ablation)Adaptive Block Universal Transformer · Adaptive Block Universal Transformerperplexity: 33.82 -> 33.08Helped
Use Mixture of Repeats instead of PonderNet halting (ablation)Adaptive Block Universal Transformer · Adaptive Block Universal Transformerperplexity: 41.37 -> 33.08Helped
Add a depth embedding (ablation)LN-CoTFormer · Adaptive repeatsperplexity: 25.08(0.03) -> 24.94(0.01)Helped
Add a depth embedding (ablation)LN-CoTFormer · Fixed 5 repeatsperplexity: 24.11(0.03) -> 24.17(0.08)No clear effect
Reserve beginning and final layers outside the repeated middle layers (ablation)CoTFormer · OpenWebText2accuracyNo clear effect
Add a layer norm after each repeated pass (ablation)CoTFormer · OpenWebText2perplexityHelped
Use learned router weights to allocate repeats rather than fixing every token to a smaller depthAdaptive CoTFormer · Compute-accuracy trade-offaccuracyHelped
Reduce the inference compute budget using the learned routerAdaptive CoTFormer · Inference at reduced computeaccuracyNo clear effect
Reduce compute beyond the range with negligible accuracy impactAdaptive CoTFormer · Inference at very low computeaccuracyHurt
Train for 60k rather than 40k steps (ablation)Adaptive CoTFormer · Adaptive CoTFormer, final repeatrouter weightHelped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText2

Benchmarks: OpenWebText2

Metrics: perplexity multiply-accumulate operations

Baselines: Standard Transformer Block Universal Transformer Universal Transformer PonderNet Stick Breaking Mixture-of-Depths Fixed Depth

Builds on: Universal Transformer PonderNet Mixture-of-Depths Pre-LayerNorm Transformer Adaptive Computation Time

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