- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 4
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper provides the first theoretical guarantee for the Confidence-Based Decoding Strategy in Diffusion Language Models using entropy sum-based criteria, that is, the generation process continues unmasking within each iteration until the cumulative entropy exceeds a threshold . Crucially, the paper shows that with an optimal mask predictor, achieving -accuracy in Kullback-Leibler divergence requires an expected number of steps , where the notation omits logarithmic factors and denotes the entropy of the target data distribution. As a result, this strategy yields substantial sampling acceleration when the data distribution has low entropy. The authors also provide a theoretical guarantee for entropy maximum-based decoding and discuss the impact of the entropy criterion.
Strengths and weaknesses
Strengths:
- This paper provides the first theoretical guarantee for the Decoding-Based Decoding Strategy in Diffusion Language Models, which already has a strong empirical performance.
Weaknesses:
- The authors present their theoretical results under the assumption that the mask predictor is optimal, namely, is the product of true marginal densities - whereas this assumption is unrealistic in practice. It remains unclear whether the theoretical error analysis holds up if the optimal mask predictor assumption is relaxed to an approximate predictor with statistical error.
Questions
Questions:
- Will the error analysis change significantly if the optimal mask predictor assumption is relaxed to an approximate predictor with statistical error?
- What is the value of in the worst-case scenario, and how does it compare with theoretical results of Uniform Decoding Strategy?
- Could the authors provide some examples of data distributions where ?
Minor comments:
- The authors should explicitly define the notations (introduced in the Abstract) and (introduced in the Contributions section) upon their first usage.
- In Eq. (4), the authors should explicitly state the underlying distributions that are drawn from.
- In Eq. (5), the input to the mask predictor should be written as to maintain consistency, shouldn't it?
- In Eq. (14a), should the expression be written as instead?
- In the final line of Eq. (21), should the relation be an inequality () rather than ?
Limitations
Yes
Paper formatting concerns
Several equations throughout the Appendix exceed the page margins.
Final justification
The authors have addressed all of my concerns, therefore I will maintain my positive score.
Robustness to imperfect mask predictor
The predictor error affects not only the conditional distributions used to sample tokens, but also the entropy estimates that determine the adaptive unmasking set boundaries. Our analysis can be extended to an approximate predictor by combining two sources of error. Specifically, define the mask predictor estimation error as εest=:E[∑t∑i∈DtKL(pi(⋅∣Xt)∥pθi(⋅∣Xt))].(1)
In addition, assume that for any set A, c0∑i∈AH(pi(⋅∣Xt))−c1η≤∑i∈AH(pθi(⋅∣Xt))≤c01∑i∈AH(pi(⋅∣Xt))+c1η,(2)
where c0=2c1>0 is a sufficiently small fixed constant. Then we have the following theorem.
Theorem Under the above condition on pθ, one has E[KL(pX0∥pY)]≲η(logL+1)+εest(3)
and E[T]≲ηH(X0)+logL.(4)
We briefly outline the proof. Recall pi denotes the true conditional marginal and pθi denotes the learned predictor. We introduce a hybrid distribution pY⋆ that uses the same sets Dt selected according to the estimated entropies as the practical algorithm, but samples each token from the true conditional marginal. Since pY and pY⋆ follow the same adaptive schedule, their difference is exactly the accumulated predictor-estimation error: E[KL(pX0∥pY)]−E[KL(pX0∥pY⋆)]=E[∑t∑i∈DtKL(pi(⋅∣Xt)∥pθi(⋅∣Xt))].
Therefore, the mask predictor estimation error condition Eq. (1) contributes only an additional O(εest) term to the final sampling error.
The remaining issue is the perturbation of the adaptive schedule caused by inaccurate entropy estimates. It is sufficient that the estimated cumulative entropy be accurate at the scale of the stopping threshold, i.e., the condition in Eq. (2). To see why this condition is sufficient, let Dt− denote the unmasking set Dt with its final threshold-crossing token removed. The stopping rule based on the estimated entropies gives ∑i∈Dt−H(pθi(⋅∣Xt))≤η,∑i∈DtH(pθi(⋅∣Xt))>η.
Applying the lower bound in Eq. (2) to Dt−, we obtain c0∑i∈Dt−H(pi(⋅∣Xt))−c1η≤η,
and hence ∑i∈Dt−H(pi(⋅∣Xt))≤c01+c1η=O(η).(5)
Similarly, applying the upper bound in Eq. (2) to Dt gives η<∑i∈DtH(pθi(⋅∣Xt))≤c01∑i∈DtH(pi(⋅∣Xt))+c1η,
which implies ∑i∈DtH(pi(⋅∣Xt))>c0(1−c1)η=Ω(η).(6)
Eqs. (5) and (6) are precisely the two properties needed in the oracle proof. The first controls the factorization error contributed by each relevant iteration, while the second controls the number of completed iterations. Consequently, the same proof yields Eqs. (3) and (4). Choosing η≍logLε and combining Eq. (3) with the predictor error in Eq. (1) therefore gives the same sampling error and iteration complexity guarantees as in the oracle setting.
Finally, the entropy-accuracy condition can be related directly to conditional distribution estimation. By the Fannes-Audenaert inequality, ∣H(pθi(⋅∣Xt))−H(pi(⋅∣Xt))∣≤δilog(V−1)−δilogδi−(1−δi)log(1−δi),
where δi=:TV(pθi(⋅∣Xt),pi(⋅∣Xt)).
For small δi, this gives ∣H(pθi(⋅∣Xt))−H(pi(⋅∣Xt))∣≲δilogδiV.
Moreover, Pinsker's inequality implies δi≤21KL(pi(⋅∣Xt)∥pθi(⋅∣Xt)).
Thus, sufficiently accurate distribution estimation controls both the direct sampling error and the entropy estimation error responsible for perturbing the adaptive schedule.
We will add this robustness extension in the revised version.
Worst case
In the worst case, the entropy H(X0) grows linearly with the sequence length L, and our iteration-complexity bound therefore also scales linearly with L, up to logarithmic factors. Uniform decoding has the same worst-case linear dependence on L. Consequently, the entropy-sum strategy does not improve the worst-case scaling over uniform decoding. Its benefit instead lies in adapting to structured low-entropy distributions.
Example of low-entropy distributions
There are several natural classes of low-entropy sequence distributions.
For instance, consider a latent vector U∈0,1d with i.i.d. Unif(0,1) entries, and let X=GU∈0,1L, where G∈0,1L×d has rank d (over F2). Then X is uniformly distributed over a d-dimensional linear subspace of {0,1}L, so H(X)=d. In particular, when d≪L, the distribution has low entropy.
In addition, consider sequences that differ from a fixed reference sequence in at most k positions. Their support size is at most ∑j=0k(jL)(V−1)j,
and hence H(X0)≤log(∑j=0k(jL)(V−1)j)=O(klogkLV).
Therefore, when the number of deviations is sparse, for example, k=o(logLL), we obtain H(X0)≪L.
In the revised version, we will add these examples.
Response to minor comments
∙ Thank you for the suggestion. We will explicitly define O~ and Θ upon their first use.
∙ Thank you for the suggestion. In Eq. (4), we will explicitly state that X0∼pdata and S∼qmask where qmask denotes denotes the prescribed masking-set distribution used during training.
∙ Thank you for the suggestion. We have replaced Yt−1 with Yt−1Wt−1 in Eq. (5) to maintain consistency.
∙ Thank you for the catching the typo. We intended to use T instead of τ to denote the total number of iterations in the sentence following Eq. (14a). Accordingly, the distribution in Eq. (14a) should be written as YT. We have fixed the typo.
∙ Thank you for spotting the error. We have corrected it by replacing = with ≤.