Context-Aware Cluster Decoding: Semantic Anchor-Driven Coherence in dMLLMs
Organizations: Sun Yat-sen University · Shanghai Jiao Tong University · University of Electronic Science and Technology of China · Alibaba Group ·
Abstract
Diffusion multimodal large language models (dMLLMs) frequently produce long-form outputs marred by semantic drift and repetition, with quality generally degrading as output length increases. We identify two structural deficiencies in existing decoding methods as primary drivers of these failures: confidence-based scoring ignores decoded-neighbor support, and block partitioning prevents access to high-readiness semantic anchors, together causing tokens to be committed before their local context is sufficiently established. We propose \ours{} (Context-Aware Cluster Decoding), a training-free decoding method that scores each masked position by a multiplicative composite of softmax confidence and neighbor proximity, promoting contextually ready tokens above isolated candidates while suppressing low-confidence positional noise, operating block-free to keep high-readiness anchors globally accessible. \ours{} further applies architecture-aware calibration to handle confidence heterogeneity induced by diverse visual integration strategies. Experiments on three dMLLMs across four benchmarks demonstrate consistent quality gains and hallucination reduction over Original, with larger gains in several longer generation settings, highlighting the importance of neighbor support and visual integration strategy for future dMLLM decoding method design. Our code is openly available at https://github.com/zhaoyk-sysu/CACD-dMLLM.
Figures & tables
| Model | Method | Understanding & Reasoning | Hallucination | ||||
|---|---|---|---|---|---|---|---|
| MathVista | LLaVABench-COCO | ScienceQA | CHAIR s | CHAIR i | Recall | ||
| MMaDA-8B-Base | |||||||
| Original | 23.50 | 35.30 | 50.24 | 24.58 | 11.27 | 39.46 | |
| AdaBlock | 24.80 | 47.40 | 51.61 | 22.84 | 11.27 | 41.83 | |
| Wavefront | 23.00 | 42.50 | 50.77 | 18.62 | 9.43 | 38.91 | |
| CACD | 28.00 | 49.00 | 51.71 | 19.76 | 10.28 | 40.63 | |
| Benchmark | Metric | Original | CACD | |
|---|---|---|---|---|
| GSM8K | Accuracy | 61.00 | 63.00 | +2.00 |
| IFEval | Prompt strict | 59.00 | 60.00 | +1.00 |
| Instruction strict | 64.74 | 68.59 | +3.85 | |
| Prompt loose | 60.00 | 61.00 | +1.00 | |
| Instruction loose | 67.95 | 69.23 | +1.28 | |
| AlpacaEval | Win rate | 4.50 | 6.00 | +1.50 |
| Length | Original | AdaBlock | Wavefront | CACD |
|---|---|---|---|---|
| 16 | 45.9 | 52.6 | 41.9 | 52.2 |
| 32 | 40.8 | 61.7 | 45.5 | 59.4 |
| 64 | 33.5 | 55.9 | 46.4 | 58.8 |
| 128 | 31.6 | 46.8 | 43.0 | 50.4 |
| 256 | 32.3 | 46.0 | 44.6 | 47.3 |
| 512 | 35.3 | 47.4 | 42.5 | 49.0 |
| Method | MMaDA | LaViDa | LLaDA-V | |||
|---|---|---|---|---|---|---|
| Score | Len | Score | Len | Score | Len | |
| Original | 35.3 | 188.8 | 51.1 | 101.5 | 50.3 | 392.5 |
| AdaBlock | 47.4 | 160.2 | 78.6 | 256.1 | 72.9 | 409.7 |
| Wavefront | 42.5 | 402.8 | 82.1 | 481.8 | 71.3 | 400.9 |
| CACD | 49.0 | 158.1 | 88.7 | 461.2 | 73.9 | 367.5 |
| Ctx | Dyn. | EOS | Score |
|---|---|---|---|
| ✗ | ✓ | ✓ | 46.4 |
| ✓ | ✗ | ✓ | 46.7 |
| ✓ | ✓ | ✗ | 48.2 |
| ✓ | ✓ | ✓ | 49.0 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Score | |
|---|---|---|
| MMaDA (8B-Base) | 0.0 | 48.2 |
| 0.5 | 48.7 | |
| 1.0 | 49.0 | |
| 1.5 | 48.9 | |
| 2.0 | 48.6 | |
| LaViDa (SigLIP+LLaDA-8B) | 0.0 | 79.3 |
| Model | Acc | |
|---|---|---|
| MMaDA (8B-Base) | 0.5 | 21.1 |
| 0.7 | 24.3 | |
| 0.9 | 28.0 | |
| LaViDa (SigLIP+LLaDA-8B) | 0.5 | 45.7 |
| 0.7 | 44.6 | |
| 0.9 | 44.5 |
| Acc | |
|---|---|
| 0.1 | 26.9 |
| 0.2 | 27.8 |
| 0.3 | 28.0 |
| 0.5 | 26.8 |
| Score | Avg. Length (chars) | |
|---|---|---|
| 0.5 | 47.7 | 154.9 |
| 0.6 | 48.1 | 157.8 |
| 0.8 | 49.0 | 158.1 |
| 1.0 | 47.8 | 161.0 |
| Method | MathVista | LLaVABench-COCO | ScienceQA | |||
|---|---|---|---|---|---|---|
| NFE | Spd. | NFE | Spd. | NFE | Spd. | |
| Original | 128.0 | 512.0 | 16.00 | |||
| AdaBlock | 25.9 | 74.0 | 1.62 | |||
| Wavefront | 60.0 | 128.1 | 4.00 | |||
| CACD | 16.8 | 45.9 | 1.32 | |||
| Method | MathVista | LLaVABench-COCO | ScienceQA |
|---|---|---|---|
| LaViDa | |||
| Original | 128.0 | 512.0 | 16.0 |
| AdaBlock | 27.4 | 52.1 | 2.1 |
| Wavefront | 36.0 | 71.3 | 3.0 |
| CACD | 16.0 | 45.6 | 1.1 |
| LLaDA-V | |||
| Model | Method | NFE | Spd. | Memory |
|---|---|---|---|---|
| MMaDA | Original | 512.0 | 18,315 | |
| AdaBlock | 74.0 | 22,775 | ||
| Wavefront | 128.1 | 21,157 | ||
| CACD | 45.9 | 20,345 | ||
| LaViDa | Original | 512.0 | 33,737 | |
| AdaBlock | 52.1 | 29,205 |
| Benchmark | Original NFE | CACD NFE | Speedup |
|---|---|---|---|
| GSM8K | 128.00 | 48.00 | |
| IFEval | 128.00 | 112.73 | |
| AlpacaEval | 128.00 | 121.75 |
Diffusion Language Model Decoding
Diffusion language model decoding generates text through iterative parallel refinement, balancing fewer denoising steps with accuracy, coherence, and control.
See all 247 papers