Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
Original note, sentence-aligned / 原创笔记逐句对照。Not a full-paper translation / 不是论文全文翻译。
Guidance changes both direction and timing
引导同时改变方向与时机
In a continuous-time masked diffusion chain, a transition has two components: how often a token is revealed and which token is revealed.
在连续时间掩码扩散链中,转移包含两个部分:多久揭示一次词元,以及揭示哪个词元。
This paper shows that an unnormalized geometric blend can unintentionally change the first component while trying to control the second.
本文指出,未归一化的几何混合可能在试图控制第二部分时,无意改变第一部分。
Write a rate column as an exit rate r(x) times a normalized jump distribution p(y|x).
将速率矩阵的一列写成离开速率 r(x) 与归一化跳转分布 p(y|x) 的乘积。
Using u directly multiplies the total exit rate by Z_w.
直接使用 u 会将总离开速率乘以 Z_w。
Normalizing u/Z_w preserves the intended clock while steering token identity.
将 u 归一化为 u/Z_w,可以在引导词元身份的同时保留预期时钟。
The diagonal rate must still be the negative sum of the off-diagonal rates, so each column sums to zero.
对角速率仍必须等于非对角速率之和的负值,保证每列总和为零。
Why a one-token calculation matters
为什么单词元计算有意义
In one dimension the terminal token distribution can be the desired tilt even when the unmasking trajectory is distorted.
在一维中,即使解掩码轨迹发生扭曲,终局词元分布仍可能是目标倾斜分布。
The partition function appears in the mask-survival exponent and can accelerate unmasking sharply.
配分函数出现在掩码存活概率的指数中,可能显著加快解掩码。
Finite-step numerical solvers then face a different and potentially stiff process.
有限步数值求解器因此面对不同、且可能刚性更强的过程。
Matching an ideal terminal distribution does not guarantee that a coarse numerical simulation will match it.
理想终局分布匹配,并不保证粗粒度数值模拟也能匹配。
The normalized masked-token rule uses softmax of w log p + (1 − w) log q while retaining the schedule factor.
归一化掩码词元规则对 w log p + (1 − w) log q 使用 softmax,同时保留调度因子。
Here w = 1 is ordinary conditional generation, unlike conventions where zero means no extra guidance.
这里 w = 1 表示普通条件生成,不同于以零表示无额外引导的约定。
Scheduling and the time convention
调度与时间约定
The paper's forward diffusion time runs from clean data at 0 to a masked state at T.
论文的前向扩散时间从 0 时刻的干净数据走向 T 时刻的掩码状态。
Generation runs in the opposite direction, so increasing guidance during generation means stronger guidance as that time coordinate decreases.
生成沿相反方向进行,因此沿生成过程增强引导,意味着该时间坐标下降时引导更强。
A two-token calculation decomposes the output into terms associated with token reveal order and guidance strengths in different intervals.
双词元计算将输出分解为与词元揭示顺序及各区间引导强度相关的项。
It motivates low early guidance and stronger middle-to-late guidance in the studied setting.
它在所研究设置中支持前期较弱、中后期较强的引导。
This is not logically inconsistent with a prompt-specific early handoff in Commitment Before Realization: the kernels, objectives, guidance conventions, and evaluated constraints differ.
这与 Commitment Before Realization 中提示词特定的早期交接不构成逻辑矛盾:两者的转移核、目标、引导约定和评估约束不同。
Neither result licenses one universal schedule for all masked diffusion models.
两者都不能推出适用于所有掩码扩散模型的统一调度。
Experiments and limits
实验与局限
ImageNet-256 normalization experiments use MaskGIT, 50 steps, and 50,000 generated samples for FID.
ImageNet-256 的归一化实验采用 MaskGIT、50 步以及 50,000 张生成图像计算 FID。
The schedule comparison uses 10,000 samples and reports stronger results for guidance that increases along generation.
调度比较使用 10,000 个样本,并报告沿生成过程增强引导的策略表现更好。
Meissonic and Show-O are evaluated with GenEval, while LLaDA-8B-Instruct is tested on MATH-500.
Meissonic 与 Show-O 使用 GenEval 评估,LLaDA-8B-Instruct 则在 MATH-500 上测试。
The text experiment uses up to 256 tokens, blocks of 32, and a simple Euler sampler without remasking.
文本实验最多生成 256 个词元,采用 32 词元分块及不进行重新掩码的简单 Euler 采样器。
Those results should not be compared directly with the original LLaDA benchmark configuration.
这些结果不应直接与原始 LLaDA 基准配置比较。
The theoretical analysis is low-dimensional; high-dimensional improvements are empirical evidence, not a general theorem.
理论分析处于低维;高维改善属于实验证据,而不是一般定理。
A reproduction should distinguish changing the rate normalization from changing the numerical solver or schedule.
复现应区分速率归一化的变化、数值求解器变化和调度变化。
The source is v2 and carries CC BY-SA 4.0; a translated edition must retain attribution and the same adaptation license.
来源为 v2,许可为 CC BY-SA 4.0;译本必须保留署名并采用相同的改编许可。