论文

MultiAlloc 提出预算感知的 KV Cache 量化精度分配框架

MultiAlloc: Budget-Aware Precision Allocation for KV Cache Quantization

精选理由

一篇解决 LLM 推理内存痛点的论文:MultiAlloc 在固定显存预算下自动决定 KV Cache 量化精度怎么分,比现有逐层和逐 token 方法都省心。

MultiAlloc 是一个面向 KV Cache 量化的 profiling 引导精度分配框架,核心问题是在固定内存预算下如何把量化资源分配给逐层精度增强与逐 token 信息保留两种策略。

正文

它通过轻量离线 profiling 刻画层敏感度和 token 重要性,自动推导精度分配策略,无需在线搜索。在推理和长上下文基准上,该方法在相同内存预算下超过了逐层、逐 token 以及近期多粒度 KV Cache 量化方法。

实验覆盖 Mistral、Llama、DeepSeek-Qwen、QwQ 等多种模型。

原文 · arXiv: DeepSeek

MultiAlloc: Budget-Aware Precision Allocation for KV Cache Quantization

The Key-Value (KV) cache constitutes a dominant source of memory consumption during large language model (LLM) inference, particularly in long-context and complex reasoning scenarios. Existing KV cache quantization methods have explored different compression granularities, including layer-wise precision adjustment and token-level information preservation. In practical deployment, however, the key challenge is not merely compression, but how to allocate limited quantization resources among heterogeneous precision preservation strategies under a fixed KV cache memory budget. We propose MultiAlloc, a profiling-guided precision allocation framework for KV cache quantization that adaptively distributes limited quantization resources between layer-wise precision enhancement and token-wise preservation. MultiAlloc employs lightweight offline profiling to characterize layer sensitivity and token importance, enabling adaptive precision allocation under a fixed memory constraint. Guided by the profiled memory--accuracy trade-off, it automatically derives an effective precision allocation strategy without online allocation search, and applies the resulting policy during inference. Extensive experiments on reasoning and long-context benchmarks demonstrate that MultiAlloc consistently improves over layer-wise, token-wise, and recent multi-granularity KV cache quantization methods under matched memory budgets across diverse models, including Mistral, Llama, DeepSeek-Qwen, and QwQ.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:KV Cache、量化、推理优化、Mistral,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

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

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