跳到正文
HuggingFace Daily Papers· Yingqi Shi, Junru Lu, Yun Liu, Di Yin, Xing Sun·· 7 天前AI 评分31

LightningMoBA:动态路由与KV中心执行加速MoBA长上下文推理

Accelerating Mixture of Block Attention via Dynamic Routing, KV-Centric Execution and Runtime Pipelining

AI 导读

LightningMoBA通过动态路由、KV中心所有权和运行时流水线协同设计,加速MoBA长上下文生成。在五个检查点匹配Top-16保留率下,端到端生成提速1.20至1.60倍,RULER平均分从74.42升至75.28。

正文 · 原文

View PDF HTML (experimental)

Abstract:Mixture of Block Attention (MoBA) reduces long-context computation by selecting key-value (KV) blocks for each query. FlashMoBA implements MoBA efficiently but retains a fixed Top-k budget and query-centric schedule. Fixed Top-k applies one budget across different score distributions and couples routing to task granularity; query-range ownership fragments K/V reuse when several ranges select the same column. We present LightningMoBA, which co-designs selection and execution through dynamic routing, KV-centric ownership, and runtime pipelining. Dynamic routing thresholds MoBA's per-query block scores and directly emits variable-cardinality sparse metadata. KV-centric ownership groups selected rows by (query head, KV block) column, splits high-fanout columns into bounded tasks, and reuses each task's loaded KV tile. On Hopper, pipelining overlaps regular K/V transfers and irregular query gathers with Tensor Core computation. Together, these mechanisms decouple retention from GPU scheduling granularity. At matched Top-16 retention across five checkpoints, LightningMoBA accelerates end-to-end generation by 1.20 to 1.60x while raising mean RULER score from 74.42 to 75.28.
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC)
Cite as: arXiv:2611.26268 [cs.DC]
  (or arXiv:2611.26268v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2611.26268

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Yingqi Shi [view email]
[v1] Thu, 19 Nov 2026 15:38:08 UTC (10,250 KB)

来源:HuggingFace Daily Papers · arxiv.org