acceptodds
Published as a conference paper at NeurIPS 2026

Probabilistic Recursive Reasoning

Junyeob Baek, Mingyu Jo, Minsu Kim, Mengye Ren, Yoshua Bengio, Sungjin Ahn

Abstract

How should future neural reasoning systems implement extended computation? Recursive Reasoning Models (RRMs) offer a promising alternative to autoregressive sequence extension by performing iterative latent-state refinement with shared transition functions. Yet existing RRMs are largely deterministic, following a single latent trajectory and converging to a single prediction. We introduce Generative Recursive reAsoning Models (GRAM), a framework that turns recursive latent reasoning into probabilistic multi-trajectory computation. GRAM models reasoning as a stochastic latent trajectory, enabling multiple hypotheses, alternative solution strategies, and inference-time scaling through both recursive depth and parallel trajectory sampling. This yields a latent-variable generative model supporting conditional reasoning via and, with fixed or absent inputs, unconditional generation via . Trained with amortized variational inference, GRAM improves over deterministic recurrent and recursive baselines on structured reasoning and multi-solution constraint satisfaction tasks, while demonstrating an unconditional generation capability.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_FoGAOpenReview ↗
Rating
2
Clarity
1
Confidence
5
Originality
2
Quality
2
Significance
1
Read review
Summary

The paper proposes GRAM, a hierarchical stochastic latent variable framework for recursive reasoning. It introduces deterministic low-level iterations combined with high-level Gaussian latent injection, and improves performance via multi-trajectory sampling with selection mechanisms (majority vote or LPRM) on tasks such as ARC, Sudoku, and N-Queens.

The authors heavily emphasize stochastic latent variables as the core contribution. However, the evaluation mixes multiple test-time scaling components (sampling, augmentation, voting, LPRM), making it impossible to isolate the true source of gains. In addition, comparisons with prior work are not evaluation-aligned, and ablations of model components are incomplete. As a result, it is unclear whether the method truly outperforms prior work under fair conditions or whether key components are redundant.

Strengths and weaknesses

Strengths

  1. Unified formulation of recursive reasoning as a hierarchical stochastic latent process

Weaknesses

  1. Confounded evaluation protocol
    Results mix multiple factors: multi-trajectory sampling, majority voting, LPRM, heavy augmentation, and task-specific settings. There is no consistent breakdown of pass@1 or pass@n.

  2. Unfair comparison with prior work
    Baselines such as TRM/HRM are reported under pass@1 settings, while GRAM uses extensive test-time scaling (sampling + selection + augmentation). This makes results non-comparable and invalidates claims of superiority.

  3. Incomplete component ablation
    The paper does not separately evaluate low-level vs high-level dynamics. Key missing experiments include removing latent noise, isolating recursion levels, and testing noise placement (low vs high).

Questions
  1. What is performance under pass@1 evaluation and remove all voting, and LPRM?
  2. Can low-level recursion alone achieve meaningful performance?
  3. Can high-level stochasticity be replaced with simple noise injection or dropout?
Limitations

Prior work such as the Universal Reasoning Model achieved 53.8% pass@1 on ARC-AGI 1 and 16.0% pass@1 on ARC-AGI 2 without any test-time scaling methods, which is a clean looped-transformer baseline. In comparison, GRAM's results that incorporate various test-time scaling techniques are based on an unfair comparison and are still significantly lower than clean looped-transformer pass@1 baseline, which fails to demonstrate the superiority of GRAM.

Paper formatting concerns

N/A

Final justification

I maintain clear rejection.

1 comment

[R3W1, Q1] Per sample breakdown and Evaluation Alignment

We thank the reviewer for this valuable feedback and appreciate the opportunity to clarify. As suggested, a consistent breakdown across test-time settings will considerably improve the clarity of our reporting, and we provide it below: every benchmark under both a single sample (N=1) and 20 samples (N=20), together with the selection method used. We will also incorporate these numbers into the existing tables and figures in the paper, and additionally report the majority voting and LPRM comparison for Sudoku-Extreme.

Table Summary: Under a single sampled setup, with no majority voting and no LPRM, GRAM already matches or outperforms the baselines. On Sudoku-Extreme the further improvement to 97.0 comes from parallel sampling, which is an axis the deterministic baselines do not have and which TRM does not reach even at matched FLOPs (see our response to W2).

BenchmarkMetricBaseline (best)N=1N=20
Sudoku-ExtremeAcc (%)TRM: 87.487.397.0 † (LPRM-based best-of-N) / 96.8 (Majority Voting)
ARC-AGI-1Acc (%)TRM: 44.652.0 †-
ARC-AGI-2Acc (%)TRM: 7.811.1 †-
N-Queens 8×8Acc (%)AR: 96.3 (N=1) / 98.9 (N=20)99.7 †100 (Majority Voting)
N-Queens 10×10Acc (%)AR: 90.0 (N=1) / 93.5 (N=20)89.7 †100 (Majority Voting)
Graph-Coloring-8conflict ↓MDLM: 16.0 (N=1)/ 3.0 (N=20)6.02.7 † (Majority Voting)
Graph-Coloring-10conflict ↓MDLM: 59.0 (N=1) / 19.0 (N=20)6.03.3 † (Majority Voting)

† currently reported in the paper

Note:

  • ARC-AGI-1/2. GRAM draws a single sample per input, with no parallel sampling and no LPRM. The augmentation and voting procedure is part of the standard ARC evaluation protocol used by HRM and TRM, and is applied identically to all compared methods. No augmentation is used for the other benchmarks. Further test-time scaling experiments on ARC are given in Appendix D.2.
  • LPRM. We applied the LPRM only on Sudoku-Extreme, where it outperformed majority voting. For the constraint satisfaction tasks, the supervision available for value learning is limited, and the LPRM did not improve over majority voting.

[R3W2] Comparision Fairness

We thank the reviewer for raising this point, as it allowed us to report the comparison more precisely. Below we compare under two matched conditions: the (1) same sample count (N=1 and N=20) and (2) matched FLOPs. As a result, GRAM performs better under both: with a single sample it outperforms TRM on ARC-AGI, N-Queens, and Graph Coloring while matching it on Sudoku-Extreme, and at matched compute it reaches 97.0 against TRM's 90.6. We will reflect all of the following in the paper.

(1) Matched Sample Count

Single sample, N=1. Reported in full in our response to W1. With no majority voting and no LPRM, GRAM outperforms the baselines on ARC-AGI, N-Queens, and Graph Coloring, and matches TRM on Sudoku-Extreme.

ARC-AGI-1: GRAM 52.0 vs TRM 44.6,

ARC-AGI-2: GRAM 11.1 vs TRM 7.8,

N-Queens 8×8: GRAM 99.7 vs TRM 78.7,

Graph Coloring 8 (conflict ↓): GRAM 6.0 vs TRM 109.3,

Sudoku-Extreme: GRAM 87.3 vs TRM 87.4 (matched)

  • Q. Why does a sampling-based method wins when only one sample?
    • The gain comes from training rather than inference. Introducing stochasticity lets the model learn from many different trajectories through the latent space instead of a single fixed path, so it learns to reach a solution from a wider range of states. On multi-solution tasks such as N-Queens, it also learns to steer toward different valid modes, which a single deterministic path cannot do.

Multi-samples, N=20. Reported in full in our response to W1. Given the same budget of 20 samples, only GRAM improves, as HRM and TRM are deterministic and return the same output regardless of the number of samples.

Sudoku-Extreme: GRAM 87.3 (N=1) → 97.0 (N=20), TRM 87.4

N-Queens 8×8: GRAM 99.7 (N=1) → 100 (N=20), TRM 78.7

Graph Coloring 8 (conflict ↓): GRAM 6.0 (N=1) → 2.7 (N=20), TRM 109.3

(2) Matched FLOPs

We compare depth-wise and width-wise scaling at equal cost on Sudoku-Extreme. TRM is scaled by running more recursion iterations, GRAM by drawing more parallel samples.

Width-wise scaling is far more efficient than depth-wise scaling. At a matched budget of ~0.42 TFLOPs the two models are equivalent (87.4 vs 87.3). At a matched budget of ~8.3 TFLOPs, however, TRM reaches only 90.6 while GRAM reaches 97.0. The same 20× increase in compute yields 3.2 points through depth but 9.7 points through width.

MethodFLOPs (TFLOPs/puzzle)Accuracy
TRM (16 iters)0.41087.4
GRAM (K=1, 16 iters)0.42487.3
TRM (320 iters)8.20290.6
GRAM (K=20, 16 iters)8.48897.0

Read in the other direction, reaching 90% accuracy costs TRM 5.75 TFLOPs but GRAM only 0.73 with a single sample (7.9× less) and 0.44 with 20 samples (13.0× less). The gap widens as the target rises, and TRM does not reach 97.0% at any measured budget.

Table. Compute required to reach a target accuracy, and the resulting savings over TRM. (unit=TFLOPs)

Target accuracyTRMGRAM (N=1)SavingsGRAM (N=20)Savings
0.850.950.3113.1×0.1208.0×
0.882.560.4975.2×0.24610.4×
0.905.750.7287.9×0.44413.0×
0.92†15.451.16313.3×0.91416.9×
0.95†123.833.11639.7×4.18329.6×

† Extrapolated: TRM was measured only up to 0.9055 (320 iters).


[R3W3, Q2] Additional Ablation Study

Regarding the suggested ablation studies, Table 3 already reports most of them. We address the each points in turn below.

1. Isolating recursion levels and removing latent noise are already reported in Table 3. Table 3a compares a single-level backbone (flat Looped TF) at 61.25 / 71.30 on Sudoku / N-Queens with the hierarchical ones at up to 87.40 / 80.70, so low-level recursion alone is meaningful but not sufficient. Table 3b removes latent noise at three levels, giving 82.87 / 72.91 without stochastic guidance, 0.00 / 0.00 for guide only, and 94.88 / 50.27 for stochasticity only, so both the noise and the learned mean are necessary.

2. Additional Experiments on noise placement. We report low-module noise placement experiments on N-Queens (8×88 \times 8). Every-low injects ϵ\epsilon at every low-level recursion, trained either with the KL computed only at the final recursion (Last KL) or averaged over the recursions within a transition (Mean KL). Last-low injects ϵ\epsilon once, at the final low-level recursion, and only that KL is used.

VariantAccuracy@1Coverage@20
GRAM (high-level)99.790.3
Every-low, Last KL0.00.0
Every-low, Mean KL0.00.0
Last-low, Last KL99.290.2

Every-low does not train properly, while Last-low is comparable to GRAM. We conjecture that injecting ϵ\epsilon at every low-level recursion lets the target-conditioned posterior enter KK times within a single high-level recursion (K=4K = 4 here) rather than once, so the high-level state can easily overfit to yy. Train accuracy stays high while test accuracy collapses, which is consistent with this conjecture. Further engineering may make it work, but we chose a single injection at the high-level recursion, which trains stably. We will add these results to the paper.


[R3Q3] Replace Stochasticity with Simple Noise or Dropout

We thank the reviewer for the suggestion. Simple stochasticity without variational modeling does not train properly.

We trained two variants from scratch on N-Queens (10×10), replacing the stochastic guidance module with (i) fixed isotropic Gaussian noise N(0,I)N(0, I) at the same high-level position, and (ii) dropout in the shared recursion module, kept active at inference so the model remains stochastic. Neither defines a posterior, so both are trained with the reconstruction objective alone, under the same backbone, training budget, and inference procedure as GRAM.

MethodAccuracy (N=1)Coverage@20
GRAM (Ours)89.7 ± 2.7%57.5 ± 3.4%
TRM17.5 ± 11.2%2.0 ± 1.3%
Simple Gaussian N(0, I)1.36 ± 1.55%1.26 ± 1.09%
Dropout 0.15.64 ± 6.88%2.41 ± 2.06%
Dropout 0.30.60 ± 0.70%0.64 ± 0.54%

We attribute this to the absence of a learned perturbation. Both do change the output across runs, but the perturbation is fixed in advance and carries no information about which solution it should lead to. Under the variational objective, GRAM's posterior qϕ(εt∣ut,y)q_\phi(ε_t | u_t, y) observes the target and proposes the perturbation that steers the trajectory toward that solution, while the KL term fits the prior pθ(ϵt∣ut)p_\theta(\epsilon_t | u_t) to the resulting spread of trajectories. We believe this is what lets sampling from the prior recover distinct valid solutions at inference.


[R3L1] Comparison with URM

We respectfully disagree that this is a limitation of GRAM, and we clarify the comparison with URM below.

Our ARC-AGI numbers are measured under exactly the same protocol as HRM, TRM, and URM. On ARC-AGI, HRM, TRM, and URM all evaluate a single problem with 1000 augmentations followed by inverse augmentation and majority voting. GRAM is evaluated under this identical protocol, and no additional sampling is applied to GRAM on ARC-AGI. The comparison is therefore a matched one rather than an unfair one.

GRAM can be applied on top of a URM backbone as well. GRAM changes the latent transition, not the backbone, and Table 3a shows that stochastic guidance improves the Looped Transformer, HRM, and TRM backbones alike. URM improves the backbone itself through ConvSwiGLU and truncated backpropagation through loops, which is orthogonal to what GRAM changes, so the two combine rather than compete.

Reviewer_QNHrOpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper introduces Generative Recursive reAsoning Models (GRAM), building on top of the recursive reasoning literature such as HRM in that it introduces stochasticity into the latent recursive reasoning, enabling inference-time width scaling and multiple hypothesis generation. The result is a latent-variable model that outperforms previous RRMs on a variety of reasoning benchmarks, most notably problems with multiple valid solutions.

Strengths and weaknesses

Strengths

  • This paper introduces the important aspect of stochasticity into latent trajectories of RRMs, something which the previous iterations failed to implement. This has a significant and tangible impact on the diversity of reasoning trajectories and the addition of a new scaling axis in terms of number of sampling trajectories and not just recursive depth.

  • The approach admits a clean probabilistic formulation and is trained with a simple enough surrogate that doesn't require backpropagation through the entire trajectory.

  • The experimental results are compelling, most notably the consistently excellent performance across a growing number of solutions, and the fact that GRAM enables diverse samples in contrast to previous RRMs. The ablation on guidance in the case of generating sudoku boards versus solving conditional problems like N-Queens is a valuable one.

Weaknesses

  • Table 3a shows the hierarchy's benefit is split: +DS+SG (the Looped-TF backbone?) already reaches 100% on N-Queens, yet HR adds ~20 points on Sudoku (73.90→93.96). Since stochastic guidance is orthogonal to the backbone, it remains unclear whether the Sudoku gain requires HRM's two separate modules (f_L, f_H) or would also be captured by a single shared backbone in the style of TRM. An ablation of stochastic guidance on a TRM-style shared-network backbone would help clarify whether the added complexity of HRM is essential.

  • While addressed briefly in the limitations, the deeply recurrent nature of GRAM may prevent its widespread adoption. Any FLOP/latency comparison between GRAM versus HRM/TRM would be valuable.

Questions
  • Could you have any thoughts on why injecting stochasticity into the low-level state did not work for you? What ablations did you experiment with (e.g. stochasticity at the first or last low-level state, every low-level state update, etc.?)
Limitations

yes

Paper formatting concerns

n/a

Final justification

I believe that GRAM demonstrates beyond doubt the benefits of stochastic guidance for width-based scaling in recursive reasoning models, in particular on tasks with multiple solutions. I maintain that this is a targeted and valuable contribution to this line of research.

1 comment

[R2W1] Shared backbone benefit ablation

We thank the reviewer for the opportunity to clarify this. GRAM's hierarchical recursion is already built on a TRM-style shared backbone, where fLf_L and fHf_H share weights rather than being two separate modules. The ablation the reviewer asks for, stochastic guidance on a TRM-style shared network, is therefore our main result. Appendix B.1 says that fLf_L and fHf_H share the same architecture, which we now see can be read as two independent networks with an identical structure rather than as parameter sharing, and we will state this explicitly.

To test whether separate modules would help, we also ran the HRM-style variant. The hierarchy itself gives a clear gain, but it does not require separate modules: the shared TRM-style backbone outperforms the HRM-style one on Sudoku and is on par on N-Queens.

ModelSudokuN-Queens
base (Looped TF)61.2571.30
base + DS + SG73.90100.00
base + DS + HR + SG (=GRAM)93.9699.69
GRAM + Sep fLf_L, fHf_H (HRM-style HR)90.5699.80

[R2W2] Computational Analysis

Our limitation statement may not have been clear enough. It concerns scaling recursive reasoning models to much larger models, where the sequential deep-supervision loop makes training less efficient than a standard Transformer. This applies to HRM and TRM as well and is not something GRAM introduces. Indeed, compared with these models, GRAM achieves higher accuracy with less computation and lower latency: it needs 7.9× less compute to reach 90% accuracy, and at matched FLOPs it is 15× faster in wall-clock. We report the FLOPs and wall-clock comparison below, measured with torch.utils.flop_counter on identical hardware on Sudoku-Extreme.

Per-step compute is essentially unchanged. The stochastic transition adds only a small head that produces the mean and variance of the latent perturbation, leaving the recursive core untouched, so GRAM costs only 3.5% more per iteration than TRM. HRM's lower per-iteration cost reflects the shorter low-level and high-level cycle counts in its configuration rather than a cheaper architecture.

ModelPer iterationTotal, 16 iterations (N=1)
HRM0.0138 (TFLOPs)0.220
TRM0.02560.410
GRAM0.02650.424

At matched FLOPs, GRAM is both faster and more accurate. Parallel samples are independent and run in a single batched forward pass, whereas additional recursion iterations must run one after another. TRM needs 320 sequential iterations to reach 90.6, while GRAM reaches 97.0 with 16.

ConfigurationTFLOPs / puzzleLatency (ms)Accuracy
TRM, 320 iters × 1 sample8.2022,7550.906
GRAM, 16 iters × 20 samples8.4881840.970
Relative+3.5%15.0× faster+6.4 pp

GRAM also reaches a given accuracy with far less compute. We swept the number of recursion iterations for TRM, and both the number of recursion iterations and samples for GRAM, recording the compute at which each model first reaches a target accuracy. GRAM needs 7.9× less compute than TRM to reach 90% with a single sample, and 13.0× less with 20 samples.

Target accuracyTRMGRAM (N=1)SavingsGRAM (N=20)Savings
0.850.950.3113.1×0.1208.0×
0.882.560.4975.2×0.24610.4×
0.905.750.7287.9×0.44413.0×
0.92 †15.451.16313.3×0.91416.9×

TFLOPs per puzzle. † extrapolated; TRM was measured only up to 0.9055 (320 iterations).

[R2Q1] Stochastic Guidance in Low Module

We find this question interesting as well. We had explored injecting guidance at every low-level recursion during development, and following the reviewer's suggestion we additionally ran injection at the last low-level state. Both are evaluated on N-Queens (8×8). The determining factor appears to be the number of injections rather than the level. A single injection works at either level, while injecting at every low-level recursion does not train. We cannot fully explain this, but the results below point to a likely cause.

For ablation study, We ran three variants: (1) Every-low with Last KL, (2) Every-low with Mean KL, and (3) Last-low with Lask KL. Every-low injects ϵ\epsilon at every low-level recursion, trained either with the KL computed only at the final recursion (Last KL) or averaged over the recursions within a transition (Mean KL). Last-low injects ϵ\epsilon only once, at the final low-level recursion, and only that KL is used.

VariantAccuracy@1Coverage@20
GRAM (high-level)99.7 ± 0.3%90.3 ± 1.9%
Every-low, Last KL0.00 ± 0.00%0.00 ± 0.00%
Every-low, Mean KL0.00 ± 0.00%0.00 ± 0.00%
Last-low, Last KL99.19 ± 0.61%90.20 ± 0.43%

Every-low does not train, while a single low-level injection does. Every-low collapses under both KL variants, whereas Last-low performs comparably to GRAM. Our reading is as follows. During training the noise comes from the posterior, which has access to the target; at inference it comes from the prior, which does not. At training time, Injecting posterior at every low-level recursion gives the model K times more of this target-dependent signal per high-level transition (K = 4 here), and the model comes to rely on it. Training accuracy therefore stays high, while test accuracy collapses once the signal is gone. Further engineering may make Every-low work, but we chose a single injection at the high-level recursion because it trains stably.

Reviewer_TZkSOpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes Generative Recursive Reasoning Models (GRAM), a probabilistic extension of recursive reasoning models. Instead of modeling reasoning as a single deterministic sequence of hidden-state updates, GRAM treats it as a latent-variable generative process with stochastic transitions. This enables sampling multiple latent reasoning trajectories for the same input and using inference-time sampling to improve solution quality. The paper formulates recursive reasoning within a latent-variable framework, introduces inference-time sampling over reasoning trajectories, and demonstrates that stochastic trajectories improve performance on structured reasoning and constraint-satisfaction tasks. It also connects the approach to amortized variational inference and includes ablations examining the role of stochasticity and hierarchical recursion.

Strengths and weaknesses

Strengths

The paper presents a conceptually useful idea: modeling latent reasoning as a stochastic generative process rather than a deterministic trajectory.

  • I appreciate the formulation of recursive reasoning as a latent-variable generative model. By connecting latent reasoning with probabilistic modeling, the approach naturally supports stochastic transitions and inference-time sampling, which are especially valuable for structured and constraint-satisfaction tasks and provide a mechanism for test-time scaling.

  • The empirical results support the benefits of stochastic latents, showing improvements over deterministic recursive baselines across several tasks.

  • The ablation studies are thorough and insightful, helping isolate the contributions of stochasticity, recursion, and hierarchical structure. The observation that hierarchical recursion benefits some tasks (e.g., Sudoku) more than others (e.g., N-Queens) is especially interesting.

Weaknesses

  • The paper proposes an interesting model, but key aspects of its formulation and presentation lack clarity.

(a) The most important missing detail is the parametrization of the variational distribution qq. While Section 2.2 provides a standard ELBO derivation, it does not clearly describe how variational posterior is implemented. The paper should specify its form (e.g., Gaussian), how parameters are produced, how xx and yy are incorporated, whether parameters are shared with the prior, and how qq interacts with the recursive transitions. Since this is a central component of the method, the lack of detail makes the approach difficult to understand and reproduce.

(b) The notation and presentation are harder to follow than necessary. Some equations (e.g., 4–5 vs. 8–9) appear very similar, and their distinction is not clearly explained. Also it seems to me that in both cases it just a Gaussian distribution where mean parametrization has a residual connection, and a separate r.v. ϵ\epsilon is not really needed. More broadly, the combination of nested loops (transition, supervision, refinement) and indices (TT, NN, KK) is difficult to parse without a clearer global explanation.

  • The experimental analysis

(a) Computational trade-offs can be better addressed. Since GRAM relies on sampling multiple latent trajectories at inference time, it would be useful to compare runtime (training and inference) against deterministic recursive baselines such as TRM and HRM. The method may be parameter-efficient but still computationally expensive due to repeated recursion and sampling.

(b) The generative modeling results are not fully convincing. MNIST is a limited benchmark, and FID is not very informative in this setting. If GRAM is positioned as a generative model, it would be more appropriate to report likelihood-based metrics (e.g., NLL or bits-per-pixel) and compare against stronger baselines, such as hierarchical VAEs [1], ideally on a more challenging dataset.

[1] Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Images, Rewon Child

Questions
  1. How exactly is the variational posterior is parameterized?

  2. What is the distinction between Equations 4–5 and 8–9?

  3. Can the authors provide a full diagram with all the architectual components and notations?

  4. What are the runtime trade-offs compared to deterministic baselines?

  5. Can the generative modeling evaluation be strengthened?

Limitations

NA

Paper formatting concerns

NA

1 comment

[R1W1-a, Q1] Detailed info of variational distribution q

We thank the reviewer for helping us clarify this point. The posterior qq has the same Gaussian form as the prior, qϕ(ϵt∣ut,y)=N(μϕ(ut,y),σϕ2(ut,y)I)q_\phi(\epsilon_t \mid u_t, y) = \mathcal{N}(\mu_\phi(u_t,y), \sigma^2_\phi(u_t,y)I). Both are implemented with token-wise SwiGLU MLP heads. The prior head takes utu_t, while the posterior head takes utu_t concatenated with a representation of yy. This representation comes from the patch encoder for MNIST, and is a one-hot vector over the vocabulary for all other tasks. Note that xx does not appear explicitly in qq because exe_x is injected at every low-level refinement (Eq. 6), making utu_t already a function of xx. The recursive transition that produces utu_t is common to both, and the prior and posterior branch only at the noise head, where (μθ,σθ)(\mu_\theta, \sigma_\theta) and (μϕ,σϕ)(\mu_\phi, \sigma_\phi) are parameterized independently. During training the transition samples ϵt\epsilon_t from qϕq_\phi, while at inference it samples from pθp_\theta. We will add these details to Section 2.2 and Appendix B.1.


[R1W1-b, Q2, Q3] Clarity in Notations

We thank the reviewer for these suggestions on presentation.

1. "Some equations (e.g., 4–5 vs. 8–9) appear very similar."

Eq. 4-5 is the general form, and Eq. 8-9 is its hierarchical instantiation. Eq. 4-5 is the general form for a recursion model with latent state ztz_t, while Eq. 8-9 describes the hierarchical instantiation, where the perturbation enters at the high-level recursion. We will make this relation explicit and present Eq. 8-9 as a specialization of Eq. 4-5.

2. "a separate r.v. ε is not really needed."

We keep ϵ\epsilon to separate the deterministic and stochastic parts. As the reviewer mentioned, the two forms are indeed equivalent, i.e. zt∼N(ut+μθ(ut),σθ2(ut)I)z_t \sim \mathcal{N}(u_t + \mu_\theta(u_t), \sigma^2_\theta(u_t)I), and the KL term is identical in either form because the prior and the posterior share the same utu_t. We nevertheless keep ϵ\epsilon explicit because it reflects how the architecture actually operates: the deterministic refinement utu_t inherited from prior RRMs, followed by the stochastic guidance ϵt\epsilon_t introduced by GRAM. This also makes it immediate that setting ϵ≡0\epsilon \equiv 0 recovers a deterministic RRM. We will state this equivalence in the paper, and would reconsider the compact form if there is a concrete benefit we have overlooked.

3. "nested loops … and indices are difficult to parse."

The three indices are nested: a full rollout runs NsupN_{\text{sup}} supervision steps; each supervision step runs TT high-level recursions; and each high-level recursion runs KK low-level refinements. Within one high-level recursion, the low-level state is refined KK times while the high-level state is held fixed, and the high-level state is then updated once from the refined low-level state. After TT such recursions the decoder reads the high-level state and a loss is applied, and the resulting latent is detached and passed to the next supervision step as a warm start. This repeats NsupN_{sup} times, so a full rollout performs NsupN_{\text{sup}} × TT high-level recursions in total.

Regarding Q3, Figure 2 contains all architectural components, but it depicts only a single latent transition (one of the TT high-level recursions) and therefore does not show how transitions compose into a full rollout. We will add a figure showing this global structure together with the corresponding indices.


[R1W2-a, Q4] Computational trade-off Analysis

We sincerely appreciate this idea. This produced one of our most interesting findings. To analyze, we measured inference computation (FLOPs) and wall-clock latency on identical hardware, comparing against TRM on Sudoku-Extreme.

Key findings-- GRAM reaches higher accuracy than TRM while using less computation and less wall-clock time: it needs 7.9× less compute to reach 90% accuracy with a single sample, and at matched FLOPs it is 15× faster in wall-clock.

Per-step compute is essentially unchanged

We measured inference FLOPs per puzzle with torch.utils.flop_counter for TRM and GRAM under identical settings. The stochastic transition adds only a small head that produces the mean and variance of the latent perturbation, leaving the recursive core untouched, so GRAM costs only 3.5% more per iteration.

ModelPer iterationTotal, 16 iterations (N=1)Total, 16 iterations (N=20)
TRM0.0256 (TFLOPs)0.4108.202
GRAM0.02650.4248.488
Overhead+3.5%+3.5%+3.5%

GRAM reaches a given accuracy with far less compute

We swept the number of recursion iterations for TRM, and both the number of recursion iterations and samples for GRAM, recording the compute at which each model first reaches a target accuracy. GRAM with a single sample needs 7.9× less compute than TRM to reach 90%, and 13.0× less with 20 samples, and the gap widens as the target rises.

Target accuracyTRM GRAM (N=1)SavingsGRAM (N=20)Savings
0.850.950.3113.1×0.1208.0×
0.882.560.4975.2×0.24610.4×
0.905.750.7287.9×0.44413.0×
0.92†15.451.16313.3×0.91416.9×
0.95†123.833.11639.7×4.18329.6×

† Extrapolated: TRM was measured only up to 0.9055 (320 iters). (unit=TFLOPs)

At matched FLOPs, GRAM is both faster and more accurate

We compared two configurations with nearly identical FLOPs and measured end-to-end latency per puzzle on the same hardware. Parallel samples are independent and run in a single batched forward pass, whereas additional recursion iterations must run one after another. Spending compute on width therefore costs far less latency than spending it on depth, and it also yields higher accuracy.

ConfigurationTFLOPs / puzzleLatency (ms)Accuracy
TRM, 320 iters × 1 sample8.2022,7550.906
GRAM, 16 iters × 20 samples8.4881840.970
Relative+3.5%15.0× faster+6.4 pp

[R1W2-b, Q5] Strengthen Generative Modeling Evaluations

We thank the reviewer for the constructive feedback. We reported IS and FID as widely used metrics for evaluating sample quality. We agree, however, that FID may be less informative in this setting, as it relies on Inception features trained on natural images from ImageNet. Therefore, as suggested, we additionally report the NLL upper bound, namely the NELBO, below.

MethodNLL (bits/dim) ↓IS ↑FID ↓
VAE≤\le 0.1421.701 ± 0.02886.28
D3PM≤\le 0.1971.858 ± 0.01174.03
GRAM≤\le 0.2101.885 ± 0.01177.79

Likelihood and Sample Quality Are Both Informative. GRAM is a little behind D3PM on NELBO and slightly ahead on IS, while the VAE ranks first on NELBO and last on both sample-quality metrics. Prior work observes the same decoupling, where better likelihood does not necessarily mean better samples [1, 2]. We therefore report NELBO alongside IS and FID rather than in place of them, and we will include these results in the paper as the reviewer suggests.

Scaling up to complex image generation models is not the main focus of this paper but an important direction for future work. GRAM already demonstrates the breadth of what this formulation can support as a generative model, including latent reasoning, unconditional generation, and constraint-satisfying generation. Scaling GRAM further to complex image generation models would be an interesting and valuable direction. However, this is beyond the main scope of the present paper, and we leave it for future work.

[1] Nichol, Alexander Quinn, and Prafulla Dhariwal. "Improved denoising diffusion probabilistic models." International conference on machine learning. PMLR, 2021.

[2] Kingma, Diederik, et al. "Variational diffusion models." Advances in neural information processing systems 34 (2021): 21696-21707.

Comments on the paper

1 comment
Meta-review

This manuscript introduces GRAM, a generative formulation of recursive reasoning that treats the latent reasoning trajectory as stochastic rather than deterministic, trained with an amortized variational objective. The idea is clean and the two supportive reviewers find the gains on structured reasoning and multi-solution constraint-satisfaction tasks convincing over deterministic recursive baselines such as TRM and HRM.

The reviews split cleanly, however, on whether the experiments actually isolate the contribution being claimed. One Accept and one Borderline accept treat the method as sound with addressable presentation gaps, while one high-confidence Reject argues the evaluation mixes test-time-scaling components together and compares GRAM under scaling against baselines reported at pass@1.

The decisive open issue is the evaluation protocol. Until GRAM is reported at pass@1 with voting and LPRM removed, and compared against looped-transformer baselines under matching conditions, the claim that stochastic latent reasoning outperforms prior work cannot be confirmed from the paper as written. The authors should provide a clean pass@1 breakdown and an evaluation-aligned comparison to prior looped-transformer baselines. Two secondary issues carry weight at the meeting: the missing parametrization of q, which affects reproducibility of a core component, and the shared-backbone ablation, which would show whether HRM's two-module structure is actually necessary or whether a single TRM-style network with stochastic guidance is enough.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.