🛰️ Daily AI Frontier
‹ back to 2026-10-15

Latent Compaction with Test-Time Training

arXiv cs.CL Efficiency & Systems Yingfa Chen, Xingyu Shen, Chaojun Xiao, Xu Han 2026-10-14

TL;DR - Latent Compaction uses test-time training to optimize a compact, document-specific KV cache while keeping model weights frozen. It preserves long-context retrieval under aggressive compression, reducing generation memory and attention costs.

  • Initializes cache entries using reconstruction importance, teacher attention, and key-space diversity.
  • Distills full-cache attention outputs and log-normalizers before jointly optimizing the compact cache end to end.
  • Requires only generic document prompts, not downstream questions or answers.
  • Achieves 96.7% RULER accuracy at 32Ă— compression versus 40.0% for KVZip+, with gains across Qwen3 and MiniCPM5.

view merged work →