用干预定义问题
本文研究何时可以关闭掩码扩散解码器的 classifier-free guidance,同时不实质降低最终约束满足率。
关键比较是:从同一个部分生成状态出发,分别继续使用引导,或仅使用条件基础模型完成生成。
仅基础模型的续写仍保留提示词,并非无条件生成。
这一区分使引导的必要性与单纯的词置信度、掩码比例或分布变化区别开来。
成功标准是指定的终局约束,而不是衡量输出质量的通用指标。
Paper Notes
论文全文中英对照版Full bilingual paper text
原创笔记逐句中英对照Sentence-aligned original note
合成教学数值,不是论文实验结果。默认静止;所有步骤均可在下方静态说明中阅读。Synthetic teaching values, not paper results. Nothing plays automatically; all steps remain available in the static explanation.
本文研究何时可以关闭掩码扩散解码器的 classifier-free guidance,同时不实质降低最终约束满足率。This paper asks when classifier-free guidance can be removed from a masked diffusion decoder without materially reducing final constraint success.
Fan Zhou, Weitian Wang, Tim Van de Cruys
Original reading note; cited methods and evidence, not an experimental reproduction. · 2608.08082v1
本文研究何时可以关闭掩码扩散解码器的 classifier-free guidance,同时不实质降低最终约束满足率。
关键比较是:从同一个部分生成状态出发,分别继续使用引导,或仅使用条件基础模型完成生成。
仅基础模型的续写仍保留提示词,并非无条件生成。
这一区分使引导的必要性与单纯的词置信度、掩码比例或分布变化区别开来。
成功标准是指定的终局约束,而不是衡量输出质量的通用指标。
令 q⁰_t(x) 表示从状态 x 出发、后续全部使用基础解码器时的最终成功概率。
对持续使用 CFG 的情形类似定义 qᵍ_t(x),两者之差就是剩余引导价值。
切换曲线 S_sw(t) 对应 t 之前使用引导、之后使用基础模型的策略。
时间边界是这样一个最早时点:从此以后,每个更晚切换点相对完整 CFG 的损失都在容差 ε 内。
要求所有后续切换点都满足条件,可以避免把暂时越过阈值误认为持续承诺。
这是对引导前缀取平均后的提示词级陈述,不是对每条实际轨迹的保证。
一个提示词到达该边界时,绝对成功概率仍可能很低。
继续引导没有收益,与约束必然满足,是两件不同的事。
马尔可夫状态必须包含解码器使用的全部历史信息。
在基础动力学下,条件期望给出 q⁰_t = K⁰_t q⁰_{t+1}。
因而 q⁰_t(X_t) 是有界鞅,尽管单条轨迹仍会升降。
若引导方向 δ 对转移分布作指数倾斜,对归一化期望求导会得到一个协方差。
当引导偏好的后继状态也具有更高的基础续写成功率时,引导在一阶近似下有益。
常数倾斜会被归一化消去;若后继价值相同,就没有局部改善空间。
负协方差则预测小幅干预有害。
在有限引导强度下,协方差表达式还存在高阶修正,不能充当精确的全局解释。
精确的全局恒等式沿未来引导轨迹累加局部提升。
某一步没有明显提升,并不意味着剩余总和很小。
鞅结论既不保证早期边界,也不保证边界之后可以安全并行解码。
主实验在 13 个子任务上评估 LLaDA-Instruct,每个子任务包含 200 个提示词。
中心设置采用引导权重 2、64 个词元的生成画布和 64 次去噪步骤。
任务来自 CommonGen、IFEval、COLLIE 及作者构建的约束控制生成套件。
边界选择与评估通过交叉拟合使用互不重叠的两半 rollout。
搜索检查 0.05 至 0.60 之间的七个归一化时点,并将未解决提示词保留为删失案例。
它不会把所有未解决提示词的实测边界都设成 0.60。
表 1 在保留右删失情况后,报告全部 13 个子任务在 ε = 0.03 下满足非劣性标准。
对含三个关键词的 CommonGen,成功率从 0.828 变为 0.819,差值区间为 [−0.021, +0.007]。
CCG 情感任务从 0.666 提升到 0.708,而 CCG 多约束任务从 0.890 降至 0.867。
这些结果支持基于容差的权衡,并非证明两种策略完全等价。
新轨迹上的并行解码研究使用 905 个已记录交接边界的提示词。
K = 1 时,表 2 中完整 CFG 的成功率和前向次数为 0.83、128,交接后为 0.82、84。
交接后将 K 增至 8,成功率为 0.80,困惑度为 153,前向次数为 46。
K = 1 的交接困惑度为 85,因此减少计算并不自动保留流畅性。
论文完整 CFG 的 Δ_K 列并非直接用所展示 Fresh SR 行相减所得;本笔记不会悄悄重算或把这些估计量视作同一个量。
在另一个包含 396 个提示词的干预实验中,重新开放已写位置改善了 collapse 与 hopeless 两种失败的恢复。
证据更支持恢复修改能力本身,而不是某一种位置选择规则具有独特优势。
附录 D 发现归因缺口:检测到的一阶事件无法恢复引导的大部分终局收益。
学习得到的门控在选定提示词上接近 rollout 门控,但留一任务迁移退化至随机水平。
每个子任务采用更晚的固定切换点,可以通过花费更多引导步骤获得更高成功率。
计算量以模型前向次数报告,不是实测端到端延迟,也不是相对现有调度器已证明的净收益。
复现应在相同干预策略下报告完整提示词总体、删失比例、选择成本、流畅性和成功率。
这是一种审慎的剩余引导价值诊断,其边界必须针对具体解码器和约束测量。
本原创笔记覆盖上文讨论的方法和选定实验证据,不是论文全文翻译;本次未运行模型复现实验。来源许可:https://creativecommons.org/licenses/by/4.0/
原文所列作者或相关代码链接:检查的来源中尚未核实作者代码链接。
原图与数据来自原论文。解释与比较属于阅读笔记。版本和图表编号随正文标明。
Fan Zhou, Weitian Wang, Tim Van de Cruys
Original reading note; cited methods and evidence, not an experimental reproduction. · 2608.08082v1
This paper asks when classifier-free guidance can be removed from a masked diffusion decoder without materially reducing final constraint success.
The relevant comparison completes the same partial state with either continued guidance or the conditional base model.
Base-only continuation keeps the prompt; it is not unconditional generation.
This distinction separates guidance necessity from token confidence, mask ratio, or distributional change alone.
The success criterion is a specified terminal constraint, not a universal measure of output quality.
Let q⁰_t(x) be the probability of eventual success from state x when every remaining transition uses the base decoder.
Define qᵍ_t(x) analogously for continued CFG, and define remaining guidance value as their difference.
The switch curve S_sw(t) uses guidance before t and base decoding afterward.
The horizon is the earliest point after which every later switch remains within tolerance ε of full CFG.
Requiring all later switch points prevents a transient crossing from being mistaken for persistent commitment.
This is a prompt-level statement averaging over guided prefixes, not a guarantee for every realized trajectory.
A prompt may reach the horizon while still having a low absolute probability of success.
No improvement from additional guidance is different from certainty that the constraint will hold.
The Markov state must include any history used by the decoder.
Under the base dynamics, conditional expectation gives q⁰_t = K⁰_t q⁰_{t+1}.
Thus q⁰_t(X_t) is a bounded martingale, although individual trajectories can rise or fall.
For an exponential tilt of the transition law by guidance direction δ, differentiating the normalized expectation gives a covariance.
Guidance helps to first order when its preferred successors also have higher future base success.
A constant tilt disappears under normalization, and equal successor values leave no local opportunity for improvement.
Negative covariance instead predicts a harmful small intervention.
At finite guidance strength, the covariance expression has higher-order corrections and is not an exact global explanation.
The exact global identity sums local lifts along future guided trajectories.
One quiet step does not imply that the remaining sum is small.
The martingale result ensures neither an early horizon nor safe parallel decoding after that horizon.
The main census evaluates LLaDA-Instruct on 13 subtasks, with 200 prompts per subtask.
The center setting uses guidance weight 2, a 64-token canvas, and 64 denoising steps.
The families include CommonGen, IFEval, COLLIE, and the authors' constraint-controlled generation suite.
Horizon selection and evaluation use disjoint rollout halves through cross-fitting.
The search checks seven normalized fractions between 0.05 and 0.60 and retains unresolved prompts as censored cases.
It does not assign every unresolved prompt a measured horizon of 0.60.
Table 1 reports noninferiority at ε = 0.03 across all 13 subtasks with right-censoring.
For CommonGen with three keywords, success changes from 0.828 to 0.819, with a difference interval of [−0.021, +0.007].
CCG sentiment improves from 0.666 to 0.708, whereas CCG multi declines from 0.890 to 0.867.
These results support a tolerance-based tradeoff, not exact equivalence between the policies.
The fresh parallel-decoding study uses 905 prompts with recorded handoff horizons.
At K = 1, Table 2 reports 0.83 success and 128 forward evaluations for full CFG, versus 0.82 and 84 after handoff.
After handoff, increasing K to 8 gives success 0.80, perplexity 153, and 46 forward evaluations.
The K = 1 handoff perplexity is 85, so reduced compute does not preserve fluency automatically.
The paper's full-CFG Δ_K column is not simply the difference between the displayed Fresh SR rows; the note does not silently recompute or equate these estimands.
Reopening already written positions improves recovery in both collapse and hopeless failures over a separate 396-prompt intervention census.
The evidence favors restoring revision capacity over a uniquely superior position-selection rule.
Appendix D finds an attribution gap: detected first-order events do not recover most of guidance's terminal benefit.
A learned gate matches the rollout-based gate on selected prompts, but leave-one-task-out transfer falls to chance.
Later per-subtask constant cuts can achieve higher success by spending more guided steps.
Compute is reported as forward evaluations, not measured end-to-end latency or a proven net gain over existing schedulers.
A reproduction should report the full prompt population, censored fraction, selection cost, fluency, and success under the same intervention policy.
This is a careful diagnostic of remaining guidance value, whose boundary must be measured for a particular decoder and constraint.
This original note covers the method and selected experimental evidence discussed above. It is not a full-paper translation. No model experiments were run for this note. Source license: https://creativecommons.org/licenses/by/4.0/
Author-code links in the source: No author-code link verified in the inspected source.
Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.