Research map / Architectures and efficiency / Attention and transformers
XC-Cache: Cross-Attending to Cached Context for Efficient LLM Inference
João Monteiro, Étienne Marcotte, Pierre-André Noël, Valentina Zantedeschi, David Vázquez, Nicolas Chapados, Christopher Pal, Perouz Taslakian
ServiceNow
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
8improved
2hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- HotpotQA leaderboard F1 54.57 · rank 71 of 105 papers
- NQ leaderboard F1 63.12 · rank 7 of 24 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| cross-attend to cached context (small encoder) instead of ICL prompting | Llama 2-7B · NQ | F1: 41.26 -> 63.12 | Improved |
| cross-attend to cached context (small encoder) instead of ICL prompting | Llama 2-7B · HotpotQA | F1: 29.63 -> 54.57 | Improved |
| use frozen decoder as encoder with trained cross-attention instead of ICL prompting | Llama 2-7B · TopiOCQA | F1: 33.45 -> 45.47 | Improved |
| replace small-encoder XC-Cache with LoRA-fine-tuned Llama 2 (full KV cache) | Llama 2-7B · HotpotQA | F1: 54.57 -> 71.97 | Improved |
| add a small trainable encoder instead of decoder as encoder | XC-Cache · NQ | F1: 59.95 -> 63.12 | Improved |
| add a small trainable encoder instead of decoder as encoder | XC-Cache · HotpotQA | F1: 43.94 -> 54.57 | Improved |
| prepend the question to the encoder input (ablation) | XC-Cache (small encoder) · NQ | F1: 63.12 -> 66.86 | Improved |
| use XC-Cache storing encoder outputs instead of KV cache | Llama 2-7B · cache size per token | kB/token: 512 -> 8 (decoder as encoder); 512 -> 1.5 (small encoder) | Improved |
| use XC-Cache instead of LoRA-fine-tuned prompted model | Llama 2-7B · NQ | F1: 67.38 -> 63.12 | Hurt |
| evaluate on unseen out-of-distribution data (RepLiQA) | all models · RepLiQA (unseen) | QA score | Hurt |
Closest papers by meaning
- Training Free Exponential Context Extension via Cascading KV Cache (ICLR 2025 · similarity 0.91)
- SCBench: A KV Cache-Centric Analysis of Long-Context Methods (ICLR 2025 · similarity 0.89)
- ArkVale: Efficient Generative LLM Inference with Recallable Key-Value Eviction (NeurIPS 2024 · similarity 0.89)
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads (ICLR 2025 · similarity 0.89)
- CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration (ICML 2025 · similarity 0.89)
- QUEST: Query-Aware Sparsity for Efficient Long-Context LLM Inference (ICML 2024 · similarity 0.88)
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.
