TL;DR
AXON is a training-free, plug-and-play decoding module for discrete diffusion language models (dLLMs) that significantly improves generation speed and quality. Instead of merely choosing "safe," high-confidence tokens to unmask, AXON strategically identifies and reveals "anchor" tokens that provide the most critical contextual support for the remaining uncertain parts of the sequence.
What Problem Does This Paper Address?
Autoregressive large language models generate text sequentially, one token at a time, creating an inherent computational bottleneck. Discrete diffusion language models (dLLMs) offer an alternative paradigm by starting with a completely masked sequence and iteratively denoising it, allowing multiple tokens to be predicted and unmasked in parallel.
However, this parallel approach introduces a tricky quality-latency trade-off. If a decoder aggressively unmasks too many tokens at once, it risks committing mutually dependent tokens that conflict with each other (e.g., syntax errors in code or logical contradictions in reasoning). Conversely, if the decoder is too conservative, generation requires too many sequential denoising steps, erasing the speed advantages of parallel decoding.
Existing methods try to solve this by finding "safe" tokens to reveal based on confidence or dependency metrics. But the authors point out a critical flaw: avoiding unsafe commits doesn't mean the remaining masked tokens are easy to decode. Often, the remaining sequence is left starved of context, causing the decoding process to stall.
Methods
The authors introduce AXON, a training-free module layered on top of existing parallel decoders. AXON acts as an intelligent supervisor that monitors the decoding state and intervenes via a two-stage process:
- The Gating Mechanism: AXON doesn't intervene at every step. Instead, a lightweight gate evaluates whether the base decoder is struggling by checking for two conditions:
- Pace Deficit: Is the decoder falling behind the required schedule to meet its generation token budget?
- Context Deficit: Do the remaining uncertain tokens lack sufficient contextual support from the tokens proposed by the base decoder?
- Anchor Selection via Submodular Optimization: If the gate fires, AXON shifts the objective from finding the safest tokens to finding the most supportive tokens (anchors). It scores candidate tokens using a combination of model confidence, token uncertainty, and internal attention maps.
To prevent picking redundant anchors (e.g., two tokens that provide the exact same contextual information), AXON optimizes a monotone submodular facility-location objective. This mathematical framework ensures diminishing returns for redundant information, forcing the greedy selection algorithm to pick a diverse set of anchors that cover different pockets of uncertainty across the sequence.
Datasets
The framework was evaluated across four standard reasoning and code-generation benchmarks:
- GSM8K: Grade school math word problems.
- Minerva-Math: Advanced mathematical problem-solving.
- HumanEval: Python program synthesis problems.
- MBPP (Mostly Basic Python Problems): Coding tasks for Python program synthesis.
Key Insights and Ideas
- Shift in Perspective: Traditional parallel decoding focuses defensively on safety (avoiding mistakes). AXON focuses offensively on utility (building the best context to make future steps easier).
- Leveraging Existing Machinery: AXON requires zero retraining or fine-tuning. It extracts structural dependency information directly from the model's existing attention maps and confidence scores, making it computationally lightweight.
- Submodularity is Key: Treating anchor selection as a coverage problem naturally prevents "anchor clumping," ensuring that the injected context is distributed efficiently across the entire unresolved sequence.
Key Results
AXON was tested on three prominent dLLM backbones: Dream-v0-Instruct-7B, LLaDA-1.5, and LLaDA-8B-Instruct, layered on top of diverse baseline decoders (Confidence-based, LocalLeap, and DAWN).
- Simultaneous Quality and Speed Gains: Across nearly all configurations, AXON consistently reduced the Number of Function Evaluations (NFE)—meaning fewer forward passes through the model—while maintaining or significantly improving task accuracy.
- Substantial Accuracy Boosts: On
LLaDA-8B-Instructusing theLocalLeapdecoder, AXON boosted HumanEval accuracy by 3.05 percentage points while simultaneously increasing throughput (Tokens Per Second). - Efficiency Improvements: On mathematical reasoning (
GSM8KwithLLaDA-1.5+DAWN), AXON reduced the required denoising steps (NFE) from 54.2 down to 49.5 while slightly increasing accuracy.
Limitations and Future Work
- Proxy Reliance: AXON relies entirely on the model's internal attention maps and confidence scores as proxies for token importance. If a model has poorly calibrated confidence or noisy attention distributions, AXON's anchor selection will be less effective.
- Computational Overhead: Although designed to be lightweight, calculating the utility matrix and running the greedy submodular selection adds some mathematical overhead per step. For extremely long sequences, more approximate or optimized selection methods might be necessary.
- Domain Scope: The current work focuses exclusively on text-only reasoning and code generation. Extending AXON to long-context document processing, multi-turn dialogue, and multimodal diffusion models remains an open avenue for future research.
Summary updated