TL;DR
DA-DLM introduces explicit token dependency modeling into Diffusion Language Models (DLMs) by constructing a novel position-oriented Directed Acyclic Graph (DAG) at each denoising step. By replacing independent per-position token predictions with coordinated joint modeling, it significantly improves text coherence and generation quality, especially when accelerating inference with fewer denoising steps.
What Problem Does This Paper Address?
Diffusion Language Models (DLMs) generate text by starting from a fully masked sequence and iteratively denoising it. At each step, they predict multiple tokens in parallel. While this parallel generation offers a massive speed advantage over traditional autoregressive (AR) models, it comes with a major catch: conditional independence.
During a single denoising step, standard DLMs predict each token independently, completely ignoring how those simultaneously generated tokens depend on one another. This lack of coordination often results in broken syntax and degraded text coherence. The issue becomes even worse when trying to speed up inference by reducing the number of denoising steps, as the model is forced to predict even more tokens simultaneously.
The authors note that this problem directly parallels the "multi-modality problem" found in Non-Autoregressive Translation (NAT), where independent per-position predictions mix fragments from different valid translations.
Methods
To bridge this gap, the authors draw inspiration from Directed Acyclic Transformers (DAT)—a technique used in NAT to model token dependencies. However, directly applying DAT to the iterative setting of diffusion models fails because standard DAT uses a "position-free" DAG, which allows paths to skip arbitrary nodes. In an iterative diffusion model, tokens fixed in earlier steps must act as rock-solid "anchors" to guide future steps. A position-free DAG dilutes this anchoring effect.
The core contribution of this paper is the Position-Oriented DAG design. Here is how it works during a single denoising step:
- Anchors and Candidate Groups: Every node in the DAG is strictly tied to a specific output position. Tokens fixed in previous steps become single-node anchors. Undetermined positions are expanded into candidate groups containing $K$ active nodes representing plausible token alternatives.
- Inter-Group Transitions: Token dependencies are explicitly modeled through transitions between adjacent groups using dot-product attention. This allows an anchor or a highly probable candidate at position $i$ to directly shape and coordinate the predictions at position $i+1$.
- Efficient Marginalization: The model is trained to maximize data likelihood marginalized over all valid paths through the DAG. Thanks to the strict left-to-right, position-oriented structure, this can be computed using an efficient forward algorithm with a time complexity of $O(NK^2)$, which is significantly faster than the $O(N^3K^2)$ complexity of position-free DAT.
- Infilling Mechanism: As denoising progresses, anchors naturally isolate small gaps of unmasked tokens. If a gap is short enough, the model directly fills it in a single step without further remasking, leveraging the transition probabilities to propagate dependency information smoothly.
Datasets
The authors evaluated DA-DLM across several standard benchmarks:
- OpenWebText: Used for pre-training, language modeling evaluation, and open-ended generation.
- One Billion Word (LM1B): Used to evaluate conditional block reconstruction performance.
- XSum & CNN/DailyMail: Used to evaluate downstream performance on abstractive text summarization.
Key Insights and Ideas
- The DLM-NAT Connection: Recognizing that the coherence degradation in DLMs and the multi-modality problem in NATs are structurally identical allows researchers to port over a decade of NAT optimization literature to diffusion models.
- Position Stability is Crucial: For iterative refinement to work, previously committed tokens must remain structurally stable. Binding the DAG nodes to fixed positions prevents successive denoising steps from drifting apart.
- Coordinated Paths over Marginal Probabilities: Instead of picking the most likely token at each individual slot, DA-DLM finds the most coherent path through the sequence, ensuring that adjacent tokens actually make sense together.
Key Results
DA-DLM consistently outperformed the Block Diffusion (BD3LM) baseline across all tasks, showing its strongest advantages in highly parallel (low denoising step) regimes.
- Open-Ended Generation: When evaluated using MAUVE scores (which measure how close generated text is to human text), DA-DLM maintained high quality even as the number of denoising steps was aggressively reduced.
- Downstream Summarization: On XSum and CNN/DailyMail, DA-DLM outperformed BD3LM in ROUGE scores and matched the performance of a greedy autoregressive baseline, all while generating multiple tokens per forward pass.
- Inference Efficiency: Crucially, the joint path modeling adds very little computational overhead. DA-DLM introduces only a modest 4.7% to 7.3% per-step latency increase and less than 2% additional peak memory usage compared to the baseline, making it highly practical for real-world deployment.
Limitations and Future Work
While promising, the authors point out a few limitations:
- Model Scale: Due to computational constraints, the model was evaluated at a relatively small scale. It remains to be seen how well these DAG modules scale up to massive, multi-billion parameter models.
- Task Variety: The evaluation focused on traditional language modeling, generation, and summarization. The authors note that the framework has not yet been tested on complex reasoning tasks like mathematics or code generation.
Future work includes up-training DA-DLM from larger open-source discrete diffusion checkpoints to validate its capabilities at scale.
Summary updated