Multi-Hop Attention Graph Sampling for Masked Diffusion LLMs
Harel Mendelman, Shaked Brody, Roi Ronen, Tsachi Blau, Niv Nayman, Shai Mazor, Ronen Talmon, Shahar Tsiper, Alona Golts
Abstract
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 threshold of 95% of the category-level top-1 score. Finally, across 16 leading model and LLM reasoning benchmark combinations, GRID achieves 3-10x speedup over top-1 decoding and 7-11% improvement over the fastest competing sampler, at comparable accuracy. The combined results validate that multi-hop connectivity is a valuable and underutilized signal for dependency-aware parallel decoding.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, stat.ML
Related papers
VeilGRPO: Observation-Masked GRPO for Robust Multi-Turn LLM Agents
Shared title terminologycs.AIJianwei Sun, Jiaxuan Xie, Shichen Yang et al.
ESTA-Mem: Compiling Multi-Agent Trajectories into Auditable Memory for High-Resolution Visual Reasoning
Shared title terminologycs.AIZiwei Yan, Yunkai Dang, Tianyu Ding et al.
Online Active Testing: Adaptive Importance Sampling for Unbiased Risk Estimation in Data Streams
Shared title terminologycs.AIHugo Schmutz, Hachem Kadri, Thierry Arti{è}res
GAPMem: Boundary-First Graph-Constrained Preference Memory Formation for Personalized LLM Agents
Shared title terminologycs.AITao Yu, Deliang Wen, Ke Sun et al.
Continual Concept Erasure and Restoration of Diffusion Models
Shared title terminologycs.AIShrikrishna Lolla, Vemuluri Karthikeya, Korada Sri Vardhana et al.
EDGAR: Experience- and Graph-Guided Recovery for Agentic Reasoning
Shared title terminologycs.AIRuiyi Yang, Du Yin, Lihuan Li et al.