Reproduce “Jacap: Robust KV Cache Eviction via Jacobian-Based Nonlinear Information Capacity Preservation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jiaming Yang, Chenwei Tang, Liangli Zhen, Chenyang Zhang, Jiancheng Lv

JACAP introduces a Jacobian-based criterion for KV-cache eviction that approximates how much future-query information a retained token can convey through nonlinear softmax attention. By combining query sensitivity with output-space diversity, it generally outperforms heuristic eviction methods and becomes increasingly stronger than CAPKV under aggressive compression, while showing mixed results across decoding budgets.

Key insights

  • High current attention does not necessarily imply high cache utility: tokens in saturated softmax regions can be locally insensitive to future query changes.
  • Cache selection benefits from considering both nonlinear query relevance and complementarity among value/output directions rather than evaluating tokens independently.
  • The method’s advantage is most apparent under severe compression, although its performance varies with the model, task, and available cache budget.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.