返回列表
论文卡
SEDD与GPT-2、D3PM等模型在zero-shot perplexity、text8 BPC和LM1B上的比较。
在给定模型规模和训练设置下,SEDD显著改善既有离散diffusion并达到autoregressive基线量级。 原文图源 ↗

论文详情

Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution

通过估计数据分布比率进行离散扩散建模

Aaron Lou、Chenlin Meng、Stefano Ermon · Proceedings of the 41st International Conference on Machine Learning · 卷 PMLR 235 · 页 32819–32848 · 论文原文 ↗

continuous diffusion依赖score \(\nabla log\) \(p\),但text/token state space没有普通梯度。如何定义可训练的discrete score,让reverse continuous-time Markov chain无需显式归一化整个vocabulary,并在likelihood、sampling与infilling上接近autoregressive language models?

正式评级:未评级

研究问题

  • continuous diffusion依赖score \(\nabla log\) \(p\),但text/token state space没有普通梯度。如何定义可训练的discrete score,让reverse continuous-time Markov chain无需显式归一化整个vocabulary,并在likelihood、sampling与infilling上接近autoregressive language models?

背景

  • 离散reverse rates取决于相邻states的marginal probability ratio \(p_{t}\)(\(y\))/\(p_{t}\)(\(x\))。直接ratio matching或dimension-wise prediction可能不稳定/不一致。作者定义score entropy,使最优sθ(\(x\))_y恰为这些ratios。
  • SEDD仍使用Transformer backbone和forward noise process;它是非autoregressive生成机制,不意味着一次network pass生成完整高质量序列。

模型与方法

  • 论文从finite-state CTMC推导implicit与denoising score entropy。denoising form只需从clean x0采样noisy xt和transition kernel,避免未知p_t;network输出与allowed transitions对应的ratios。
  • 实现uniform与absorbing noise graphs,推导reverse sampler与Tweedie-style改进,并将conditioning/infilling作为clamping or reverse dynamics约束。训练在text8、OpenWebText和LM1B等语料上。

核心结果与证据

  • Table 1显示同规模SEDD在多个zero-shot datasets上优于D3PM等离散diffusion,并与GPT-2量级autoregressive baselines竞争;Table 2在text8报告bits-per-character。
  • Figure 1按生成样本文本的external perplexity比较SEDD与GPT-2,SEDD无需temperature/nucleus annealing也能保持较好质量;sampling steps可与quality交换。Tables 4–5展示prefix/suffix infilling。
  • ‘32× fewer evaluations’是相对论文自身特定diffusion sampler/quality点,不等于比所有autoregressive systems快32×;wall-clock还受每步全序列attention成本影响。
Tables 1–3 · 在给定模型规模和训练设置下,SEDD显著改善既有离散diffusion并达到autoregressive基线量级。 物理解读:The figure supports the stated protocol-specific claim, not an unrestricted generalization. 来源:paper.pdf \(p\). 6, Tables 1–3

有效性与局限

  • 评估模型规模和数据远小于当前frontier LLM;perplexity由模型likelihood或外部evaluator测量,不能完整代表语义事实性。diffusion采样仍多步,长序列memory/latency未充分解决。
  • score ratios依赖noise graph;uniform graph在大vocabulary需结构化输出,absorbing schedule引入mask inductive bias。结果不保证任意discrete domains或conditional generation都同样有效。

复现与资源

  • 全文:https://arxiv.org/abs/2310.16834;代码:https://github.com/louaaron/Score-Entropy-Discrete-Diffusion。PDF SHA-256:1f3a135a52346270ef4b0872d52f17954af7ea0fa53d0a0b31a9183599ec976e。
  • 复现需固定dataset/tokenizer、noise graph/schedule、small/medium Transformer configs、training tokens、likelihood estimator、sampling steps与temperature-free decoding,并记录hardware latency。Evidence status: full-text verified theoretical/empirical study; no independent reproduction performed.

阅读指南

  • 先读 pp.1–4 discrete score与score entropy;pp.4–6 denoising objective/sampler;pp.6–9 Tables 1–5;pp.10–13看局限;pp.14–30为证明与样例。

Discussion

评论与讨论

在 GitHub 查看

评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。