betaFeedback

WorksComputer Science

Learning to Couple: Context-Adaptive Joint Denoising for Diffusion Language Models

Abstract

Diffusion language models accelerate generation by predicting multiple tokens in parallel, but factorized denoisers treat simultaneous predictions as conditionally independent. Decoding heuristics reduce the resulting errors by controlling which tokens are committed, but leave the underlying distribution factorized. Joint modeling addresses the source of the problem, yet existing methods attach separately learned layers to frozen denoisers, leaving the backbone unadapted to the joint objective and the coupling parameters fixed across contexts. We propose Codpula, a context-parameterized denoiser combining a Transformer with a tractable probabilistic inference layer. Given a partially masked input, the Transformer produces token potentials that shape per-position predictions and compact gates that modulate the layer's coupling parameters, yielding a context-dependent joint distribution while retaining exact conditional inference. We jointly optimize both components under a conditional denoising objective using a dual-flow multiplicative update that preserves valid probabilistic parameters. At inference, Codpula supports standard heuristics and uses conditional queries to adapt commitments to dependencies among proposed tokens without extra Transformer evaluations within a step. Codpula sets new state-of-the-art results across a broad suite of reasoning benchmarks while advancing the accuracy-latency Pareto frontier in mathematical reasoning and code generation.

Introduction

Masked diffusion language models can accelerate generation by predicting multiple tokens in parallel, reducing the number of denoising steps. However, standard denoisers factorize their predictions across positions [3, 34, 31]. Even under a shared context, these predictions remain conditionally independent, preventing the model from expressing dependencies among tokens predicted together. These missing dependencies become increasingly consequential as more tokens are committed at once [26]. A parallel denoiser must therefore predict both what each token could be and how its predictions depend on one another.

Many approaches address the factorization barrier during decoding by varying commitments, prioritizing confident predictions, or revising earlier tokens [1, 41, 5, 49, 16]. These methods improve the quality–computation trade-off while retaining a factorized denoiser. Joint modeling instead captures dependencies among simultaneous predictions [21] (Kim & Sung 2026). Existing models, however, typically attach a separately trained joint layer to a frozen backbone. This layer produces context-dependent probabilities, but its dependency parameters remain fixed across inputs and the backbone is not optimized through the joint distribution.

We propose Codpula, a jointly learned, context-parameterized denoiser that adapts both token predictions and their coupling to the current context. From the backbone representation, Codpula derives token scores that adjust per-position predictions and a compact set of gates that reweight shared coupling parameters. The resulting joint distribution can favor different combinations of token values depending on the context, as illustrated in Figure 1 (left): Codpula assigns high probability to different combinations of sort direction and index for different requested operations. Training through this distribution teaches the backbone to produce token preferences and coupling signals that together explain the clean completion. To support this training, we derive a dual-flow update that accommodates the signed learning statistics introduced by conditional normalization while preserving valid probabilistic parameters.

Figure 1. Factorized versus context-dependent joint prediction. Left: Given a masked return statement, a factorized denoiser predicts the sorting flag and index independently, assigning equal probability to all four completions regardless of the comment. Middle: Codpula assigns context-dependent joint probabilities, placing its mass on the completions consistent with each comment. Right: Codpula improves accuracy–latency trade-offs, achieving 2.95× and 4.02× speedups at matched accuracy on AIME24 (LLaDA-2.0; Bie et al. [6]) and MBPP (Dream; Ye et al. [44]).

Beyond modeling which token values belong together, the learned joint distribution informs which proposals to commit together. Codpula supports the token-selection heuristics used by existing block and full-sequence decoders and provides conditional queries for dependence-adaptive decoding. These queries measure how each proposal’s probability changes when the other candidates are assigned their proposed values. The decoder defers sensitive proposals, adapting the number of commitments to their dependencies. All queries reuse the token potentials and gates from the same Transformer forward pass, requiring no additional backbone evaluation within the step.

We evaluate Codpula on mathematical reasoning and code generation across four modern diffusion language models against a comprehensive suite of state-of-the-art baselines. The results show improved accuracy across a range of parallel decoding budgets and improved accuracy-latency trade-offs after accounting for inference overhead. Figure 1 (Right) highlights that Codpula achieves comparable accuracy with 2.95× faster generation on AIME24 using LLaDA-2.0 and 4.02× faster generation on MBPP using Dream.

Preliminary

Diffusion Language Models

Diffusion language models (dLLMs) learn to generate text from partially masked input by iteratively reconstructing masked portions of an input sequence (Austin et al. [3]; Sahoo et al. [34]; Shi et al. [36]). Let x0=(x00,…,x0L)∈VLx_0 = (x_0^0,\ldots,x_0^L) \in\mathcal{V}^L denote a clean sequence, where V\mathcal{V} is a vocabulary. At timestep tt, each token is independently masked with probability αt\alpha_t, yielding a partially masked sequence xt=(xt0,…,xtL)x_t = (x_t^0,\ldots,x_t^L). Given the partially masked sequence xtx_t, a neural denoiser parameterized by φ\varphi predicts the original clean sequence x0x_0 using a factorized conditional distribution

pφ(x0∣xt)=∏i=1Lpφ(x0i∣xt).(1)p_\varphi(x_0 \mid x_t) = \prod_{i=1}^{L} p_\varphi(x_0^i \mid x_t). \tag*{(1)}

Under this factorization, the denoising objective evaluates reconstruction only at masked positions, leaving the observed tokens unchanged. To construct a training example, we sample a clean sequence x0∼pdatax_0 \sim p_{\mathrm{data}} and a timestep tt, then obtain xtx_t by independently masking each token in x0x_0 with probability αt∈(0,1]\alpha_t \in(0,1]. The model is trained by maximizing the weighted denoising objective

L(φ)=Et,x0,xt[w(t)log⁡pφ(x0∣xt)],(2)\mathcal{L}(\varphi) = \mathbb{E}_{t,x_0,x_t}\left[w(t)\log p_\varphi(x_0|x_t)\right], \tag*{(2)}

where x0∼pdatax_0 \sim p_{\mathrm{data}}, and w(t)w(t) is a weighting function [34, 36].

At inference, generation starts from a fully masked sequence and progressively reveals tokens as tt decreases. With enough denoising steps, the model can reveal one token at a time, allowing every prediction to condition on all earlier ones. In this sequential limit, Equation (1) represents the desired target distribution since only one token is predicted at each step. In practice, however, fast generation requires revealing multiple tokens per denoising step. Equation (1) treats these tokens as conditionally independent, even though they may remain strongly dependent given the observed context. The model is thus asked to predict a joint completion using a product of token-wise distributions, which can produce inconsistent outputs [42]. Even perfectly learned token marginals cannot generally recover a dependent conditional joint distribution through their product, so increasing backbone capacity alone does not remove this representational constraint [26, 15]. Revealing fewer tokens per step can reduce the resulting dependence error, but requires more backbone evaluations [5]. We refer to this tension between parallel generation and factorized prediction as the factorization barrier [21].

Parallel Denoising is Conditional Joint Prediction

Two broad approaches address the factorization barrier. The first retains the factorized outputs and compensates at inference. Heuristic-based decoding ranks positions by confidence, entropy, or margin [7, 44, 19]; adaptive parallel decoding adjusts the number of tokens committed per step [16]; remasking enables revision of previously generated tokens [40]. However, tokenwise scores do not explicitly measure dependencies among jointly proposed tokens [41], while iterative refinement can trade additional model evaluations for improved sample quality [49, 40].

The second approach confronts the barrier directly by modeling the conditional joint distribution of tokens predicted in parallel. Coupled Discrete Diffusion (CoDD) [21] and tensor-train joint modeling (Kim & Sung, 2026) use structured joint parameterizations to capture token dependencies while supporting efficient inference. Both approaches combine neural token potentials with a coupling model for simultaneous predictions. Their joint distributions can be expressed as

pφ,ω(x0∣xt)=1Z(xt)⋅pω(x0∣xt)⋅∏i=1Lpφ(x0i∣xt).(3)p_{\varphi,\omega}(x_0|x_t) = \frac{1}{Z(x_t)} \cdot p_\omega(x_0|x_t) \cdot\prod_{i=1}^{L}p_\varphi(x_0^i|x_t). \tag*{(3)}

From Static to Context-Dependent Coupling

Equation (3) reveals a limitation of existing joint predictors. The dLLM’s tokenwise predictions pφ(x0i∣xt)p_\varphi(x_0^i \mid x_t) adapt to context, whereas coupling parameters ω\omega are fixed across inputs, mask patterns, and timesteps. A single coupling model must therefore capture dependencies in every denoising context, despite substantial variation in masked-token dependencies with the observed tokens.

The remedy is clear: token predictions and their dependencies must both adapt to the denoising context. We therefore propose the following context-dependent joint denoiser:

θt=fφ(xt),pφ,ω(x0∣xt):=p(x0;θt,ω),(4)\theta_t = f_\varphi(x_t), \qquad p_{\varphi,\omega}(x_0 \mid x_t) := p(x_0; \theta_t,\omega), \tag*{(4)}

where θt\theta_t contains both the tokenwise prediction parameters and the context-dependent coupling parameters, while ω\omega denotes the parameters intrinsic to the probabilistic model.

There are many ways to parameterize p(x0;θt,ω)p(x_0;\theta_t,\omega), but the distribution must remain efficiently normalizable when θt\theta_t changes with xtx_t. To make this requirement explicit, we write

p(x0;θt,ω)=p~(x0;θt,ω)Z(θt,ω),Z(θt,ω)=∑x0p~(x0;θt,ω),(5)p(x_0;\theta_t,\omega) = \frac{\widetilde{p}(x_0;\theta_t,\omega)}{Z(\theta_t,\omega)}, \qquad Z(\theta_t,\omega) = \sum_{x_0}\widetilde{p}(x_0;\theta_t,\omega), \tag*{(5)}

where p~\tilde{p} is an unnormalized joint probability. Because θt\theta_t changes at every denoising step, Z(θt,ω)Z(\theta_t,\omega) must be recomputed for each xtx_t and generally requires summing over exponentially many sequences. To overcome this challenge, we parameterize p~\tilde{p} using a probabilistic circuit (PC) [11], whose sum-product structure enables exact and efficient computation of Z(θt,ω)Z(\theta_t,\omega) for dynamically generated θt\theta_t. We next review background on PCs that make this computation tractable.

Probabilistic Circuits. A probabilistic circuit (PC) represents a joint distribution through a rooted directed acyclic graph of input, sum, and product nodes [11, 33]. Input nodes define univariate distributions over variables X∈XX \in\mathcal{X}. Sum and product nodes recursively combine these distributions into a joint distribution over X\mathcal{X}. Formally, each node computes

pn(x)={gn(x),n is an input node over X∈X,∏c∈ch⁡(n)pc(x),n is a product node,∑c∈ch⁡(n)ωn,c⋅pc(x),n is a sum node,(6)p_n(\boldsymbol{x}) = \begin{cases} g_n(\boldsymbol{x}), & n\text{ is an input node over }X \in\mathcal{X},\\ \prod_{c\in\operatorname{ch}(n)}p_c(\boldsymbol{x}), & n\text{ is a product node},\\ \sum_{c\in\operatorname{ch}(n)}\omega_{n,c}\cdot p_c(\boldsymbol{x}), & n\text{ is a sum node}, \end{cases} \tag*{(6)}

where ch⁡(n)\operatorname{ch}(n) denotes the children of nn, gng_n is a univariate distribution over X∈XX \in\mathcal{X}, and the nonnegative sum node parameters {ωn,c}n,c\{\omega_{n,c}\}_{n,c} satisfy ∑c∈ch⁡(n)ωn,c=1\sum_{c\in\operatorname{ch}(n)}\omega_{n,c}=1 (∀\forall sum node nn). The key advantage of PCs is their ability to compute many probabilistic queries exactly and efficiently [39]. This tractability makes them particularly well suited to our setting: when p~(x0;θt,ω)\tilde{p}(x_0;\theta_t,\omega) is represented by a PC satisfying suitable structural requirements, the normalization constant (ZZ) in Equation (5) can be computed exactly in a single bottom-up pass.3

We next turn to training this hybrid denoiser. Applying the standard diffusion-ELBO derivation [34, 36] in this setting yields the following generalized denoising objective (see Appendix § 14, which we maximize jointly over the neural and circuit parameters):

L(ω,φ)=Et,x0,xt[w(t)log⁡pφ,ω(x0∣xt)],(7)\mathcal{L}(\omega,\varphi)=\mathbb{E}_{t,x_0,x_t}\left[w(t)\log p_{\varphi,\omega}(x_0\mid x_t)\right], \tag*{(7)}

where t∼U(0,1)t\sim\mathcal{U}(0,1), x0∼pdatax_0\sim p_{\mathrm{data}}, xt∼qt(⋅∣x0)x_t\sim q_t(\cdot\mid x_0), and w(t)≥0w(t)\geq0 is the diffusion weighting function.

Although Equation (7) is differentiable end to end, its parameter blocks require different optimization treatments. The neural parameters (φ\varphi) can be updated using standard gradient-based optimizers. The circuit parameters (ω\omega), however, require expectation-maximization-style (EM-style) updates, whose constraint-preserving behavior relies on nonnegative log-parameter derivatives [32, 27]. While this condition holds for standalone PCs, the gradients induced by our objective can be signed, so the standard EM-style update does not apply directly. To make this issue precise, we first recall a general formulation that encompasses commonly used EM-style updates:

ωn,cnew∝ωn,c+α⋅Tφ,ω(n,c)⋅∂L(ω,φ)∂log⁡ωn,c,(8)\omega_{n,c}^{\mathrm{new}}\propto\omega_{n,c}+\alpha\cdot T_{\varphi,\omega}(n,c)\cdot\frac{\partial\mathcal{L}(\omega,\varphi)}{\partial\log\omega_{n,c}}, \tag*{(8)}

where α≥0\alpha\geq0 is the base learning rate, and Tφ,ω(n,c)T_{\varphi,\omega}(n,c) is an optional per-parameter step-size multiplier. Varying the batch, α\alpha, and Tφ,ωT_{\varphi,\omega} recover full-batch EM, mini-batch EM, and Anemone [27] as special cases (Appendix § 15.§ 2 gives the correspondence). For standalone PCs, the derivatives in Equation (8) are nonnegative, so the normalized update preserves nonnegative weights.

Differentiating the normalized model in Equation (5) reveals why Equation (8) does not apply directly. For directly parameterized sum weights, holding the neural outputs and circuit inputs fixed, let Fx+(n,c):=∂log⁡p~(x0;θt,ω)/∂log⁡ωn,cF_x^+(n,c):=\partial\log\tilde{p}(x_0;\theta_t,\omega)/\partial\log\omega_{n,c} and Fx−(n,c):=∂log⁡Z(θt,ω)/∂log⁡ωn,cF_x^-(n,c):=\partial\log Z(\theta_t,\omega)/\partial\log\omega_{n,c}. Then

∂log⁡pφ,ω(x0∣xt)∂log⁡ωn,c=Fx+(n,c)−Fx−(n,c).\frac{\partial\log p_{\varphi,\omega}(x_0\mid x_t)}{\partial\log\omega_{n,c}}=F_x^+(n,c)-F_x^-(n,c).

By construction, both Fx+(n,c)F_x^+(n,c) and Fx−(n,c)F_x^-(n,c) are nonnegative because the circuit computes p~\tilde{p} and ZZ using only additions and multiplications of nonnegative values; their derivatives with respect to log⁡ωn,c\log\omega_{n,c} are therefore nonnegative as well. Their difference, however, can be negative. Consequently, directly applying Equation (8) no longer guarantees nonnegative circuit weights. To address this problem, we propose a dual-flow multiplicative update that retains the two flows separately and replaces their subtraction with a ratio of positive terms:

ωn,cnew∝ωn,c⋅1+ηn,c⋅FB+(n,c)1+ηn,c⋅FB−(n,c)(9)\omega_{n,c}^{\mathrm{new}} \propto\omega_{n,c} \cdot\frac{1+\eta_{n,c}\cdot F_{\mathrm{B}}^{+}(n,c)}{1+\eta_{n,c}\cdot F_{\mathrm{B}}^{-}(n,c)} \tag*{(9)}

where ηn,c:=α⋅Tϕ,ω(n,c)/ωn,c\eta_{n,c}:=\alpha\cdot T_{\phi,\omega}(n,c)/\omega_{n,c} and FB±F_{\mathrm{B}}^{\pm} denote their minibatch averages. The following proposition establishes that the update preserves valid circuit parameters, recovers standard circuit learning in the standalone setting, and agrees locally with the signed-gradient update.

Proposition 3.1 (Properties of the dual-flow update). Fix an active sum node with normalized weights ωn,c>0\omega_{n,c}>0, flows FB±(n,c)≥0F_{\mathrm{B}}^{\pm}(n,c)\ge0, and scales 0<Tϕ,ω(n,c)<∞0<T_{\phi,\omega}(n,c)<\infty. (9) satisfies:

(i) For every α≥0\alpha\ge0, ωn,cnew>0\omega_{n,c}^{\mathrm{new}}>0 and ∑c∈ch⁡(n)ωn,cnew=1\sum_{c\in\operatorname{ch}(n)}\omega_{n,c}^{\mathrm{new}}=1 even when FB+(n,c)−FB−(n,c)<0F_{\mathrm{B}}^{+}(n,c)-F_{\mathrm{B}}^{-}(n,c)<0.

(ii) When applied to a standalone PC with normalized inputs and sum weights, the dual-flow update in (9) reduces to the standard EM update in (8).

(iii) Under (ii) and full batch BB, (9) recovers the full-batch EM update as α→∞\alpha\to\infty.

(iv) As α→0\alpha\to0, (9) agrees with (8) up to O(α2)O(\alpha^{2}).

The dual-flow update thus recovers standard circuit learning in the standalone setting and remains valid when conditional normalization introduces negative gradients. It also matches the normalized signed-gradient update to first order. Together with neural backpropagation, this enables joint training under the conditional denoising objective in (7). Appendix G provides the proof.

Instantiating a Context-Parameterized Joint Denoiser

Having established how to jointly train the neural and circuit parameters, we now specify how the neural network uses xtx_t to modulate the circuit in (4). A naive parameterization would require the network to output a distinct context-dependent value for every circuit parameter, causing its output dimension to scale with the size of the circuit. Instead, we retain the shared circuit parameters ω\omega and use θt=fφ(xt)\theta_t=f_{\varphi}(x_t) to modulate both parameterized node types: token potentials modulate the input-node distributions, while a compact set of gates reweight groups of sum-node parameters.

Learning Token Potentials

We first describe how neural token potentials modulate the circuit’s input distributions. Before modulation, each input node nn over variable XiX_i represents a categorical distribution πn\pi_n over the vocabulary V\mathcal{V}, where πn(v)\pi_n(v) is the probability assigned to token vv. These probabilities belong to the circuit parameters ω\omega. Given xtx_t, the neural network produces θt=fφ(xt)\theta_t=f_{\varphi}(x_t), whose token-potential component ψt\psi_t assigns a nonnegative value ψt,i(v)\psi_{t,i}(v) to each token vv for XiX_i. Recall that gng_n in (6) denotes the input distribution over XiX_i. We obtain its modulated form by normalizing the product of the PC input distribution and the neural potentials:

gn(v;θt,ω)=πn(v)ψt,i(v)∑v′∈Vπn(v′)ψt,i(v′)(10)g_n(v;\theta_t,\omega)=\frac{\pi_n(v)\psi_{t,i}(v)}{\sum_{v'\in\mathcal{V}}\pi_n(v')\psi_{t,i}(v')} \tag*{(10)}

Equation (10) locally normalizes the pointwise product πnψt,i\pi_n\psi_{t,i}, making gn(⋅;θt,ω)g_n(\cdot;\theta_t,\omega) a categorical distribution over XiX_i. All input nodes over XiX_i share the same potential vector ψt,i\psi_{t,i}, so the neural network produces one vector per position rather than per input node. Their distinct base distributions πn\pi_n allow these nodes to retain different token preferences. The local normalizer depends on both the neural potentials and circuit parameters, and is retained in likelihood evaluation and differentiation.

Normalizing (10) over the entire vocabulary for every input node would be computationally expensive, even though the top 1,024 candidate tokens retain more than 99% of the backbone’s predictive probability mass on average, as quantified in Figure 6 in the appendix. We therefore restrict computation to candidates favored by the backbone: at each position, we retain the top-kk logits, apply a softmax over the retained candidates, and set the remaining potentials to zero. After candidate selection, this reduces each input normalization from O(∣V∣)O(\lvert\mathcal{V}\rvert) to O(k)O(k). During training, we ensure that the clean token is retained so that truncation does not force its likelihood to zero.

Figure 6. Probability mass discarded by top-1,024 evidence truncation. Mean and maximum backbone probability mass outside the retained candidates across 46,080 positions on LLaDA-1.0, as a function of evidence temperature τ\tau. Shading spans the mean and maximum; the horizontal dashed line marks 1% mass. At the training temperature τ=1\tau= 1, the discarded mass averages 0.53% and reaches 13.2%. At the evaluated decoding temperatures τ≤0.3\tau\le0.3, the mean residual is numerically negligible, on the order of 10−810^{-8}.

Crucially, the local normalization in (10) fits directly into the dual-flow framework of Section 3. When πn\pi_n is learned as part of ω\omega, derivatives through both the numerator and local normalizer contribute to the positive and negative flows, respectively. The same dual-flow update can therefore optimize the input parameters together with the sum parameters. Appendix A.1 reports the choice of kk and the remaining optimization hyperparameters.

Learning Coupling Potentials

Next, we describe how neural gates can modulate the circuit’s sum weights. In practical PCs, sum parameters are typically arranged in matrices by grouping sum nodes that share the same children, and they determine how the circuit combines its child distributions [24, 32, 29]. Sum nodes sharing the same children define a row-normalized weight matrix W\mathbf{W}: rows index sum nodes and columns index child distributions. Its entries belong to ω\omega. We partition W\mathbf{W} into n×nn \times n parameter groups of width bb, each containing b×bb \times b weights. Given xtx_t, a compact neural head predicts one gate per group. Exponentiating these outputs yields Gt∈R>0n×n\mathbf{G}_t \in\mathbb{R}_{>0}^{n \times n}, with each scalar gate scaling its corresponding parameter group:

Wt=RowNorm⁡(W⊙(Gt⊗1b×b)),(11)\mathbf{W}_t = \operatorname{RowNorm}\left(\mathbf{W} \odot\left(\mathbf{G}_t \otimes\mathbf{1}_{b \times b}\right)\right), \tag*{(11)}

where ⊙\odot denotes elementwise multiplication, ⊗\otimes denotes the Kronecker product, 1b×b\mathbf{1}_{b \times b} is an all-ones matrix, and RowNorm normalizes each row. Zero log-gates recover W\mathbf{W}, while context-dependent gates adjust the relative mixture weights. Row normalization preserves valid mixtures, and the unchanged circuit structure preserves tractable marginalization and conditioning.

Together, (10) and (11) turn the PC into a context-parameterized denoiser. For each xtx_t, the backbone produces both token potentials that modulate the circuit’s input distributions and group-level gates Gt\mathbf{G}_t that reweight sum parameters. These neural outputs allow the same circuit to express context-dependent token preferences and dependencies through a compact modulation of its shared base parameters. The circuit structure remains fixed, preserving exact marginalization and conditional inference for each θt\theta_t. Figure 2 compares the resulting conditional likelihoods under block diffusion. Both variants of Codpula achieve substantially lower NLL than the base model at high masking rates, with the largest improvement when the current block is fully masked.

Figure 2. Block-diffusion NLL on Dream. Negative log-likelihood (nats/token) versus the fraction of masked tokens in the current block. Both Codpula variants substantially reduce NLL when most of the block is masked.

Decoding from a Learned Joint Denoiser

Decoding begins from a partially masked sequence. At each denoising step tt, the learned denoiser defines a tractable joint distribution over the current set of masked variables under consideration, conditioned on the visible tokens. The decoder uses this distribution to decide what to propose and may use its joint structure to decide where to decode, i.e., which proposals to commit. Committed values become visible, while the others remain masked for subsequent steps. We first describe how proposals are obtained from the joint distribution, then review standard rules for selecting where to commit, and finally introduce our dependency-aware commitment rule.

To obtain proposals, we use the current neural outputs θt\theta_t to modulate the circuit’s input distributions and sum weights as in (10) and (11). Before sampling, we control the sharpness of the neural token preferences by dividing the backbone logits by a temperature γ>0\gamma> 0 before normalization. Writing ψt,i\psi_{t,i} for the unscaled token potentials, the resulting input distribution is

qn(γ)(v;θt,ω)=πn(v)ψt,i(v)1/γ∑v′∈Vπn(v′)ψt,i(v′)1/γq_n^{(\gamma)}(v; \theta_t, \omega) = \frac{\pi_n(v) \psi_{t,i}(v)^{1/\gamma}}{\sum_{v' \in\mathcal{V}} \pi_n(v') \psi_{t,i}(v')^{1/\gamma}}

Temperature scaling thus acts on the neural potentials within each input distribution, retaining the learned categorical parameters πn\pi_n and the current modulated sum weights. We then condition the circuit on the visible tokens and jointly sample the masked variables under consideration.

Once token proposals have been sampled, the decoder decides which positions to commit. The joint denoiser supports standard confidence-, margin-, and entropy-based selection, as well as random selection [31, 44, 19]. Our dependency-aware decoder retains these rules for candidate selection, then uses the joint distribution to assess dependencies among the candidates before commitment. Beyond these tokenwise criteria, the learned joint distribution provides conditional queries for adapting which proposals are committed together.

We first form proposals for all masked tokens under consideration (e.g., those in the current block for block diffusion). For each such token ii, let x^−i\hat{x}^{-i} denote the proposals at all other positions under consideration. We measure how conditioning on them changes the log-probability of x^i\hat{x}^{i}:

δi=∣log⁡pφ,ω(x^i∣x^−i,xt)−log⁡pφ,ω(x^i∣xt)∣.(12)\delta_i = \left|\log p_{\varphi,\omega}\left(\hat{x}^{i} \mid\hat{x}^{-i}, x_t\right) - \log p_{\varphi,\omega}\left(\hat{x}^{i} \mid x_t\right)\right|. \tag*{(12)}

Here, δi\delta_i is the absolute conditional pointwise mutual information between proposal ii and the rest, where smaller values indicate weaker dependence. We commit tokens with δi<τ\delta_i < \tau (τ>0\tau> 0) and defer the rest, committing the lowest-scoring token if none qualify. Deferred tokens are reconsidered at the next step under the updated context. For mm tokens, all scores require one complete-assignment, mm singleton, and mm leave-one-out marginals. These queries share the visible-evidence normalizer, can be batched with the same neural outputs, and require no additional backbone evaluations. Algorithm 3 gives the block-decoding instantiation; Appendix § 13.§ 1 details the queries and overhead.

Experiments

We evaluate Codpula on mathematical reasoning and code generation using four modern dLLM backbones. We examine its accuracy across parallel-decoding budgets, its accuracy–latency trade-off under adaptive commitment, and the contributions of input and coupling modulation.

Models and training. Our experiments include LLaDA-1.0-8B-Instruct [31], LLaDA-2.0-mini [6], Dream-v0-Instruct-7B [44], and SDAR-8B-Chat-b16 [10]. For LLaDA models, we use two-stage training: we first train the PC with the backbone frozen, then update the backbone through LoRA adapters while keeping the PC fixed. For Dream and SDAR, we jointly optimize the PC and the backbone adapters. The two-stage schedule for LLaDA is motivated by the sensitivity to finetuning among this family.

Baselines. We use static decoding with the original instruction-tuned backbone as our reference and compare against both training-based and training-free baselines. CE-SFT trains LoRA adapters with masked token cross-entropy, whereas CoDD [21] couples the frozen backbone’s predictions with a separately trained PC. The training-free baselines include Dynamic Conf. [41], DUS [30], ReMDM [40], and Tolerator (Tian et al., 2025), all of which modify only the decoding procedure while keeping the backbone frozen. Appendix A provides supporting evidence for the LLaDA training schedule, full training and decoding configurations, and detailed descriptions of the decoding baselines.

Mathematical reasoning. We evaluate LLaDA-1.0, LLaDA-2.0, and Dream on MATH500 (Lightman et al., [23]) and GSM8K (Cobbe et al., [12]), using all 500 and 1,319 test problems, respectively. For LLaDA-2.0, we additionally evaluate on AIME 2024 and AIME 2025 (Art of Problem Solving), using combined AIME I and II in each year with chain-of-thought prompting. All mathematical reasoning evaluations are zero-shot and use the lm-evaluation-harness framework (Gao et al., [13]). We report final-answer accuracy, using mathematical equivalence checking for MATH500 and exact match after answer extraction for GSM8K. For AIME, we prioritize the final boxed answer during extraction and report exact-match accuracy after string normalization.

Code generation. For code generation, LLaDA-1.0 and Dream are evaluated on MBPP (Austin et al., [4]) and HumanEval (Chen et al., [8]), while SDAR is evaluated on the extended-test variants, MBPP+ and HumanEval+ (Liu et al., [28]). The extended test suites provide a more stringent assessment of the functional correctness of generated programs. All code-generation evaluations use zero-shot instruction-style prompts, with performance measured by pass@1. Dataset sizes are summarized in Appendix § 10.§ 2, with evaluation details provided in the same appendix.

Training through the joint model improves parallel prediction. On LLaDA-2.0 GSM8K (Table 1), CE-SFT nearly matches Codpula at two tokens per step but falls below the backbone at eight. Codpula improves over the backbone in both settings, by 11.1 and 21.2 percentage points, respectively. Thus, improvements from tokenwise fine-tuning do not necessarily translate to effective parallel prediction. The ablation in Table 16 supports training through the circuit: backbone adaptation adds gains over fitted circuit in seven of ten settings.

ModelMethodGSM8K (512) — 24816MATH500 (1024) — 24816
LLaDA 2.0Base70.368.636.72.465.655.628.21.4
LLaDA 2.0ReMDM71.066.639.02.463.256.824.41.4
LLaDA 2.0DUSN/AN/A60.38.5N/AN/A41.84.4
LLaDA 2.0Tolerator64.456.219.92.858.651.616.62.6
LLaDA 2.0CE-SFT80.769.219.91.170.056.613.82.0
LLaDA 2.0CoDD71.669.047.34.265.461.631.86.8
LLaDA 2.0Codpula81.475.357.912.772.262.841.012.0

Table 1. Parallel Decoding Performance (LLaDA 2.0). Accuracy (%) under low-confidence decoding as the number of tokens decoded per diffusion step increases. Parentheses after each benchmark denote the maximum generation length; column headers denote tokens decoded per step. Shaded indicates the best and underline indicates the second-best performance in each column.

ArmMBPPHumanEval
tokens/step24816322481632
Base41.325.710.13.90.033.525.011.63.72.4
CE-SFT (adapter only)41.628.012.84.30.034.222.011.67.31.8
Stage-1 circuit (no adapter)43.627.213.24.31.637.826.813.47.93.1
CoDD circuit (no adapter)43.229.29.72.30.834.825.012.87.93.7
Codpula (circuit + adapter)48.331.915.65.81.237.229.316.57.34.3
Δadapter\Delta_{\mathrm{adapter}}+4.7+4.7+2.3+1.6−0.4−0.6+2.4+3.1−0.6+1.2
Δcircuit\Delta_{\mathrm{circuit}}+0.4−2.0+3.5+2.0+0.8+3.1+1.8+0.60.0−0.6

Table 16. Circuit and Adapter Ablation on Coding Benchmarks (LLaDA-1.0-8B-Instruct). Accuracy (%) for five arms decoded on the same canvas, block grid, and rule; MBPP uses margin and HumanEval uses low-confidence decoding, with τ\tau swept per arm per budget. Stage-1 circuit is our stage-1 circuit decoded without the adapter; CoDD circuit is a circuit trained with CoDD’s External-additive objective, also without an adapter; Codpula is the chosen stage-1 circuit + stage-2 adapter checkpoint. The two difference rows isolate one component each: Δadapter\Delta_{\mathrm{adapter}} = Codpula − Stage-1 circuit holds the circuit fixed and measures what the adapter adds, while Δcircuit\Delta_{\mathrm{circuit}} = Stage-1 circuit − CoDD circuit holds the adapter absent and measures circuit quality alone. Shaded indicates the best and underline indicates the second-best arm in each column.

Context-dependent coupling provides additional, task-dependent gains. Input-only Codpula already improves over the backbone across multiple settings (Table 1 and Table 3). Sum modulation provides further gains, most clearly on Dream’s full-sequence HumanEval+ evaluation (Table 2): it improves the input-only variant at one to four tokens per step, including a setting where that variant falls below the backbone. These results indicate that adapting mixture weights can improve on token reweighting alone, with benefits that depend on the task and decoding regime.

ModelMethodHumanEval+ — 1248MBPP+ — 1248
SDARBase68.951.228.110.462.241.524.68.5
SDARReMDM65.250.628.714.058.243.723.36.6
SDARDUSN/AN/A37.812.2N/AN/A35.212.7
SDARCE-SFT64.652.432.911.061.942.623.06.6
SDARCoDD72.655.532.911.665.142.925.19.8
SDARCodpula72.659.836.017.167.755.634.418.5
SDARCodpula (Both)73.859.838.417.769.352.934.418.3
DreamBase39.634.126.824.448.146.038.931.2
DreamCE-SFT44.539.026.825.048.443.430.413.0
DreamCodpula33.534.832.931.753.451.645.235.7
DreamCodpula (Both)45.745.141.529.959.049.247.933.3

Table 2. Parallel Decoding Performance (SDAR & Dream). Accuracy (%) on HumanEval+ and MBPP+ as the number of tokens decoded per step increases. SDAR uses block size 16, max generation length 512, and low confidence decoding; Dream uses full diffusion with generation length 128 and entropy decoding. Shaded indicates the best and underline indicates the second-best performance within each model block.

ModelMethodGSM8K (256)MATH500 (512)MBPP (512)HumanEval (512)
tokens/step248248248248
LLaDA 1.0Base69.165.437.841.030.210.041.325.710.133.525.011.6
CE-SFT66.256.025.637.827.610.241.628.012.834.222.011.6
ReMDM69.664.337.240.231.811.238.124.98.234.825.012.2
CoDD71.566.550.338.634.822.843.229.29.734.825.012.8
Codpula71.769.052.441.635.220.848.331.915.637.229.316.5
DreamBase75.557.620.544.822.82.856.032.317.947.618.37.9
CE-SFT71.950.914.142.824.84.247.930.011.341.527.413.4
ReMDM74.056.721.342.220.03.056.040.126.147.028.712.2
CoDD77.958.614.846.429.06.258.043.234.642.131.718.3
Codpula77.260.923.046.431.88.460.348.631.548.838.422.0
Codpula (Both)78.864.924.948.030.411.459.148.636.645.737.220.7

Table 3. Parallel Decoding Comparison across Math and Code Benchmarks (LLaDA-1.0 & Dream). Accuracy (%) as the number of tokens decoded per step increases. Parentheses after each benchmark denote the maximum generation length; column headers denote tokens decoded per step. Math benchmarks use low-confidence decoding; for code, LLaDA uses margin decoding on MBPP and low-confidence decoding on HumanEval, while Dream uses entropy decoding. Shaded indicates the best and underline indicates the second-best performance within each model block.

The gains extend to measured generation latency. Figure 3 and Figure 4 show improved accuracy–latency trade-offs after accounting for circuit computation, with adaptive decoding improving selected operating points. This improvement comes despite additional computation: on LLaDA-1.0/MATH500, adaptive Codpula incurs 6.8–8.2% overhead at matched numbers of backbone evaluations (Table 12). Under EOS-based stopping, latency also reflects generation length: the shorter generations in Table 11 therefore contribute to the observed speedups (Appendix § 10.3.2).

Accuracy-latency trade-offs across GSM8K, MATH500, MBPP, and HumanEval for LLaDA-1.0 and Dream

Figure 3. Accuracy-latency trade-offs on LLaDA-1.0 and Dream. Accuracy versus wall-clock time per question for adaptive Codpula, the base backbone, and DUS on math and code benchmarks.

Accuracy-latency trade-offs on LLaDA-2.0 and SDAR

Figure 4. Accuracy-latency trade-offs on LLaDA-2.0 and SDAR. Accuracy versus wall-clock time per question for Codpula with uniform and adaptive decoding, base backbone, dynamic-confidence, and EB-sampler decoding on math (LLaDA-2.0) and code (SDAR) benchmarks.

DatasetModelTokens per stepGenerated tokensWall time (s/q)
AIME24LLaDA2.0-mini27388.2743.6
AIME24Codpula25334.8471.1
AIME24LLaDA2.0-mini47870.7411.2
AIME24Codpula44080.8163.9
AIME25LLaDA2.0-mini27137.3710.5
AIME25Codpula24358.6359.9
AIME25LLaDA2.0-mini48127.8434.5
AIME25Codpula46897.7345.4

Table 11. Generation Length and Runtime with Early Stopping. Mean statistics on the full AIME24 and AIME25 datasets. All other decoding settings are held fixed: maximum generation length 10,240, block length 32, response-anchored block grids, and EOS-based early stopping.

DecodingOperating pointOverhead
UniformAny step budget+2.9%
NFE 53.8, dw=16dw = 16+7.7%
NFE 74.9, dw=16dw = 16+8.2%
AdaptiveNFE 103.0, dw=8dw = 8+7.7%
NFE 131.0, dw=5dw = 5+6.9%
NFE 154.2, dw=4dw = 4+6.8%

Table 12. Codpula decoding overhead on MATH500 (LLaDA-1.0). Additional time relative to backbone-only decoding at the same NFE. Measurements use batch size 1, merged LoRA adapters, generation length 512, block length 32, and top-1,024 evidence candidates. Adaptive results correspond to five Pareto-front operating points; dwdw denotes the deferral width.

Related Work and Conclusion

Joint prediction and adaptive decoding. Masked diffusion models, including MDLM and MD4 (Sahoo et al., [34]; Shi et al., [36]), LLaDA and Dream (Nie et al., [31]; Ye et al., [44]), and block-diffusion models (Arriola et al., [1]), typically factorize predictions across positions, omitting dependencies among parallel outputs. Remedies include auxiliary copulas (Liu et al., [26]), sequence-level energy corrections (Xu et al., [42]), and mixture-based distillation (Hayakawa et al., [15]). CoDD couples a frozen denoiser with a learned circuit prior (Li et al., [21]), while tensor-train modeling predicts context-conditioned joint distributions through a modified output head (Kim & Sung, 2026). Complementary decoding strategies improve token ordering [19], adapt parallelism using confidence or entropy [41, 5], assess parallel proposals with an auxiliary autoregressive model [16], or remask generated tokens [40]. We jointly learn token potentials and context-dependent coupling under a conditional objective and query the resulting joint distribution for adaptive commitment.

Probabilistic circuits and their applications. Probabilistic circuits represent expressive joint distributions with tractable marginalization and conditioning [33, 11]. Neural extensions use network outputs to parameterize context-dependent distributions [35, 45, 14]. PCs and related models also guide constrained autoregressive generation [46, 47] and diffusion-based image inpainting [25]. We integrate the circuit into the denoiser, modulate its coupling parameters with backbone outputs, and train the neural components through it. Building on Anemone’s minibatch EM update [27], we develop a multiplicative update that accommodates signed flows from conditional normalization while preserving valid circuit parameters.

In this work, we introduce Codpula, a context-parameterized joint denoiser that learns token predictions and their coupling while retaining exact normalization and conditional inference. To support conditional training, we derive a dual-flow update, and the learned joint distribution enables dependence-adaptive decoding. Experiments on mathematical reasoning and code generation show improved accuracy-latency trade-offs across multiple backbones. Additional circuit computation and fixed-size coupling windows remain as limitations, motivating more efficient inference and joint modeling over longer sequences.

Acknowledgments

This work was funded in part by the National University of Singapore under its Start-up Grant (Award No: SUG-251RES2505); this work was also funded in part by the DARPA CLARA program, and gifts from Cisco Research, Qualcomm, and Amazon. HZ and ZZ were supported in part by the DARPA CLARA program under Agreement No. HR0011269E227.

References

Experiment Details

Training

ModelTotal params.Active params.LayersArchitectureDiffusion structureBlock
LLaDA-1.0-8B-Instruct8B8B32DenseFull-sequence masked diffusion32
LLaDA-2.0-mini16B1.4B20MoEBlock-causal masked diffusion32
Dream-v0-Instruct-7B7B7B32DenseFull-sequence masked diffusion32
SDAR-8B-Chat-b168B8B36DenseSemi-autoregressive block diffusion16

Table 4. Backbone models used in our experiments. Parameter counts are the nominal sizes reported by the model developers; for dense models, all parameters are active during each forward pass. Block denotes the decoding block length used in our experiments.

SFT on LLaDA. Continued fine-tuning does not consistently improve instruction-tuned LLaDA models, especially on mathematical ability. In d1, supervised fine-tuning improves over LLaDA-8B-Instruct in only seven of twelve evaluated settings [48]. On LLaDA-1.5, DSFT reports that standard SFT offers negligible or even negative effects on the downstream tasks [9]. Similarly, Sun et al. [37] report a decrease on MATH from 31.7% to 29.6% under classical SFT. CDLM provides a similar observation: its initial LLaDA-1.0 training on approximately 7500 Bespoke prompts reduces GSM8K accuracy from 77.1% to 72.1% [20]. Taken together, these findings motivate treating the backbone update schedule as a consequential design choice. We therefore separate circuit training from backbone fitting for LLaDA model family and retain an independently tuned CE-SFT baseline in the comparison.

Training data and masking. For each sequence, we sample a masking probability tt uniformly from [0,1)[0,1) and independently mask response tokens with probability tt. Prompt tokens remain visible, and padding positions are excluded from the supervised region. The backbone processes the resulting masked sequence; its predictions over the response are then divided into 32-token blocks for circuit training. When the response length is not divisible by 32, we add a final, right-aligned block covering the last 32 response tokens. This block overlaps the preceding block and preserves the response ending without introducing additional padding targets. Responses shorter than a complete block are excluded from circuit training.

  • Mathematical Reasoning. For LLaDA-1.0, both training stages use the same subset of 1,910 hard problems from NuminaMath [22], selected according to the frozen backbone’s denoising loss. LLaDA-2.0 uses the full NuminaMath dataset in both stages, while Dream uses the same full dataset during joint training.

  • Code Generation. All models use the same training mixture constructed from JinaAI Code Exercises (Jina AI, 2023), KodCode-V1 [43], CodeFeedback-Filtered-Instruction [50], and the non-test splits of MBPP [4]. The mixture contains 98,660 examples in HumanEval- and MBPP-style formats and is used in both training stages for LLaDA-1.0 and during joint training for Dream and SDAR.

PC configurations. We use homogeneous hidden Markov models with 1,024 latent states per position, compiled into probabilistic circuits. The circuit sequence length is 32 for LLaDA-1.0, LLaDA-2.0, and Dream, and 16 for SDAR. Transition parameters are shared across positions, and categorical leaf distributions are parameterized over the full vocabulary of the corresponding backbone. We train separate circuits for each backbone and task family. Within each backbone and task family, CoDD and Codpula use the same circuit architecture. Parameter conditioning modulates the circuit’s sum weights while preserving its topology. Training hyperparameters are summarized in Table 5. Circuit training retains the backbone’s top-1,024 evidence candidates per position; an ablation on LLaDA-1.0 examines this choice and its compatibility with full-vocabulary decoding in Section B.2.

LLaDA-1.0-8BLLaDA2.0-miniSDAR-8BDream-v0-7B
MathCodeMathCode (b16)MathCode
Data and objective
Training schemeTwo-stageTwo-stageTwo-stageJointJointJoint
Training examples1,91098,660521,776101,648521,77698,660
Block accum. threshold646440032400400
Inv.-mask weighting10−210^{-2}10−210^{-2}10−210^{-2}No10−210^{-2}10−210^{-2}
Circuit
Block length / latents32 / 1,02432 / 1,02432 / 1,02416 / 1,02432 / 1,02432 / 1,024
Evidence candidates1,0241,0241,024All1,0241,024
EM step size0.3→0.030.3→0.030.3→0.030.050.2→0.10.2→0.1
EM schedule67–673120–1,2001,086–end1,000–end†1,000–10,000105–1,050
Parameter conditioning
Gate grid (Both)———32×3232×3232×32
Router LR (Input Only)———0——
Router LR (Both)———10−310^{-3}10−310^{-3}10−310^{-3}
Adapter
Learning rate2×10−42\times10^{-4}10−510^{-5}10−6→10−710^{-6}\to10^{-7}‡10−510^{-5}10−610^{-6}10−6→010^{-6}\to0
Weight decay0.10.10.10.010.010
LoRA r/αr/\alpha/drop.512/128/0.05128/256/0.05128/256/0128/64/0128/256/0128/256/0
LoRA scaling α/r\alpha/r0.25220.522
Adapted modulesAABCDD
Budget
Training updates896 / 1002,000 / 10010,860 / 1,5403,00010,8471,050
Ckpt / val. interval224 / 25400 / 251,350 / 385250200150
Selected checkpoint896 / 752,000 / 752,700 / 7702505,0001,050

Table 5. Codpula training configurations by backbone and task, including parameter conditioning. Two-stage runs first train the PC with the backbone frozen and then train the adapter with the PC fixed. Joint runs optimize the PC and adapter together, and additionally optimize the router for Codpula (Both). Router settings for Input Only and Both are listed separately; all other SDAR settings are shared between the two variants. A dash in a router row indicates that no router is trained. Paired stage-specific entries denote stage-1/stage-2 values, and accumulation thresholds count response blocks. An EM schedule ff–ee remains flat for ff updates and then decays cosinely through update ee. †The selected checkpoint precedes the decay; ‡ the adapter learning rate remains flat for 154 updates before decaying. Module groups A–D are defined below.

Shared training settings. All Codpula runs use Anemone EM with momentum 0.9 and evidence temperature 1.0. Adapters are optimized with AdamW without bias adaptation, rsLoRA, or an auxiliary cross-entropy loss. Each GPU processes two sequences per microbatch; padding positions are unsupervised, and gradients on observed evidence are masked. Among the configurations in Table 5, only LLaDA2.0 uses gradient clipping, with a maximum norm of 1.0. Parameter conditioning is enabled in Codpula (Both) by training the router at a learning rate of 10−310^{-3} for SDAR and for both Dream task families. For SDAR, Codpula (Input Only) keeps the router fixed at its uniform initialization with learning rate zero; all other hyperparameters are identical to those of Codpula (Both). Module group A adapts per-block query, key, value, and feed-forward output projections, together with the vocabulary head and token embeddings; B adapts fused QKV and the shared-expert MLP; C adapts all attention and MLP projections; and D adapts only query, key, and value projections.

Baseline training and hyperparameter selection. CE-SFT trains an independent LoRA adapter with the masked-token cross-entropy objective, while CoDD trains a circuit with the backbone frozen. We tune the baselines independently for each backbone and task family. For CE-SFT, the search covers the adapter learning rate, effective batch size, LoRA rank rr, scaling ratio α/r\alpha/r, and number of training updates. For CoDD, we vary the EM step size, response-block accumulation threshold, and training duration. Intermediate checkpoints are evaluated by downstream generation accuracy, and we report the best-performing configuration for each baseline. The selected baseline configurations are summarized in Table 6; their learning rates, batch sizes, and LoRA settings are selected independently of Codpula’s. Sequence batch size and response-block accumulation are distinct quantities and are reported in their respective units.

ArmTrained componentLR / EM step sizeScheduleBatchUpdatesSelected
LLaDA-1.0-8B-Instruct, mathnumina_hard, 1,910 examples
CE-SFTLoRA 512/128/0.052×10−42 \times10^{-4}Constant64673112
CoDD24PC 32×\times1,0240.1→0.010.1 \to0.0167–end64673final
LLaDA-1.0-8B-Instruct, codecode_gen, 98,660 examples
CE-SFTLoRA 128/128/0.0510−510^{-5}Constant6410075
CoDD4PC 32×\times1,0240.3→0.030.3 \to0.03120–end64673final
LLaDA2.0-mini, mathnumina_cot, 521,776 examples
CE-SFTLoRA 128/256/010−6→10−710^{-6} \to10^{-7}154–end481,540385
CoDD4PC 32×\times1,0240.3→0.030.3 \to0.031,086–10,8604006,7501,350
SDAR-8B-Chat b16, codecode_gen_sdar, 101,648 examples
CE-SFTLoRA 128/256/0.0510−510^{-5}Warm-up 2032800700
CoDD456PC 16×\times1,0240.05→0.0050.05 \to0.00580–end2 seq. (≈\approx23 blk.)1,600final
Dream-v0-7B-Instruct, mathnumina_cot, 521,776 examples
CE-SFTLoRA 128/256/010−510^{-5}Constant4810,8005,600
CoDDPC 32×\times1,0240.2→0.10.2 \to0.15,100–51,00016,38449,52740,612
Dream-v0-7B-Instruct, codecode_gen, 98,660 examples
CE-SFTLoRA 128/256/010−510^{-5}Warm-up 40961,060300
CoDD4PC 32×\times1,0240.2→0.10.2 \to0.1585–5,85016,3845,8505,703

Table 6. Baseline training configurations by backbone and task. CE-SFT trains only the LoRA adapter using masked-diffusion cross-entropy, whereas CoDD trains only the PC with the backbone frozen. LoRA configurations report rank/scale/dropout, and PC configurations report block length ×\times latent states. Batch sizes count sequences for CE-SFT and response blocks for CoDD.

CE-SFT hyperparameters are selected independently and matched to the corresponding Codpula configuration by corpus, training budget, and learning rate.

Evaluation

DatasetEvaluated split# Samples
Mathematical reasoning
MATH500Test500
GSM8KTest1,319
AIME 2024AIME I and AIME II30
AIME 2025AIME I and AIME II30
Code generation
HumanEvalTest164
MBPPSanitized test257
HumanEval+EvalPlus test164
MBPP+EvalPlus test378

Table 7. Datasets and evaluation-set sizes.

BenchmarkModelnnMetric keyShotsSystem promptCanvas
GSM8KLLaDA-8B, Dream-7B1,319exact_match, flexible-extract0none256
LLaDA2.0-mini1,319exact_match, flexible-extract0none512
MATH500LLaDA-8B, Dream-7B500math_verify, none0task default512
LLaDA2.0-mini500math_verify, none0task default1,024
MBPP (sanitized)LLaDA-8B, Dream-7B257pass_at_1, extract_code0task default512
HumanEvalLLaDA-8B, Dream-7B164pass@1, create_test0task default512
MBPP+SDAR-8B-Chat-b16378pass_at_1, extract_code0task default512
HumanEval+SDAR-8B-Chat-b16164pass@1, create_test0task default512
AIME24 / AIME25LLaDA2.0-mini30 eachexact_match, none0task default10,240

Table 8. Evaluation protocol. Sets are always evaluated in full.

Decoding

Decoding rules chosen for the base

For the fixed-schedule comparisons among Base, CE-SFT, CoDD, and Codpula, we use the same token-selection rule for each backbone–benchmark pair. LLaDA-1.0 uses low-confidence decoding on GSM8K, MATH500, and HumanEval, and margin decoding on MBPP. Dream uses low-confidence decoding on the math benchmarks and entropy decoding on the coding benchmarks. LLaDA-2.0 and SDAR use low-confidence decoding. Each rule is held fixed across methods and tokens-per-step settings within the corresponding comparison.

Table 9 reports additional LLaDA-1.0 results under alternative token-selection rules. Their relative performance varies with the benchmark and degree of parallelism. On GSM8K, Codpula improves over the base model at every evaluated tokens-per-step setting under random decoding. Under margin decoding on the same benchmark, it performs similarly to the base model at 2, 4, and 8 tokens per step, while improving accuracy from 10.1% to 15.7% at 16 tokens per step and from 1.7% to 5.6% at 32 tokens per step. Thus, its gains at high parallelism also extend to alternative token-selection rules.

DecodingMethodGSM8K (256) 2GSM8K (256) 4GSM8K (256) 8GSM8K (256) 16GSM8K (256) 32MATH500 (512) 2MATH500 (512) 4MATH500 (512) 8MATH500 (512) 16MBPP (512)† 2MBPP (512)† 4MBPP (512)† 8MBPP (512)† 16HumanEval (512) 2HumanEval (512) 4HumanEval (512) 8HumanEval (512) 16HumanEval (512) 32
RandomBase57.542.922.14.81.730.816.27.64.024.112.53.91.618.98.56.1––
RandomCE-SFT52.241.121.2––23.417.89.67.624.913.6––17.79.8–––
RandomCoDD58.545.524.4––26.621.414.08.427.612.5––17.712.2–––
RandomCodpula60.149.027.912.35.625.419.612.29.026.117.19.74.721.312.88.5––
MarginBase70.464.444.310.11.739.231.818.04.640.924.59.02.035.425.011.04.92.4
MarginCE-SFT–––––38.827.813.07.840.528.49.01.236.624.414.06.11.8
MarginCoDD–––––38.631.818.69.844.828.818.37.429.921.314.66.13.1
MarginCodpula70.163.144.215.75.638.831.219.49.642.431.117.57.432.326.815.25.54.3

Table 9. Alternative Decoding Rules (LLaDA-1.0). Accuracy (%) under alternative token-selection rules, complementing the main-text results. Parentheses after benchmark names denote maximum generation lengths; column headers denote tokens decoded per step. †For MBPP, the second block uses low-confidence decoding; the other benchmarks use margin decoding. Cells marked – were not run. Shading and underlining indicate the best and second-best accuracy, respectively, in each column within each decoding block.

Table 10 additionally reports Dream coding results under block diffusion with low-confidence decoding and a maximum generation length of 512 tokens. Both Codpula variants outperform the base model in every reported setting. At four tokens per step, Codpula improves HumanEval accuracy from 28.7% to 39.6%, while Codpula (Both) improves MBPP accuracy from 40.1% to 51.4%. These results show that Codpula’s coding gains also extend to low-confidence decoding.

DecodingMethod / Tokens per StepMBPP (512) 2MBPP (512) 4MBPP (512) 8MBPP (512) 16HumanEval (512) 2HumanEval (512) 4HumanEval (512) 8
Low ConfidenceBase56.040.126.88.648.828.711.6
Low ConfidenceCE-SFT52.133.915.62.337.831.114.0
Low ConfidenceCoDD62.348.633.58.950.037.819.5
Low ConfidenceCodpula63.849.033.113.650.639.617.1
Low ConfidenceCodpula (Both)62.351.433.913.654.933.517.7

Table 10. Alternative Decoding Rule (Dream, block diffusion). Accuracy (%) on MBPP and HumanEval under low-confidence decoding as the number of tokens decoded per step increases. Parentheses after each benchmark denote the maximum generation length; column headers denote tokens decoded per step. Shaded indicates the best and underline indicates the second-best performance in each column.

Early Stopping Effects

We enable EOS-based early stopping for LLaDA-2.0 on AIME and for SDAR on the coding benchmarks. Consequently, fixing the number of tokens decoded per step does not fix the total number of generated tokens or denoising steps: these also depend on when each generation terminates. Table 11 reports mean generation lengths and end-to-end runtimes for LLaDA-2.0-mini and Codpula on AIME24 and AIME25. At each matched tokens-per-step setting, Codpula produces shorter generations and has lower latency. For example, as shown in Table 11, on AIME24 at four tokens per step, the mean generation length decreases from 7,870.7 to 4,080.8 tokens, and the mean runtime decreases from 411.2 to 163.9 seconds per question. These latency differences reflect both the cost per denoising step and the amount of generation performed.

Early stopping also explains the nonmonotonic runtime of the SDAR curves in Figure 4. More aggressive parallel decoding can delay EOS prediction, increasing the number of generated blocks enough to offset the reduction in denoising steps per block. For example, the SDAR base model on HumanEval+ executes an average of 31.53 forward passes per question at four tokens per step, compared with 36.09 at eight and 37.45 at sixteen. Thus, increasing parallelism can reduce accuracy while increasing runtime. To separate per-block denoising effort from variation in generation length, Figure 5 plots accuracy against the mean number of denoising steps per block. This complements the wall-clock comparison by showing decoding quality at comparable per-block step counts.

Figure 5. SDAR Accuracy versus Denoising Steps per Block. Accuracy on MBPP+ and HumanEval+ as a function of the mean measured number of denoising steps per block. The results use the same evaluation settings as the SDAR panels in Figure 4. This view complements the runtime comparison by separating per-block denoising effort from the number of blocks generated before early stopping.

Post-hoc Baseline methods

Dynamic conf. Dynamic confidence-threshold decoding [41] adaptively determines the number of tokens unmasked at each decoding step. It accepts predictions at masked positions whose confidence exceeds a fixed threshold, leaving the remaining positions masked for subsequent steps. If no prediction exceeds the threshold, the highest-confidence prediction is accepted to ensure progress. Unlike static decoding, which follows a predetermined token-unmasking schedule, Dynamic Conf. allows more tokens to be decoded in parallel when the model is confident, without updating the backbone parameters.

DUS. The Dilated Unmasking Scheduler (DUS) [30] accelerates masked-diffusion decoding by replacing confidence based token selection with a deterministic, coarse-to-fine schedule. At each denoising step, it reveals a group of positions that are distributed approximately uniformly across the remaining masked sequence; subsequent steps progressively reduce the spacing until the block is complete. By spacing simultaneously decoded tokens apart, dilation reduces their mutual dependence without requiring confidence based ranking. We therefore use the paper’s main dilated schedule as the DUS baseline and vary its number of passes per block to compare it with our method at matched computation budgets. With 32 token blocks, the standard DUS schedule supports at most five forward passes. We report the two and four pass settings that match our decoder budgets. Additionally, we disable confidence based remasking because rejected tokens are not regenerated by the fixed schedule, leaving permanent mask holes. For larger budgets in the wall-clock curves, we report DUS (EXT.), which subdivides the final reveal group into consecutive smaller passes while preserving the original position order. For example, a final group of eight positions can be executed as 4+4 or 2+2+2+2, with the model reevaluated after each subgroup so later predictions condition on earlier commitments. This extension leaves the preceding dilation schedule unchanged.

ReMDM. The remasking diffusion model (ReMDM) sampler [40] augments the reverse diffusion process with self correction: instead of treating every revealed token as permanent, it may remask previously generated tokens and predict them again using the improved surrounding context available at a later denoising step. A time dependent remasking probability σt\sigma_t controls how aggressively the decoder revises its current solution. The paper studies several schedules for this probability, including capped, rescaled, confidence weighted, switch, and loop based schedules; the switch formulation delays remasking until a chosen stage so that early steps can first construct a coherent draft. We use the switch-style formulation on top of LLaDA’s low-confidence decoder because it preserves the original decoding budget while allowing uncertain decisions to be revised.

Tolerator. Finish First, Perfect Later (Tolerator) separates generation into a filling stage and a refinement stage [38]. The fill up stage first produces a complete draft using the standard diffusion decoding process, with an end-of-text penalty to discourage premature termination. During refinement, a random subset of non-prompt tokens is remasked and regenerated while the remaining draft tokens serve as context for validating these predictions. The remasking rate is gradually reduced with a cosine schedule, enabling broad corrections early in refinement and more stable, localized revisions later. The paper allocates half of the forward-pass budget to each stage. We use this fill and refine strategy as a training-free baseline at matched computation budgets. We use per block refinement because LLaDA2.0’s block causal attention is trained with completed preceding blocks; refining each block before proceeding preserves this structure, whereas full draft refinement introduces masks into earlier context.

Wall-Clock Time Measurement

All timing measurements use a single NVIDIA RTX PRO 6000 Blackwell GPU with no competing process and a sequence batch size of 1, corresponding to serving one request at a time. GPU isolation is verified before and after each measurement. LoRA adapters are merged into the backbone before timing, and we report median timings over repeated measurements after warm-up. Timing excludes model loading, tokenization, detokenization, evaluation-harness overhead, and grading.

Table 12 reports Codpula’s additional cost per backbone function evaluation (NFE), measured using the same protocol under uniform and adaptive decoding, with and without parameter conditioning. Measurements use fixed input shapes; adaptive overhead additionally includes a dependence-deferral query at the specified width. Parameter conditioning includes both router evaluation and conditioned circuit computation.

Computational Resources

All experiments, including training and inference, are conducted on NVIDIA RTX PRO 6000 Blackwell Server Edition GPUs. We observed hardware-dependent differences in experimental results and therefore use the same GPU model throughout to maintain consistent comparisons.

Ablation Studies

Decoding Configurations

Dream with full-sequence diffusion. We also evaluate Dream under full-sequence diffusion with entropy decoding and a generation length of 128 tokens. Table 13 shows that both Codpula variants outperform the base model in every reported setting. At four tokens per step, HumanEval accuracy increases from 26.8% for the base model to 32.9% for Codpula and 41.5% for Codpula (Both). Parameter conditioning improves several settings, although Codpula without parameter conditioning achieves higher accuracy on all three benchmarks at eight tokens per step. These results demonstrate that Codpula is also effective under full-sequence diffusion.

ModelMethodMBPP 2MBPP 4MBPP 8MBPP+ 2MBPP+ 4MBPP+ 8HumanEval 2HumanEval 4HumanEval 8
DreamBase50.342.832.746.038.931.234.126.824.4
DreamCE-SFT46.336.629.243.430.413.039.026.825.0
DreamCodpula52.149.439.351.645.235.734.832.931.7
DreamCodpula (Both)55.648.238.149.247.933.345.141.529.9

Table 13. Parallel Decoding on Code Benchmarks (Dream, full diffusion). Accuracy (%) under full diffusion with generation length 128 and entropy decoding. Column headers denote tokens decoded per step. Shading and underlining indicate the best and second-best accuracy, respectively, in each column.

SDAR with block size 32. We additionally evaluate SDAR-8B-Chat-b32 with a matching 32-token circuit, extending the block-size-16 setting used in the main text. Table 14 shows that Codpula improves over the base model at every evaluated setting on MBPP+. On HumanEval+, it improves accuracy at 4–32 tokens per step, matches the base model at two tokens per step, and underperforms at one token per step. At four tokens per step, accuracy increases from 15.9% to 35.2% on MBPP+ and from 31.7% to 40.9% on HumanEval+. These results show that the benefits of coupling extend to a larger decoding block, particularly when several tokens are committed simultaneously.

ModelMethod / Tokens per StepHumanEval+ 1HumanEval+ 2HumanEval+ 4HumanEval+ 8HumanEval+ 16HumanEval+ 32MBPP+ 1MBPP+ 2MBPP+ 4MBPP+ 8MBPP+ 16MBPP+ 32
SDARBase (static)72.659.231.712.85.53.159.039.715.93.70.30.0
SDARCE-SFT63.445.740.915.24.90.053.234.920.45.30.50.0
SDARCodpula68.959.240.918.910.46.763.250.335.219.15.62.7

Table 14. Parallel Decoding Performance (SDAR, block size 32). Accuracy (%) on HumanEval+ and MBPP+ as the number of tokens decoded per step increases. Column headers denote tokens decoded per step. Shaded indicates the best and underline indicates the second-best performance in each column.

Evidence Truncation

We examine the effect of restricting circuit evidence to the backbone’s top-1,024 candidates per position on LLaDA-1.0. During training, we retain these entries from the backbone’s log-probability vector, whereas decoding uses the full vocabulary of 126,464 tokens by default. This truncation restricts the supplied evidence; the circuit’s categorical leaves remain parameterized over the full vocabulary.

For backbone logits ℓ\ell and evidence temperature τ\tau, we measure the discarded probability mass as

mk(ℓ,τ)=1−∑v∈Sk(ℓ)softmax⁡(ℓ/τ)v,k=1,024,(13)m_k(\ell,\tau)=1-\sum_{v\in\mathcal{S}_k(\ell)}\operatorname{softmax}(\ell/\tau)_v,\qquad k=1{,}024, \tag*{(13)}

where Sk(ℓ)S_k(\ell) contains the kk highest-scoring tokens. Figure 6 reports measurements over 46,080 positions. At the training temperature τ=1\tau= 1, the mean discarded mass is 0.53%, with 19.6% of positions exceeding 1% and a maximum of 13.2%. At the evaluated decoding temperatures τ∈{0.05,0.1,0.2,0.3}\tau\in\{0.05, 0.1, 0.2, 0.3\}, the measured mean residual is numerically negligible, on the order of 10−810^{-8}. Temperature sharpening therefore concentrates nearly all backbone probability mass within the retained candidate set.

We separately ablate truncation during training and decoding on GSM8K with 200 evaluation examples, a maximum generation length of 256, and block length 32. Table 15 supports truncating evidence during training, while showing no observed accuracy loss from applying the same truncation at decoding. We use full-vocabulary evidence by default at inference, but top-1,024 evidence is an empirically equivalent alternative in these comparisons.

TrainDecodeUniformAdaptive
τ=0.05\tau= 0.05τ=0.1\tau= 0.1τ=0.05\tau= 0.05τ=0.1\tau= 0.1
Top-kkFull63.568.065.064.5
Top-kkTop-kk63.568.065.064.5
FullFull50.550.564.063.0

Table 15. Evidence truncation ablation. Accuracy (%) on GSM8K (200 examples), with k=1,024k = 1{,}024. Train and Decode indicate the evidence candidates retained at each stage. The first two rows use the same circuit checkpoint. Results are shown for one checkpoint; all eight matched decoding comparisons yield identical accuracy.

Contributions of Individual Components

Confidence for token commitment. Codpula’s refined distributions determine token proposals and can also guide the choice of positions to commit. We ablate this second role on SDAR by comparing confidence scores from the backbone with those from Codpula. Both variants use Codpula’s token proposals and the same dependence-based deferral rule; the confidence source determines the ranking of candidate positions. As shown in Figure 7, Codpula confidence generally improves the accuracy–runtime trade-off at moderate and larger budgets for both Input Only and Both, while backbone confidence remains competitive at the smallest budgets. Thus, the refined distributions provide useful information for the commitment schedule as well as for token prediction.

Figure 7. Confidence Source for Token Commitment. Accuracy–runtime trade-offs on MBPP+ and HumanEval+ for SDAR with Codpula (Input Only) and Codpula (Both). Both confidence variants use Codpula’s token proposals and dependence-based deferral, with candidate positions ranked using either backbone confidence (base conf.) or the refined distribution (Codpula conf.). The unmodified backbone is included as a reference.

Stage-1 circuit and backbone adaptation. Table 16 separates the contributions of the stage-1 circuit and the stage-2 backbone adapter on LLaDA-1.0. The stage-1 circuit alone improves over the base model at every reported setting. Adding the stage-2 adapter yields further gains in seven of ten settings, including 4.7 percentage points on MBPP at both two and four tokens per step and 3.1 points on HumanEval at eight tokens per step. The complete model also matches or exceeds CE-SFT at every setting. Differences between the stage-1 and CoDD circuits vary in sign, ranging from −2.0 to +3.5 points. All baselines are independently tuned over learning rates and training budgets, and we report the best-performing configuration for each. The additional gains from stage-2 adaptation, with the stage-1 circuit held fixed, demonstrate the contribution of training the backbone through the circuit.

Circuit Removal at Inference

Removing the PC at inference is not an appropriate way to isolate its contribution. The adapted backbone and PC together define Codpula’s normalized conditional distribution, and the adapter is trained under this complete distribution’s conditional-likelihood objective. The backbone outputs serve as token potentials within the circuit and are not optimized as standalone denoising probabilities. Removing the PC and decoding directly from these potentials therefore substitutes a different distribution for the trained model. We consequently do not report circuit-removal results as a component ablation. Backbone adaptation without a circuit is instead evaluated using the independently trained CE-SFT baseline.

Evidence-Temperature Sensitivity

We vary the evidence temperature τ\tau while holding the LLaDA-1.0 backbone adapter, circuit, and decoding rule fixed. Table 17 shows that the preferred temperature depends on the decoding budget. Among the temperatures shown, the best value shifts from τ=0.05\tau= 0.05 at 256 steps to τ=0.5\tau= 0.5 at 32 steps, with τ=0.1\tau= 0.1 preferred at the intermediate budgets. A finer sweep at 32 steps gives 11.2%, 11.6%, and 11.2% accuracy at τ=0.5\tau= 0.5, 0.6, and 0.7, respectively. These results motivate selecting the evidence temperature separately for each decoding budget.

Table 17: Evidence-temperature sensitivity on MATH500. Accuracy (%) with LLaDA-1.0 under uniform low-confidence decoding, using a fixed adapter and circuit, generation length 512, and block length 32. The table reports the temperature grid shared by all four budgets. Bold indicates the best accuracy among the displayed temperatures in each row.

Tokens/stepStepsτ=0.05\tau= 0.05τ=0.1\tau= 0.1τ=0.3\tau= 0.3τ=0.5\tau= 0.5
225639.636.239.437.6
412829.434.831.829.4
86417.819.415.417.4
16326.810.010.811.2

Table 17.

Additional Results

AIME Benchmarks

We provide additional accuracy–time comparisons on AIME24 and AIME25 using LLaDA-2.0-mini. On AIME25, adaptive Codpula matches the base model’s 10% accuracy with a 3.84× speedup (Figure 8). Figure 9 shows results across decoding configurations on both benchmarks. On AIME24, uniform Codpula reaches 53.3% accuracy, while adaptive Codpula matches the base model’s 40% accuracy at a lower time cost. On AIME25, the gains are concentrated in the lower-latency region; several baselines attain higher accuracy at larger time budgets.

Figure 8. Additional AIME25 results with LLaDA-2.0-mini. Accuracy (%) versus wall-clock time per question. Adaptive Codpula achieves a 3.84× speedup over the base model at matched 10% accuracy.

Figure 9. Accuracy–time trade-offs on AIME24 and AIME25. Results use LLaDA-2.0-mini. Codpula (Input Only) is evaluated with uniform decoding (solid purple) and dependence-adaptive decoding (dashed purple). Each marker denotes an evaluated decoding configuration; lines connect configurations of the same method.

Generated Examples

Baseline (LLaDA) – 32 steps, 8 tokens/step

Question: There are 9,300 pennies in a cup. What is the total dollar amount in a stack that contains two thirds of the pennies in the cup?

Generation:

Step 1: Calculate the number of pennies in the stack. . . . we multiply 9,300 by 23\frac{2}{3}:

Number of×23=9,300×23=6,300\text{Number of} \times\frac{2}{3} = 9{,}300 \times\frac{2}{3} = 6{,}300

Step 2: . . . we multiply the of of pennies the stack by $0.01:

Total dollar=6,300×0.01=63\text{Total dollar} = 6{,}300 \times0.01 = 63

Therefore, the total dollar amount in the{ is 63.

Status: Incorrect (one digit of a parallel-committed number)

CoDD – 32 steps, 8 tokens/step

Generation:

23×9300=1800000000=6200\frac{2}{3 \times9300} = 1800000000 = 6200

So, the total number of pennies in the stack is: 6200

Step 3: . . . Each penny is worth $0.01.

Total dollar amount=6200×0.01=6\text{Total dollar amount} = 6200 \times0.01 = 6

Therefore, the total amount of dollars in the stack is: 6

Status: Incorrect (correct count, digit lost at the unit conversion)

Codpula (Ours) – 32 steps, 8 tokens/step

Generation:

Step 1: . . . the stack contains two thirds of these pennies. Therefore:

Number of pennies in the stack=23×9300=6200\text{Number of pennies in the stack} = \frac{2}{3} \times9300 = 6200

Step 2: Since each penny is worth $0.01, the total dollar amount in the stack is:

Total in dollars in the stack=6200×0.01=62\text{Total in dollars in the stack} = 6200 \times0.01 = 62

Therefore, the total dollar amount in the stack is 62.

Status: Correct

Multi-digit arithmetic at high parallelism

Figure 10. Multi-digit arithmetic at high parallelism (GSM8K, 32 steps of 8 tokens). Both failures are single-digit corruptions of a quantity emitted inside one parallel commit window, not reasoning errors: the baseline writes 6,300 for 9,300 ×23\times\frac{2}{3}, and CoDD recovers 6200 but then drops a digit converting to dollars. Codpula carries both quantities intact. CE-SFT (not shown) degenerates into a run of zeros at this budget.

Algebraic simplification at low compute

Figure 11. Algebraic simplification at low compute (MATH500, 64 steps). The baseline mis-expands the first binomial (−4u-4u for +3u+3u) and then, combining, keeps only the constant pair (4+184+18) and discards the uu terms it had just written. Codpula keeps both expansions consistent and cancels correctly. CE-SFT (not shown) collapses into a repeated token at this budget.

Deferral trace – HumanEval mean_absolute_deviation, δ=0.05\delta= 0.05, width 16

Step tt: block empty (0/32 committed). The confidence stage proposes 16 slots; the circuit scores each and the decoder commits ∣dep∣<δ\lvert\mathrm{dep}\rvert< \delta.

postoken∣dep∣\lvert\mathrm{dep}\rvertdecision
14’ numbers’0.7426defer
15’:’0.7418defer
18’ return’0.3985defer
21’ ’0.0727defer
11’ ’0.0022commit
6’0’0.0006commit
7’\n’0.0003commit
4’1’0.0000commit
5’.’0.0000commit
…7 further tokens, all ∣dep∣≤0.0022\lvert\mathrm{dep}\rvert\le0.0022, all committed

Step t+1t+1: 12/32 now committed. The deferred tokens are re-scored against the context that just landed:

postoken∣dep∣\lvert\mathrm{dep}\rvert at ttat t+1t+1decision
18’ return’0.39850.0004commit
14’ numbers’0.74260.0208commit
15’:’0.74180.0209commit
Deferral trace showing tokens deferred and subsequently committed

Figure 12. What the deferral gate holds back, and why it lets go. At step tt the gate defers exactly 4 of 16 proposed slots, and those four are precisely the tokens of the guard clause if not numbers: return ...—mutually determined, and wrong in a way that compounds if any one is committed against a different choice of the others. The twelve it commits are indentation, newlines and list markers, scoring ∣dep∣≤0.0022\lvert\mathrm{dep}\rvert\le0.0022 and most of them exactly 0. One step later the surrounding context has been written and the same three tokens score 20–1000× lower, so the gate releases them. Deferral is therefore not a rejection: it is a re-ordering that lets an entangled group be decided jointly rather than independently.

Deferral trace – HumanEval string_xor, δ = 0.05, width 16

Deferral trace – HumanEval string_xor, δ=0.05\delta= 0.05, width 16

Step tt: 16/32 committed. The model is emitting the docstring example >>> string_xor('010', '110'):

postoken∣dep⁡∣\lvert\operatorname{dep}\rvertdecision
25 '>>>'1.7571defer
27 'x'1.2851defer
26 'string'1.1281defer
29 "('"0.2425defer
28 'or'0.2262defer
31 '1'0.1353defer
30 '0'0.0845defer
16 'return'0.0734defer
20 'a'0.0033commit
24 ' '0.0002commit
21 'string'0.0000commit
22 '.'0.0000commit
23 '\n'0.0000commit

Step t+1t+1: 21/32 committed. The dependence scores change as follows:

token∣dep⁡∣\lvert\operatorname{dep}\rvert at ttat t+1t+1decision
'return'0.07340.0150commit
'or'0.22620.0354commit
'as'0.07610.0008commit
'>>>'1.7571>δ>\deltadefer
'x'1.2851>δ>\deltadefer
'string'1.1281>δ>\deltadefer

Figure 13. The deferral trace tracks name agreement. The deferred group spells the identifier string_xor and its call literal: '>>>', 'string', 'x', 'or', "('", '0', '1'. These must agree with the function actually defined above, so committing them independently is exactly how a parallel decode invents a name that does not exist. Tokens with no such constraint (the word 'string' at position 21, a period, a newline, indentation) score identically 0.0000 and are committed in the same step. Note the two 'string' occurrences: position 26, part of the identifier, scores 1.1281; position 21, ordinary prose, scores 0. The signal is contextual entanglement, not the token’s identity.

Algorithm Details

Dependence Queries and Decoding Cost

We evaluate Equation (12) using marginal queries to a single circuit instantiated from the current neural outputs θt=fφ(xt)\boldsymbol{\theta}_t = f_{\varphi}(\boldsymbol{x}_t). The neural token potentials, coupling gates, and local normalizers remain fixed across these queries; only the observed assignments change. All probabilities below refer to the circuit used for dependence scoring, with its evidence temperature and vocabulary support held fixed.

Computing the dependence scores. For S⊆CS \subseteq C, let eSe_S retain the currently visible tokens, additionally fix positions in SS to their proposed values x^S\hat{\boldsymbol{x}}^S, and marginalize all remaining positions. Write

ℓ(S):=log⁡p~(eS;θt,ω).(14)\ell(S) := \log\tilde{p}(e_S; \boldsymbol{\theta}_t, \omega). \tag*{(14)}

In particular, e∅e_{\varnothing} contains only the currently visible tokens, so exp⁡ℓ(∅)\exp\ell(\varnothing) is the shared visible-evidence normalizer. Assuming the queried assignments have positive probability,

log⁡pφ,ω(x^S∣xt)=ℓ(S)−ℓ(∅),\log p_{\varphi,\omega}(\hat{\boldsymbol{x}}^S \mid\boldsymbol{x}_t) = \ell(S) - \ell(\varnothing),
log⁡pφ,ω(x^i∣x^C∖{i},xt)=ℓ(C)−ℓ(C∖{i}).(15)\log p_{\varphi,\omega}(\hat{x}^i \mid\hat{\boldsymbol{x}}^{C\setminus\{i\}}, \boldsymbol{x}_t) = \ell(C) - \ell(C \setminus\{i\}). \tag*{(15)}

Substituting into Equation (12) gives

δi=∣ℓ(C)−ℓ(C∖{i})−ℓ({i})+ℓ(∅)∣.(16)\delta_i = \left|\ell(C) - \ell(C \setminus\{i\}) - \ell(\{i\}) + \ell(\varnothing)\right|. \tag*{(16)}

Thus, for m=∣C∣m = |C|, the scores use one complete-candidate marginal, mm singleton marginals, and mm leave-one-out marginals. Computing these 2m+12m + 1 probabilities requires at most 2m+22m + 2 circuit evaluations, including the shared normalizer. A cached normalizer can be reused only when it was computed with the same circuit parameters, neural evidence, and visible assignments. Duplicate queries can also be reused; for m=1m = 1, the score is zero without any additional query.

Batched circuit evaluation. We batch the evidence assignments e∅e_{\varnothing}, eCe_C, {e{i}:i∈C}\{e_{\{i\}} : i \in C\}, and {eC∖{i}:i∈C}\{e_{C\setminus\{i\}} : i \in C\} in one circuit call. Each batch item uses the same modulated circuit and differs only in which variables are observed. At an input node, an observed variable contributes its probability under the modulated input distribution, while an unobserved variable contributes the local normalizer log⁡Zn,i\log Z_{n,i}. The bottom-up computation in Appendix § 15.§ 1 then returns ℓ(S)\ell(S) for each evidence assignment, marginalizing over all unresolved tokens and circuit latent variables. The input normalizers can be shared across the batch. After input preparation, the total circuit work is O(m∣E∣)O(m|E|) for m≥2m \ge2, where ∣E∣|E| is the number of circuit edges. Batching parallelizes these evaluations and requires no additional Transformer evaluation.

Computation and measured overhead. Dependence evaluation adds circuit computation but reuses the current neural outputs, requiring no additional backbone evaluation within a step. Figure 1 and Figure 2 report the resulting accuracy–latency trade-offs under adaptive decoding. Table 12 quantifies the additional cost relative to backbone-only decoding at matched NFE, while Appendix § 10.3.4 describes the measurement protocol.

Algorithm 1 Multiplicative update from signed circuit flows

Require: Normalized positive weights ω\omega; batch flows F+,F−≥0F^{+}, F^{-} \ge0; step size η≥0\eta\ge0

  1. Compute TD⁡ω(n)\operatorname{TD}_{\omega}(n) for all sum nodes nn

  2. for all sum nodes nn do

  3. &nbsp;&nbsp;&nbsp;&nbsp;if TD⁡ω(n)=0\operatorname{TD}_{\omega}(n) = 0 then

  4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ωn,c+←ωn,c\omega_{n,c}^{+} \leftarrow\omega_{n,c} for all c∈ch⁡(n)c \in\operatorname{ch}(n)

  5. &nbsp;&nbsp;&nbsp;&nbsp;else

  6. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tω(n,c)←TD⁡ω(n)ωn,cT_{\omega}(n,c) \leftarrow\operatorname{TD}_{\omega}(n)\omega_{n,c} for all c∈ch⁡(n)c \in\operatorname{ch}(n)

  7. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rn,c←Tω(n,c)+ηF+(n,c)Tω(n,c)+ηF−(n,c)R_{n,c} \leftarrow\frac{T_{\omega}(n,c) + \eta F^{+}(n,c)}{T_{\omega}(n,c) + \eta F^{-}(n,c)} for all c∈ch⁡(n)c \in\operatorname{ch}(n)

  8. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ωn,c+←ωn,cRn,c∑d∈ch⁡(n)ωn,dRn,d\omega_{n,c}^{+} \leftarrow\frac{\omega_{n,c}R_{n,c}}{\sum_{d \in\operatorname{ch}(n)} \omega_{n,d}R_{n,d}} for all c∈ch⁡(n)c \in\operatorname{ch}(n)

  9. &nbsp;&nbsp;&nbsp;&nbsp;end if

  10. end for

  11. return ω+\omega^{+}

Algorithm 2 Joint learning from a minibatch of denoising examples

Require: Minibatch B; parameters ω\omega, φ\varphi; circuit step size η≥0\eta\ge0

  1. F+,F−←0F^{+}, F^{-} \leftarrow0; gφ←0g_{\varphi} \leftarrow0

  2. for all (t,x0,xt)∈B(t, x_{0}, x_{t}) \in B do

  3. &nbsp;&nbsp;&nbsp;&nbsp;θ←fφ(xt)\theta\leftarrow f_{\varphi}(x_{t}); a←w(t)/∣B∣a \leftarrow w(t)/|B|

  4. &nbsp;&nbsp;&nbsp;&nbsp;Construct e+e^{+} and e−e^{-}

  5. &nbsp;&nbsp;&nbsp;&nbsp;(ℓ±,Fe±,g±)←CircuitPass⁡(ω,θ;e±)(\ell^{\pm}, F_{e^{\pm}}, g^{\pm}) \leftarrow\operatorname{CircuitPass}(\omega,\theta; e^{\pm}) ▷ one pass for each evidence assignment

  6. &nbsp;&nbsp;&nbsp;&nbsp;F±←F±+aFe±F^{\pm} \leftarrow F^{\pm} + aF_{e^{\pm}}

  7. &nbsp;&nbsp;&nbsp;&nbsp;gφ←gφ+aJφ(xt)T(g+−g−)g_{\varphi} \leftarrow g_{\varphi} + aJ_{\varphi}(x_{t})^{\mathsf{T}}(g^{+} - g^{-})

  8. end for

  9. ω+←SignedFlowUpdate⁡(ω;F+,F−,η)\omega^{+} \leftarrow\operatorname{SignedFlowUpdate}(\omega; F^{+}, F^{-}, \eta) ▷ Algorithm 1

  10. φ+←Opt⁡(φ;gφ)\varphi^{+} \leftarrow\operatorname{Opt}(\varphi; g_{\varphi}) ▷ gradient ascent on LB\mathcal{L}_{B}

  11. return ω+,φ+\omega^{+}, \varphi^{+}

Algorithm 3 Dependence-adaptive decoding of one block

Require: Current sequence xx; active block I\mathcal{I}; candidate width ww; threshold τ>0\tau> 0; step cap MM

  1. for k=1,…,Mk = 1, \ldots, M do

  2. &nbsp;&nbsp;&nbsp;&nbsp;U←{i∈I:xi=[MASK]}U \leftarrow\{i \in\mathcal{I} : x^{i} = [\mathrm{MASK}]\}

  3. &nbsp;&nbsp;&nbsp;&nbsp;if U=∅U = \varnothing then

  4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break

  5. &nbsp;&nbsp;&nbsp;&nbsp;end if

  6. &nbsp;&nbsp;&nbsp;&nbsp;Compute proposals x^\hat{x}, confidences cc, and scoring distribution qtdepq_{t}^{\mathrm{dep}} from the current sequence xx ▷ one backbone evaluation

  7. &nbsp;&nbsp;&nbsp;&nbsp;if k=Mk = M then

  8. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S←US \leftarrow U ▷ complete the block

  9. &nbsp;&nbsp;&nbsp;&nbsp;else

  10. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select a set of candidates CC

  11. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ∣C∣=1|C| = 1 then

  12. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S←CS \leftarrow C

  13. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else

  14. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute δi\delta_i for i∈Ci \in C using (12)

  15. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S←{i∈C:δi<τ}S \leftarrow\{i \in C : \delta_i < \tau\}

  16. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if S=∅S = \varnothing then

  17. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S←{arg min⁡i∈Cδi}S \leftarrow\{\operatorname*{arg\,min}_{i \in C} \delta_i\}

  18. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if

  19. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if

  20. &nbsp;&nbsp;&nbsp;&nbsp;end if

  21. &nbsp;&nbsp;&nbsp;&nbsp;xi←x^ix^{i} \leftarrow\hat{x}^{i} for all i∈Si \in S

  22. end for

  23. return xx

Derivation of the Joint Denoising Objective

We derive (7) as a lower-bound training objective obtained from the diffusion ELBO. Consider sequences of fixed length LL under independent absorbing masking, where αt\alpha_t denotes the masking probability. Assume a differentiable increasing schedule with α0=0\alpha_0 = 0 and α1=1\alpha_1 = 1. The joint denoiser pφ,ω(x0∣xt)p_{\varphi,\omega}(x_0 \mid x_t) assigns probability only to clean completions consistent with the visible tokens.

The continuous-time reverse process reveals each masked position at rate α˙t/αt\dot{\alpha}_t/\alpha_t, using the corresponding token marginal of the joint denoiser. Writing Mt\mathcal{M}_t for the masked positions, the standard diffusion ELBO takes the form [34, 36]

E(ω,φ)=∫01α˙tαtEx0,xt[∑i∈Mtlog⁡pφ,ω(x0i∣xt)] dt,(17)\mathcal{E}(\omega,\varphi) = \int_0^1 \frac{\dot{\alpha}_t}{\alpha_t}\mathbb{E}_{x_0,x_t}\left[\sum_{i\in\mathcal{M}_t}\log p_{\varphi,\omega}(x_0^i \mid x_t)\right]\,dt, \tag*{(17)}

where x0∼pdatax_0 \sim p_{\mathrm{data}} and xt∼qt(⋅∣x0)x_t \sim q_t(\cdot\mid x_0). Here, each token probability is a marginal of the joint denoiser; no factorization of its clean-completion distribution is assumed. We assume the usual integrability and endpoint conditions for the continuous-time bound.

To relate this expression to the conditional joint likelihood, observe that each token marginal sums over completions that include x0x_0. Consequently,

pφ,ω(x0i∣xt)≥pφ,ω(x0∣xt).(18)p_{\varphi,\omega}(x_0^i \mid x_t) \ge p_{\varphi,\omega}(x_0 \mid x_t). \tag*{(18)}

Since ∣Mt∣≤L|\mathcal{M}_t| \le L and log⁡pφ,ω(x0∣xt)≤0\log p_{\varphi,\omega}(x_0\mid x_t) \le0, it follows that

∑i∈Mtlog⁡pφ,ω(x0i∣xt)≥∣Mt∣log⁡pφ,ω(x0∣xt)≥Llog⁡pφ,ω(x0∣xt).(19)\begin{aligned} \sum_{i\in\mathcal{M}_t}\log p_{\varphi,\omega}(x_0^i \mid x_t) \ge|\mathcal{M}_t|\log p_{\varphi,\omega}(x_0 \mid x_t) \\ &\ge L\log p_{\varphi,\omega}(x_0 \mid x_t). \tag*{(19)} \end{aligned}

Since α˙t/αt≥0\dot{\alpha}_t/\alpha_t \ge0 for t∈(0,1)t \in(0,1), taking expectations and integrating (19) with this nonnegative weight preserves the inequality. Substituting into (17) therefore gives

E(ω,φ)≥L∫01α˙tαtEx0,xt[log⁡pφ,ω(x0∣xt)] dt.(20)\mathcal{E}(\omega,\varphi) \ge L\int_0^1 \frac{\dot{\alpha}_t}{\alpha_t}\mathbb{E}_{x_0,x_t}\left[\log p_{\varphi,\omega}(x_0 \mid x_t)\right]\,dt. \tag*{(20)}

For timesteps sampled from a density ρ(t)>0\rho(t)>0, importance weighting expresses the integral as

L(ω,φ)=Et∼ρ,x0,xt[w(t)log⁡pφ,ω(x0∣xt)],\mathcal{L}(\omega,\varphi) = \mathbb{E}_{t\sim\rho,x_0,x_t}\left[w(t)\log p_{\varphi,\omega}(x_0 \mid x_t)\right],
w(t)=α˙tαtρ(t).(21)w(t) = \frac{\dot{\alpha}_t}{\alpha_t\rho(t)}. \tag*{(21)}

Thus, LL(ω,φ)≤E(ω,φ)L\mathcal{L}(\omega,\varphi) \le\mathcal{E}(\omega,\varphi). Because LL is fixed and positive, maximizing this lower bound is equivalent to maximizing (7). For uniform timestep sampling and αt=t\alpha_t = t, the weight is w(t)=1/tw(t) = 1/t.

Additional Details on Probabilistic Circuits

Structure and Exact Inference

We state the structural properties that guarantee tractable computation of ZZ. Let ϕ(n)\phi(n) denote the variables appearing in the input nodes descending from node nn.

Definition F.1 (Smoothness). A PC is smooth if all children of every sum node nn have the same scope:

ϕ(c)=ϕ(n),∀c∈ch⁡(n).\phi(c) = \phi(n), \qquad\forall c \in\operatorname{ch}(n).

Definition F.2 (Decomposability). A PC is decomposable if the children of every product node nn have pairwise disjoint scopes:

ϕ(c)∩ϕ(d)=∅,∀c,d∈ch⁡(n), c≠d.\phi(c) \cap\phi(d) = \varnothing, \qquad\forall c,d \in\operatorname{ch}(n),\ c \ne d.

Bottom-up evaluation. Given observed token assignments ee, let Ln(e)L_n(e) denote the probability of the evidence within ϕ(n)\phi(n). At an input node, we evaluate the observed token’s probability or sum over all token values if the variable is unobserved. Product nodes combine evidence from disjoint scopes by multiplication, while sum nodes average their children’s evidence probabilities using the mixture weights:

Ln(e)={gn(ei),n is an input over observed Xi,∑v∈Vgn(v)=1,n is an input over unobserved Xi,∏c∈ch⁡(n)Lc(e),n is a product node,∑c∈ch⁡(n)ωn,cLc(e),n is a sum node.L_n(e) = \begin{cases} g_n(e_i), & n\text{ is an input over observed }X_i,\\ \sum_{v\in\mathcal{V}}g_n(v)=1, & n\text{ is an input over unobserved }X_i,\\ \prod_{c\in\operatorname{ch}(n)}L_c(e), & n\text{ is a product node},\\ \sum_{c\in\operatorname{ch}(n)}\omega_{n,c}L_c(e), & n\text{ is a sum node}. \end{cases}

Smoothness and decomposability ensure that these local operations compute the exact evidence probability. Evaluating each node after its children yields this probability at the root in a single pass, with cost linear in the number of circuit edges after input evaluation.

Mapping the modulated circuit to tractable inference. Appendix D of Li et al. [21] establishes tractable normalization by expressing its normalizer as an independent soft-evidence query on a PC. We follow the same reasoning, accounting for modulation of both input distributions and sum weights.

Fix the masked context xtx_t and neural outputs θt=fφ(xt)\theta_t=f_\varphi(x_t). The input modulation in Equation (10) preserves each input node’s univariate scope and produces a normalized distribution. Likewise, the gates in Equation (11) produce nonnegative, normalized sum weights without changing the children of any node. Assuming positive local normalizers, the resulting p~(x0;θt,ω)\widetilde{p}(x_0;\theta_t,\omega) is therefore a normalized PC with the same smoothness and decomposability properties as the original circuit. Although the neural outputs depend on the full context, they remain fixed as we sum over x0x_0.

The normalizer in Equation (5) can consequently be written as

Z(θt,ω)=∑x0p~(x0;θt,ω)∏i:xti≠[MASK]1{x0i=xti}.(22)Z(\theta_t,\omega)=\sum_{x_0}\widetilde{p}(x_0;\theta_t,\omega)\prod_{i:x_t^i\ne[\mathrm{MASK}]} \mathbf{1}\{x_0^i=x_t^i\}. \tag*{(22)}

The indicators are univariate evidence functions, so Equation (22) is an independent-evidence query on the modulated PC. The tractable inference result of Liu et al. [25] therefore applies.

Concretely, each observed input is evaluated at its visible token, while each masked input sums to one. These values propagate through the product nodes and the sum nodes using their gated weights, yielding ZZ at the root. Once the modulated parameters and input values have been computed, this bottom-up pass is exact and linear in the number of circuit edges.

Correspondence with Standard Circuit Learning Algorithms

We make explicit how Equation (8) recovers the basic updates of full-batch EM, interpolated mini-batch EM, and Anemone. Consider a standalone smooth, decomposable PC with normalized inputs and strictly positive, normalized sum weights. For a batch B\mathcal{B}, define

FB+(n,c):=1∣B∣∑x∈B∂log⁡p~(x;ω)∂log⁡ωn,c,CB(n):=∑c∈ch⁡(n)FB+(n,c).(23)F_{\mathcal{B}}^{+}(n,c) := \frac{1}{|\mathcal{B}|} \sum_{\mathbf{x}\in\mathcal{B}} \frac{\partial\log\tilde{p}(\mathbf{x};\boldsymbol{\omega})}{\partial\log\omega_{n,c}}, \qquad C_{\mathcal{B}}(n) := \sum_{c\in\operatorname{ch}(n)} F_{\mathcal{B}}^{+}(n,c). \tag*{(23)}

The inputs are held fixed, and derivatives treat untied edge weights as independent coordinates before row normalization. These derivatives are posterior expected edge counts ([32]); CB(n)C_{\mathcal{B}}(n) is their total for node nn. Here p~\tilde{p} denotes the raw circuit output, which equals the model likelihood at normalized parameters. The derivatives do not include an additional global normalizer or a softmax parameterization.

Writing Tn,c:=Tϕ,ω(n,c)T_{n,c} := T_{\phi,\boldsymbol{\omega}}(n,c), the row-normalized form of Equation (8) in this standalone setting is

ωn,cnew=ωn,c+αTn,cFB+(n,c)1+α∑d∈ch⁡(n)Tn,dFB+(n,d).(24)\omega_{n,c}^{\mathrm{new}} = \frac{\omega_{n,c} + \alpha T_{n,c}F_{\mathcal{B}}^{+}(n,c)}{1 + \alpha\sum_{d\in\operatorname{ch}(n)} T_{n,d}F_{\mathcal{B}}^{+}(n,d)}. \tag*{(24)}

All quantities on the right are evaluated before the update. The following choices establish the correspondence.

Full-batch EM. Let B=D\mathcal{B} = \mathcal{D} be the full training set and take Tn,c=1T_{n,c}=1. If CD(n)>0C_{\mathcal{D}}(n)>0, then

lim⁡α→∞ωn,cnew=FD+(n,c)CD(n).(25)\lim_{\alpha\to\infty}\omega_{n,c}^{\mathrm{new}} = \frac{F_{\mathcal{D}}^{+}(n,c)}{C_{\mathcal{D}}(n)}. \tag*{(25)}

This is the EM update obtained by normalizing the expected edge counts ([32]). Thus, full-batch EM is recovered as a limit of the additive update, rather than generally at a finite learning rate.

Interpolated mini-batch EM. For CB(n)>0C_{\mathcal{B}}(n)>0, choose Tn,c=1/CB(n)T_{n,c}=1/C_{\mathcal{B}}(n) for every child cc. Substituting into Equation (24) gives

ωn,cnew=ωn,c+αFB+(n,c)/CB(n)1+α=(1−λ)ωn,c+λFB+(n,c)CB(n),λ:=α1+α.(26)\begin{aligned} \omega_{n,c}^{\mathrm{new}} = \frac{\omega_{n,c} + \alpha F_{\mathcal{B}}^{+}(n,c)/C_{\mathcal{B}}(n)}{1+\alpha} \\ &= (1-\lambda)\omega_{n,c} + \lambda\frac{F_{\mathcal{B}}^{+}(n,c)}{C_{\mathcal{B}}(n)}, \qquad\lambda:= \frac{\alpha}{1+\alpha}. \tag*{(26)} \end{aligned}

This recovers the mini-batch interpolation rule of Peharz et al. [32], with mixing coefficient 0≤λ<10 \leq\lambda< 1. The endpoint λ=1\lambda=1 corresponds to α→∞\alpha\to\infty.

Anemone. Let ρn>0\rho_n>0 be the probability that a generative traversal of the current circuit reaches node nn. Choosing Tn,c=1/ρnT_{n,c}=1/\rho_n gives

ωn,cnew=ρnωn,c+αFB+(n,c)ρn+αCB(n),(27)\omega_{n,c}^{\mathrm{new}} = \frac{\rho_n\omega_{n,c} + \alpha F_{\mathcal{B}}^{+}(n,c)}{\rho_n + \alpha C_{\mathcal{B}}(n)}, \tag*{(27)}

which is Anemone’s basic update ([27], Eq. (7)). Its effective step size depends on the node’s usage in the batch relative to its usage under the current model.

Rows with zero batch flow are left unchanged; unreachable nodes are also left unchanged. Nonnegative example weights, including w(t)w(t), can be included in the average in Equation (23), yielding the corresponding weighted updates. These correspondences concern the basic updates without momentum or additional regularization. For our conditional objective, the positive statistic is replaced by FB+−FB−F_{\mathcal{B}}^{+}-F_{\mathcal{B}}^{-}; the dual-flow update addresses this signed case, with its properties proved in Appendix § 16.

Proof of the Signed-Flow Update Properties

Proof of Theorem 3.1. Fix an active sum node nn and abbreviate ωc:=ωn,c\omega_c := \omega_{n,c}, ac:=F+β(n,c)a_c := F_{+}^{\beta}(n,c), bc:=F−β(n,c)b_c := F_{-}^{\beta}(n,c), and Tc:=T(n,c)T_c := T(n,c). All sums below range over c∈ch⁡(n)c \in\operatorname{ch}(n). The assumptions give ωc>0\omega_c > 0, ∑cωc=1\sum_c \omega_c = 1, finite aca_c, bc≥0b_c \ge0, and finite Tc>0T_c > 0. All quantities are evaluated at the pre-update parameters and held fixed as α\alpha varies. The derivatives are taken with respect to directly parameterized, untied edge weights before enforcing row normalization; neural outputs and all other circuit inputs are held fixed. Define the unnormalized updated weights and their row normalizer as

uc(α):=ωc1+αTcac/ωc1+αTcbc/ωc,S(α):=∑cuc(α).(28)u_c(\alpha) := \omega_c \frac{1+\alpha T_c a_c/\omega_c}{1+\alpha T_c b_c/\omega_c}, \qquad S(\alpha) := \sum_c u_c(\alpha). \tag*{(28)}

Then Equation (9) is precisely ωcnew=uc(α)/S(α)\omega_c^{\mathrm{new}} = u_c(\alpha)/S(\alpha).

(i) Positivity and normalization. For every finite α≥0\alpha\ge0, both terms 1+αTcac/ωc1+\alpha T_c a_c/\omega_c and 1+αTcbc/ωc1+\alpha T_c b_c/\omega_c are finite and at least one. Thus uc(α)>0u_c(\alpha) > 0 and 0<S(α)<∞0 < S(\alpha) < \infty. Consequently, ωcnew>0\omega_c^{\mathrm{new}} > 0 and ∑cωcnew=1\sum_c \omega_c^{\mathrm{new}} = 1.

(ii) Recovery of the standard update. Consider a smooth, decomposable standalone PC with normalized input distributions and every sum row normalized. Let ZZ be its unconditional normalizer, with all variables marginalized and no additional evidence factors. Let TDω(n)>0\mathrm{TD}_{\omega}(n) > 0 denote the probability that a generative traversal of the current circuit visits sum node nn. Then, we can write ρn:=TDω(n)>0\rho_n := \mathrm{TD}_{\omega}(n) > 0 for the probability that a generative traversal reaches nn. Under the independent-edge derivative convention,

∂log⁡Z∂log⁡ωc=ρnωc.(29)\frac{\partial\log Z}{\partial\log\omega_c} = \rho_n \omega_c. \tag*{(29)}

This identity is the normalizer derivative underlying the standard circuit update [27]. To see it directly, evaluate the circuit with all variables marginalized. Every node then has value one. Reverse differentiation gives sensitivity ρn\rho_n at node nn; the derivative with respect to its edge weight ωc\omega_c is therefore ρn\rho_n times the child value, namely ρn\rho_n. Multiplication by ωc/Z=ωc\omega_c/Z = \omega_c yields Equation (29). Although Z=1Z = 1 at normalized parameters, independently perturbing an edge need not preserve normalization, so this derivative is generally nonzero.

For the weighted minibatch averages, let wˉB:=∣B∣−1∑(t,x0,xt)∈Bw(t)\bar{w}_{\mathcal{B}} := |\mathcal{B}|^{-1} \sum_{(t,x_0,x_t)\in\mathcal{B}} w(t). In the standalone setting the unconditional normalizer is the same for every example, giving bc=wˉBρnωcb_c = \bar{w}_{\mathcal{B}}\rho_n\omega_c. Taking Tc=1/ρnT_c = 1/\rho_n in Equation (28) therefore gives

uc(α)=ωc+αac/ρn1+αwˉB.(30)u_c(\alpha) = \frac{\omega_c + \alpha a_c/\rho_n}{1+\alpha\bar{w}_{\mathcal{B}}}. \tag*{(30)}

The denominator is shared across all children and cancels under row normalization. Hence

ωcnew=ωc+αac/ρn1+α∑dad/ρn=ρnωc+αacρn+α∑dad,(31)\omega_c^{\mathrm{new}} = \frac{\omega_c+\alpha a_c/\rho_n}{1+\alpha\sum_d a_d/\rho_n} = \frac{\rho_n\omega_c+\alpha a_c}{\rho_n+\alpha\sum_d a_d}, \tag*{(31)}

which is Equation (8) with the positive flows aca_c. Here the standalone objective in Equation (8) is the average log circuit output, whose log-weight derivatives are aca_c.

(iii) Full-batch EM limit. Under the conditions in (ii), let B\mathcal{B} be the full training set and assume A:=∑dad>0A := \sum_d a_d > 0. Dividing the numerator and denominator of Equation (31) by α\alpha yields

lim⁡α→∞ωcnew=lim⁡α→∞ρnωc/α+acρn/α+A=acA.(32)\lim_{\alpha\to\infty}\omega_c^{\mathrm{new}} = \lim_{\alpha\to\infty}\frac{\rho_n\omega_c/\alpha+a_c}{\rho_n/\alpha+A} = \frac{a_c}{A}. \tag*{(32)}

The aca_c are the corresponding weighted expected edge counts. Normalizing them maximizes the sum-node EM surrogate ∑caclog⁡ωcnew\sum_c a_c \log\omega_c^{\mathrm{new}} subject to nonnegative weights summing to one, and therefore gives the full-batch EM update for the weighted objective. For unit example weights, this is ordinary full-batch EM. Zero counts may yield zero weights in this limit, which is consistent with strict positivity holding only for finite steps. If A=0A = 0, all aca_c vanish and Equation (31) leaves the row unchanged; the normalized-count formula is not used in that case.

(iv) First-order agreement. Let G(n,c):=FB+(n,c)−FB−(n,c)G(n,c) := F_{\mathrm{B}}^{+}(n,c) - F_{\mathrm{B}}^{-}(n,c). With all pre-update quantities fixed, define the unnormalized update

rn,c:=ωn,c1+ηn,cFB+(n,c)1+ηn,cFB−(n,c),r_{n,c} := \omega_{n,c}\frac{1+\eta_{n,c}F_{\mathrm{B}}^{+}(n,c)}{1+\eta_{n,c}F_{\mathrm{B}}^{-}(n,c)},

where ηn,c=αT(n,c)/ωn,c\eta_{n,c} = \alpha T(n,c)/\omega_{n,c} and α→0\alpha\to0. Then we can rewrite rn,cr_{n,c} as

rn,c=ωn,c+αT(n,c)G(n,c)+O(α2)r_{n,c} = \omega_{n,c} + \alpha T(n,c)G(n,c) + O(\alpha^{2})

Since ∑dωn,d=1\sum_d \omega_{n,d} = 1, the normalized update satisfies

ωn,cnew−ωn,c=rn,c−ωn,c∑drn,d∑drn,d=ωn,c+αT(n,c)G(n,c)−ωn,c(1+α∑dT(n,d)G(n,d))+O(α2)1+α∑dT(n,d)G(n,d)+O(α2)=[α(T(n,c)G(n,c)−ωn,c∑dT(n,d)G(n,d))+O(α2)]×[1−α∑dT(n,d)G(n,d)+O(α2)]=α(T(n,c)G(n,c)−ωn,c∑dT(n,d)G(n,d))+O(α2).(33)\begin{aligned} \omega_{n,c}^{\mathrm{new}}-\omega_{n,c} &= \frac{r_{n,c}-\omega_{n,c}\sum_d r_{n,d}}{\sum_d r_{n,d}} \\ &= \frac{\omega_{n,c}+\alpha T(n,c)G(n,c)-\omega_{n,c}\left(1+\alpha\sum_d T(n,d)G(n,d)\right)+O(\alpha^{2})}{1+\alpha\sum_d T(n,d)G(n,d)+O(\alpha^{2})} \\ &= \left[\alpha\left(T(n,c)G(n,c)-\omega_{n,c}\sum_d T(n,d)G(n,d)\right)+O(\alpha^{2})\right] \\ &\qquad{}\times\left[1-\alpha\sum_d T(n,d)G(n,d)+O(\alpha^{2})\right] \\ &= \alpha\left(T(n,c)G(n,c)-\omega_{n,c}\sum_d T(n,d)G(n,d)\right)+O(\alpha^{2}). \tag*{(33)} \end{aligned}

All sums are over d∈ch⁡(n)d \in\operatorname{ch}(n). This is also the first-order expansion of the normalized signed-gradient update (ωn,c+αT(n,c)G(n,c))/(1+α∑dT(n,d)G(n,d))(\omega_{n,c}+\alpha T(n,c)G(n,c))/(1+\alpha\sum_d T(n,d)G(n,d)), establishing (iv).

References

  1. [1]Marianne Arriola, Aaron Gokaslan, Justin T Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sekhar Sahoo, and Volodymyr Kuleshov. Block diffusion: Interpolating between autoregressive and diffusion language models. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2503.09573
  2. [3]Jacob Austin, Daniel D Johnson, Jonathan Ho, Daniel Tarlow, and Rianne Van Den Berg. Structured denoising diffusion models in discrete state-spaces. Advances in Neural Information Processing Systems, 34:17981–17993, 2021a.arxiv.org/abs/2107.03006
  3. [4]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. Program synthesis with large language models, 2021b.arxiv.org/abs/2108.07732
  4. [5]Heli Ben-Hamu, Itai Gat, Daniel Severo, Niklas Nolte, and Brian Karrer. Accelerated sampling from masked diffusion models via entropy bounded unmasking. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=WBcBhT1NKO.
  5. [6]Tiwei Bie, Maosong Cao, Kun Chen, Lun Du, Mingliang Gong, Zhuochen Gong, Yanmei Gu, Jiaqi Hu, Zenan Huang, Zhenzhong Lan, Chengxi Li, Chongxuan Li, Jianguo Li, Zehuan Li, Huabin Liu, Ling Liu, Guoshan Lu, Xiaocheng Lu, Yuxin Ma, Jianfeng Tan, Lanning Wei, Ji-Rong Wen, Yipeng Xing, Xiaolu Zhang, Junbo Zhao, Da Zheng, Jun Zhou, Junlin Zhou, Zhangchao Zhou, Liwang Zhu, and Yihong Zhuang. Lliada2.0: Scaling up diffusion language models to 100b, 2025. URL https://arxiv.org/abs/2512.15745.
  6. [7]Huiwen Chang, Han Zhang, Lu Jiang, Ce Liu, and William T. Freeman. Maskgit: Masked generative image transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11315–11325, 2022. URL https://openaccess.thecvf.com/content/CVPR2022/html/Chang_MaskGIT_Masked_Generative_Image_Transformer_CVPR_2022_paper.html.arxiv.org/abs/2202.04200
  7. [8]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code, 2021.arxiv.org/abs/2107.03374
  8. [9]Ranfei Chen and Ming Chen. Dsft: Inspiring diffusion large language models to comprehend mathematical and logical patterns, 2025. URL https://arxiv.org/abs/2509.18164.
  9. [10]Shuang Cheng, Yihan Bian, Dawei Liu, Yuhua Jiang, Yihao Liu, Linfeng Zhang, Wenhai Wang, Qipeng Guo, Kai Chen, Biqing Qi, and Bowen Zhou. Sdar: A synergistic diffusion–autoregression paradigm for scalable sequence generation, 2025. URL https://github.com/JetAstra/SDAR.
  10. [11]YooJung Choi, Antonio Vergari, and Guy Van den Broeck. Probabilistic circuits: A unifying framework for tractable probabilistic models. oct 2020.
  11. [12]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems, 2021.
  12. [13]Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li, Kyle McDonnell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. The language model evaluation harness, 07 2024. URL https://zenodo.org/records/12608602.
  13. [14]Andreas Grivas, Lorenzo Loconte, Emile van Krieken, Piotr Nawrot, Yu Zhao, Euan Wielewski, Pasquale Minervini, Edoardo Ponti, and Antonio Vergari. Fast and expressive multi-byte prediction with probabilistic circuits. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=6kCEWyW9god.
  14. [15]Satoshi Hayakawa, Yuhta Takida, Masaaki Imaizumi, Hiromi Wakaki, and Yuki Mitsufuji. Distillation of discrete diffusion through dimensional correlations. In International Conference on Machine Learning, pp. 22259–22297. PMLR, 2025.
  15. [16]Daniel Israel, Guy Van den Broeck, and Aditya Grover. Accelerating diffusion llms via adaptive parallel decoding. arXiv preprint arXiv:2506.00413, 2025.
  16. [19]Jaeyeon Kim, Kulin Shah, Vasillis Kontonis, Sham M. Kakade, and Sitan Chen. Train for the worst, plan for the best: Understanding token ordering in masked diffusions. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=DjJmre5IkP.
  17. [20]Minseo Kim, Chenfeng Xu, Coleman Hooper, Harman Singh, Ben Athiwatkun, Ce Zhang, Kurt Keutzer, and Amir Gholami. Cdlm: Consistency diffusion language models for faster sampling, 2026. URL https://arxiv.org/abs/2511.19269.
  18. [21]Ian Li, Zilei Shao, Benjie Wang, Rose Yu, Guy Van den Broeck, and Anji Liu. Breaking the factorization barrier in diffusion language models. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=euv8IoKFb h.
  19. [22]Jia LI, Edward Beeching, Lewis Tunstall, Ben Lipkin, Roman Soletskyi, Shengyi Costa Huang, Kashif Rasul, Longhui Yu, Albert Jiang, Ziju Shen, Zihan Qin, Bin Dong, Li Zhou, Yann Fleureau, Guillaume Lample, and Stanislas Polu. Numinamath, 2024.
  20. [23]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step, 2023. URL https://arxiv.org/abs/2305.20050.
  21. [24]Anji Liu, Kareem Ahmed, and Guy Van den Broeck. Scaling tractable probabilistic circuits: a systems perspective. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. JMLR.org, 2024a.arxiv.org/abs/2406.00766
  22. [25]Anji Liu, Mathias Niepert, and Guy Van den Broeck. Image painting via tractable steering of diffusion models. In The Twelfth International Conference on Learning Representations, 2024b. URL https://openreview.net/forum?id=NSIVHTbZBR.
  23. [26]Anji Liu, Oliver Broadrick, Mathias Niepert, and Guy Van den Broeck. Discrete copula diffusion. In The Thirteenth International Conference on Learning Representations, 2025a.arxiv.org/abs/2410.01949
  24. [27]Anji Liu, Zilei Shao, and Guy Van den Broeck. Rethinking probabilistic circuit parameter learning, 2025b. URL https://arxiv.org/abs/2505.19982.
  25. [28]Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation, 2023. URL https://arxiv.org/abs/2305.01210.
  26. [29]Lorenzo Loconte, Antonio Mari, Gennaro Gala, Robert Peharz, Cassio de Campos, Erik Queaghebeur, Gennaro Vessio, and Antonio Vergari. What is the relationship between tensor factorizations and circuits (and how can we exploit it)? Transactions on Machine Learning Research, 2025. ISSN 2835-8856. URL https://openreview.net/forum?id=Y7dRmpGiHj. Featured Certification.
  27. [30]Omer Luxembourg, Haim H. Permuter, and Eliya Nachmani. Plan for speed: Dilated scheduling for masked diffusion language models. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=DbzAsMRNhY.
  28. [31]Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. arXiv preprint arXiv:2502.09992, 2025.arxiv.org/abs/2502.09992
  29. [32]Robert Peharz, Steven Lang, Antonio Vergari, Karl Stelzner, Alejandro Molina, Martin Trapp, Guy Van Den Broeck, Kristian Kersting, and Zoubin Ghahramani. Einsum networks: fast and scalable learning of tractable probabilistic circuits. In Proceedings of the 37th International Conference on Machine Learning, ICML’20. JMLR.org, 2020.
  30. [33]Hoifung Poon and Pedro Domingos. Sum-product networks: A new deep architecture. In 2011 IEEE International Conference on Computer Vision Workshops (ICCV Workshops), pp. 689–690. IEEE, 2011.arxiv.org/abs/1202.3732
  31. [34]Subham Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. Advances in Neural Information Processing Systems, 37:130136–130184, 2024.
  32. [35]Xiaoting Shao, Alejandro Molina, Antonio Vergari, Karl Stelzner, Robert Peharz, Thomas Liebig, and Kristian Kersting. Conditional sum-product networks: Imposing structure on deep probabilistic architectures. In International Conference on Probabilistic Graphical Models, pp. 401–412. PMLR, 2020.arxiv.org/abs/1905.08550
  33. [36]Jiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet, and Michalis K Titsias. Simplified and generalized masked diffusion for discrete data. arXiv preprint arXiv:2406.04329, 2024.arxiv.org/abs/2406.04329
  34. [37]Bowen Sun, Yujun Cai, Ming-Hsuan Yang, and Yiwei Wang. Blockwise sft for diffusion language models: Reconciling bidirectional attention and autoregressive decoding, 2025. URL https://arxiv.org/abs/2508.19529.
  35. [38]Runchu Tian, Junxia Cui, Xueqiang Xu, Feng Yao, and Jingbo Shang. Finish first, perfect later: Test-time token-level cross-validation for diffusion large language models, 2025. URL https://openreview.net/forum?id=mcBAMstQmM.arxiv.org/abs/2510.05090
  36. [39]Antonio Vergari, YooJung Choi, Anji Liu, Stefano Teso, and Guy Van den Broeck. A compositional atlas of tractable circuit operations for probabilistic inference. Advances in Neural Information Processing Systems, 34:13189–13201, 2021.
  37. [40]Guanghan Wang, Yair Schiff, Subham Sahoo, and Volodymyr Kuleshov. Remasking discrete diffusion models with inference-time scaling. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=IJryQAOyOp.arxiv.org/abs/2503.00307
  38. [41]Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. Fast-dllm: Training-free acceleration of diffusion llm by enabling kv cache and parallel decoding. arXiv preprint arXiv:2505.22618, 2025.
  39. [42]Minkai Xu, Tomas Geffner, Karsten Kreis, Weili Nie, Yilun Xu, Jure Leskovec, Stefano Ermon, and Arash Vahdat. Energy-based diffusion language models for text generation. In The Thirteenth International Conference on Learning Representations, 2025a.arxiv.org/abs/2410.21357
  40. [43]Zhangchen Xu, Yang Liu, Yueqin Yin, Mingyuan Zhou, and Radha Poovendran. Kodcode: A diverse, challenging, and verifiable synthetic dataset for coding, 2025b. URL https://arxiv.org/abs/2503.02951.
  41. [44]Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Dream 7b: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025.arxiv.org/abs/2508.15487
  42. [45]Gwen Yidou-Weng, Ian Li, Anji Liu, Oliver Broadrick, Yuchen Cui, Guy Van den Broeck, and Benjie Wang. Learning tractable distributions of language model continuations, 2026. URL https://arxiv.org/abs/2511.16054.
  43. [46]Honghua Zhang, Meihua Dang, Nanyun Peng, and Guy Van den Broeck. Tractable control for autoregressive language generation. In International Conference on Machine Learning, pp. 40932–40945. PMLR, 2023.arxiv.org/abs/2304.07438
  44. [47]Honghua Zhang, Po-Nien Kung, Masahiro Yoshida, Guy Van den Broeck, and Nanyun Peng. Adaptable logical control for large language models. Advances in Neural Information Processing Systems, 37:115563–115587, 2024.arxiv.org/abs/2406.13892
  45. [48]Siyan Zhao, Devaansh Gupta, Qinqing Zheng, and Aditya Grover. d1: Scaling reasoning in diffusion large language models via reinforcement learning. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=7ZVRlBFuEv.arxiv.org/abs/2504.12216
  46. [49]Yixiu Zhao, Jiaxin Shi, Feng Chen, Shaul Druckmann, Lester Mackey, and Scott Linderman. In-formed correctors for discrete diffusion models. arXiv preprint arXiv:2407.21243, 2024.arxiv.org/abs/2407.21243
  47. [50]Tianyu Zheng, Ge Zhang, Tianhao Shen, Xueling Liu, Bill Yuchen Lin, Jie Fu, Wenhu Chen, and Xiang Yue. OpenCodeInterpreter: Integrating code generation with execution and refinement. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 12834–12859, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.762. URL https://aclanthology.org/2024.findings-acl.762/.DOI

Paper details

vlnc:W_m4kme6eq
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents