English

ProxyKV: Cross-Model Proxy Pruning for Efficient Long-Context LLM Inference

Machine Learning 2026-05-19 v1 Artificial Intelligence

Abstract

Efficient long-context inference in Large Language Models (LLMs) is severely constrained by the Key-Value (KV) cache memory wall, yet existing pruning methods force a choice between low-latency heuristics that sacrifice precision and high-precision reconstruction methods that incur prohibitive prefilling overhead. To bridge this scoring-cost--accuracy gap, we propose ProxyKV, a cross-model proxy pruning framework that offloads importance scoring to a lightweight intra-family Small-Model Proxy executed asynchronously to the Large-Model Target. To bridge the architectural gap between heterogeneous models, we design the HybridAxialMapper, which disentangles temporal feature extraction from cross-head alignment, together with a Multi-Granularity Hybrid Loss that shifts the learning objective from rigid regression to relative ranking consistency. Across the Llama-3.1, Qwen-2.5, and Qwen-3 families spanning targets from 7B up to 32B parameters on LongBench, SCBench, and RULER, ProxyKV matches KVZip on aggregate (recovering \sim98.7%98.7\% of its mean accuracy) while delivering up to a 3.21×3.21\times prefilling speedup on Llama-3.1-8B (dual-GPU; \sim1.5×1.5\times shared single-GPU) and sustaining the speedup at contexts up to 170k tokens on Qwen-2.5-7B.

Keywords

Cite

@article{arxiv.2605.16360,
  title  = {ProxyKV: Cross-Model Proxy Pruning for Efficient Long-Context LLM Inference},
  author = {Junjie Li and Jiong Lou and Jie Li},
  journal= {arXiv preprint arXiv:2605.16360},
  year   = {2026}
}