Score Mismatch and Set-Constrained Sampling in Zero-Shot Conditional Discrete Diffusion
University of California, Davis(加州大学戴维斯分校);Luddy School of Informatics, Computing, and Engineering, Indiana University Indianapolis(印第安纳大学印第安纳波利斯分校卢迪信息学、计算与工程学院);The Ohio State University(俄亥俄州立大学)
Renxiang Huang, Yuchen Liang, Yingbin Liang, Ness Shroff, Lifeng Lai
离散扩散模型已成为在诸多应用中对复杂离散分布进行建模的强大框架。尽管其理论收敛保证依赖于目标分布与训练分布之间的一致性,但这种情况在实践中很少成立,这使得得分不匹配成为离散扩散采样的核心挑战。这一点与零样本条件生成尤其相关,在该场景下,在无条件分布上训练的模型会在推理时被直接复用,以从条件目标分布中采样。在本文中,我们对得分不匹配的离散扩散模型进行了首次理论分析,并推导了一个通用的KL散度上界,该上界明确识别出由这种不匹配导致的额外偏差。我们的分析涵盖了部分观测约束,包括文本填充、句子补全以及更通用的逐坐标集合约束。具体而言,我们分析了经典的条件SEDD采样器,表明它可能会产生一个与维度、词汇表大小和兼容性成比例的偏差项。基于此分析,我们针对逐坐标集合约束提出了一种随机硬钳位(Randomized Hard Clamping, RHC)采样器。我们证明,分配概率可以通过带有吸收速率的无条件得分精确表达。最后,数值实验和真实数据实验证明了所提出的RHC采样器的有效性。
英文摘要:
Discrete diffusion models have become a powerful framework for modeling complex discrete distributions across a range of applications. While theoretical convergence guarantees depend on consistency between the target and training distributions, such a case rarely holds in practice, making score mismatch a central challenge in discrete diffusion sampling. This is particularly relevant to zero-shot conditional generation, where a model trained on the unconditional distribution is directly reused at inference time to sample from a conditional target distribution. In this paper, we provide the first theoretical analysis for score-mismatched discrete diffusion models and derive a general KL divergence upper bound that clearly identifies the additional bias caused by such a mismatch. Our analysis covers partial-observation constraints, including text infilling, sentence completion, and more general coordinatewise set constraints. Specifically, we analyze the classical Conditional SEDD sampler and show that it can incur a bias term that scales with the dimension, vocabulary size, and compatibility. Based on this analysis, we propose a Randomized Hard Clamping (RHC) sampler for coordinatewise set constraints. We show that the assignment probabilities can be expressed exactly by the unconditional scores with absorbing rate. Finally, numerical and real-data experiments demonstrate the effectiveness of the proposed RHC sampler.
Universality of Gaussian-Mixture Reverse Kernels in Conditional Diffusion
Center for Mathematics and Interdisciplinary Sciences, Fudan University(复旦大学数学与交叉科学中心);Shanghai Institute for Mathematics and Interdisciplinary Sciences (SIMIS)(上海数学与交叉科学研究院(SIMIS));Northeastern University(东北大学);Infectious Diseases Division, icddr,b(icddr,b传染病部门);Rutgers University(罗格斯大学)