atlas

Research map / Architectures and efficiency / Attention and transformers

MPCache: MPC-Friendly KV Cache Eviction for Efficient Private LLM Inference

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MPCache, a training-free, MPC-friendly KV cache eviction framework combining look-once static eviction with query-aware hierarchical clustered dynamic selection, cutting private LLM decoding latency and communication.

Problem

Private LLM inference via secure multi-party computation (MPC) suffers high latency and communication for long sequences, mainly from attention; existing plaintext KV cache eviction methods use MPC-unfriendly operations (top-k ranking, token gathering, similarity), so they do not directly help.

Approach

Combine one-time static eviction of unimportant tokens during prefill with dynamic per-step selection over clusters of KV cache, using an MPC-friendly upper-bound similarity (max/min key bounds) linearized into a weighted sum (alpha=0.6) to avoid max operations, hierarchical coarse-to-fine cluster selection, and sharing top-k indices across adjacent layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use MPCache instead of InfLLMLongChat-7B-V1.5-32K · HotpotQA, 5% cache budgetperformance (%): 28.20 -> 30.27Helped
use MPCache instead of InfLLMLongChat-7B-V1.5-32K · HotpotQA, 5% cache budgetlatency (s): 51.64 -> 39.85Helped
use MPCache instead of InfLLMLongChat-7B-V1.5-32K · TriviaQA, 5% cache budgetperformance (%): 75.65 -> 75.61No clear effect
use MPCache instead of InfLLMLongChat-7B-V1.5-32K · NarrQA, 5% cache budgetperformance (%): 12.80 -> 17.23Helped
use MPCache instead of H2OLLaMA-2-7B · XSUM, 7B, 5% budgetscore: 4.886 -> 10.08Helped
use MPCache instead of SnapKVLLaMA-3.1-8B-Instruct · LongBench NarrativeQA, budget 1024score: 26.51 -> 29.47Helped
use static eviction before dynamic selection (ablation)dynamic KV cache selection · LLaMA-2-7B, sequence length 1024, static eviction ratio 70%latency: 1.42×Helped
use static eviction before dynamic selection (ablation)dynamic KV cache selection · LLaMA-2-7B, sequence length 1024, static eviction ratio 70%communication: 2.76×Helped
add MPC-friendly clustering, linearization, reordering, and cross-layer index-sharing (ablation)MPCache with static eviction and dynamic selection · LLaMA-2-7B, sequence length 1024, static eviction ratio 70%latency and communication: 1.9× and 5.9× latency and communication reductionHelped
apply dynamic token selection without static eviction or MPC-friendly optimizations (ablation)private LLM inference · LLaMA-2-7B, sequence length 1024latency and communicationHurt
increase hierarchical cluster size or decrease the coarse-grained selection ratio (ablation)MPCache hierarchical KV cache selection · LongBench, dynamic selection ratio 20%communication: 163.5 -> 69.12 MBHelped
increase hierarchical cluster size or decrease the coarse-grained selection ratio (ablation)MPCache hierarchical KV cache selection · LongBench, dynamic selection ratio 20%F1 score: 29.6 -> 29.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: LongBench XSUM Needle-in-a-Haystack

Benchmarks: LongBench XSUM Needle-in-a-Haystack

Metrics: F1 score ROUGE decoding latency (s) communication (MB)

Baselines: StreamingLLM H2O TOVA SnapKV InfLLM LongCache DuoAttention Quest ArkVale head merging

Builds on: H2O Quest SnapKV Secretflow PUMA BumbleBee

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy