Research map / Architectures and efficiency / Attention and transformers
Key-Value Memory Networks for Directly Reading Documents
Alexander H. Miller, Adam Fisch, Jesse Dodge, Amir-Hossein Karimi, Antoine Bordes, Jason Weston
Meta · Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
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
- WikiQA leaderboard mAP 0.7069 · rank 14 of 22 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use key-value memories instead of standard MemNN (key=value) | Memory Network · WikiMovies test (Doc) | hits@1 (%): 69.9 -> 76.2 | Improved |
| use key-value memories instead of standard MemNN | Memory Network · WikiQA test | MAP: 0.5170 -> 0.7069 | Improved |
| use window-level instead of sentence-level memories (ablation) | KV-MemNN · WikiMovies dev (Doc) | hits@1 (%): 52.4 -> 66.8 | Improved |
| add document title as value for windows (ablation) | KV-MemNN window-level · WikiMovies dev (Doc) | hits@1 (%): 66.8 -> 74.1 | Improved |
| add center encoding on top of window + title (ablation) | KV-MemNN · WikiMovies dev (Doc) | hits@1 (%): 74.1 -> 76.9 | Improved |
| read raw documents rather than IE-built KB | KV-MemNN · WikiMovies test | hits@1 (%): 68.3 -> 76.2 | Improved |
| use human-annotated KB instead of raw documents | KV-MemNN · WikiMovies test | hits@1 (%): 76.2 -> 93.9 | Improved |
| convert KB into one-template sentences | KV-MemNN · WikiMovies test | hits@1 (%): 93.9 -> 82.9 | Hurt |
| use all templates instead of one | KV-MemNN synthetic docs · WikiMovies test | hits@1 (%): 82.9 -> 80.0 | Hurt |
| add coreference to synthetic documents | KV-MemNN synthetic docs · WikiMovies test | hits@1 (%): 82.9 -> 76.0 (one template) | Hurt |
| add conjunctions to synthetic documents | KV-MemNN synthetic docs · WikiMovies test | hits@1 (%): 82.9 -> 74.0 (one template) | Hurt |
| compare KV-MemNN with L.D.C. on WikiQA | KV-MemNN · WikiQA test | MAP: 0.7058 -> 0.7069 | No clear effect |
Open problems in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- MELODI: Exploring Memory Compression for Long Contexts (ICLR 2025 · similarity 0.78)
- KV Packet: Recomputation-Free Context-Independent KV Caching for LLMs (NeurIPS 2026 · similarity 0.77)
- Memory Layers at Scale (ICML 2025 · similarity 0.76)
- SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMs (ICML 2025 · similarity 0.76)
- Reducing Transformer Key-Value Cache Size with Cross-Layer Attention (NeurIPS 2024 · similarity 0.76)
- RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State (NeurIPS 2026 · similarity 0.76)
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.