Metraipolis › archive › dc_f32f14b91233

Latent Compaction with Test-Time Training — arXiv:2610.20582

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.20582
License (as archived)
CC0-1.0
Archived
2026-10-15T14:23:56.451Z
SHA-256 of the archived text
b685591ba3649f9b5519769d74267902ebee75a20cd653650a3082687b076fdc
Stable URL of this page
https://metraipolis.com/documento/dc_f32f14b91233

How to cite

Latent Compaction with Test-Time Training — arXiv:2610.20582 — arXiv (en), https://arxiv.org/abs/2610.20582 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f32f14b91233 (Metraipolis archive dc_f32f14b91233, sha256 b685591ba3649f9b5519769d74267902ebee75a20cd653650a3082687b076fdc)
BibTeX
@misc{dcf32f14b91233,
  title = {Latent Compaction with Test-Time Training — arXiv:2610.20582},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.20582},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f32f14b91233; sha256 b685591ba3649f9b5519769d74267902ebee75a20cd653650a3082687b076fdc},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.20582. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Long contexts enlarge key--value (KV) caches, increasing memory use and attention costs during generation. Compressing these caches must preserve information for unseen questions. We introduce **Latent Compaction**, which learns a compact document-specific cache through test-time training. We initialize cache entries using reconstruction importance, teacher attention, and key-space diversity. Training first fits attention outputs and log-normalizers to those of the full cache, with reconstruction-selected entries held fixed. It then jointly optimizes the entire cache through end-to-end distillation from the full-cache model. Model weights remain frozen throughout, and training uses only generic prompts about the document, without access to downstream questions or answers. Experiments on RULER, LongBench, and Phonebook Lookup demonstrate substantial gains over budget-matched compression baselines. On a RULER, for example, our method achieves 96.7% accuracy at 32$\times$ compression, compared with 40.0% for KVZip+. The method also transfers across model scales and families, with retrieval gains on both Qwen3 and MiniCPM5. These results show that treating the KV cache as a neural network and optimizing it with test-time training can preserve retrieval accuracy under aggressive compression. The code is released at this https URL

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.20582 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T13:53:35.984Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).