论文精选

XPool:面向稀疏注意力长上下文推理的零冗余多级 KV 池

XPool: A Zero-Redundancy, Near-Zero-Overhead Multi-Tier KV Pool for Sparse-Attention LLM Serving

精选理由

做长上下文推理部署的工程师应该看看这篇。它把 KV 缓存里 GPU 和内存的重复副本去掉了,同样 8 张卡能塞下 3.44 倍的活跃 batch,吞吐比 SGLang 加 HiSparse 的组合还高 2.51 倍,用 DeepSeek-V3.2 实测过。

一篇新论文提出 XPool,一种零冗余、近零开销的多级 KV 池架构(GPU-as-Capacity),用于 prefill-decode 分离的稀疏注意力大模型推理服务。在配备 HY4 与 DeepSeek-V3.2 的八卡 GPU 服务器上,XPool 将活跃解码 batch 规模提升至 3.44 倍,比同引擎纯 GPU 方案吞吐高 62.6%,比 SGLang + HiSparse 并发高 1.46 倍、吞吐高 2.51 倍。

正文

技术上,XPool 在稳态下让每条主 KV 只存于一个层级,消除现有 GPU-as-Cache 方案中 GPU 缓存与主机 DRAM 的重复副本,使独立主 KV 容量从 C 线性扩展到 C + G。为了不拖慢关键路径,它配合图内 Token-Level KV Manager(prefill 热度放置、桶式淘汰、索引共享层的 MoE 窗口交换、索引计算层的本地分辨率注意力融合)和 PCIe Manager(暂停门控、分块、双流写入,隔离紧急写回与 RDMA 传输)。

对长上下文推理场景的开发者而言,这一设计说明当 GPU HBM 容量接近主机 DRAM 时,冗余缓存方案会限制 HBM 的硬件扩展价值,单层级存储可以换取更高的并发与吞吐。

原文 · arXiv: DeepSeek

XPool: A Zero-Redundancy, Near-Zero-Overhead Multi-Tier KV Pool for Sparse-Attention LLM Serving

Native sparse attention reduces per-step computation and KV reads, yet still retains the full KV history, exhausting GPU HBM before long-context decoding saturates compute. Existing offloaders adopt a host-backed multi-tier KV cache (GPU-as-Cache) in which GPU-cached entries duplicate host DRAM copies. As modern GPU HBM approaches host DRAM capacity, this paradigm cannot convert growing HBM into runtime KV capacity, lacks HBM hardware scalability, and lets offloading overhead erode or degrade throughput. We present XPool, a zero-redundancy, near-zero-overhead multi-tier KV pool (GPU-as-Capacity) for prefill-decode (PD) disaggregated sparse-attention serving. By storing each main KV entry in one tier at steady state, XPool expands distinct main KV capacity from C to C + G with linear HBM scalability. To keep the resulting bidirectional writeback-recall chain off the critical path, XPool pairs an in-graph Token-Level KV Manager (prefill-heat placement, bucket-based eviction, MoE-window exchange on index-sharing layers, and local resolution-attention fusion on index-computing layers) with a PCIe Manager (pause-gated, chunked, dual-stream ingestion isolating urgent writebacks while RDMA continues). On an eight-GPU server node with HY4 and DeepSeek-V3.2, XPool delivers up to 3.44x active decode batch size and 62.6% higher throughput over same-engine GPU-only serving, up to 1.46x concurrency and 2.51x throughput over SGLang + HiSparse, and 14% higher throughput from PCIe Manager.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦中国 AI 产业与国产大模型生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:DeepSeek-V3.2、KV缓存、稀疏注意力、推理优化,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。

发现摘要或翻译有误? 告诉我们