清华 THUNLP 开源了个 KV cache 压缩方法,压到 1/32 还能在 RULER 上保持 96.7% 准确率,比 KVZip+ 的 40% 高出一大截,长文档检索场景可以直接试。
#KV cache
一张卡塞不下多个模型就只能换入换出?JointServe 边生成边预取权重、护住 KV,SLO 达标率从 2.8% 拉到 76.8%。
让两个不同大小的模型直接共享 KV 缓存、不用再互发文本,免训练就能提准 8.6 个百分点、首 token 快 12 倍,做多智能体的可以看看。
KV cache eviction methods are usually benchmarked with their own custom kernels, so performance claims conflate the rule with the implementation. FlexBudget gives practitioners a controlled harness for fair, reproducible comparisons. Developers running long-context inference in PyTorch can adopt it directly, and the talk also suits anyone evaluating which eviction strategy fits their memory budget.
The takeaway is that SSMs can pick up the same deployment optimizations as Transformers without changing the architecture, which weakens the usual cost argument for switching model families. Practitioners evaluating hybrid or SSM-based serving stacks should watch for IO-aware caching implementations and benchmark them against paged KV setups. Dao's framing also connects techniques across FlashAttention, Mamba and paged KV as one design principle.
The finding suggests viral multi-agent memory demos may not transfer to standard evaluation setups, since benchmarks are structured in ways that neutralise recall benefits. Engineers deciding whether to add persistent memory to agent pipelines should weigh the near-zero measured accuracy gain against its efficiency advantages. The paper's benchmark-design critique is a useful checklist when validating similar architectures.
Knowing which phase a given optimisation targets — faster GPUs for prefill, smaller weights or faster memory for decode — turns technique lists like quantisation and speculative decoding into a coherent decision framework. Practitioners running local inference or serving stacks can use pp128 and tg64 benchmarks separately instead of a single speed number. The guide is hosted on llama.app and centres on llama.cpp tooling.
Benchmark averages can mask periodic failure modes in long-context retrieval, so a model that looks solid on mean scores may still drop retrievals depending on where content sits in the compression window. Engineers running DeepSeek or similar KV-compressed models on RAG or agent pipelines should test retrieval across phase positions rather than relying on aggregate accuracy. The arXiv paper (2609.36322) offers the evaluation methodology to replicate.
KV-cache reuse, not model quality, may become the bottleneck for agent products at scale, since idle context still occupies memory while agents wait on tool calls. Engineers building multi-step agent backends can use Dynamo's router-plus-cache-manager design as a reference for cutting serving cost without adding GPUs. It competes in the same layer as vLLM and SGLang-style serving stacks.
This release significantly improves inference efficiency through advanced attention mechanisms and memory management, enabling faster processing of large models. Developers working with LLMs in production environments will benefit from the optimized serving capabilities and experimental features like engine snapshots, particularly for models requiring high-throughput processing.
SWA bounded replay shows how KV-cache reuse for agent loops can be engineered around sliding-window attention, a pattern many teams will copy as agent traffic grows. Engineers running agent stacks on vLLM can apply it to reduce TTFT under high concurrency. The writeup also signals that DeepSeek-V4.1-Flash inference performance is being actively tuned by the community rather than relying on the lab alone.
Sparse agent memory changes the economics of long-context agent runs, since cache footprint rather than raw context length becomes the cost driver. Developers running multi-step agent pipelines can weigh Flash's cheaper, lighter memory against the extra per-token compute it needs. At US$0.27 versus US$0.67, it also undercuts DeepSeek's own V4-Pro on price while scoring higher on the AA Index.
The three reuse tricks all called 'looped transformers' differ in cache behaviour and cost, and picking the wrong one can burn a training week or budget a 3B decode like a 3B file. Builders planning efficient architectures can use this to decide whether extra loops justify their compute and whether a second cache is needed. Nanbeige 4.2 offers a concrete open reference point against standard Transformers.
The key insight is that near-fixed-point recurrent states make much of the compute spent on full backpropagation and full KV caches redundant, cutting costs across training, decoding and RL at once. Practitioners building efficient inference stacks or RL pipelines for recurrent models can apply KV sharing and distilled prefill directly. Compared with Huginn's fixed prior, the learned prior plus orthogonal injection improves perplexity at every scale tested up to 1.6B parameters.
长链推理时 KV 缓存会爆炸,这篇提出用增量 SVD 压到 4-5 倍还能保住准确率,比删 token 的老办法稳,做推理部署的可以看看。
一帮研究者做了个叫 UniCache 的免训练压缩框架,多模态模型缓存能压 5 倍,长上下文吞吐还能快 1.78 倍,做部署的可以看看。
研究者测了五个开源模型,发现 Mistral 7B 和 Muse Glimmer 能从已滑出窗口的缓存里找回信息,做长上下文推理的可以看看。
vLLM 和 LMCache 里能直接用的 KV 缓存调度优化,快速层容量从 100 GiB 砍到 25 GiB 吞吐基本不掉,还把 p95 首 token 时间降了 48%。
做智能体 RL 训练的朋友可以看看,KV 缓存不清空改成流式传递,训练直接快 2.6 到 5 倍,还能当循环记忆用,即插即用。
Two-level KV sharing targets the long-context prefill bottleneck that agentic workloads hit, cutting compute without a full attention redesign. Engineers building long-context inference stacks can benchmark the approach against hybrid SWA baselines on similar MoE setups. The MiMo-V3 linkage also signals how Xiaomi positions its model stack against domestic rivals like DeepSeek and Qwen.
arXiv 上一篇讲 KV 缓存的新论文,用本地历史替换当前 token 分支,126M 模型上困惑度降了约 1.4%,做推理优化的人可以看看。
The architecture targets agentic workloads, where each turn appends long observations and prefill cost, cache size and retrieval accuracy sit on the critical path simultaneously. Switching from block-level to token-level selection and folding SWA into a forced recent window gives local and global tokens one shared KV cache. Developers building long-context agents should watch MiMo-V3's release, especially against open-source alternatives like DeepSeek and Qwen in the same weight class.
一篇新论文 CompKV,重新设计了稀疏注意力里的 token 选择逻辑,长上下文推理自注意力最高快 6.85 倍,做推理优化的可以看看。
做长上下文推理的可以看看这篇:ARM 用可微路由记忆替代硬淘汰 token,缓存不再丢关键信息,延迟还可控。
For developers working with large language models, DeepSeek-V4.1-Flash offers a more cost-effective solution for long-context tasks by significantly reducing KV cache requirements.
DeepSeek 新出的 V4.1 Flash 模型,性能不错,和 GLM-5.3 差不多,关键是内存消耗特别低,适合做 agentic 任务,价格也便宜很多。
This update directly addresses a key cost factor for developers using AI agents, making the model more economical for deployment.
The study reveals how multi-tenant contention affects KV-cache timing attacks, showing measurements on quiet systems can overestimate operational attack reliability.
KV缓存驱逐会掉精度,KV-Rescue用个小模型当辅助,能救回87%的损失,还省43%的生成量,跑长推理的可以看看。
AWS官方教你用Curvine在HyperPod上搞分层KV缓存,省GPU内存还能提速,跑大模型推理的可以看看。
做LLM后训练的朋友可以看看,MISA-T把混合rollout调度做得更精细,吞吐提升明显,而且不牺牲任务效果。
想给RAG省算力又不想掉精度?CoinRAG把检索结果拆成小碎块做缓存复用,LongBench上F1平均提了5.3%,值得一看。
看这个,论文解决了视频生成模型长视频记忆丢失的问题,不重新训练就能把一致性拉高15个点,做视频生成的人应该关心。
同系列模型切换总得重新预填充?这篇用线性映射传KV缓存,能省2.7到25倍时间,四对组合还保住九成以上准确率。
看完这篇论文,你就明白怎么让 LLM 在有多层记忆时不再反复重算——InferScale 直接把 KV 缓存存好,做到检索量再大 TTFT 基本不变。