Papers

GRID:基于多跳图电阻的掩码扩散 LLM 免训练采样器

Multi-Hop Attention Graph Sampling for Masked Diffusion LLMs

Why we picked it

扩散语言模型解码慢是个实际痛点,这篇给出了免训练的解法:用图的有效电阻替代只看一跳的注意力边来决定解掩码顺序。16 组模型和基准组合实测 3-10 倍加速,比最快的采样器还快 7-11%,做推理优化的人可以试试。

arXiv 论文提出 GRID(Graph Resistance Independent Decoding),一种免训练采样器,用于改进掩码扩散 LLM 的并行解码。它把注意力图中掩码位置构成的图上的直接边耦合分数,替换为有效电阻(effective resistance)这一无参数连通性度量,从而同时聚合掩码位置之间的直接与间接(多跳)路径。

Body

为了系统评估采样器在复杂多跳图结构上的表现,作者构建了受控基准 Dep-Bench,包含 5 个数据集、覆盖 4 种图结构和不同深度的已知依赖关系;在 Dep-Bench 上,GRID 相对直接边方法的优势随深度增加而持续扩大。在面向并行解码的公开基准 ParallelBench 上,以类别级 top-1 分数 95% 为质量阈值,GRID 相对最快的竞争采样器实现了最高 2 倍的解码步加速。

在横跨 16 组主流模型与 LLM 推理基准的组合中,GRID 相对 top-1 逐 token 解码取得 3-10 倍加速,相对最快竞争采样器在相近精度下再提升 7-11%。结果表明多跳连通性是依赖感知并行解码中被低估的有效信号,且该方法无需重新训练模型。

Original · arXiv cs.AI

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 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.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include GRID, masked diffusion models, parallel decoding, inference optimization.

Source attribution: curated from arXiv cs.AI (@Harel Mendelman, Shaked Brody, Roi Ronen, Tsachi Blau, Niv Nayman, Shai Mazor, Ronen Talmon, Shahar Tsiper, Alona Golts).

Spotted an error in the summary or translation? Tell us