Multi-Hop Attention Graph Sampling for Masked Diffusion LLMs
Masked Diffusion LLMs can accelerate language generation through parallel decoding, but unmasking incompatible token combinations can degrade quality. Recent attention-based dependency-aware samplers construct a graph where the masked positions are nodes and the edges correspond to direct attention map weights. Though achieving impressive acceleration, these consider only direct or single-hop relations in the graph, disregarding multi-hop connectivity. We introduce GRID -- Graph Resistance Independent Decoding -- a training-free sampler that replaces the direct-edge coupling score with effective resistance, a parameter-free connectivity measure that aggregates both direct and indirect routes between masked positions. To analyze how samplers perform on complex multi-hop graph structures, we introduce Dep-Bench, a controlled benchmark with five datasets spanning four graph structures and known dependencies at varying depths. On Dep-Bench, GRID's advantage over direct-edge methods grows consistently with depth. On ParallelBench, a public benchmark focused on parallel decoding, GRID achieves up to 2x decoding-step speedup over the fastest competing sampler, for a given quality…
- arXiv
- 2612.06029
- Authors
- Harel Mendelman, Shaked Brody, Roi Ronen, Tsachi Blau, Niv Nayman and 4 more
- Categories
- cs.AI · cs.CL · stat.ML