cs.LGMar 21, 2026

Generating from Discrete Distributions Using Diffusions: Insights from Random Constraint Satisfaction Problems

Authors: Alankrita Bhatt, Mukur Gupta, Germain Kolossov, Andrea Montanari

Organizations: Granica Computing Inc. – granica.ai · Stanford University

Abstract

Generating data from discrete distributions is important for a number of application domains including text, tabular data, and genomic data. Several groups have recently used random kk-satisfiability (kk-SAT) as a synthetic benchmark for new generative techniques. In this paper, we show that fundamental insights from the theory of random constraint satisfaction problems have observable implications (sometime contradicting intuition) on the behavior of generative techniques on such benchmarks. More precisely, we study the problem of generating a uniformly random solution of a given (random) kk-SAT or kk-XORSAT formula. Among other findings, we observe that: (i)(i)~Continuous diffusions outperform masked discrete diffusions; (ii)(ii)~Learned diffusions can match the theoretical `ideal' accuracy; (iii)(iii)~Smart ordering of the variables can significantly improve accuracy, although not following popular heuristics.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Binary Discrete Diffusion: Candidate-Set Diffusion for Logic and Planning Tasks

    Oct 20, 2026Rodrigo Casado Noguerales, Dimitri von Rütte, Bernhard Schölkopf +2Diffusion ModelsDiffusion-Based Planning

  2. Simplex Relaxation for Discrete Diffusion

    Aug 11, 2026Jinya Sakurai, Patrick Pynadath, Satoshi Hayakawa +4Diffusion SamplingDiffusion Language Models

  3. Score Mismatch and Set-Constrained Sampling in Zero-Shot Conditional Discrete Diffusion

    Oct 15, 2026Renxiang Huang, Yuchen Liang, Yingbin Liang +2Diffusion ModelsDiffusion Sampling