AI News selected for Professionals and Decision Makers
Primary Research Stream

SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensation

06:00 · July 21, 2026 · arXiv cs.AI RSS

SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensation

Large Language Models (LLMs) generate text autoregressively, relying on a key-value (KV) cache whose memory footprint grows linearly with context length, creating a major bottleneck. Recent compression methods mitigate this cost via token merging; however, these approaches often rely on indiscriminate aggregation, which degrades representations and introduces attention sag, a mismatch where merged tokens receive the same softmax mass as individual tokens despite encoding multiple inputs. We propose a training-free, dual-component framework for KV cache compression that addresses these limitations. First, a soft cosine gate adaptively modulates merging decisions based on value-vector similarity, suppressing or discarding dissimilar tokens to preserve semantic fidelity. Second, we introduce an attention-ratio compensation mechanism that applies a decoding-time logit bias derived from prefill attention statistics, correcting the softmax imbalance induced by merging. Evaluated on LongBench (16 English datasets) while retaining only 25% of the KV cache, our framework achieves strong compressed performance against representative one-shot baselines. It is especially robust on the evaluated grouped-query attention (GQA) models, maintaining nearlossless generation quality. Furthermore, the method outperforms the full-cache baseline on complex multi-document QA tasks and delivers a 3.3x decoding speedup at 100k tokens.

Summary

SelKV addresses the memory bottleneck created by the growing key-value cache in autoregressive large language models. The cache stores past key and value vectors for attention computation and scales linearly with sequence length, quickly consuming gigabytes even at moderate context sizes. While recent token-merging approaches reduce this footprint by consolidating less important entries into retained ones, they typically apply a uniform merge-or-drop rule to all evicted tokens and leave merged positions under-attended during softmax normalization, an effect known as attention sag.

The method introduces two training-free components that can be inserted into existing merging pipelines. A soft cosine gate computes the cosine similarity between each evicted token’s value vector and its chosen merge target, then uses this value to scale merge intensity continuously between zero and one. Tokens that are highly similar merge fully, dissimilar ones are discarded, and intermediate cases receive partial merging, avoiding the representation corruption that occurs when dissimilar vectors are averaged unconditionally. An attention-ratio compensation step then adds a decoding-time logit bias derived from prefill attention statistics, restoring the attention mass that merged positions would otherwise lose relative to the number of original tokens they represent.

Evaluated on the sixteen English tasks of LongBench at a 25 percent KV-cache retention budget, SelKV maintains near-lossless performance on grouped-query attention models and surpasses the full-cache baseline on several multi-document question-answering settings. At one hundred thousand tokens the compressed cache yields a 3.3 times decoding speedup. The paper supplies the full algorithms, ablation studies, and comparative results against representative one-shot eviction and merging baselines, making the work directly usable for researchers working on long-context inference efficiency.

Why it matters

High technical depth and novelty in LLM inference optimization make it directly actionable for Dutch researchers and advanced practitioners developing efficient AI infrastructure.

More in this beat
context-managementinference-performancelarge-language-modelsllm-inferencepaper-key-findingsSelKV
CogniConsole: Externalizing Inference-Time Control as a Formal Abstraction for Reliable LLM Interactions

06:00 · July 13, 2026

CogniConsole: Externalizing Inference-Time Control as a Formal Abstraction for Reliable LLM Interactions

This research is highly relevant for Dutch AI researchers and engineers building enterprise LLM systems, as it offers a concrete methodology to improve AI reliability and predictability. This aligns strongly with the Netherlands' and EU's regulatory focus on transparent, trustworthy, and controllable AI systems without requiring massive computational resources for model scaling.

Relevance 85 · Audience 95

Up to 3.2x Faster Inference with LFM2.5-DSpark

18:52 · August 20, 2026

Up to 3.2x Faster Inference with LFM2.5-DSpark

Directly addresses production inference challenges like memory-bound decode latency and GPU/edge deployment for ML Engineers, with quantitative benchmarks and open implementations applicable in Dutch AI workflows.

Relevance 85 · Audience 90

The Price of Thinking: Reasoning Effort as a Model-Specific API Contract

06:00 · August 19, 2026

The Price of Thinking: Reasoning Effort as a Model-Specific API Contract

This research is highly relevant for Dutch AI researchers and MLOps practitioners focused on cost-efficient AI deployment. Understanding the hidden costs and stochastic nature of reasoning API contracts enables Dutch SMEs and enterprises to optimize their AI infrastructure and routing strategies.

Relevance 85 · Audience 95

A Year in LLM Serving: Workload Evolution, Caching and Load-Balancing

06:00 · August 17, 2026

A Year in LLM Serving: Workload Evolution, Caching and Load-Balancing

This research provides a rare, large-scale dataset and analysis of real-world LLM serving workloads, which is crucial for Dutch AI infrastructure researchers and cloud providers aiming to optimize model deployment, caching, and load-balancing. The release of the full trace enables reproducible benchmarking for local AI systems engineering.

Relevance 85 · Audience 95

Woodpecker Distillation: Weak Models Diagnose Reasoning Bugs in Strong Models

06:00 · August 7, 2026

Woodpecker Distillation: Weak Models Diagnose Reasoning Bugs in Strong Models

This paper is highly relevant for AI researchers in the Netherlands focusing on LLM reasoning, alignment, and compute-efficient training. The proposed weak-to-strong distillation method offers actionable insights for Dutch AI labs aiming to enhance model performance without relying solely on massive scaling.

Relevance 85 · Audience 95

Request-Level Energy Attribution for Batched LLM Serving

06:00 · August 4, 2026

Request-Level Energy Attribution for Batched LLM Serving

Directly actionable for Dutch AI teams optimizing sustainable LLM inference under EU energy-reporting rules; provides measured fairness baselines and reproducible protocols relevant to ethical AI and data-center efficiency goals.

Relevance 82 · Audience 88

Smaller, faster, safer: running Kimi and GLM at scale

15:00 · August 3, 2026

Smaller, faster, safer: running Kimi and GLM at scale

Provides actionable security measures (integrity checks) and efficiency techniques applicable to Dutch AI teams running inference workloads, with direct relevance to secure multi-user GPU serving.

Relevance 65 · Audience 70