potentialpaper

Stabilizing Extrapolation in Looped Transformers via Learned Stochastic Stopping

Hsun-Yu Kuo, El Mahdi Chayti, Patrik Reizinger, Wieland Brendel, Martin Jaggi

AdaptFM @ ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Varying the loop count during training makes accuracy on longer inputs more consistent across runs, and learning a stochastic stopping rule often achieves a better balance between accuracy and consistency on those inputs.

Abstract. Looped Transformers --- which repeatedly apply a shared transformer block --- are an architecturally natural fit for variable-length algorithmic tasks. Although they can exhibit strong length generalization beyond the length of training sequences, this behavior is brittle, yielding high out-of-distribution (OOD) variance, even across well-performing in-distribution solutions. We trace this variance to the spurious correlation in simple algorithmic tasks between sequence length and number of loops. Introducing stochasticity into the number of loops during training sharply reduces OOD variance and stabilizes predictions across inference-time loop counts. To improve upon heuristic randomization schemes, we further analyze RL-Halting as a learned stochastic schedule and find that it generally improves the accuracy--stability trade-off. Across binary addition, Dyck-1, Unique Set, and Copy, learned stochastic stopping often improves this trade-off but can also stabilize a suboptimal computation. Our work suggests that “when to stop” should be treated as a training-time design choice, not merely an inference-time computation-allocation rule.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
2 May 2026AdaptFM @ ICML 2026submittedAdaptFM @ ICML 2026Accepted · Poster—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Overview

This paper was seen as generally interesting. While not without its flaws, I am leaning towards acceptance, although it is currently a very weak acceptance and assumes that the authors will make inroads on some of the highlighted weaknesses. Details follow below.

Also, this paper is in a very strange format. If this paper is to be accepted, please put it back in a normal NeurIPS format. Do not adjust the style and font of text manually -- use the given template!

Claims of the paper

  • Looped transformers show brittle OOD performance because of spurious correlations between sequence length and number of loops
  • Introducing stochasticity into the number of the loops help stabilize OOD performance
  • An RL-trained technique, RL-Halting, improves on heuristic stochastic schemes and provides a more appealing accuracy-stability trade-off
  • Stopping should be treated as a training-time design choice as opposed to an inference-time budget allocation.

Strengths

  1. All reviewers agree that the paper tackles an important problem and is well-motivated.
  2. Several reviewers appreciate the simplicity of the solution.
  3. Clarity of the paper is high.
  4. Multiple reviewers appreciated the honestly about the failure modes of the work.
  5. Multiple reviewers appreciated the specific experimental design.

Weaknesses

  1. Most reviewers expressed concern about the oracle-over-iteration metric. One mentioned that oracle-over-policy could be extended beyond just the Unique dataset, and others mentioned that inference-time metrics would be more interesting to consider. I would appreciate it if the authors considered both.
  2. The advantages of RL-Halting over a simple random policy are not totally clear. Statistical analysis / error bars could be provided, as we don't know when RL-Halting is significantly outperforming. The runtime of RL-Halting should also be studied, as it is not at all clear in which situations the computational overhead is justified by the performance (which itself is not fully quantified as per the previous sentence).
  3. Multiple reviewers had concerns about the novelty: oZ3d mentioned that there were some easily searchable results missing from the paper as either related work or experimental comparisons, and wBbL highlighted the work as relatively incremental compared to various other approaches.
  4. Multiple reviewers highlighted that, since the experiments were only performed on toy data, it is hard to know exactly how any benefits from the paper would translate into realistic settings.

Weakness that would improve the paper if addressed

I would expect a strong response to weaknesses 1-3 listed above. #4 probably will remain a fundamental limitation of the work, but it is a weakness nonetheless.

Final justification

I believe the authors have done a good job of addressing the main weaknesses that I raised in the meta-review. I assume the authors will make their promised changes before camera-ready submission.

Area Chair ngQh · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Overview

This paper was seen as generally interesting. While not without its flaws, I am leaning towards acceptance, although it is currently a very weak acceptance and assumes that the authors will make inroads on some of the highlighted weaknesses. Details follow below.

Also, this paper is in a very strange format. If this paper is to be accepted, please put it back in a normal NeurIPS format. Do not adjust the style and font of text manually -- use the given template!

Claims of the paper

  • Looped transformers show brittle OOD performance because of spurious correlations between sequence length and number of loops
  • Introducing stochasticity into the number of the loops help stabilize OOD performance
  • An RL-trained technique, RL-Halting, improves on heuristic stochastic schemes and provides a more appealing accuracy-stability trade-off
  • Stopping should be treated as a training-time design choice as opposed to an inference-time budget allocation.

Strengths

  1. All reviewers agree that the paper tackles an important problem and is well-motivated.
  2. Several reviewers appreciate the simplicity of the solution.
  3. Clarity of the paper is high.
  4. Multiple reviewers appreciated the honestly about the failure modes of the work.
  5. Multiple reviewers appreciated the specific experimental design.

Weaknesses

  1. Most reviewers expressed concern about the oracle-over-iteration metric. One mentioned that oracle-over-policy could be extended beyond just the Unique dataset, and others mentioned that inference-time metrics would be more interesting to consider. I would appreciate it if the authors considered both.
  2. The advantages of RL-Halting over a simple random policy are not totally clear. Statistical analysis / error bars could be provided, as we don't know when RL-Halting is significantly outperforming. The runtime of RL-Halting should also be studied, as it is not at all clear in which situations the computational overhead is justified by the performance (which itself is not fully quantified as per the previous sentence).
  3. Multiple reviewers had concerns about the novelty: oZ3d mentioned that there were some easily searchable results missing from the paper as either related work or experimental comparisons, and wBbL highlighted the work as relatively incremental compared to various other approaches.
  4. Multiple reviewers highlighted that, since the experiments were only performed on toy data, it is hard to know exactly how any benefits from the paper would translate into realistic settings.

Weakness that would improve the paper if addressed

I would expect a strong response to weaknesses 1-3 listed above. #4 probably will remain a fundamental limitation of the work, but it is a weakness nonetheless.

Final justification

I believe the authors have done a good job of addressing the main weaknesses that I raised in the meta-review. I assume the authors will make their promised changes before camera-ready submission.

Reviewer poE6OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses a good question: recurrent-depth Transformers extrapolate reliably under length shifts. The paper studies the observation that Looped Transformers can sometimes contain computations that solve longer out-of-distribution instances, but deterministic training schedules do not reliably select such computations across independent runs. The authors frame the number of loop iterations used during training as a stopping-schedule design choice rather than only an inference-time compute allocation rule.

Strengths and weaknesses

Strengths:

The experiments make a convincing case that a looped architecture may have a correct computation somewhere along its trajectory, while the training and stopping schedule may fail to select it reliably.

The paper evaluates several stopping schedules, reports many independent seeds, includes controlled variance experiments, and tests beyond the main binary-addition task on Dyck-1, Unique Set, and Copy.

Weaknesses:

Authors correctly state that this is a diagnostic metric rather than an inference policy, but much of the main quantitative evidence, including Table 1, is still based on this oracle view. Since the paper is precisely about stopping, it is important to know whether the learned or prescribed stopping rule actually selects the useful computation at test time.

The second concern is that the causal explanation behind the instability is somewhat stronger than the evidence. The paper argues that spurious correlation between input length and loop count is a source of brittle extrapolation, and the toy gradient-averaging analysis is plausible. Still, the empirical evidence mainly shows that randomization helps; it does not fully isolate why it helps.

Questions
  1. Authors should report non-Oracle policy accuracy for all main tasks and schedules.

  2. It is better for authors to provide more direct evidence for the proposed mechanism behind stabilization. The gradient-averaging and loop-consistency explanations are plausible, but currently mostly toy analyses.

  3. How much of RL-Halting’s gain comes from learning the distribution rather than simply adding stochasticity.

  4. Why does RL-Halting fail on Copy, and what task properties determine when stochastic stopping helps?

  5. It is better to state clearly in the main text what K_eval is for oracle accuracy, what T_test is for RL-Halting policy evaluation, and whether stopping is done by sampling, argmax probability, or another rule.

Limitations

See weaknesses and questions.

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and constructive assessment. Our additional analyses show:

  • Policy evaluation: We report policy accuracy for every task and schedule; RL-Halting is best on Addition, Dyck-1, and Unique Set.
  • Mechanism evidence: Controlled interventions show that the depth schedule affects OOD stability; multi-depth supervision reduces Addition oracle OOD standard deviation from 9.9% to 3.9%.
  • Learning versus fixed stochasticity: On matched seeds, RL-Halting outperforms K=n±5K=n\pm5 on three tasks but underperforms on Copy; learning the distribution helps, but not uniformly.

1. Policy-based evaluation versus oracle evaluation

Weakness 1; Questions 1 and 5

We agree that oracle accuracy is diagnostic: it asks whether a correct computation occurs along the trajectory, not whether the stopping rule selects it. We therefore extend the oracle–policy analysis from Appendix C.3 to all tasks and schedules. Policy and oracle values below are aggregate means over their respective available runs; the reported gap is the difference between these aggregate OOD accuracies rather than a paired estimate.

Task Method Policy OOD ↑ (%) Oracle OOD ↑ (%) Gap ↓ (pp)
Addition Fixed (K=20K=20) 17.8 34.2 16.4
K=nK=n 14.3 22.1 7.8
K=n±5K=n\pm5 29.6 30.9 1.3
RL-Halting 39.2 45.0 5.8
Dyck-1 Fixed (K=20K=20) 51.8 84.6 32.8
K=nK=n 34.2 66.6 32.4
K=n±5K=n\pm5 85.4 88.2 2.8
RL-Halting 93.2 97.5 4.3
Unique Set Fixed (K=20K=20) 24.4 66.1 41.7
K=nK=n 64.5 78.5 14.0
K=n±5K=n\pm5 68.8 73.2 4.4
RL-Halting 77.5 82.8 5.3
Copy Fixed (K=20K=20) 33.0 62.3 29.3
K=nK=n 43.8 68.7 24.9
K=n±5K=n\pm5 54.4 55.9 1.5
RL-Halting 41.3 43.2 1.9

RL-Halting achieves the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set, showing that its gains persist without oracle depth selection. The stochastic schedules also have substantially smaller aggregate oracle–policy gaps than the deterministic schedules. On Copy, K=n±5K=n\pm5 remains the best policy, consistent with our finding that learned stopping can stabilize a suboptimal computation.

For clarity, the precise evaluation rules are:

  • Oracle accuracy searches Keval={1,…,n+2}K_{\mathrm{eval}}=\{1,\ldots,n+2\} and uses the ground truth to take the per-example maximum, as defined in Eq. 3.
  • Fixed and length-matched schedules use K=20K=20 and K=nK=n, respectively.
  • The K=n±5K=n\pm5 training schedule uses its centre depth, K=nK=n, at inference.
  • RL-Halting evaluates its learned stopping distribution with Ttest=30T_{\mathrm{test}}=30 and selects
arg⁡max⁡t≤Ttestπstop,ϕ(Ttest)(t∣x).\arg\max_{t\leq T_{\mathrm{test}}} \pi_{\mathrm{stop},\phi}^{(T_{\mathrm{test}})}(t\mid x).

Thus, RL-Halting samples stopping depths during training but uses deterministic maximum-probability stopping for the policy results above.

We will report this table and specify KevalK_{\mathrm{eval}}, TtestT_{\mathrm{test}}, and all inference rules explicitly in the main text.

2. Causal evidence and the stabilization mechanism

Weakness 2; Question 2

Our schedule comparisons are controlled interventions: we change the distribution of supervised loop depths while holding all non-schedule settings fixed. Relative to deterministic K=nK=n, training with K=n±5K=n\pm5 substantially reduces run-to-run OOD variability, as shown in Table 1. The fixed-budget ablation in Table 2 provides a complementary control: K=20±5K=20\pm5 reduces the Addition OOD standard deviation from 7.4% to 4.7%, while leaving mean OOD accuracy unchanged at 34.2%. These results provide causal evidence that the training-depth schedule affects OOD stability.

To test the proposed gradient-averaging mechanism more directly, we compare stochastic K=n±5K=n\pm5, which samples one supervised depth per example, with deterministic multi-depth supervision, which averages losses over every depth in the same window.

Training supervision Oracle OOD Policy OOD Oracle std. Policy std. Oracle–policy gap
Stochastic ±5\pm5, one depth 30.9% 29.6% 5.9% 5.2% 1.33 pp
Deterministic multi-depth 27.6% 26.2% 3.9% 3.7% 1.33 pp
Multi-depth − stochastic −3.3 pp −3.3 pp −2.0 pp −1.5 pp ≈0\approx 0

Multi-depth supervision reduces oracle OOD standard deviation to 3.9%, compared with 9.9% for the original single-depth K=nK=n baseline, and obtains the same small oracle–policy gap as stochastic K=n±5K=n\pm5. Thus, stochastic sampling is sufficient but not necessary for stabilization on Addition: supervision across a neighborhood of depths is sufficient to reduce both run-to-run variability and sensitivity to the selected stopping depth.

This result supports the mechanisms proposed in Sections 5.1–5.2. Under the stochastic schedule, the single-depth gradient is an unbiased estimator of the schedule-averaged gradient, whereas deterministic multi-depth supervision computes this depth average explicitly. The lower observed variance under multi-depth supervision provides empirical support for the gradient-averaging explanation, while the identical oracle–policy gaps provide output-level evidence consistent with the loop-consistency view.

At the same time, stochastic sampling obtains 3.3 pp higher oracle and policy OOD accuracy. This confirms an important distinction in our paper: depth averaging stabilizes training, but the optimization protocol still affects which computation is selected, and greater stability does not necessarily imply better extrapolation.

We will clarify the scope of the causal claim in the revision. The interventions establish that the training-depth schedule is a causal factor in stability, while the ablation provides empirical support for depth averaging as a stabilization mechanism. Because K=n±5K=n\pm5 weakens rather than eliminates the length–depth correlation, we will describe deterministic length–depth coupling as a contributing source of fragility rather than its unique cause.

3. Learning the distribution versus adding stochasticity

Question 3

To assess adaptivity beyond generic sampled-depth supervision, we compare RL-Halting directly with K=n±5K=n\pm5. Both methods supervise one sampled depth per example during training. The key experimental difference is that RL-Halting learns its sampling distribution from the realized task loss, whereas K=n±5K=n\pm5 uses a fixed hand-designed distribution.

We match runs with the same initialization and data-generation seed and apply two-sided exact paired sign-flip tests to per-run oracle OOD accuracy. The paired-subset means can differ slightly from Table 1, which averages all available runs. We report the task-wise exact pp-values.

Task NN RL-Halting OOD K=n±5K=n\pm5 OOD Difference Paired pp
Addition 8 44.99% 30.91% +14.08 pp 0.0078
Dyck-1 8 97.18% 84.02% +13.16 pp 0.0469
Unique Set 9 82.14% 72.82% +9.32 pp 0.0273
Copy 7 43.97% 52.58% −8.62 pp 0.0313

On matched seeds, RL-Halting has higher mean OOD accuracy than K=n±5K=n\pm5 on Addition, Dyck-1, and Unique Set, but lower accuracy on Copy. Thus, learning the distribution can provide an additional benefit over hand-designed stochasticity, but it is not uniformly beneficial: the learned distribution can also induce a suboptimal computation.

4. RL-Halting on Copy

Question 4

Copy is an informative boundary case. RL-Halting obtains 43.2% oracle OOD accuracy and, in our additional policy evaluation, 41.3% policy accuracy. This small 1.9-point gap indicates that the failure is not primarily due to selecting the wrong inference depth: the RL-trained trajectory itself has limited OOD accuracy. Our Copy-specific diagnostic also shows that the learned stopping distribution remains broad within the training regime rather than collapsing to a deterministic depth.

On Copy, K=nK=n achieves 68.7% oracle OOD accuracy and K=n±5K=n\pm5 achieves 55.9%, compared with 43.2% for RL-Halting. Meanwhile, RL-Halting reduces run-to-run standard deviation to 2.7%, versus 13.2% for K=nK=n and 8.5% for K=n±5K=n\pm5. It therefore stabilizes a weaker OOD trajectory. Because RL-Halting optimizes realized in-distribution loss rather than OOD performance, its objective does not guarantee the best OOD computation. Our experiments do not yet identify a general task-level criterion; they show that Copy favors exact length-matched training in this setting. Understanding which stopping biases favor extrapolation—and how to encode them through improved rewards or priors—is an important direction for future work.

Authors · CommentOpenReview ↗

Dear Reviewer poE6,

As the discussion period ends soon, please let us know if any further clarification is needed. We hope our response and additional results have addressed your concerns and may further strengthen your support for the paper.

The Authors

Reviewer wBbLOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies length generalization in Looped Transformers. Looped models can learn extrapolating computations, but this is unstable across runs. The authors show the stopping schedule during training has a large effect on which computation gets learned, and test stochastic stopping schedules plus RL-Halting, a learned stochastic stopping rule, to stabilize extrapolation.

Strengths and weaknesses

Strengths: The paper identifies a real issue: good in-distribution performance doesn't guarantee stable OOD length generalization. Framing the stopping schedule as a training-time design choice is useful and well motivated. The stochastic stopping experiments are simple but effective. Randomizing loop depth reduces OOD variance and makes predictions less sensitive to the inference-time loop count. RL-Halting is a natural extension of the hand-designed schedules, making the stopping distribution adaptive instead of a manual window like K = n ± 5. The authors are honest that the method can stabilize a bad computation, as the Copy task shows.

Weaknesses: The technical idea is somewhat incremental, closely related to stochastic depth, LayerDrop, and adaptive computation methods like ACT and PonderNet. Experiments are limited to toy algorithmic tasks (binary addition, Dyck-1, Unique Set, Copy), so it's unclear whether the method helps in more realistic reasoning or language settings. Much of the evaluation uses oracle-over-iterations accuracy, which picks the best loop depth using ground truth. Useful for diagnosis, but not a practical inference policy. RL-Halting isn't consistently better than simpler schedules (worse on Copy, though with lower variance), and the explanation for why stochastic stopping helps is mostly intuitive. It doesn't predict when randomization improves extrapolation vs. merely stabilizing a bad solution.

Questions

How much of the improvement remains with the actual stopping policy instead of oracle accuracy? Why does RL-Halting fail on Copy? Does the learned stopping distribution collapse to a bad depth range? How sensitive are the results to the window size, entropy coefficient, and max loop budget? Harder or more realistic tasks would be useful. Compute fairness should be discussed more clearly, especially for RL-Halting vs. fixed or hand-randomized schedules.

Limitations

The authors mention some limitations, especially that stable stopping may still lead to a suboptimal solution. However, the limitation discussion is still not enough. The experiments are mostly on simple algorithmic tasks, so it is unclear whether the method works on more realistic tasks. Also, the paper should discuss more about the gap between oracle accuracy and actual stopping-policy accuracy, and explain the failure case on Copy more clearly.

Final justification

The rebuttal addresses most of my technical concerns. The policy-based results show that the main improvements are not caused by oracle depth selection, and the added sensitivity and compute analyses clarify the effects of Tmax, entropy regularization, and training cost. The Copy results also make the limitation clearer: better stability does not necessarily lead to better extrapolation.

My remaining concerns are mainly about originality and generality. The method is still closely related to existing stochastic stopping and adaptive halting approaches, and the experiments remain limited to four controlled algorithmic tasks. It is also still unclear when stochastic stopping will improve extrapolation rather than stabilize a weaker solution. Overall, the rebuttal improves the paper, but these concerns are still substantial enough for me to keep my borderline reject rating.

Formatting concerns

No major formatting or anonymity concerns noticed.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment and for recognizing the importance of run-to-run OOD instability and the effectiveness of stochastic stopping.

Main takeaways:

  • The improvements are not an artifact of oracle evaluation: RL-Halting retains the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set, while K=n±5K=n\pm5 consistently minimizes sensitivity to the selected inference depth.
  • Stopping schedules improve stability, but stability and extrapolation remain distinct: wider windows reduce variability, while Copy shows that RL-Halting can stabilize a weaker computation.
  • Our contribution is a controlled study of stopping schedules as a training-time inductive bias: the architecture is held fixed, and the existing PonderNet comparison supports the distinction from distribution-weighted adaptive halting.

1. Policy-based evaluation versus oracle evaluation

Oracle-over-iterations accuracy diagnoses whether a correct prediction exists along a model’s trajectory, but it is not a practical stopping rule. We therefore extended the Appendix C.3 oracle–policy analysis to all four tasks and schedules.

Policy evaluation uses K=20K=20 for the fixed schedule, K=nK=n for the length-matched and K=n±5K=n\pm5-trained models, and the highest-probability depth under RL-Halting with Ttest=30T_{\rm test}=30. It neither searches across depths nor uses ground truth. The gap below is the difference between aggregate oracle and policy OOD accuracies over lengths 20–60.

Task Method Policy OOD ↑ Oracle OOD ↑ Gap ↓
Addition Fixed K=20K=20 17.8 34.2 16.4
K=nK=n 14.3 22.1 7.8
K=n±5K=n\pm5 29.6 30.9 1.3
RL-Halting 39.2 45.0 5.8
Dyck-1 Fixed K=20K=20 51.8 84.6 32.8
K=nK=n 34.2 66.6 32.4
K=n±5K=n\pm5 85.4 88.2 2.8
RL-Halting 93.2 97.5 4.3
Unique Set Fixed K=20K=20 24.4 66.1 41.7
K=nK=n 64.5 78.5 14.0
K=n±5K=n\pm5 68.8 73.2 4.4
RL-Halting 77.5 82.8 5.3
Copy Fixed K=20K=20 33.0 62.3 29.3
K=nK=n 43.8 68.7 24.9
K=n±5K=n\pm5 54.4 55.9 1.5
RL-Halting 41.3 43.2 1.9

RL-Halting remains best in policy OOD accuracy on Addition, Dyck-1, and Unique Set, so its gains persist without oracle selection. Meanwhile, K=n±5K=n\pm5 has the smallest gap on all four tasks, showing that training across nearby depths reduces sensitivity to the precise inference-time loop count.

The corresponding length-wise curves show the same qualitative behavior as Fig. 7: deterministic schedules develop pronounced OOD gaps, whereas stochastic schedules remain closer to their oracle performance. We will add the table to Table 1 and the curves to Appendix C.3.

2. RL-Halting on Copy

Copy is an informative boundary case. RL-Halting obtains 43.2% oracle OOD accuracy and, in our additional policy evaluation, 41.3% policy accuracy. This small 1.9-point gap indicates that the failure is not primarily due to selecting the wrong inference depth: the RL-trained trajectory itself has limited OOD accuracy. Our Copy-specific diagnostic also shows that the learned stopping distribution remains broad within the training regime rather than collapsing to a deterministic depth.

On Copy, K=nK=n achieves 68.7% oracle OOD accuracy and K=n±5K=n\pm5 achieves 55.9%, compared with 43.2% for RL-Halting. Meanwhile, RL-Halting reduces run-to-run standard deviation to 2.7, versus 13.2 for K=nK=n and 8.5 for K=n±5K=n\pm5. It therefore stabilizes a weaker OOD trajectory. Because RL-Halting optimizes realized in-distribution loss rather than OOD performance, its objective does not guarantee the best OOD computation. Our experiments do not yet identify a general task-level criterion; they show that Copy favors exact length-matched training in this setting. Understanding which stopping biases favor extrapolation—and how to encode them through improved rewards or priors—is an important direction for future work. We will add this discussion to Section 4.3 and Appendix C.

3. Sensitivity to the stochastic-window size

Figure 3 evaluates w∈{0,1,5,10}w\in\{0,1,5,10\} on Addition. Increasing the window reduces OOD standard deviation from 9.9 under deterministic K=nK=n to 5.9 at w=5w=5 and 4.3 at w=10w=10. Accuracy is non-monotonic: it rises from 22.1% to 30.9% at w=5w=5, then decreases to 27.2% at w=10w=10.

Thus, stabilization is not specific to one nonzero window, but the accuracy–stability trade-off depends on its width. Wider windows provide stronger depth averaging, while excessively wide windows can include less useful states and stabilize a worse computation. This tension motivates RL-Halting: instead of manually specifying a uniform window, it learns a non-uniform, input-dependent distribution from realized task loss.

We are also completing sensitivity studies for the maximum loop depth Tmax⁡T_{\max} and entropy coefficient λent\lambda_{\mathrm{ent}}, and will report these results during the discussion period and incorporate them into the revised manuscript.

4. Compute fairness

RL-Halting unrolls each training batch to Tmax⁡=20T_{\max}=20 to construct the stopping distribution, so its forward computation is comparable to fixed K=20K=20. Its additional policy component is lightweight: only one sampled depth receives task supervision, and the detached stopping head is a single linear layer. In contrast, K=nK=n and K=n±wK=n\pm w unroll only to the largest selected depth in each batch and can require fewer iterations.

In a matched comparison using the same environment, 50,000 steps, and batch size 64, all four schedules required approximately 2.5 hours, with differences within roughly 10 minutes. RL-Halting therefore adds little measured wall-clock overhead in our setting, although the hand-designed schedule remains simpler and can require fewer unrolled steps. We do not present RL-Halting as a compute-saving method; its purpose is adaptive stopping. We will add an appendix subsection reporting the unrolling procedure, supervised depths, and matched timing comparison. We will also clarify that RL-Halting is intended to learn an adaptive stopping distribution, not to serve as a compute-saving method.

5. Relationship to prior work and contribution

Stochastic depth, LayerDrop, ACT, and PonderNet are already discussed in Sec. 6, while Appendices B and C.5 distinguish RL-Halting from distribution-weighted adaptive halting. We agree that these existing comparisons should be more prominent.

Our contribution is not stochastic depth or learned halting in isolation. We study how the training stopping schedule affects which recurrent computation trajectory is learned and how reliably it extrapolates across runs. Unlike stochastic depth and LayerDrop, which remove distinct layers, our schedules vary the supervised depth of a repeatedly applied shared block. The main comparison holds the architecture fixed and supervises one depth per example; only depth selection changes.

Appendix C.5 evaluates PonderNet using the same Looped Transformer. On Addition, it obtains 29.4% OOD accuracy with standard deviation 15.1, compared with 45.0% and 2.7 for RL-Halting, and often approaches a nearly deterministic distribution despite entropy regularization. PonderNet weights supervision across depths, whereas RL-Halting preserves our one-sampled-depth protocol. We will make this comparison more visible and clarify that our contribution is identifying stopping schedules as a training-time factor governing OOD trajectory selection and stability.

6. Significance and scope

Our controlled tasks address a mechanistic question: whether the stopping schedule changes the learned computation and the reliability of length extrapolation. Addition, Dyck-1, Unique Set, and Copy provide distinct algorithmic structures, exact correctness, controlled length shifts, and sufficient scale for extensive depth sweeps across independent runs. This lets us hold architecture, supervision, and maximum loop budget fixed and isolate the stopping schedule from pretraining, tokenization, architectural changes, and scale.

These experiments do not establish direct transfer to pretrained models or higher-level reasoning benchmarks. We will make this scope explicit and strengthen the limitations concerning realistic-task evaluation, oracle versus policy performance, the Copy failure, and the absence of a guarantee that stabilization selects an extrapolating computation. Evaluating practical tasks with variable computation requirements is an important next step.

Reviewer wBbL · CommentOpenReview ↗

Thank you for the detailed response. I have read the rebuttal and considered the additional results.

  1. Oracle evaluation: The new policy-based results address a major part of my concern. RL-Halting still performs best on Addition, Dyck-1, and Unique Set without using oracle depth selection, so the improvements on these tasks are not only caused by the oracle metric. The smaller oracle–policy gap for the randomized schedule also supports the claim that stochastic training reduces sensitivity to the inference-time loop count.

  2. Copy task: The additional analysis rules out two possible explanations: the stopping distribution does not collapse, and the failure is not mainly caused by selecting the wrong stopping depth. This suggests that RL-Halting learns a stable but weaker computation trajectory on Copy. However, the response still does not explain why Copy behaves differently from the other tasks. Also, the statement that Copy favors K=n should be qualified: K=n has the best oracle accuracy, while K=n±5 has the best policy accuracy.

  3. Sensitivity and compute fairness: The window-size ablation is useful and shows a clear trade-off: moderate randomization improves both accuracy and stability, while a larger window can stabilize a worse solution. However, the sensitivity results for Tmax and the entropy coefficient are still missing. For compute fairness, similar wall-clock time is helpful, but RL-Halting always unrolls to Tmax, while other schedules may use fewer loop iterations. Reporting the average number of block evaluations or FLOPs would make this comparison clearer.

  4. Remaining concerns: The rebuttal clarifies the distinction from stochastic depth and PonderNet, but the technical idea remains closely related to existing stochastic-depth and adaptive-halting methods. More importantly, the experiments are still limited to four controlled algorithmic tasks. The paper also does not provide a clear criterion for predicting when stochastic stopping improves extrapolation and when it only stabilizes a suboptimal computation.

Overall, the rebuttal improves my assessment of the empirical quality of the paper, especially regarding the oracle evaluation concern. However, my concerns about significance, originality, and the limited experimental scope remain. I therefore maintain my rating of 3.

Authors · CommentOpenReview ↗

We thank the reviewer for carefully considering our rebuttal. We provide the remaining analyses and clarify the paper’s contribution and controlled scope below.

Sensitivity to maximum depth and entropy regularization (3.)

We ablated Tmax⁡T_{\max} and λent\lambda_{\mathrm{ent}} on Addition.

Ablation Value Oracle OOD ↑
Tmax⁡T_{\max} 5 26.26%
10 48.70%
15 45.81%
20 45.00%
λent\lambda_{\mathrm{ent}} 0 12.51%
0.001 45.00%
0.1 31.35%

Tmax⁡=5T_{\max}=5 is insufficient. Once the budget reaches 10, performance remains within 3.7 points across Tmax⁡∈{10,15,20}T_{\max}\in\{10,15,20\}; increasing depth further does not monotonically improve extrapolation.

Entropy regularization prevents policy collapse. With λent=0\lambda_{\mathrm{ent}}=0, the distribution becomes nearly deterministic around a small depth and OOD accuracy falls to 12.51%. Moderate regularization (0.0010.001) prevents this collapse, whereas 0.10.1 spreads probability over less useful depths. RL-Halting requires sufficient depth and moderate exploration, but neither more depth nor more entropy is uniformly beneficial.

Compute comparison (3.)

All methods use 100k steps, batch size 64, and Tmax⁡=20T_{\max}=20. Each batch is unrolled to its maximum requested depth.

Schedule Avg. block evaluations
Fixed K=20K=20 20.00
K=nK=n 18.97
K=n±5K=n\pm5 19.99
RL-Halting 20.00

RL-Halting matches fixed K=20K=20, uses 5.4% more block computation than K=nK=n, and is within 0.05% of K=n±5K=n\pm5. The lightweight stopping head is included in our reported wall-clock measurements. RL-Halting is not a compute-saving method; its purpose is to learn the training stopping distribution rather than prescribe it manually.

Contribution relative to prior methods (4.)

We agree that stochastic depth and adaptive halting are related ingredients; we do not claim either primitive as new. Our contribution is uncovering two distinct problems in looped models:

  1. Schedule selection is task-dependent: no deterministic schedule dominates across tasks.
  2. A chosen inductive bias is not realized reliably: runs using the same deterministic schedule and achieving similar ID performance can learn qualitatively different OOD trajectories.

Stochastic stopping addresses the second problem by reducing run-to-run variability and sensitivity to inference-time depth. RL-Halting studies whether the distribution can be learned rather than prescribed. Thus, our contribution is the training-time trajectory-selection perspective and demonstrated stabilization—not randomization or halting in isolation.

Why controlled tasks are necessary (4.)

Our claim concerns run-to-run OOD instability and the causal effect of the training schedule. Establishing it requires many runs and depth sweeps while holding architecture, data generation, and optimization fixed. At realistic scale, these measurements become prohibitively expensive and entangled with pretraining data, tokenization, architecture, and scale. Exact correctness and controlled length shifts make the effect identifiable.

The tasks also provide a stringent test for prescribed schedules. Fixed K=20K=20 outperforms K=nK=n on Addition and Dyck-1 but underperforms it on Unique Set and Copy, under both oracle and policy evaluation. Even a task-favored deterministic schedule retains substantial run-to-run variability. A universal prescribed schedule is therefore already inadequate in the simplest setting, while realistic data may involve many computations with different required depths.

We do not claim direct transfer or that stopping dominates real-world OOD behavior. Our narrower claim is that stopping is a real, causal, and previously underexamined training factor—and isolating it requires precisely this controlled setting.

Criterion and future work (2, 4.)

We agree that a universal criterion for selecting an extrapolating schedule remains open. Copy provides an important boundary case: RL-Halting substantially reduces run-to-run variability, yet stabilizes a weaker OOD computation than the best hand-designed schedules. Stabilization and extrapolation are therefore distinct objectives, and the realized ID loss used as RL-Halting’s reward does not always identify the schedule that produces the best OOD trajectory.

The next step is not simply adding more randomness, but learning input-dependent stopping distribution from signals or priors that favor extrapolating computations. Our paper identifies both the task-dependent schedule-selection problem and the run-to-run stabilization problem, and shows that stochastic stopping substantially improves the latter. RL-Halting demonstrates that stopping distributions can be learned, while Copy shows that improved training objectives are needed to solve schedule selection more generally.

Reviewer oZ3dOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper identifies and proposes solutions for the unstable out-of-distribution behavior observed in Looped Transformers across training runs. The authors intuition is that a deterministic loop stopping schedule is the reason and thus experiment with a stochastic policy for the same combined with a RL halting mechanism to learn the stopping rules. Together, this leads to lower run-to-run OOD variance as well as better accuracy-stability trade-off.

Strengths and weaknesses

Strengths:

  • Identifying the problem emperically, coming up with a strong rather non-intuitive hypothesis and then experimenting with simplistic solutions for that makes this a really strong paper.
  • Authors do not just focus on improving the variance, and rightfully suggest that lowering the variance does not make the model more accurate on OOD tasks. Experiments section do cover these.
  • Experimental results are portrayed very clearly. For e.g., Fig 1 clearly shows how variance across OOD shows a drop across runs while retaining high accuracy roi curves. Similarly Fig. 4 shows that deterministic schedules often have a narrow “good K” region, while the randomized and RL-Halting variants exhibit broader regions.
  • In addition to emperical results, it's also interesting to see illustrative insights, as shown in Section 5, on why these solutions seem to be helpful

Weakness:

  • One major weakness is the experimental results are mostly limited to synthetic sequence tasks only. Perhaps more practical real-world benchmarks (may be ones that require higher level of reasoning depths) could have been better to demonstrate the actual impact.
  • The authors baseline their approach over conventional looped transformers and just plain transformers. However, it would have been interesting to compare this with other approaches that also aim at improving stability (and accuracy) of looped transformers.
  • For e.g., there are few papers one can search online on adaptive depths in looped transformers. Some of those papers could have been good baselines. These papers are also missing from related work section.
  • Although the authors have showed the tradeoff on accuracy-vs-stability, another critical piece of tradeoff is compute and I am not clear on how much are we changing the training time (& compute) by adding these new elements. For example, RL halting requires unrolling to the maximum budget to construct the full stopping distribution. So, I am guessing simpler stochastic sampling methods that can stop batch computation earlier based on some hand designed rules or heurestics could have been more compute friendly. Also how is it compared with the compute needed for determistic ones?
Questions
  1. In addition to oracle-over-iterations, which is the main metric the authors consider, can there also be some discussion on the performance along some other metrics? May be policy based performance measurement
  2. Does the stochastic window (currently either 5 or 10) matter and how sensitive are final results to it?
  3. Table 1 shows that RL halting fails miserably for the copy task. Why is that the case? Some discussion would be helpful in the paper.
  4. As pointed in the previous section, compute trade-offs are unclear. Could the authors clarify how they are looking at it?
Limitations

Yes

Final justification

Most concerns and weaknesses, if not all, were addressed during the rebuttal phase.

Formatting concerns

n/a

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Summary of our response

  • Policy evaluation: RL-Halting leads policy OOD on three tasks; stochastic schedules reduce oracle–policy gaps.
  • Window sensitivity: Wider windows reduce OOD variability but have non-monotonic accuracy, motivating learned stopping.
  • Compute: RL-Halting is comparable to fixed K=20K=20; all schedules train in about 2.5 hours.
  • Copy: RL-Halting stabilizes a poorly extrapolating trajectory rather than collapsing or choosing the wrong inference depth.
  • Scope: We include PonderNet, will discuss concurrent adaptive-depth work, and clarify the controlled scope and real-world limitation.

Policy-based evaluation versus oracle evaluation (Question 1)

We thank the reviewer for this suggestion. We extended the oracle–policy analysis in Appendix C.3 from Unique Set to all four tasks and stopping schedules.

Policy accuracy evaluates each model using its inference-time stopping rule: K=20K=20 for the fixed schedule, K=nK=n for the length-matched schedule, the center depth K=nK=n for the model trained with K=n±5K=n\pm5, and the highest-probability depth under the learned stopping distribution for RL-Halting. Unlike oracle accuracy, policy evaluation neither searches across depths nor uses the ground truth to select a prediction. The reported gap is oracle OOD accuracy minus policy OOD accuracy, averaged over OOD lengths 2020–6060.

Task Method Policy OOD ↑ (%) Oracle OOD ↑ (%) Gap ↓ (pp)
Addition Fixed K=20K=20 17.8 34.2 16.4
K=nK=n 14.3 22.1 7.8
K=n±5K=n\pm5 29.6 30.9 1.3
RL-Halting 39.2 45.0 5.8
Dyck-1 Fixed K=20K=20 51.8 84.6 32.8
K=nK=n 34.2 66.6 32.4
K=n±5K=n\pm5 85.4 88.2 2.8
RL-Halting 93.2 97.5 4.3
Unique Set Fixed K=20K=20 24.4 66.1 41.7
K=nK=n 64.5 78.5 14.0
K=n±5K=n\pm5 68.8 73.2 4.4
RL-Halting 77.5 82.8 5.3
Copy Fixed K=20K=20 33.0 62.3 29.3
K=nK=n 43.8 68.7 24.9
K=n±5K=n\pm5 54.4 55.9 1.5
RL-Halting 41.3 43.2 1.9

RL-Halting achieves the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set, showing that its gains persist without oracle depth selection. The corresponding length-wise curves (omitted due to response format) show the same qualitative pattern as Fig. 7: deterministic schedules develop pronounced oracle–policy gaps in the OOD regime, whereas stochastic schedules generally remain closer to the oracle. This is consistent with Fig. 4 and Sec. 4.2: deterministic schedules can perform best at depths different from their prescribed stopping depth, while stochastic training stabilizes predictions across nearby depths. On Copy, RL-Halting reaches 41.3%, close to deterministic K=nK=n at 43.8%, while K=n±5K=n\pm5 remains best at 54.4%.

We will add the policy results and length-wise curves to Appendix C.3 and Table 1, and describe them in the main text.

Sensitivity to the stochastic-window size (Question 2)

We thank the reviewer for this question. The window size matters, but its effects on stability and accuracy differ. In Fig. 3, increasing ww reduces the run-to-run OOD standard deviation from 9.9 for deterministic K=nK=n to 5.9 at w=5w=5 and 4.3 at w=10w=10. However, mean OOD accuracy is non-monotonic: it increases from 22.1% to 30.9% at w=5w=5, but decreases to 27.2% at w=10w=10. Thus, wider windows improve stability, but excessively wide windows can supervise less useful depths and hurt extrapolation accuracy.

Proposition D.2 provides a complementary explanation: under its local shared-gradient assumptions, averaging over more nearby depths suppresses depth-specific gradient components, providing a mechanism for improved stability, but not necessarily improved extrapolation.

This stability–accuracy tension motivates RL-Halting. Rather than manually choosing a uniform window, RL-Halting learns a non-uniform stopping distribution from the realized task loss, allowing it to allocate stopping probability adaptively across depths. We will clarify this sensitivity and its connection to RL-Halting in Secs. 4.2 and 5.1.

Compute trade-offs (Weakness 3 and Question 4)

We thank the reviewer for requesting this clarification. The training-compute comparison is as follows:

Schedule Batch unrolling during training
Fixed K=20K=20 Always unrolled for 20 iterations
K=nK=n Unrolled to the largest nn in the batch
K=n±wK=n\pm w Unrolled to the largest sampled depth in the batch
RL-Halting Always unrolled to Tmax⁡=20T_{\max}=20

RL-Halting therefore has Transformer forward computation comparable to deterministic K=20K=20, plus a small overhead from evaluating a single linear stopping head at each depth. It computes task loss only at one sampled depth. In contrast, K=nK=n and K=n±wK=n\pm w can stop batch unrolling earlier and may be more compute-efficient.

In a matched wall-clock comparison using 50,000 steps, batch size 64, and the same environment, all four schedules trained in approximately 2.52.5 hours, with differences within roughly 1010 minutes. Thus, the practical overhead of RL-Halting is small in our experiments, although it is not designed as an early-exit or compute-saving method. Its purpose is to learn the stopping distribution rather than specify it by hand. We have added an appendix section reporting the unrolling procedures and measured training costs.

RL-Halting performance on Copy (Question 3)

We thank the reviewer for highlighting this failure case. Our additional diagnostics show that the learned stopping policy does not collapse to a deterministic depth on Copy: within the training regime, it remains broad and approximately uniform across depths. The failure is also not primarily caused by the inference policy selecting the wrong depth, since RL-Halting obtains 41.3% policy OOD accuracy versus 43.2% oracle OOD accuracy. Instead, RL-Halting consistently learns a stable but poorly extrapolating trajectory.

The comparison with the hand-designed schedules suggests that Copy benefits from a stronger length-matched training bias: deterministic K=nK=n training achieves 68.7% oracle OOD accuracy, while K=n±5K=n\pm5 achieves 55.9%, compared with 43.2% for RL-Halting. Because RL-Halting optimizes its stopping distribution using realized in-distribution task loss, its objective does not guarantee that the learned distribution will induce the best OOD trajectory. On Copy, the broad learned distribution may therefore stabilize training around a suboptimal computation.

This result clarifies the scope of our claim: stochastic stopping can improve stability, but whether the stabilized computation extrapolates depends on the task and stopping rule. Understanding which stopping biases favor extrapolation—and how to encode them through improved rewards or priors—is an important direction for future work. We will add this discussion to Sec. 4.3 and Appendix C.

Adaptive-depth related work and baselines (Weakness 2)

We thank the reviewer for this suggestion. Our related-work section discusses learning when to stop, including ACT, PonderNet, and learned-depth Looped Language Models. We also evaluate a PonderNet-style adaptive-depth baseline using the same Looped Transformer architecture in Appendix C.5. On Addition, PonderNet obtains 29.4% OOD accuracy with a standard deviation of 15.1, compared with 45.0% and 2.7 for RL-Halting. We further observe frequent collapse toward a nearly deterministic stopping distribution despite entropy regularization.

Our main experiments are designed as a controlled study of how stopping schedules affect OOD trajectory selection. All methods in the main comparison use the same architecture and supervise one depth per example per update; they differ only in how that depth is selected. PonderNet instead applies distribution-weighted supervision across multiple depths, so we include it as a complementary adaptive-depth baseline rather than part of the primary controlled comparison. We agree that this comparison should be more visible and will summarize it in the main text.

Several additional works on stable or adaptive Looped Transformers appeared concurrently with or after our submission, including Parcae, Fixed-Point Reasoners, and Adaptive Depth in Looped Transformers. These approaches modify the architecture, supervision objective, or task setting and are therefore complementary to our controlled analysis. We will discuss these concurrent works and clarify the distinctions in the revised related-work section.

Significance and scope of the evaluation (Weakness 1)

We thank the reviewer for raising this point and agree that evaluation on practical reasoning benchmarks is important. Our experiments are deliberately controlled because the paper addresses a mechanistic question: whether the stopping schedule itself changes which computation trajectory is learned and how reliably it extrapolates. Addition, Dyck-1, Unique Set, and Copy span distinct algorithmic structures while providing precisely controlled length shifts, exact correctness criteria, and sufficient scale for extensive depth sweeps across independent runs. The consistency of the stability effect across these tasks shows that it is not specific to a single dataset.

This controlled analysis identifies the stopping schedule as an important training-time inductive bias, rather than only an inference-time compute decision. We believe this provides a useful design principle for larger adaptive-depth models, where the effect is harder to isolate from pretraining, architecture, and scale. Validating its impact on pretrained models and practical reasoning benchmarks remains an important next step. We will clarify this scope and add the absence of such evaluation as a limitation.

Authors · CommentOpenReview ↗

Dear Reviewer oZ3d,

As the discussion period ends soon, please let us know if any further clarification is needed. We hope our response and additional results have addressed your concerns and may further strengthen your support for the paper.

The Authors

Reviewer oZ3d · CommentOpenReview ↗

I have gone through the rebuttal and it does address some of my concerns. The paper's limited scope of evaluation still remains a weakness but other than that I do believe it is a solid contribution. I am increasing my score to 5 (accept)

Reviewer Tj9GOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies whether the length generalization is reliable in Looped Transformers, an architectural pattern where repeatedly a shared transformer block is applied on a number of iterations. The authors observe that deterministic stopping schedules for looped transformers is unstable with respect to random seeds and also can be sensitive to inference time loop count. They empirically show runs with the similar in-distribution accuracy diverge out-of-distribution for loop transformers as compared to fixed-depth baselines. To address this issue, they propose handling the number of loop iterations as a stochastic stopping schedule during the training and not merely as an inference-time parameter. By adding stochasticity to the loop depth during training, authors observe that this sharply reduces OOD variance and stabilizes predictions across inference-time loops. They further propose RL-Halting as a learned stochastic schedule, where the stopping policy is trained with REINFORCE using negative loss as reward, to further improve upon the hand-designed randomization schedule. Across the four tasks, they observe the RL-Halting to improve accuracy-stability tradeoff across three (Addition, Dyck-1, Unique), whereas on Copy dataset the OOD accuracy is not the best.

Strengths and weaknesses

Strength:

  • The paper identifies an important instability in Looped transformers and sheds some light into why models with similar in-distribution performance behave very differently on sequences of different length. The author suggests that Looped transformer models are fragile because, while looping can expand the set of computation trajectories that training can select, only some trajectories can extrapolate.
  • To address the instability above, they propose a simple and effective solution by reframing the problem as a training time-depth selection problem. Just by adding stochasticity to the loop depth during training, they show that it can substantially reduces the variations across random seeds as well as make it less sensitive to inference time loop count.
  • To improve on fixed/heuristic stochastic depth selection performance, they propose RL-Halting as learned stochastic schedule, which learns an input-dependent distribution rather than a fixed-step randomization window. The empirical evidence shows that in three of the four tasks, this improves the accuracy and stability trade-off
  • The authors are transparent on how the experiments are run - important hyperparameters, seed counts, compute budget, and also complete RL-Halting objective (App. B) are released. They also report negative results (OOD performance on Copy) and do not hide them, which increases the credibility of the study.

Weakness:

  • RL-Halting advantages over trivial baselines is inconsistent (mean accuracy frontier ties with Unique and worse on Copy). Given that the study shows that model performance varies across seeds, it is not fully clear whether the approach gains are real or within noise, especially given there is no confidence interval or significance testing across seeds for results in Table 1. So, the added complexity of learning a stopping schedule is not fully justified.
  • The findings heavily rely on oracle-over-iteration accuracy as primary metric and it does not fully reflect inference time performance. Given this metric uses ground truth to select the best loop depth, it shows whether the model is correct at any depth, however it does not say whether learned stochastic stopping policy can reliably choose the correct depth during inference. While authors provide a direct oracle-versus-policy comparison only for Unique Set in Appendix C.3, they need to expand to the other datasets to demonstrate practical effectiveness of their approach.
  • Exact reproducibility is limited as authors do not release code, dataset, and other specifications (this is acknowledged by authors in the NeurIPS checklist). Although Section 3 and Appendix A explains the task and general training setup, it does not fully cover every detail needed to fully reproduce the dataset and the experiments.
Questions
  • Could you compare stochastic depth sampling with deterministic supervision across multiple loop depths? This helps provide more clarity on how much randomness adds to the improvement as compared to just supervising over a wider range of depth
  • Could you include paired significance test across seeds for accuracy and frontier metrics in Table 1 (RL-Halting versus other approaches), because the current point estimates don't exactly show whether the gains outweigh the noise
  • Appendix C3 reports policy accuracy and the oracle–policy gap for UniqueSet only. Please extend this to all four tasks and all schedules
  • Provide necessary missing architectural and data generation information to help reproduce the datasets and, in turn, the experimental results.
Limitations

Yes, authors have covered most important limitations: Suboptimal computation stabilization, Stability ≠ extrapolation, weak performance on Copy, Toy analysis provides intuition, not guarantees

Final justification

The rebuttal satisfactorily addresses my main technical concerns by providing additional policy-based evaluation across all datasets, paired significance tests for RL-Halting the requested multi-depth supervision ablation, and improved reproducibility details. I appreciate that the authors explicitly acknowledge the remaining limitations (e.g. suboptimal computation stabilization, weak performance on Copy, and toy analyses that provide intuition rather than guarantees), some of which I still consider fundamental to my overall assessment. As a result, I maintain my current score while believing the paper is technically solid and that the reasons to accept outweigh the reasons to reject.

Formatting concerns

No major issues

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment and constructive questions. Our additional analyses and clarifications are summarized below.

Summary of our response

  • Policy evaluation: RL-Halting achieves the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set; stochastic schedules also generally remain closer to their oracle performance.
  • Significance: Exact paired tests support the conclusion that RL-Halting often—but not uniformly—improves extrapolation, with higher paired mean OOD accuracy on three of four tasks.
  • Stochastic-depth ablation: Deterministic multi-depth supervision confirms that stochasticity is sufficient but not necessary for stabilization, while stochastic sampling achieves 3.3 pp higher OOD accuracy with lower supervision overhead.
  • Reproducibility: We provide the missing architectural and data-generation details and will provide anonymized reproduction code to the AC, followed by a public release after double-blind review.

Policy-based evaluation versus oracle evaluation (Weakness 2, Question 3)

We thank the reviewer for this suggestion. We extended the oracle–policy analysis from Appendix C.3 to all four tasks and all stopping schedules. Policy accuracy uses each method’s prescribed stopping rule, and the reported gap is the difference between the oracle and policy OOD accuracies.

Task Method Policy OOD ↑ (%) Oracle OOD ↑ (%) Gap ↓ (pp)
Addition Fixed K=20K=20 17.8 34.2 16.4
K=nK=n 14.3 22.1 7.8
K=n±5K=n\pm5 29.6 30.9 1.3
RL-Halting 39.2 45.0 5.8
Dyck-1 Fixed K=20K=20 51.8 84.6 32.8
K=nK=n 34.2 66.6 32.4
K=n±5K=n\pm5 85.4 88.2 2.8
RL-Halting 93.2 97.5 4.3
Unique Set Fixed K=20K=20 24.4 66.1 41.7
K=nK=n 64.5 78.5 14.0
K=n±5K=n\pm5 68.8 73.2 4.4
RL-Halting 77.5 82.8 5.3
Copy Fixed K=20K=20 33.0 62.3 29.3
K=nK=n 43.8 68.7 24.9
K=n±5K=n\pm5 54.4 55.9 1.5
RL-Halting 41.3 43.2 1.9

RL-Halting achieves the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set, showing that its gains persist without oracle depth selection. We also computed the corresponding length-wise curves, which show the same qualitative pattern as Fig. 7: deterministic schedules develop pronounced oracle–policy gaps in the OOD regime, whereas stochastic schedules generally remain closer to the oracle. This is consistent with Fig. 4 and Sec. 4.2: deterministic schedules can perform best at depths different from their prescribed stopping depth, while stochastic training stabilizes predictions across nearby depths. On Copy, RL-Halting reaches 41.3%, close to deterministic K=nK=n at 43.8%, while K=n±5K=n\pm5 remains best at 54.4%.

We will add the policy results and length-wise curves to Appendix C.3 and Table 1, and describe them in the main text.

Significance of RL-Halting gains (Weakness 1, Question 2)

We thank the reviewer for this suggestion. We conducted exact two-sided paired tests by matching runs with the same initialization and data-generation seed. For OOD accuracy, we used an exact paired sign-flip test on the per-run OOD accuracy differences. For Front.@90, we used an exact paired permutation test that swaps the complete accuracy curves within each matched pair and recomputes Front.@90. The paired estimates may differ slightly from Table 1 because each comparison uses only the available matched pairs, whereas Table 1 averages all available runs.

Task Comparator N RL OOD Base OOD Δ OOD OOD pp RL Front Base Front Δ Front Front pp
Addition Fixed K=20K=20 9 45.04% 37.77% +7.27 pp 0.0195 30 25 +5 0.9883
Addition K=nK=n 9 45.04% 14.92% +30.12 pp 0.0039 30 20 +10 0.0039
Addition K=n±5K=n\pm5 8 44.99% 30.91% +14.08 pp 0.0078 30 25 +5 0.3750
Dyck-1 Fixed K=20K=20 9 97.49% 82.94% +14.55 pp 0.0938 60 30 +30 0.0938
Dyck-1 K=nK=n 9 97.49% 67.24% +30.26 pp 0.0469 60 25 +35 0.0547
Dyck-1 K=n±5K=n\pm5 8 97.18% 84.02% +13.16 pp 0.0469 55 35 +20 0.0938
Unique Set Fixed K=20K=20 9 82.14% 62.74% +19.40 pp 0.1719 40 20 +20 0.2500
Unique Set K=nK=n 9 82.14% 70.69% +11.46 pp 0.1133 40 35 +5 0.7227
Unique Set K=n±5K=n\pm5 9 82.14% 72.82% +9.32 pp 0.0273 40 40 0 1.0000
Copy Fixed K=20K=20 8 45.04% 53.56% −8.51 pp 0.3984 30 25 +5 0.5078
Copy K=nK=n 6 43.26% 68.69% −25.43 pp 0.0313 30 35 −5 0.1250
Copy K=n±5K=n\pm5 7 43.97% 52.58% −8.62 pp 0.0313 30 30 0 1.0000

The paired estimates are consistent with Table 1: RL-Halting has higher paired mean OOD accuracy than all three baselines on Addition, Dyck-1, and Unique Set, and lower paired mean OOD accuracy on Copy. The Front.@90 point estimates favor RL-Halting across the Addition and Dyck-1 comparisons, are higher or tied on Unique Set, and are mixed on Copy. Thus, the paired analysis supports the paper’s conclusion that RL-Halting often—but not uniformly—improves extrapolation performance. Because Front.@90 is a discrete, threshold-based statistic, nonzero frontier differences can occur frequently under permutation and therefore have comparatively large pp-values.

Stochastic-depth ablation (Question 1)

We thank the reviewer for this suggestion. We would like to clarify that Our claim is that stochastic depth is a sufficient mechanism for stabilization, not that stochasticity is necessary.

In all main-paper settings—including deterministic schedules, randomized schedules, and RL-Halting—each example is supervised at only one depth per optimization step. To separate stochastic sampling from supervision over a wider depth range, we conduct a controlled ablation on Addition. We compare

  1. the randomized K=n±5K=n\pm5 schedule, which samples one depth per example, with
  2. deterministic multi-depth supervision, which averages the losses over every depth in the same window.

All other settings are held fixed. The multi-depth variant shares the recurrent unroll but requires additional readouts, losses, and gradient contributions during training.

Training supervision Oracle OOD Policy OOD Oracle std. Policy std. Oracle–policy gap
Stochastic ±5\pm5, one depth 30.9% 29.6% 5.9% 5.2% 1.33 pp
Deterministic multi-depth 27.6% 26.2% 3.9% 3.7% 1.33 pp
Multi-depth − stochastic −3.3 pp −3.3 pp −2.0 pp −1.5 pp ≈0\approx0

This ablation supports and sharpens the mechanisms proposed in Secs. 5.1–5.2. Section 5.1 shows that the single-sampled-depth gradient is an unbiased estimator of the schedule-averaged gradient; deterministic multi-depth supervision computes this depth average directly. Its lower run-to-run standard deviation therefore supports the proposed gradient-averaging mechanism. Moreover, the identical oracle–policy gap supports the loop-consistency view in Sec. 5.2: supervising a neighborhood of depths—either across sampled updates or simultaneously—reduces sensitivity to the precise stopping depth.

At the same time, stochastic sampling achieves 3.3 pp higher oracle and policy OOD accuracy while supervising only one depth per example. Thus, wider depth supervision explains much of the stabilization, while sampling versus explicitly averaging those losses can lead optimization to different solutions. In this experiment, exact multi-depth averaging is more stable, whereas stochastic sampling selects a solution with better mean extrapolation and lower supervision overhead. This is consistent with our central conclusion that stabilization does not by itself guarantee the best extrapolating computation.

Reproducibility and missing details (Weakness 3, Question 4)

We thank the reviewer for identifying this gap. Sec. 3 and Appendices A–B specify the optimization, stopping schedules, and evaluation protocol; we provide the missing architectural and data-generation details below.

Architecture. All tasks use causal GPT-2-style Transformer layers with hidden dimension 256, 8 attention heads, feed-forward dimension 1024, pre-LayerNorm, GELU activations, and zero dropout. Each shared loop block contains three Transformer layers. Addition, Copy, and Dyck-1 use a linear projection of six-dimensional one-hot token representations, whereas Unique Set uses a learned embedding over a 60-token vocabulary. All tasks use an untied linear output readout.

Data generation. All datasets are generated procedurally rather than drawn from external corpora. For every training batch, lengths are sampled uniformly from {1,…,19}\{1,\ldots,19\}. Addition samples two independent nn-bit operands uniformly, permits leading zeros, and predicts their (n+1)(n+1)-bit sum. Copy samples a uniformly random binary string and reproduces it. Unique Set samples symbols with replacement from an alphabet of size 50 and outputs them in order of first occurrence. Dyck-1 generates a valid prefix using one bracket type, requires a nonempty unmatched stack, and uses the corresponding closing suffix followed by an end token as the target. Inputs and targets are separated by task-specific delimiter tokens, and the loss is applied only to the output region.

We have included these architectural and generation details in the next manuscript version permitted after the discussion period. We have also prepared an anonymized package containing the exact generators, configurations, seeds, and training/evaluation code, which we will provide separately to the AC under the response-period code-link exception. After the double-blind review process concludes, we will publicly release the complete reproduction package.

Authors · CommentOpenReview ↗

Dear Reviewer Tj9G,

As the discussion period ends soon, please let us know if any further clarification is needed. We hope our response and additional results have addressed your concerns and may further strengthen your support for the paper.

The Authors

Reviewer Tj9G · CommentOpenReview ↗

I thank the authors for additional experiments and analysis. The rebuttal satisfactorily addresses my main technical concerns by providing additional policy-based evaluation across all datasets, paired significance tests for RL-Halting the requested multi-depth supervision ablation, and improved reproducibility details. I appreciate that the authors explicitly acknowledge the remaining limitations (e.g. suboptimal computation stabilization, weak performance on Copy, and toy analyses that provide intuition rather than guarantees), some of which I still consider fundamental to my overall assessment. As a result, I maintain my current score while believing the paper is technically solid and that the reasons to accept outweigh the reasons to reject.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary

Dear Area Chair and Reviewers,

Thank you for the constructive feedback. For ease of assessment, we summarize our response according to the main concerns raised in the meta-review.

1. Evaluation beyond the oracle metric. We extended policy evaluation to all four tasks and stopping schedules, using each method’s actual inference rule without ground-truth depth selection. RL-Halting achieves the highest policy OOD accuracy on Addition, Dyck-1, and Unique Set, while K = n ± 5 remains best on Copy. Stochastic schedules also substantially reduce the oracle–policy gap, showing that the main gains are not artifacts of oracle evaluation. Copy provides an informative boundary case: stopping can stabilize a computation without making it the best extrapolating one.

2. RL-Halting’s benefit and computational cost. Exact paired tests show that RL-Halting significantly outperforms K = n ± 5 on Addition, Dyck-1, and Unique Set, but underperforms on Copy. We therefore make the precise claim that learned stopping often—but not uniformly—improves extrapolation. Matched runs take approximately 2.5 hours across schedules, with differences within roughly 10 minutes. RL-Halting has little measured overhead in our setting, although it is not intended as a compute-saving method.

3. Novelty and prior work. Our contribution is not stochastic depth or adaptive halting in isolation. Stochastic depth randomly skips distinct layers, whereas our setting varies the supervised stopping depth of a repeatedly applied shared block. Adaptive-halting methods such as ACT and PonderNet primarily learn how much computation to allocate, typically optimizing predictions across multiple depths. Our focus is complementary: we isolate how the training stopping schedule affects which recurrent computation is learned and how reliably it extrapolates across runs. RL-Halting tests whether this training distribution can be learned rather than prescribed. We also provide a comparison with PonderNet in Appendix C.5 and will strengthen the discussion of related and concurrent work.

4. Experimental scope. The controlled tasks allow us to isolate the causal effect of the training stopping schedule on OOD stability while holding the architecture, data generation, and optimization fixed. Across four distinct algorithmic tasks, changing the stopping schedule consistently affects run-to-run stability. Extending this analysis to pretrained models and realistic reasoning benchmarks is an important next step.

Finally, we corrected the accidental font-package override and restored the official NeurIPS formatting.

We hope these results and clarifications directly address the meta-review’s main concerns and facilitate the final assessment.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…