potentialpaper

Depth-Recurrent Attention Mixture (Dreamer): Giving Latent Reasoning the Attention it Deserves

Jonas Knupp, Jan Hendrik Metzen, Jeremias Bohn, Georg Groh, Kristian Kersting

NeurIPS 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. We introduce depth-recurrent attention mixtures (Dreamer) to improve latent reasoning in language models and contribute tightly resource-matched comparisons.

Abstract. Depth-recurrence promises improved latent reasoning by sharing parameters across depths. However, prior work still relies on partially fixed layer stacks and overlooks the bottleneck of constant hidden-size; moreover, it largely lacks rigorously resource-matched ablations. To address this, we introduce depth-recurrent attention mixtures (Dreamer), a modular architecture with a single recurring layer. Concretely, we mix sequence attention, depth attention, and sparse expert attention. This alleviates the hidden-size bottleneck, decouples scaling dimensions, and achieves effective yet efficient depth-recurrence. Across natural language reasoning benchmarks at up to ~2B parameters, Dreamer requires on average ~3x fewer training tokens for the same accuracy as FLOP-, parameter-, and memory-matched modern Transformers, and outperforms ~2x larger Transformers given same training tokens. Analysis further reveals 2-11x greater expert selection diversity than conventional MoEs, highlighting the flexible knowledge sharing across depths.

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

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

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

This paper proposes Dreamer, a novel architecture enhancing latent computation in language models via parameter sharing across depths. Reviewers unanimously praised the creative direction and the rigorous, strictly resource-matched evaluations that demonstrated substantial empirical gains and remarkable data efficiency compared to baseline Transformers. During the rebuttal, the authors successfully resolved all remaining concerns by providing detailed throughput analyses to address inference overhead, clarifying the conceptual framing of "latent reasoning," and presenting additional stress tests to confirm MoE routing stability. Therefore, this paper is recommended for acceptance.

Final justification

The recommendation to accept is based on unanimous reviewer consensus and the paper's strong technical contribution. The proposed Dreamer architecture demonstrates significant empirical gains and impressive data efficiency under rigorous, strictly resource-matched evaluations. Furthermore, the authors' constructive rebuttal effectively resolved all initial concerns regarding inference overhead and training stability. Please refer to the final meta-review above for a more detailed justification.

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

This paper proposes Dreamer, a novel architecture enhancing latent computation in language models via parameter sharing across depths. Reviewers unanimously praised the creative direction and the rigorous, strictly resource-matched evaluations that demonstrated substantial empirical gains and remarkable data efficiency compared to baseline Transformers. During the rebuttal, the authors successfully resolved all remaining concerns by providing detailed throughput analyses to address inference overhead, clarifying the conceptual framing of "latent reasoning," and presenting additional stress tests to confirm MoE routing stability. Therefore, this paper is recommended for acceptance.

Final justification

The recommendation to accept is based on unanimous reviewer consensus and the paper's strong technical contribution. The proposed Dreamer architecture demonstrates significant empirical gains and impressive data efficiency under rigorous, strictly resource-matched evaluations. Furthermore, the authors' constructive rebuttal effectively resolved all initial concerns regarding inference overhead and training stability. Please refer to the final meta-review above for a more detailed justification.

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

This paper introduces Dreamer (Depth-Recurrent Attention Mixtures), which repeatedly applies a single Transformer layer along the depth dimension and combines three attention/routing mechanisms: standard sequence attention; depth attention that accesses the historical depth states of the same token; and sparse expert routing for the attention projections and feed-forward modules.

The authors train models with approximately 1.17B and 2.08B parameters, each using roughly 100B training tokens dominated by mathematical and instruction data, and compare them against conventional layered MoE Transformers that are closely matched in parameter count, theoretical FLOPs, and inference memory.

Strengths and weaknesses

Strengths

  1. Careful effort to match computational resources: The authors do not simply compare the recurrent models with dense models of substantially different sizes. Instead, they attempt to match the parameter count, theoretical FLOPs, and inference memory within each depth setting. The 16-depth models each contain approximately 1.17B parameters, while the 32-depth models each contain approximately 2.08B parameters. This makes the main results more credible than comparisons based only on nominal model size.

  2. Substantial empirical gains: With approximately 100B training tokens and nearly identical theoretical FLOPs, the proposed method improves average accuracy over the baseline by approximately 11–12 percentage points.

Weaknesses

  1. The reported training compute is based on theoretical FLOPs. In practice, pretraining cost depends not only on theoretical FLOPs but also on realized hardware efficiency. Both depth attention and expert attention may introduce substantial memory-movement, routing, communication, and kernel-efficiency overheads, potentially making actual training throughput much lower than that of the baseline.

  2. “Latent reasoning” is the central narrative of the paper, but it is neither clearly defined nor directly validated. The paper does not demonstrate that latent reasoning actually occurs within the weight-shared Transformer. Since weight sharing can also be viewed as adding computational depth without introducing additional parameter degrees of freedom, the observed gains alone do not establish the existence of latent reasoning. I suggest reframing the paper primarily around weight sharing, depth recurrence, or looped Transformers unless direct evidence for latent reasoning is provided.

Questions

How much additional infrastructure overhead do depth attention and expert attention introduce during training, and how do the authors plan to mitigate it?

Limitations
  1. See weakness 1.

  2. The empirical evaluation is heavily concentrated on mathematics-focused benchmarks, it therefore remains unclear whether the reported gains generalize to broader language modeling, knowledge, coding, long-context, or non-mathematical reasoning tasks.

Final justification

I maintain my positive score.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewer's valuable feedback and the invested time.

Response Summary

  • We elaborate on throughput reduction coming from unoptimized HBM data movements and mention potential optimizations.
  • We clarify the latent reasoning framing and we will apply this clarification to the paper.
  • We point to our accuracy gains beyond mathematics and reasoning.

Throughput Analysis (Q1, W1)

Expert attention itself improves training throughput by up to ~1.6% due to its low-rank nature. Depth attention reduces training throughput by up to ~13%. The slowdown is primarily attributable to insufficiently hidden memory traffic between HBM and the on-chip cache hierarchy. We expect that fused kernels could improve the I/O-compute-overlap and L2 caching. Depth-wise SWA and other techniques (line 332) could further reduce the strain on HBM-to-SRAM bandwidth. Lines 183ff also mention the possibility to parallelize DA with SA and/or EA to gain 15%-30% speedup, but currently with overly large accuracy drop.

Latent Reasoning Framing (W2)

We agree that our experiments do not mechanistically establish which internal computations constitute reasoning. In this work, we use latent reasoning to denote iterative computation in latent states without generating intermediate textual reasoning traces. Dreamer is explicitly designed to enable and scale such computation through depth recurrence, and our experiments show that such recurrent latent computation improves reasoning-task performance under carefully matched resources. However, these behavioral results do not by themselves prove a particular internal reasoning mechanism. We will add this definition, distinguish the architectural motivation from mechanistic evidence, and moderate potential statements that could be interpreted as claiming mechanistic verification of latent reasoning.

Evaluation Scope (L2)

Our evaluation intentionally prioritizes reasoning benchmarks, though note that Section 4.2 and Table 4 already show consistent gains beyond that, as we test on full MMLU (broad knowledge), HellaSwag (natural language inference), TriviaQA (reading comprehension and Q&A), and PIQA (physical common sense). We acknowledge that coding and long-context remain untested.

Clarity

We will add a more comprehensive architecture diagram and more formal notation in Section 3.4 to improve clarity.

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

The paper introduces Dreamer (Depth-Recurrent Attention Mixtures), a modular neural network architecture that utilizes a single depth-recurrent layer to achieve continuous latent reasoning. The design directly addresses two fundamental bottlenecks inherent to scaling depth-recurrent models: the layer-size bottleneck (remedied by Expert Attention, a sparse Mixture-of-Experts approach formulated as attention over experts) and the hidden-size bottleneck (remedied by Depth Attention, which applies dot-product attention vertically across previous depth states). The authors evaluate Dreamer up to the ~2B parameter scale against modern dense/sparse Transformers using a rigorous resource-matching strategy that aligns parameter count, sequential FLOPs, and peak memory usage. Across several natural language reasoning and mathematics benchmarks, Dreamer demonstrates considerable data efficiency (requiring ~3× fewer training tokens) and outperforms baseline Transformers of twice its depth given the same data allocation.

Strengths and weaknesses

Strengths

  • Originality and Unified Formulation: The paper introduces a highly creative mechanism by substituting traditional MoE routing with low-rank, depth-position-encoded Expert Attention. This architecture neatly unifies knowledge routing across sequences, depths, and parameters under a single mathematical attention framework.
  • High Data Efficiency: The model demonstrates remarkable data efficiency, outperforming baseline Transformers of twice its depth while requiring approximately 3× fewer training tokens on the allocated data.

Weaknesses

  • Inference Overhead: Despite maintaining strict FLOP-parity during training, the sequential dependencies introduced by Depth Attention cause a ∼13%\sim 13\% empirical inference slowdown due to unoptimized memory movements.
  • Unproven Long-Run Scalability: While evaluation up to the ~2B parameter scale is solid for a research environment, it remains unverified whether the tight attention mixtures will scale stably over larger parameter ranges or during longer pre-training runs where MoE balancing typically degrades.
Questions
  • Inference Optimization and Hardware Profiling: You note a ∼13%\sim 13\% inference slowdown due to memory movements in your unoptimized Depth Attention (DA) implementation. Given that the DA cache is independent of sequence length and can be overwritten per token, could this overhead be largely mitigated using fused Triton kernels or block-sparse layouts? What specific hardware-level memory bottleneck (e.g., SRAM-to-HBM I/O) is dominant here?
  • Dynamic Depth Generalization: You deliberately focused on fixed-depth DR to maintain airtight FLOP matching. However, one of the classical promises of depth recurrence is the capacity to scale test-time compute dynamically (e.g., executing more recurrent steps for harder problems). If you change the number of iterations at inference time, how severely does performance degrade due to out-of-distribution depth encodings? Have you experimented with interpolation strategies for the half-reversed RoPE?
  • Linear MoE Projections: You mention replacing classical attention projections with linear MoEs using separate expert weights (W1,…,WEW_1, \dots, W_E) to resolve residual scale incompatibilities. Could you clarify if this substitution introduces structural vulnerability during long-context training, or if the routing function scales efficiently when handling very long sequence contexts?
Limitations

yes

Final justification

I decide to raise my rating given the rebuttal and other reviews

Formatting concerns

none

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewer's valuable feedback and the invested time.

Response Summary

  • We elaborate on inference efficiency and throughput reduction coming from unoptimized HBM data movements, and we mention potential optimizations.
  • We provide additional results that show sustained training stability for ~3B parameters on 100k training steps.
  • We elaborate on dynamic depth and long-context as future work.

Inference Efficiency (Q1, W1)

The reported slowdown of 13% from depth attention is primarily attributable to insufficiently hidden memory traffic between HBM and the on-chip cache hierarchy. We expect that fused kernels could improve the I/O-compute-overlap and L2 caching. Depth-wise SWA and other techniques (line 332) could further reduce the strain on HBM bandwidth. Lines 183ff also mention the possibility to parallelize DA with SA and/or EA to gain 15%-30% speedup, but currently with overly large accuracy drop.

We will also add measurements and plots of inference compute and memory usage for various context lengths, in total and per component (SA, DA, EA). The following shows results for depth 16. Peak memory includes parameters, activations, and kv-cache.

FLOPs/token (B):

context length Transformer Dreamer SA DA EA
1024 0.939 0.941 0.273 0.021 0.384
16384 1.951 1.954 1.286 0.021 0.384
131072 9.512 9.514 8.846 0.021 0.384
1048576 69.993 69.996 69.328 0.021 0.384

Peak memory (GB):

context length Transformer Dreamer SA DA EA
1024 2.452 2.461 0.281 0.018 1.584
16384 3.585 3.585 1.405 0.018 1.584
131072 12.040 12.041 9.861 0.018 1.584
1048576 79.688 79.689 77.507 0.018 1.584

Long-Run MoE Balancing (W2)

Just to stress-test training stability (not optimized for resource-matched accuracy), we ran an additional experiment for 100k training steps, with increased depth 48, ~3B total parameters, 8 out of 1585 experts active, and otherwise same hyperparameters. Despite the large expert count and sparsity, we observed stable training dynamics and a global Gini score of ~0.05, indicating reliable MoE balancing. We will include this result, further details, and a plot of the balancing dynamics in the appendix.

Dynamic Depth (Q2)

Dynamic depth is an interesting direction, but it requires explicit training (even with RoPE interpolation like YaRN) and is outside the scope of this work, whose goal was fairly depth-matched comparisons (lines 215f and 319ff).

Linear MoE Projections (Q3)

The linear MoEs in attention projections extend expressivity by allowing dynamic projections with little overhead. They are a strict superset of classical projections (collapsing to one expert yields the classical case). The relative cost further decreases with context length as attention itself dominates. Hence we do not expect a structural vulnerability or efficiency issue specific to long sequences. That said, we acknowledge that long-context training and evaluation are important future work.

Reviewer tvJUOpenReview ↗
Rating
5/6
Confidence
4/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 depth-recurrent Transformer architectures for latent reasoning and test-time compute scaling. It addresses two main questions: how to fairly compare depth-recurrent models with standard Transformers, and how to best utilize depth recurrence. The authors argue that recurrence is most effective when it is strong. Specifically, when a single layer is reused. To overcome the limitations of naive recurrence, the proposed Dreamer architecture introduces several non-standard components, including depth attention, expert attention, and a projected MoE-style module. The empirical evaluation is thorough at the studied scale, with careful ablations and well-matched baselines in terms of parameters, memory, and FLOPs. Overall, the paper makes a compelling case that depth recurrence can be a viable alternative to increasing Transformer depth, particularly when the architecture is designed to preserve and reuse information across recurrent steps.

Strengths and weaknesses

Strengths

  • The paper addresses an important and timely question: whether models can improve reasoning through internal recurrent computation, rather than relying solely on longer explicit reasoning traces or deeper Transformer stacks. The framing is strong, with two clear and meaningful questions: how to fairly compare depth-recurrent models to standard Transformers, and how to design recurrence that is actually effective.
  • A major strength is the effort to match baselines in terms of FLOPs, memory, and parameter count. Comparisons between recurrent and non-recurrent models can otherwise be misleading. Table 1 is especially helpful in this regard.
  • The ablations are also strong. Paper systematically examines which components matter. The results on depth attention are especially interesting: it becomes more beneficial at larger recurrent depths, with clear gains at depth 32. In my opinion, this supports the broader claim that recurrence benefits from mechanisms that enable access to previous latent states, rather than compressing all intermediate computation into a single vector.
  • The architectural direction is original. Combining sequence attention, depth attention, and expert attention within a depth-recurrent framework is a nontrivial design. Overall, the work represents a meaningful step toward architectures that can allocate more computation internally, potentially enabling latent reasoning.

Weaknesses

  • Clarity

(a)The architecture is complex and includes several non-standard components (expert attention, depth attention, and a projection MoE). While each part is motivated, the overall model is difficult to reconstruct. The paper would benefit from a single comprehensive diagram illustrating how all components interact within one recurrent step. I would swap it for Figure 1 which is a bit confusing in my opinion.

(b) In Section 3.4 expert attention is described as “low-rank.” The meaning is difficult to infer from text alone. This section would be clearer with explicit equations. For example, by presenting the low-rank factorization (if applicable) and specifying matrix dimensions.

  • Experiments

(a) Experiments are conducted on relatively small models, making it unclear whether the conclusions extend to larger scales, longer contexts, or more demanding reasoning tasks. Given the focus on latent reasoning and test-time compute scaling, this limits how strongly the results can be extrapolated.

(b) The compute and memory analysis could also be extended. While Table 1 is useful, it would be informative to show how FLOPs and memory scale with context length. The distribution of memory costs may differ between Dreamer and standard Transformers (e.g., SA cache vs. DA cache), and clarifying these trade-offs would strengthen the practical implications.

(c) Finally, although depth recurrence is motivated as a mechanism for latent reasoning, the paper does not directly evaluate its effect on explicit reasoning behavior. For example, it would be interesting to examine whether stronger recurrence leads to shorter, less repetitive, or less loop-prone reasoning traces. While not essential, this would strengthen the connection to downstream reasoning performance.

Questions
  1. Can the authors improve clarity with a comprehensive architecture diagram and more formal notation in Section 3.4 (see weaknesses above)

  2. How do compute and memory scale with context length compared to standard Transformers?

  3. Does depth recurrence improve explicit reasoning behavior (e.g., producing shorter, less repetitive, or less loop-prone outputs)?

  4. How does depth recurrence behave at larger depths and scales? The results suggest that depth attention becomes beneficial at larger recurrent depths (depth 32). Does this trend continue or saturate at higher depths? More broadly, how do the authors expect the approach to scale to larger models? Is the single-layer recurrent design intended to remain optimal, or does scaling require additional non-shared layers? I understand that substantially larger-scale experiments may be difficult to run within the rebuttal timeframe, but even a brief discussion or partial evidence would be helpful.

Limitations

The authors discuss relevant limitations, but I think the limitations section should more explicitly address the uncertainty about whether the conclusions transfer to larger models, longer contexts, and harder reasoning settings.

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely appreciate the reviewer's valuable feedback and the invested time.

Response Summary

  • We provide compute and memory measurements for long contexts, showing that Dreamer is comparable to Transformers.
  • We will add a comprehensive architecture diagram and more formal notation in Section 3.4.
  • We briefly elaborate on scaling and interpretability.

Clarity (Q1, W1)

We will add a more comprehensive architecture diagram and more formal notation in Section 3.4, including explicit equations, low-rank factorization, and matrix dimensions.

Compute and Memory Analysis (Q2, W2b)

We will add measurements and plots of inference compute and memory usage for various context lengths, in total and per component (SA, DA, EA). The following shows results for depth 16. Peak memory includes parameters, activations, and kv-cache.

FLOPs/token (B):

context length Transformer Dreamer SA DA EA
1024 0.939 0.941 0.273 0.021 0.384
16384 1.951 1.954 1.286 0.021 0.384
131072 9.512 9.514 8.846 0.021 0.384
1048576 69.993 69.996 69.328 0.021 0.384

Peak memory (GB):

context length Transformer Dreamer SA DA EA
1024 2.452 2.461 0.281 0.018 1.584
16384 3.585 3.585 1.405 0.018 1.584
131072 12.040 12.041 9.861 0.018 1.584
1048576 79.688 79.689 77.507 0.018 1.584

In terms of complexity, for sequence length L, DA and EA require a total compute of O(L) and total memory of O(1) (see also lines 324ff) while SA requires a total compute of O(L^2) and total memory of O(L). Since SA is equal-shaped and strictly dominates for Dreamer and standard Transformer, at same depth the resource consumptions converge as context length increases.

Reasoning Analysis (Q3, W2c)

Faithfully analyzing reasoning behavior for latent reasoning models is interesting but nontrivial. We leave this to dedicated future work, using mechanistic interpretability tools. We will mention this explicitly in the limitations section.

Scaling (Q4, W2a)

We will extend our discussion section regarding scaling: Deeper models are more bottlenecked by small hidden size, analogous to how RNNs are bottlenecked by hidden size at long context lengths. Based on this, depth attention may continue to help at larger depths, but we cannot yet confirm this empirically. In terms of efficiency, flash attention on H100 with 2 heads x 128 elements x bfloat16 can exhibit near-constant latency up to ~10k context length (corresponding to depth for depth attention), indicating efficient scaling potential. Besides that, approximations via sliding-window or linear depth attention may be promising for further efficiency gains at scale.

Reviewer tvJU · CommentOpenReview ↗

I thank the authors for the rebuttal and particularly for additional analysis addressing Q2. I think this is a very interesting paper and will keep my positive score.

For the Q4, I was interested how do the authors see the scaling of such architecture from the current regime of 1-2B parameters to a considerably larger sizes, e.g. in the order of 100B. I would expect it to be challenging with 1 looped layer as one would need a huge amount of experts or a very big hidden size.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary

Thank you again for your thoughtful reviews and the constructive discussion. We summarize the main clarifications and revisions:

  • Efficiency and inference overhead (1qw6 W1/Q1; SXiY W1/Q1; tvJU W2b/Q2). The observed ~13% inference slowdown arises from our current, unoptimized Depth Attention implementation, which does not yet fully overlap compute and memory movement between HBM and the on-chip cache hierarchy. There are several straightforward optimization directions, including fused kernels, depth-wise sliding-window implementations, linear depth attention, and DA–SA/EA parallelization. In addition, our new measurements (tables below) show that Dreamer remains within 0.4% of the resource-matched Transformer in both compute and memory requirements across context lengths from 1K to 1M.
  • Framing of latent reasoning (1qw6 W2). We will refine the presentation to more clearly distinguish motivation from empirical claims. Specifically, we do not claim to establish a particular reasoning mechanism. Instead, we use latent reasoning to refer to iterative computation performed in latent states without generating intermediate textual traces, which Dreamer is explicitly designed to enable and scale.
  • Evaluation breadth (1qw6 L2; tvJU W2a). Beyond mathematical reasoning, Section 4.2 and Table 4 already include evaluations on MMLU, HellaSwag, TriviaQA, and PIQA, demonstrating consistent improvements across a broader set of capabilities. We will make this more explicit in the paper and note coding and long-context evaluation as future directions.
  • Long-run stability (SXiY W2). We performed an additional stress test with 100k training steps, depth 48, and 8 of 1585 experts active. Training remained stable throughout, while the MoE stayed well balanced (global Gini coefficient ≈0.05). We will include these results, together with a balancing plot and additional details, in the appendix.

We hope these clarifications address the main questions raised in the reviews, and we would be happy to provide any additional details during the discussion period.



Inference efficiency with depth 16 (peak memory includes parameters, activations, and KV cache):

FLOPs/token (B):

context length Transformer Dreamer SA DA EA
1024 0.939 0.941 0.273 0.021 0.384
16384 1.951 1.954 1.286 0.021 0.384
131072 9.512 9.514 8.846 0.021 0.384
1048576 69.993 69.996 69.328 0.021 0.384

Peak memory (GB):

context length Transformer Dreamer SA DA EA
1024 2.452 2.461 0.281 0.018 1.584
16384 3.585 3.585 1.405 0.018 1.584
131072 12.040 12.041 9.861 0.018 1.584
1048576 79.688 79.689 77.507 0.018 1.584

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

Missing a submission?

Loading the discussion…