Accelerating Mixture of Block Attention via Dynamic Routing, KV-Centric Execution and Runtime Pipelining
Yingqi Shi, Junru Lu, Yun Liu, Di Yin, Xing Sun
Key points
From the paper's conclusion- We present LightningMoBA, which co-designs selection and execution through dynamic routing, KV-centric ownership, and runtime pipelining.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MoEZip: Routing-Aware KV Cache Compression for Sparse Mixture-of-Experts LLMsarXiv · 2026
- BasisKV: Value Latents for Communication and Key RoutingarXiv · 2026
- BellowsKV: One Latent for Many Layers, Expanded on DemandarXiv · 2026
- Minima-KV: Retention-Preserving KV Cache Compression with Mixed-Format Paged AttentionarXiv · 2026
- Double KV Cache Optimization on Apple Silicon: Block-FP4, Radial Quantization, and Fused Metal KernelsarXiv · 2026
- Improving the Expressive Power of Hybrid Sequence Models via Multi-Hop RetrievalarXiv · 2026