Abstract
Tweedie Discrete Diffusion (TDD) is a novel framework that performs diffusion directly within discrete one-hot spaces ("in-situ"). By satisfying Tweedie’s formula, TDD provides a principled theoretical guarantee for modeling discrete distributions, overcoming the limitations of embedding-based or mask-based approaches. TDD achieves state-of-the-art performance in image classification and text generation with high efficiency, requiring as few as 10–20 sampling steps.
Introduction
Adapting diffusion models to discrete data like text or categorical labels has traditionally relied on mapping tokens to continuous spaces or using mask-based heuristics. These methods often lack theoretical rigor, leading to unstable training or "shortcut learning." The In-Situ Tweedie Discrete Diffusion (TDD) framework addresses these issues by operating natively in discrete space while maintaining the iterative refinement and theoretical guarantees of continuous diffusion models.
Methodology: In-Situ Discrete Diffusion
The core of TDD is its "in-situ" operation, where the model works directly on one-hot vectors rather than continuous embeddings.
Forward and Reverse Processes
In the forward process, TDD perturbs one-hot vectors with standard Gaussian noise, ensuring the noisy vectors remain near the categorical simplex. The reverse process is trained using a timestep-conditioned cross-entropy loss, which respects the mutually exclusive nature of discrete categories more effectively than Mean Squared Error (MSE).
Architecture and Inference
TDD utilizes a hybrid architecture consisting of a Transformer-based feature extractor for conditioning and a dedicated diffusion module for denoising. During inference, an "Argmax-and-Re-noise" loop is used: the model predicts probabilities, applies an argmax to recover a clean one-hot vector, and then re-injects noise for the subsequent iteration.
Key Results
TDD demonstrates significant improvements in both accuracy and efficiency:
- Image Classification: On ImageNet-1K, a TDD-ViT-Base model (111M params) achieved 83.0% Top-1 accuracy, surpassing standard mask-based baselines (82.3%) and larger models like ViT-Large (305M params).
- Text Generation: In image captioning tasks, TDD achieved a CLIP Score of 0.25, outperforming Masked Discrete Diffusion (0.18) and producing more semantically coherent sentences.
- Efficiency: The model reaches peak performance in just 20 sampling steps, with high-quality results visible in as few as 10 iterations.
Conclusion
TDD brings theoretical rigor to discrete diffusion by satisfying Tweedie’s formula. By unifying discriminative and generative tasks within a single framework, it offers a robust alternative to current discrete modeling techniques. Future work will focus on scaling the model to large-scale language modeling and refining its ability to capture secondary objects in complex scenes.
Summary updated