TL;DR
This paper introduces Binary Discrete Diffusion, a new approach where the "noisy" state of a model is a set of candidate tokens rather than a single masked or random token. By representing uncertainty as a binary membership vector, the model can gradually prune or restore hypotheses, leading to state-of-the-art performance on complex logic and planning tasks like Sudoku and Boxoban.
What Problem Does This Paper Address?
Standard discrete diffusion models (often used for text) typically corrupt data using two methods: masking (replacing a token with a special [MASK] symbol) or uniform noise (replacing it with a random token).
The authors argue that these methods are "all-or-nothing." Once a token is masked, its identity is completely erased in a single event. However, in reasoning tasks—like solving a Sudoku puzzle—uncertainty is rarely binary. A solver might narrow a cell down to a few possibilities (e.g., "it's either a 7 or a 9") before finally deciding. Standard diffusion states cannot explicitly represent this "partially resolved uncertainty." This paper fills that gap by allowing the model to work directly with sets of plausible candidates.
Methods
The core innovation is representing the state at each sequence position as a binary membership vector in $\{0, 1\}^V$, where $V$ is the vocabulary size. If the $j$-th bit is 1, the $j$-th token is a "candidate."
The authors propose two main processes:
- Binary Symmetric Diffusion: Bits can flip both on and off. During the reverse (generative) process, the model can remove unlikely candidates but also "reopen" previously discarded ones if new information from other parts of the sequence suggests they might be correct.
- Binary Absorbing Diffusion: A simpler version where corruption only adds candidates. The generative process is purely subtractive—it progressively prunes the set until only one token remains.
To make this computationally feasible, they show that even though the state space is technically $2^V$, all necessary calculations for training and sampling can be done in $O(V)$ time. They also introduce a Confidence-guided $\Psi$-sampler, which uses the model's internal confidence to decide which positions need revision and which specific candidates should be restored.
Datasets
The models were evaluated on two distinct categories:
- Logic and Planning:
- Sudoku-Extreme: Hard Sudoku puzzles requiring deep reasoning.
- Boxoban: A challenging planning task (Sokoban) where an agent pushes boxes to targets.
- Graph Coloring: Assigning colors to nodes in a graph such that no two adjacent nodes share a color.
- Language Modeling: Text8 (character-level), TinyStories, and OpenWebText (BPE-level) to test general-purpose applicability.
Key Insights and Ideas
- The Kernel is the Computation: The choice of how you "break" the data (the corruption kernel) fundamentally changes what the model learns to do. By using candidate sets, the model is forced to learn iterative refinement and hypothesis testing.
- Logarithmic Information Loss: In large vocabularies, masking destroys information instantly. In binary diffusion, information is lost more gradually (logarithmically), which provides a smoother learning signal for the model.
- Self-Correction via Re-corruption: A key "aha" moment was finding that "re-corrupting" uncertain positions—essentially forgetting a tentative decision and looking at the candidates again—markedly improves solve rates for logic tasks.
Key Results
Binary symmetric diffusion emerged as the strongest kernel across almost all reasoning tasks:
- Harder is Better: The advantage of binary diffusion over standard methods grew significantly as the tasks became more difficult (e.g., fewer clues in Sudoku or longer solution paths in Boxoban).
- Graph Coloring: On large graphs, masked diffusion almost completely failed (near 0% solve rate), while binary symmetric diffusion maintained a solve rate of over 60%.
- Language Modeling: While not specifically designed for text, the method remained competitive with established baselines, proving it isn't just a "logic puzzle trick."
Limitations and Future Work
- Vocabulary Scaling: While $O(V)$ is efficient, for extremely large vocabularies (e.g., 100k+ tokens), the binary vector might become a bottleneck. The authors suggest exploring error-correcting codes or different bit-encodings.
- Smart Corruption: Currently, candidates are added/removed randomly. Future kernels could be "task-aware," introducing candidates that are semantically similar or logically plausible to challenge the model further during training.
- Richer Set Representations: The current model embeds a set by simply summing the embeddings of its members. More sophisticated set-encoding architectures might unlock even better performance.
Summary updated