跳到正文
arXiv cs.AI· Feiyu Yao, Zhixiong Niu, Xiaqing Li, Yongqiang Xiong, Juan Fang, Qian Wang·· 2 小时前AI 评分42

Mosaic:CPU-GPU 协同的高效块稀疏注意力系统

Mosaic: Efficient CPU-GPU Coordinated Block-Sparse Attention

AI 导读

论文提出 Mosaic,一个面向 CPU 驻留上下文 KV 的 CPU-GPU 协同块稀疏注意力系统,用于高效长上下文解码。其核心包括输出贡献感知的 KV 预算分配、按 head 与粒度定制的稀疏配置和跨设备调度。

正文 · 原文

View PDF

Abstract:Long-context LLM serving increasingly relies on CPU-resident context KV cache, driven by KV offloading and disaggregated prefill--decode execution. Although block-sparse attention reduces KV access, existing designs remain inefficient: GPU-centralized execution fetches selected KV blocks from CPU memory at each decoding step, making it PCIe-bound, while CPU--GPU partitioned execution places CPU-side sparse attention on the critical path, leaving substantial GPU time idle. This paper presents Mosaic, a CPU--GPU coordinated block-sparse attention system for efficient long-context decoding with CPU-resident context KV. Mosaic builds on three key insights: output-contribution-aware KV budgeting, head-specific and granularity-aware sparse configuration, and cross-device coordinated scheduling for sparse tasks over CPU-resident KV. Guided by these insights, Mosaic integrates a lightweight head-property predictor, a granularity--budget selector, and a priority-based scheduler to automatically configure and coordinate sparse attention, preserving output quality while improving efficiency on heterogeneous architectures. Across 2 models, 3 benchmarks, and 40 tasks, Mosaic preserves near-FULL quality while achieving a better overall quality--efficiency tradeoff than the evaluated baselines. Compared with the best-quality fixed Quest configuration, Mosaic improves TPOT by up to 3.7$\times$. We further validate Mosaic across four hardware configurations and in a large-model multi-GPU deployment.
Comments: ACM SIGOPS ATC 2026
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Performance (cs.PF)
Cite as: arXiv:2605.07719 [cs.LG]
  (or arXiv:2605.07719v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2605.07719

arXiv-issued DOI via DataCite

Related DOI: https://doi.org/10.1145/3828523.3857033

DOI(s) linking to related resources

Submission history

From: Yao Feiyu [view email]
[v1] Fri, 8 May 2026 13:24:39 UTC (1,039 KB)
[v2] Fri, 20 Nov 2026 08:25:19 UTC (1,396 KB)

来源:arXiv cs.AI · arxiv.org