Tree Training: Efficient LLM Training on Tree-Structured Trajectories
Jinghui Wang, Wang Shaojie, Can Tang, Yinghan Cui, Xuxing Chen, Xiaojiang Zhang, Chao Wang, Haotian Zhang
NeurIPS 2026
TL;DR. Tree Training eliminates redundant computation in multi-branch LLM training by serializing trajectory trees with DFS and computing each shared prefix exactly once, achieving up to 6.2× speedup.
Abstract. Whenever LLM training involves multiple outputs from the same input---agentic multi-turn trajectories, self-consistency reasoning, beam search distillation, or multi-rollout SFT/RL---the tokens form a tree-structured trajectory with shared prefixes. Existing pipelines linearize such data and treat each branch independently, causing substantial redundant computation that scales with the number of samples. We derive that averaging the loss over all branches is algebraically identical to a per-token weighted loss, reducing the problem to computing each token's log-probability exactly once. We propose DFS serialization of the tree, which visits every token exactly once, and adapt full-attention and SSM layers to ensure the resulting log-probabilities match independent per-branch computation exactly. For memory-constrained settings where the full tree exceeds GPU capacity, we propose Redundancy-Free Tree Partitioning, which achieves zero redundant computation with peak memory bounded by a single root-to-leaf path. Together, these contributions form Tree Training, achieving up to 6.2× end-to-end training speedup on dense and MoE models for both supervised fine-tuning and reinforcement learning.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper eliminates redundant prefix computation in training on tree-structured trajectories (multi-rollout SFT/RL, agentic multi-turn, self-consistency) via an algebraic identity, reaching up to 6.2× speedup. All reviewers agree the problem is timely and the formulation clean; the key virtues are that the method is exact rather than approximate, that it handles gradient-participating prefixes rather than prompt-only caching, and that it covers both hybrid architectures and the memory-constrained regime. The rebuttal addressed concerns convincingly especially for the lack of exact-equivalence claim and discussion about concurrent tree-packing systems. So I would recommend accept.
Final justification
My meta-review includes my updated justification. The method is exact rather than approximate. For camera-ready I ask the authors to move the noise-floor-calibrated gradient table into the main text and distinguish it explicitly from Fig. 7's cross-step drift check, add the Related Work comparison and sensitivity sweep at the rebuttal's level of specificity.
Read meta-review
Meta-review
The paper eliminates redundant prefix computation in training on tree-structured trajectories (multi-rollout SFT/RL, agentic multi-turn, self-consistency) via an algebraic identity, reaching up to 6.2× speedup. All reviewers agree the problem is timely and the formulation clean; the key virtues are that the method is exact rather than approximate, that it handles gradient-participating prefixes rather than prompt-only caching, and that it covers both hybrid architectures and the memory-constrained regime. The rebuttal addressed concerns convincingly especially for the lack of exact-equivalence claim and discussion about concurrent tree-packing systems. So I would recommend accept.
Final justification
My meta-review includes my updated justification. The method is exact rather than approximate. For camera-ready I ask the authors to move the noise-floor-calibrated gradient table into the main text and distinguish it explicitly from Fig. 7's cross-step drift check, add the Related Work comparison and sensitivity sweep at the rebuttal's level of specificity.
- Rating
- 3/6
- Confidence
- 1/5
- Quality
- 2/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
In this paper, the authors introduce Tree Training, an approach for reducing redundant computation when multiple LLM training trajectories share prefixes. Instead of independently processing every root-to-leaf trajectory, the method serializes the trajectory tree in depth-first order and computes each unique token once. It uses multiplicity-weighted token losses, a tree-aware attention mask, depth-based position IDs, and explicit recurrent-state and convolution-context routing for hybrid attention–SSM models.
Strengths and weaknesses
Strengths:
-
The paper studies an important and increasingly common systems problem. Agentic rollouts, multi-sample reasoning, and multi-rollout RL naturally contain substantial shared-prefix computation that conventional training pipelines fail to exploit.
-
The combination of loss aggregation and model-layer adaptations is technically meaningful. In particular, handling gradient-participating prefixes distinguishes the method from prompt-only prefix reuse.
Questions
The correctness evaluation is weaker than the exact-equivalence claim. The main experiment reports loss deviation below 1%, but equality of scalar losses does not establish equality of parameter gradients. Direct layer-wise or parameter-wise gradient comparisons should be reported for both attention-only and hybrid SSM models, across partitioning settings and in FP32 as well as BF16.
Limitations
see questions
Formatting concerns
None
1 comment
- Rating
- 4/6
- Confidence
- 2/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 accelerates agentic LLM training, which involves multiple turns that naturally form a prefix tree across rollouts. Existing approaches flatten each rollout to separate paths and execute backpropagation, but this results in duplicate storage and computation of the shared paths across rollouts. Tree Training introduces algorithmic solutions and implementations that allow mathematically correct backpropagation while maintaining the original tree structure, removing the need for duplicated computation and achieving a large speedup.
Strengths and weaknesses
The paper is well written with straightforward improvements to the existing algorithms and implementations. The implementation also provides exceptional speedup figures compared to the baseline implementations. However, the paper lacks end-to-end training evaluation demonstrating model performance gains using the proposed solution. I also have some questions about the conceptual novelty of the paper, and the stability of the implementation.
Questions
-
Novelty: Training on tree-structured dataflow has been quite thoroughly studied across different domains, and recently there have been several RL frameworks that actively incorporate such techniques for agentic training - https://www.scaledcognition.com/blog/prompt-trees#training-with-prompt-trees or https://github.com/areal-project/AReaL/tree/feat/dta, for example. Can you explain what the difference of Tree Training would be compared to these solutions?
-
Stability: RL training is known to suffer greatly from floating-point errors accumulated through kernel mismatch or reduction reordering. Fig 7 shows that the loss deviation is below 1%, but the difference would accumulate over time, or at a larger scale. I did check Appendix G.5 that the gradients are accumulated in FP32, but casting it to BF16 will drop the lower 16 bits of the significands nonetheless. This would mean that the contributions from child partitions with smaller gradients will be flushed to zero at the cut node. Can you provide an end-to-end training loss curve or accuracy measurements starting from a base model using an open dataset?
-
If you used Claude Code to generate your real-world trajectories, how do you deal with the auto-compaction feature of Claude Code? It will replace the history with a newly generated summary.
Limitations
The paper lacks end-to-end training evaluation demonstrating model performance gains using the proposed solution, with some questions regarding the conceptual novelty of the paper, and the stability of the implementation.
Final justification
The authors have adequately answered my concerns, and thus the score has been raised to 4.
Formatting concerns
None.
2 comments
Rebuttal
We thank the reviewer for the detailed questions.
Q1 (Novelty vs. prompt-trees / AReaL-DTA). We examined both systems in detail; they validate the problem's importance but occupy different design points, and neither subsumes our contributions.
AReaL-DTA (arXiv:2602.00482) is per-node processing: a DFS stack materializes one root-to-leaf path at a time, one forward per tree segment against the parent's cached KV, one backward per pop. This is exactly the "Per-Node Processing" execution model we benchmark in Appendix B — it is zero-redundancy but structurally slower than DFS packing (many small per-segment GEMMs under-utilize SMs and multiply kernel launches; Appendix B reports the per-step timing across tree workloads). Notably, AReaL-DTA rejects packed tree-mask execution (their "Sparse" baseline) on the grounds that large trees force "splitting into smaller subtrees..., which lowers effective prefix reuse and reintroduces duplicated prefix computation across subtrees" (their §2). Our Redundancy-Free Tree Partitioning resolves exactly this dilemma: differentiable partition boundaries give zero redundant computation with O(max-path) peak memory while retaining dense packed execution within each partition — we keep the throughput of packing in the regime where AReaL-DTA argues packing breaks down. AReaL-DTA also reports no parameter-gradient verification, evaluates only dense Qwen3, and does not address hybrid SSM architectures.
Prompt-trees (Scaled Cognition) shares our DFS-packing + depth-position-ID + block-sparse-mask design for the in-memory case, but by its own account its gradient equivalence holds only for leaf-only losses ("If the loss is only computed over leaf nodes..., the gradients... will be identical") — the trivial case, since every loss-bearing token then lies on exactly one path (g_t = 1). For the non-trivial all-token case it observes the mis-weighting phenomenon (a token shared by 20 branches "will only have 1/20th the weight") and suggests unspecified reweighting "can compensate," while expressing uncertainty about whether it does. Our Eq. 2–5 derives the unique correction (g_t/K) by exchanging the order of summation, establishing gradient-level equivalence exactly — which is what makes all-token training (Appendix D, +37% on Terminal Bench 2.0) safe rather than heuristic. The post also states the approach relies on transformer parallel encoding (no SSM/hybrid support) and offers no memory-constrained solution.
In short: prompt-trees = our packing special case restricted to leaf-only loss and in-memory trees; AReaL-DTA = the per-node alternative whose known weakness our Sec. 3.3 eliminates. Each lacks one of the two pillars our correctness claim rests on: prompt-trees has no derivation for the non-trivial loss regime; AReaL-DTA reports no parameter-gradient verification. We will add both to Related Work with this analysis.
Q2 (BF16 stability). You are right that entering a bf16 matmul re-rounds the relayed gradient; the float32 accumulator eliminates the inter-child accumulation error, which is the only error source our method adds on top of the baseline — the baseline performs the same in-kernel bf16 roundings. Two direct answers.
(1) We ran a new layer-wise parameter-gradient comparison (FP32 and BF16; no-partition, 4-subtree, and 7-subtree settings; attention-only and hybrid GDN models; gradients captured via float32 hooks under deterministic kernels), calibrated against the baseline's own shape-noise floor — the identical per-branch computation laid out as one padded batch (same math, different GEMM shapes). In FP32, Tree Training matches per-branch gradients to ≤9.2e-5 (attention-only) and ≤8.3e-5 (hybrid GDN) max relative error, the same magnitude as that floor (5.5e-5 / 2.5e-5); partitioned variants are ≤3.3e-5. Critically for your flush-to-zero concern: the per-layer breakdown shows the GDN and attention groups do not degrade as partitioning becomes more aggressive (7 subtrees: 3.1e-5 vs 4 subtrees: 3.2e-5, FP32) — a systematic flush of small child-partition contributions at cut nodes would produce exactly such degradation. In BF16 all deviations sit in the same band as the baseline's own BF16 shape floor, identifying bf16 non-associativity, not the method, as their source. (The full table is in our response to Reviewer nbDd; we will add it to the appendix.)
(2) Empirically, per-step loss deviation over 80+ iterations (Fig. 7) shows no drift, and the Terminal Bench 2.0 RL run (Appendix D, 28.8 vs 20.9 avg@4) is an end-to-end result.
Regarding an end-to-end run on open data: Fig. 7 (bottom-right) is exactly this experiment — a training loss curve from the base model on trajectories from SWE-smith (an open software-engineering task dataset) executed via the publicly available Claude Code scaffold (Sec. 4); Tree Training and the baseline track each other from step 0 with per-step deviation below 1% and no drift. Tree Training's input must preserve branch points, which open trajectory releases typically linearize away (a main-branch-only dataset has POR ≈ 0). Sample trajectory trees are included in the supplementary for inspection, and we commit to releasing the full SWE-smith × Claude Code trajectory-tree dataset (tree structure preserved) upon publication. If a fully-open-ingredient run would help, star trees can be constructed from any open prompt dataset by multi-sampling K responses per prompt (the GRPO data layout); we are happy to add such a run to the appendix.
Q3 (Claude Code auto-compaction). Compaction does not break the tree — it grows a new branch at a precisely-defined point. When Claude Code compacts, it replaces the conversation history with a generated summary but keeps the system prompt intact; the post-compaction sequence is [system prompt | summary | subsequent turns]. It therefore branches off the pre-compaction trajectory exactly at the end of the system prompt: the system prompt remains a shared prefix node, and the summary plus subsequent turns form a new subtree under it. Since the prefix tree is built from the actual token sequences fed to the model, correctness is unaffected by construction; the only effect is on POR — compaction moves points along the speedup curve of Fig. 8, never off the correctness guarantee. The degenerate limit also folds into the same formalism: trajectories sharing no tokens at all (e.g., heterogeneous multi-agent rollouts) form a forest, which is simply a tree rooted at the empty string ε — our implementation already treats it this way (tree construction returns a forest; each root is an independent top-level subtree), so POR degrades gracefully to 0 rather than hitting a special case. Our SWE-smith trajectories include compaction events; they are among the branch sources in the Low/Medium-overlap trees of Fig. 6.
Following up on Q1, we add three precision notes on AReaL-DTA (arXiv:2602.00482) that sharpen where the novelty boundary lies.
-
Citation. The quoted passage is from their §1 (p. 2), not §2; their §2.2 contains a paraphrase.
-
Granularity. "One forward per segment, one backward per pop" describes their vanilla Alg. 2; their optimized Alg. 3 runs one forward per leaf suffix with chunked backward. The precise statement is that AReaL-DTA belongs to the same sequential-traversal family as our Appendix B baseline — a sequence of small kernels over one active path at a time, versus one packed computation. It is also not strictly compute-once: it adds up to N_leaf FWD-NoGrad cache-anchor passes and recomputes local forwards during chunked backprop (their §3.2), whereas our partitioning computes each token exactly once, including the backward.
-
Their Sparse baseline is not our method. Their 1.52–1.70× advantage is over naive packing — forced tree splitting (effective compression drops 9.43×→7.47×), full activation recomputation, a FlexAttention mask. These are precisely the failure modes our differentiable partition boundaries and block-skipping FlashMask kernel remove; neither paper contains an optimized-vs-optimized head-to-head.
On novelty, the difference is one of kind, not degree: AReaL-DTA is an execution strategy defined in terms of transformer KV-cache semantics, evaluated on dense Qwen3 with no parameter-gradient verification. Our equivalence result (Eq. 4–5) is purely algebraic — independent of model architecture, it holds for tree trajectories produced by any model with per-token log-probabilities; the attention mask and SSM state routing are constructive instantiations, each verified to below the bfloat16 noise floor (§3.1–3.2, App. C). The two-pillar summary in our earlier response stands unchanged.
- 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 proposes Tree Training, a DFS-based training scheme that removes redundant computation in tree-structured LLM trajectories while preserving per-branch training equivalence.
Strengths and weaknesses
- The core idea is clean and practically relevant, especially for agentic/RL workloads. The popularity of GRPO also justifies the proposed approach even more in practice.
- The implementation burden will be heavier when it comes to larger-scale MoE with more parallelism strategy involved. It would be interesting to see such strategy land in existing open source systems.
Questions
-
What are the additional implementations needed for supporting tree training of Trillion-parameter MoE like Kimi 2.7 / Deepseek V4 Pro?
-
In larger scale, when there're multiple rollouts across devices and even training turns who share same prefix, is there any prefix-cache-aware routing implemented there?
Limitations
N/A
Formatting concerns
N/A
1 comment
Rebuttal
We thank the reviewer for the support and the forward-looking questions.
Trillion-parameter MoE (Kimi K2.7 / DeepSeek V4 Pro). We looked at both architectures concretely; the answer splits by their attention design, because the MoE part is not the hard part.
What transfers for free. Expert routing is per-token and order-independent, so the MoE FFN path — including K2.7's 384-expert layout and quantized expert weights — is unaffected by tree packing; the tree only changes which attention context each token sees, not how its FFN is computed. Parallelism composes as in Sec. 4.2 (all tree adaptations live within a rank's shard); at trillion scale the engineering items are carrying varlen/mask metadata along pipeline microbatches and setting the partition capacity C per-rank from the activation budget (deeper PP simply lowers C).
Kimi K2.7 (MLA + standard causal attention). MLA compresses KV into a per-token latent, but attention scores are still computed per query–key pair, so the tree attention mask applies unchanged; the decoupled RoPE component consumes our depth-based position IDs like any RoPE. The partition gateway actually gets cheaper: the cut-node state is the compressed latent rather than full per-head K/V. MTP-style auxiliary heads need the same branch-point label handling we already do for the primary head. Net: no new machinery beyond what the paper describes.
DeepSeek V4 Pro (hybrid CSA/HCA sparse attention). This is where genuine new work lives, and it is a sharper version of the contract in Sec. 3.2: "each token sees exactly the context it would see in a per-branch forward." V4's sparse path selects its attended set dynamically (a lightweight indexer scoring candidate tokens) and compresses KV along the sequence dimension. Both operations must be made ancestor-consistent: (i) the indexer's candidate pool must be restricted to the query's ancestor set — i.e., the tree mask must be applied inside the selector, not only at score time, otherwise the top-k selection in the packed tree could differ from the per-branch run even when the final scores are masked; (ii) sequence-dimension KV compression must not mix tokens across sibling branches — compression states must be routed by parent, exactly analogous to our SSM chunk-state routing (Sec. 3.2), which is the same "sequential-adjacency ≠ tree-adjacency" problem in a different operator. Neither item changes the loss algebra (Eq. 4) or the partitioning scheme; they add two enforcement points for the same invariant. We validated on a Qwen3-30B-A3B-class MoE and will add this architecture-specific analysis to the discussion.
Prefix-cache-aware routing across devices. Currently trees are constructed per collected trajectory batch and whole trees are assigned to DP ranks via bin-packing — dedup happens within a tree, not across devices or training turns. Cross-device (and cross-step, for prefixes recurring across turns) prefix-aware scheduling is a natural extension we are actively considering; we will add it to the discussion. Thank you for the pointer.
- 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 proposes Tree Training, an efficiency method for training LLMs on tree-structured trajectories with shared prefixes, such as multi-rollout RL/SFT, self-consistency traces, beam-search distillation, and agentic multi-turn rollouts. The key observation is that averaging losses over root-to-leaf branches is algebraically equivalent to a weighted per-token loss over the unique tokens in the tree, where each token is weighted by the number of paths that include it. The paper then proposes a DFS serialization scheme, tree-aware attention masks, depth-based position IDs, and SSM state/convolution routing so that each token's log-probability matches the result of independent per-branch computation while being computed only once.
Strengths and weaknesses
Strength
-
The motivation is very clear and practically important. Many modern LLM training settings naturally produce multiple trajectories with shared prefixes, but current pipelines often recompute the same prefix tokens again and again. The paper identifies this inefficiency cleanly and frames the problem in a way that feels immediately useful.
-
The core idea is simple, but the implementation is carefully thought through. The weighted per-token loss derivation is easy to follow, and the paper does a good job handling the nontrivial details needed for correctness: tree attention masks, depth-based position IDs, SSM state routing, and causal convolution state.
-
The empirical speedups are compelling. The reported 6.2x-6.3x end-to-end speedups on large dense and MoE models are substantial, and the loss/gradient checks across Qwen and Llama-style models make the efficiency claims more credible. Weakness
Weakness
-
The evaluation is still tied to a specific systems setup. Most evidence comes from Qwen-family models, Megatron-Core, Hopper GPUs, and particular agentic rollout data. I would like to see how much of the gain carries over to other frameworks, hardware, and tree shapes.
-
The method is fairly complex to implement correctly. The high-level algebra is simple, but the actual system requires careful attention masking, state routing, partition gateways, and gradient handling. More public code or a stronger comparison to existing prefix-sharing systems would make the contribution easier to trust and adopt.
Questions
- What is the engineering overhead required to support a new architecture? For example, how difficult would it be to adapt Tree Training to architectures with sliding-window attention, recurrent memory, or looped transformers?
- How sensitive are the speedups to tree shape, node length distribution, batch size, and partition capacity? A more detailed breakdown beyond POR would help practitioners estimate expected gains.
Limitations
See weakness and question
Formatting concerns
The text font in paper is too small
2 comments
Rebuttal
We agree the risk surface is real, and our answer is structured accordingly.
The complexity is bounded by one invariant. Every adaptation — mask, position IDs, SSM routing, gateways — enforces the same contract: "each token sees exactly the context it would see in a standalone per-branch forward." This is what makes correctness checkable: the contract is testable per-layer-type against per-branch execution, which is exactly what our gradient-verification harness does.
The code is largely already available. The supplementary contains the
complete, runnable reference implementation of every component named in the
concern — DFS serialization and tree attention mask (dfs_tree_forward.py),
tree-aware GDN state and conv-context routing (tree_dfs_ssm.py),
redundancy-free partitioning with differentiable gateways and gradient
chaining (tree_grad_hybrid.py, tree_grad_hybrid_ssm.py), and the
gradient-verification harness (verify_hybrid.py, verify_hybrid_ssm.py)
with reproduction commands in its README. Only the Megatron production
integration is not included. We commit to releasing this reference
implementation and verification harness publicly upon publication, together
with the full SWE-smith × Claude Code trajectory-tree dataset (tree structure
preserved).
Stronger comparison to existing prefix-sharing systems. Agreed — our response to Reviewer x2U1 (Q1) now contains a detailed comparison against AReaL-DTA (per-node processing; the execution model we benchmark in Appendix B) and prompt-trees (packing restricted to leaf-only losses, no memory-constrained regime), which we will fold into Related Work.
Q1: Engineering overhead for new architectures.
The contract above is also the adaptation recipe; for the three architectures
you name: Sliding-window attention — intersect the tree mask with the
window over ancestor positions; the FlashMask start/end-bound encoding
already expresses this, so no new machinery. Recurrent memory — this is the
case our Sec. 3.2 already solves in its hardest form: any layer carrying
sequential state needs that state routed by tree parent rather than sequence
predecessor, and GDN (recurrent state + causal-conv context, two coupled
states) is the harder instance of this pattern; the complete adaptation is
the single self-contained module tree_dfs_ssm.py in the supplementary,
which doubles as a template for other recurrent designs. Looped
transformers — these iterate the whole stack and are genuinely future work
(Sec. 5).
Q2: Sensitivity beyond POR (new experiment).
We ran a controlled sweep on Qwen3-4B (bf16, single GPU, reference implementation; setup as in W1) covering all four axes you list:
- Tree shape / POR. Across response lengths R ∈ {64..512} and branch counts K ∈ {2..16}, realized speedup tracks 1/(1−POR) monotonically: 4.20× at POR=82%, 3.35× at 78%, 2.35× at 70%, 1.50× at 58%.
- Batch size. The K axis doubles as the batch-size axis (the baseline processes the K branches as one [K, P+R] batch): batch size has no effect beyond its contribution to POR.
- Node-length distribution. Splitting the same 1024-token prefix into nodes of 64–1024 tokens changes speedup by <1% (2.35×–2.36×) — the tree mask depends on ancestor sets, not node granularity.
- Partition capacity C. Forcing a 3K-token tree into 1/3/5/7/8 partitions reduces speedup smoothly (2.35× → 0.73×), no cliff; the per-partition overhead (gateway construction + separate forward launches) amortizes with partition size, which is why the production runs of Sec. 4.3 — partitions of tens of thousands of tokens — stay >95% of the bound.
Practitioner's rule of thumb: estimate POR from the trajectory batch, take 1/(1−POR) as the ceiling, and discount by partition count only when trees must be split into small partitions relative to C. We will add the sweep as an appendix table.
Formatting. Thank you — we will restore the figure/table font sizes to the template default in the revision.
Thanks for clarification. I will maintain my score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for the careful reading. The central concern — that we compare only scalar losses — appears to stem from the main text underemphasizing results already in the appendices; we will fix this presentation issue and, per your request, have extended those results to a full layer-wise breakdown.
Parameter-gradient comparisons are already in the paper. Appendix C reports the maximum relative difference over all parameter gradients (not losses) between Tree Training and the independent per-branch baseline on Llama-3.2-3B: 9.5e-5 with no partitioning and 1.6e-4 under moderate/aggressive partitioning. Appendix F applies the same three-way gradient check (per-branch / DFS tree / partitioned tree) to both an attention-only model and a hybrid GDN model — the two architecture classes you ask about.
New layer-wise results (FP32 + BF16 × three partition settings × both architectures). Setup: gradients captured per-parameter via float32 hooks; deterministic kernels (CUBLAS workspace config, deterministic algorithms, TF32 off). A = independent per-branch forwards. We calibrate against two baseline-vs-itself noise floors: the reorder floor (A with branch order reversed — pure accumulation-order noise) and the shape floor (the identical baseline computed as one padded batch instead of independent forwards — same math, different GEMM shapes; the fair floor for any packed method). Cells are max relative gradient difference over all parameters in the group.
Hybrid GDN model (18/24 GDN layers), FP32:
Attention-only model (Qwen3-4B), FP32:
BF16, same protocol (overall max-rel): shape floor 6.5e-2 / 4.2e-1 (hybrid / attention-only); Tree Training 1.4e-1 / 5.1e-1; partitioned 1.4e-1–1.5e-1 / 2.5e-1–3.3e-1 — all within the same band as the baseline's own shape floor.
Three observations: (1) in FP32, Tree Training and all partitioned variants sit at the baseline's own shape-floor magnitude (~1e-5–1e-4, i.e., GEMM reduction-order noise), with no systematic offset — the method introduces no error beyond what re-laying-out the baseline's own GEMMs already introduces; (2) the BF16 deviations match the baseline's own BF16 shape floor, identifying bf16 non-associativity — not the method — as their source; (3) no layer group, in particular neither GDN nor attention, degrades as partitioning becomes more aggressive.
The loss-deviation curve in Fig. 7 serves a different purpose — showing no accumulation of error across training steps; per-step gradient equivalence is established by the parameter-level checks above. We will move a summary table into the main text and state this division explicitly.
Given that the requested evidence (parameter-wise and layer-wise, both architectures, three partition settings, FP32 and BF16, with matched noise floors) is now fully provided, we hope the reviewer will consider raising the score.