跳转至

参考资料

本页汇总 KVCache 相关的重要论文、框架文档、博客和 GitHub 资源。标注 ⭐ 的为强烈推荐的入门材料。


核心论文

KVCache 基础与分页管理

  • ⭐ Efficient Memory Management for Large Language Model Serving with PagedAttention Kwon et al., 2023. vLLM 和 PagedAttention 的原始论文。 arXiv:2309.06180

  • Attention is All You Need Vaswani et al., 2017. Transformer 和 Multi-Head Attention 的原始论文。 arXiv:1706.03762

Attention 变体与架构

  • GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints Ainslie et al., 2023. GQA(Grouped-Query Attention)的提出,显著减小 KVCache 体积。 arXiv:2305.13245

  • Fast Transformer Decoding: One Write-Head is All You Need Shazeer, 2019. MQA(Multi-Query Attention)的提出。 arXiv:1911.02150

  • DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model DeepSeek, 2024. 包含 MLA(Multi-head Latent Attention)的详细描述。 arXiv:2405.04434

  • Mamba: Linear-Time Sequence Modeling with Selective State Spaces Gu & Dao, 2023. 状态空间模型路线,恒定大小状态替代 KVCache。 arXiv:2312.00752

  • RWKV: Reinventing RNNs for the Transformer Era Peng et al., 2023. arXiv:2305.13048

KV 稀疏化

  • Efficient Streaming Language Models with Attention Sinks(StreamingLLM) Xiao et al., 2023. 发现并利用 attention sink,构造滑动窗口 + sink 的无限长上下文方案。 arXiv:2309.17453

  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of LLMs Zhang et al., 2023. token 级重要性评分驱动的 KV 剪枝。 arXiv:2306.14048

  • SnapKV: LLM Knows What You are Looking for Before Generation Li et al., 2024. Prefill 末端预测重要 token,一次性丢弃次要 K/V。 arXiv:2404.14469

  • Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference Tang et al., 2024. 基于 query 的动态稀疏 attention。 arXiv:2406.10774

  • YOCO: You Only Cache Once Sun et al., 2024. 跨层共享 KV,KVCache 体积大幅下降。 arXiv:2405.05254

  • Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation Feng et al., 2024. head 级自适应 KV 剪枝。 arXiv:2407.11550

KV 量化

  • KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache Liu et al., 2024. K per-channel + V per-token 的极致 2-bit 量化。 arXiv:2402.02750

  • KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization Hooper et al., 2024. 4-bit 量化 + RoPE 对齐。 arXiv:2401.18079

  • Atom: Low-bit Quantization for Efficient and Accurate LLM Serving Zhao et al., 2023. 推理全栈低比特化。 arXiv:2310.19102

  • QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving Lin et al., 2024. arXiv:2405.04532

  • TurboQuant: Extremely Low-Bit KV Cache Quantization for Negligible Accuracy Loss Mao et al., 2025. 3.5-bit 近似无损,WHT + QJL 残差纠偏。 arXiv:2504.19874

  • HACK: Homomorphic Acceleration via Compression of the Key-Value Cache for Disaggregated LLM Inference Luo et al., 2025. 同态 INT2 量化,KV 不还原直接在 attention 内计算。 arXiv:2502.03589

  • TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks Cambridge, 2026. 面向 agentic inference 的三轴结构化 2/4-bit KV 量化。 arXiv:2605.17170

Prefix Cache 与 KV 复用

  • ⭐ SGLang: Efficient Execution of Structured Language Model Programs Zheng et al., 2024. 包含 RadixAttention 的描述。 arXiv:2312.07104

  • Prompt Cache: Modular Attention Reuse for Low-Latency Inference Gim et al., 2023. 位置无关 prefix cache 的早期探索。 arXiv:2311.04934

  • CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion Yao et al., 2024. RAG 场景下文档块级 KV 复用。 arXiv:2405.16444

长上下文与序列并行

  • Ring Attention with Blockwise Transformers for Near-Infinite Context Liu et al., 2023. 长上下文 SP 的代表实现。 arXiv:2310.01889

PD 分离

  • ⭐ Splitwise: Efficient Generative LLM Inference Using Phase Splitting Patel et al., 2023. PD 分离早期的重要论文。 arXiv:2311.18677

  • Mooncake: Kimi's KVCache-centric Architecture for LLM Serving Qin et al., 2024. 以 KVCache 为核心的 PD 分离调度系统。 arXiv:2407.00079

  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving Zhong et al., 2024. arXiv:2401.09670

KV Offload 与多级存储

  • InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management Lee et al., 2024. KV offload + 动态管理。 arXiv:2406.19707

  • CacheGen: KV Cache Compression and Streaming for Fast LLM Serving Liu et al., 2024. arXiv:2310.07240

  • KVDrive: A Holistic Multi-Tier KV Cache Management System for Long-Context LLM Inference

  • HBM / DRAM / SSD 三层 KV 管理,attention-aware 缓存与 SFC 流水线。 arXiv:2605.18071

  • Tutti: Making SSD-Backed KV Cache Practical for Long-Context LLM Serving

  • GPU-centric SSD KV object store,消除 CPU I/O 控制面瓶颈。 arXiv:2605.03375

  • CacheFlow: Efficient LLM Serving with 3D-Parallel KV Cache Restoration

  • token / layer / GPU 三维并行 KV 恢复调度。 arXiv:2604.25080

  • ContiguousKV: Accelerating LLM Prefill with Granularity-Aligned KV Cache Management

  • 用 ContiguousChunk 对齐剪枝、存储与 I/O 粒度。 arXiv HTML:2601.13631v1

CXL 与 KVCache

  • Beluga: CXL Memory Pooling for Disaggregated LLM Inference Li et al., 2025. CXL 2.0 内存池化 KV Cache,TTFT 1.36s vs RDMA 13.00s。 arXiv:2511.20172

  • TraCT: CXL-based KV Cache Transfer for Disaggregated LLM Inference CXL 作为 PD KV 传输通道,TTFT 最高 9.8× 提升。 arXiv:2512.18194

  • CXL-SpecKV: Speculative KV Cache Lookup with CXL Memory CXL 池作为独立 KVCache 服务。 arXiv:2512.11920

Agent 与长上下文

  • SCBench: A KV Cache-Centric Analysis of Long-Context Methods Tan et al., 2024. KV 生命周期四阶段拆解评估框架。 arXiv:2412.10319

  • Don't Break the Cache: Caching-Aware Prompt Optimization for LLM Agents Determinant of KV cache hit rate in agent systems. arXiv:2601.06007

  • Semantic-Aware Memory Hierarchy for Reasoning KV Cache

  • 证明 reasoning token 永久逐出会造成准确率悬崖,offload 到 DDR 可保留大部分精度。 arXiv:2605.09490

PD 分离与多轮

  • PPD: Prefill-Prefill-Decode Disaggregation for Efficient Multi-Turn LLM Serving Full prefill vs append-prefill 的分野。 arXiv:2603.13358

  • Prefill-as-a-Service: Cross-Datacenter LLM Inference with Hybrid Attention Hybrid attention 降低跨数据中心 KV 传输带宽至 3–8 Gbps。 arXiv:2604.15039

  • ZeRO-Prefill: Asynchronous Expert Parallelism for MoE Prefill Serving MoE 推理中 KV 的"原地位"策略。 arXiv:2605.02960

  • DualPath: Breaking the Storage Bandwidth Bottleneck in Agentic LLM Inference

  • 利用 decode 侧存储 NIC 的双路径 KV 读取,缓解 agentic PD 分离 I/O 瓶颈。 arXiv:2602.21548

Attention 机制

  • Why Does the Attention Sink Occur? (ICML 2026) Attention sink 的统计-结构形成机制,HeadNorm 缓解。 arXiv:2605.06611

FlashAttention

  • ⭐ FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness Dao et al., 2022. arXiv:2205.14135

  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning Dao, 2023. arXiv:2307.08691


框架文档


博客文章

  • ⭐ vLLM Blog: PagedAttention (2023) vLLM 团队对 PagedAttention 的介绍,含图示说明。 blog.vllm.ai

  • Towards 100x Speedup: Full Stack Transformer Inference Optimization (待补充 URL)


相关 GitHub 资源

  • vLLM — PagedAttention 原始实现
  • SGLang — RadixAttention、高性能 KV 管理
  • LMCache — 多级 KVCache 分层存储
  • Mooncake — KVCache-centric 调度系统
  • FlashInfer — 分页 KVCache 的高效 Attention kernel 库
  • AIBrix — vLLM 生态下的 K8s 原生推理基础设施,含 cache-aware autoscaler
  • NVIDIA Dynamo — NVIDIA 推出的分布式推理基础设施
  • TokenSpeed — NVIDIA Dynamo 生态的高性能推理调度引擎
  • XConn XC50256 — CXL 2.0 switch,Beluga 等 CXL KV 方案的关键硬件

MiracleFarms 站内相关文章

Essay(深度分析):

Reading(论文解读):


如有遗漏的重要论文或资源,欢迎通过 GitHub Issues 提交补充建议。

版本历史

版本 日期 说明
v0.3 2026-06-02 新增 Phase 2 论文与资源:TriAxialKV、KVDrive、Tutti、CacheFlow、ContiguousKV、DualPath、语义感知内存层级、NVIDIA Dynamo/NIXL 文档及 5/18–6/2 主站 KVCache 文章
v0.2 2026-05-14 新增 TurboQuant、HACK、Beluga、TraCT、CXL-SpecKV、SCBench、PPD、PrfaaS、ZeRO-Prefill、Attention Sink 等论文;补充 CXL 论文分类;补充主站全部 18 篇 KV Cache 相关文章链接;新增 TokenSpeed/XConn 相关资源