AI Daybook
AI Daybook
오늘의 지면
논문연구·논문

LightningMoBA, 동적 라우팅으로 장문맥 주의 연산 1.2~1.6배 가속

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

매체
Hugging Face
게시
중요도
2/5
화제 지수
14

한국어 요약

Mixture of Block Attention(MoBA)의 효율성을 높이기 위해 동적 라우팅, KV 중심 실행, 런타임 파이프라이닝을 결합한 LightningMoBA를 제안했다. 고정 Top-k 예산 대신 쿼리별 블록 점수를 동적으로 임계화하고 KV 타일 재사용을 최적화했으며, Hopper에서 end-to-end 생성 속도를 1.2~1.6배 가속하고 RULER 평균 점수는 74.42에서 75.28로 높였다.

원문 발췌 · English

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.

#llm#attention#acceleration#long-context
원문 기사 읽기
전체 보기 →