Adaptive Guidance for Retrieval-Augmented Masked Diffusion Models
Organizations: Graduate School of AI, KAIST, Republic of Korea
Abstract
Retrieval-Augmented Generation (RAG) improves factual grounding by incorporating external knowledge into language model generation. However, when retrieved context is noisy, unreliable, or inconsistent with the model's parametric knowledge, it introduces retrieval-prior conflicts that can degrade generation quality. While this problem has been studied in autoregressive language models, it remains largely unexplored in diffusion-based language models, where the iterative denoising process introduces unique challenges for integrating retrieved context. In this work, we propose Adaptive Retrieval-Augmented Masked Diffusion (ARAM), a training-free adaptive guidance framework for Masked Diffusion Models (MDMs) in RAG settings. ARAM dynamically calibrates the guidance scale during denoising according to the Signal-to-Noise Ratio (SNR) of the distributional shift induced by retrieved context. Intuitively, the model strengthens guidance when the retrieved context provides reliable corrective evidence and suppresses it when the contextual signal is noisy or non-supportive. Extensive experiments on multiple knowledge-intensive QA benchmarks show that ARAM improves overall QA performance over competitive RAG baselines.
Figures & tables
| Method | Positive ( ) | Negative ( ) | Cons. Correct | Cons. Wrong |
| LLaDA | ||||
| RAG | 0.135 | 0.051 | 0.040 | 0.774 |
| Ours | 0.234 | 0.022 | 0.069 | 0.675 |
| Dream | ||||
| RAG | 0.259 | 0.049 | 0.100 | 0.592 |
| Ours | 0.266 | 0.038 | 0.111 | 0.585 |
| Method | Gold | Non-Answering | Irrelevant | |||
| LLaDA | Dream | LLaDA | Dream | LLaDA | Dream | |
| RAG | 24.2 | 49.7 | 0.77 | 1.54 | 0.00 | 0.00 |
| Ours | 41.7 | 52.0 | 1.92 | 1.92 | 0.00 | 0.00 |
| LLaDA | Dream | ||||
| EM | F1 | EM | F1 | ||
| 1.0 | 1.0 | 24.9 | 36.1 | 33.9 | 43.6 |
| 2.0 | 13.9 | 27.3 | 31.4 | 42.4 | |
| 3.0 | 9.1 | 22.8 | 26.3 | 38.9 | |
| 1.0 | 0.1 | 30.4 | 39.3 | 33.5 | 42.0 |
| 0.3 | 28.4 | 38.7 | 34.3 | 43.4 | |
| Noise Proxy | LLaDA | Dream | ||
| EM | F1 | EM | F1 | |
| 20.3 | 32.5 | 33.5 | 43.2 | |
| 24.9 | 36.1 | 33.9 | 43.6 | |
| Method | EM | F1 |
| LLaDA 1.5 | 15.8 | 22.0 |
| LLaDA 1.5 + RAG | 17.6 | 30.6 |
| LLaDA 1.5 + Ours | 24.2 | 35.9 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Noise Proxy | LLaDA | Dream | ||
| EM | F1 | EM | F1 | |
| 20.3 | 32.5 | 33.5 | 43.2 | |
| 20.5 | 32.4 | 33.6 | 42.8 | |
| 23.7 | 35.3 | 33.4 | 42.8 | |
| 24.9 | 36.1 | 33.9 | 43.6 | |
| Signal Proxy | LLaDA | Dream | ||
| EM | F1 | EM | F1 | |
| - (Raw SNR) | 21.5 | 33.5 | 33.5 | 43.4 |
| Tanh | 24.9 | 36.1 | 33.9 | 43.6 |
| Method | NFE / Step | LLaDA | Dream |
| No-RAG | 1 | 0.93 | 0.94 |
| RAG | 1 | 1.55 | 1.56 |
| CFG | 2 | 2.02 | 3.06 |
| ARAM (Ours) | 2 | 2.07 | 3.29 |
Adaptive RAG
Adaptive retrieval-augmented generation (RAG) adjusts when, what, and how much evidence a language model retrieves for each query.
See all 59 papers