HackerPapers

arXiv:2310.16834stat.ML

Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution

Aaron Lou, Chenlin Meng, Stefano Ermon

Abstract

Despite their groundbreaking performance for many generative modeling tasks, diffusion models have fallen short on discrete data domains such as natural language. Crucially, standard diffusion models rely on the well-established theory of score matching, but efforts to generalize this to discrete structures have not yielded the same empirical gains. In this work, we bridge this gap by proposing score entropy, a novel loss that naturally extends score matching to discrete spaces, integrates seamlessly to build discrete diffusion models, and significantly boosts performance. Experimentally, we test our Score Entropy Discrete Diffusion models (SEDD) on standard language modeling tasks. For comparable model sizes, SEDD beats existing language diffusion paradigms (reducing perplexity by $25$-$75$\%) and is competitive with autoregressive models, in particular outperforming GPT-2. Furthermore, compared to autoregressive mdoels, SEDD generates faithful text without requiring distribution annealing techniques like temperature scaling (around $6$-$8\times$ better generative perplexity than un-annealed GPT-2), can trade compute and quality (similar quality with $32\times$ fewer network evaluations), and enables controllable infilling (matching nucleus sampling quality while enabling other strategies besides left to right prompting).

arXiv comments
ICML 2024 Oral. Code at https://github.com/louaaron/Score-Entropy-Discrete-Diffusion
Journal reference
DOI
Subjects
stat.MLMachine Learning (Statistics) cs.CLComputation and Language cs.LGMachine Learning

On Hacker News

Linked by 6 identifiable commenters in 7 comments across 6 threads, from Feb 2025 to Jul 2025.

Comments linking this paper, per year.

Discussed in comments6 threads

    • In their tech report, they say this is based on: > "Our methods extend [28] through careful modifications to the data and computation to scale up learning." [28] is Lou et al. (2023), the "Score Entropy Discrete Diffusion" (SEDD) model (https://arxiv.org/abs/2310.16834). I wrote…

      mxs_View on HNParent context

    • Here are two papers linked from Inception's site: 1. Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution - https://arxiv.org/abs/2310.16834 2. Simple and Effective Masked Diffusion Language Models - https://arxiv.org/abs/2406.07524

      freeqazView on HNParent context

    • Thanks, yes, I was thinking specifically of "Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution". They actually consider two noise distributions: one with uniform sampling for each noised token position, and one with a terminal masking (the Q^{uniform}…

      AlexCoventryView on HNParent context

    • The SEDD architecture [1] probably allows for parallel sampling of all tokens in a block at once, which may be faster but not necessarily less computationally demanding in terms of runtime times computational resources used. [1] Which Inception Labs's new models may be based on…

      AlexCoventryView on HNParent context

    • Few details about the model have been made public, as far as I know. However, Steano Ermon, one of the founders of Inception Labs, the company that released the model, co-authored a paper in late 2023 (revised in 2024), titled "Discrete Diffusion Modeling by Estimating the…

      cs702View on HNParent context

    • Not today, but we will be following up with a technical report over the next week or so. In the meantime, you can take a look at some of the research papers that inspired our work: - https://arxiv.org/abs/2310.16834 - https://arxiv.org/abs/2406.07524

      volodiaView on HNParent context

    • Thanks for bringing this up! As far as I understand it current text diffusion models are limited to fairly short context windows. The idea of a text diffusion model continuously updating and revising a million-token-long chain-of-thought is pretty mind-boggling. I agree that…

      jxmorris12View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.