mlsanityData to 7 Oct 2026

Learned Structure in Cartridges: Keys as Shareable Routers in Self-Studied Representations

arXiv 2508.17032 ↗First posted 23 Aug 2025cs.LGcited by 2

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

A bottleneck for long-context LLM inference is the linearly growing KV cache. Recent work has proposed Cartridges, an approach which leverages offline compute to train a much smaller KV cache than is typically required for a full document (up to 40x less memory usage at inference time). In this paper, we present the first mechanistic exploration of the learned Cartridge key-value cache structure. In particular, we propose that (1) Cartridge keys act as stable, shareable retrieval routers for the compressed corpora and (2) most of the learned compression occurs within the Cartridge value vectors. We present empirical evidence of our routing theory across tasks, model families, and model sizes; for example, we can ablate the learned Cartridge key vectors between tasks with little performance loss. Finally, we propose a slight improvement in initialization called Sampled Chunk Initialization (SCI). We suggest that SCI can lead to faster Cartridge convergence than previously demonstrated in the literature. Our findings lay the groundwork for broader empirical study of Cartridge training optimization which may be crucial for further scaling.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 21 of its 26 references that are in the map. First posted on arXiv 23 Aug 2025.

Builds on

21 of 26 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  2. 2024Bifurcated Attention: Accelerating Massively Parallel Decoding with Shared Prefixes in LLMs13 Mar

Other references · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  4. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  5. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
  6. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
  7. 2023FinanceBench: A New Benchmark for Financial Question Answeringcited by 261
  8. 2023Using an LLM to Help With Code Understandingcited by 222
  9. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
  10. 2022Learning by Distilling Contextcited by 128
  11. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
  12. 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 71
7 more
  1. 2024Learning to Compress Prompt in Natural Language Formatscited by 54
  2. 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysiscited by 44
  3. 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
  4. 2022Can Foundation Models Help Us Achieve Perfect Secrecy?cited by 9
  5. 2025Verdict: A Library for Scaling Judge-Time Computecited by 7
  6. 2025How Relevance Emerges: Interpreting LoRA Fine-Tuning in Reranking LLMscited by 3
  7. 2025Mechanistic Interpretability of LoRA-Adapted Language Models for Nuclear Reactor Safety Applicationscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Cartridges at Scale: Training Modular KV Caches over Large Document Collections
  2. 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inference
  3. 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression
  4. 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression
  5. 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
  6. 2026KV Cache Offloading for Context-Intensive Tasks
  7. 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
  8. 2025Beyond RAG: Task-Aware KV Cache Compression for Comprehensive Knowledge Reasoning