KaVa: Latent Reasoning via Compressed KV-Cache Distillation
Anna Kuzina, Maciej Pioro, Paul N. Whatmough, Babak Ehteshami Bejnordi
TL;DR
KaVa tackles the high cost of chain-of-thought reasoning by learning latent internal reasoning through distillation from a compressed teacher KV-cache. The framework combines a three-way pipeline with a redundancy-aware KV eviction and a KV matching loss, augmented by CODI self-distillation, enabling the latent student to mimic the teacher's internal dynamics without generating verbose traces. Empirically, KaVa outperforms strong latent baselines on natural-language reasoning tasks, shows smaller degradation when shifting from equation-like to NL traces, and scales to larger backbones while maintaining efficiency. This work establishes compressed KV-cache distillation as a scalable supervision signal that merges the accuracy of CoT-trained teachers with the deployability of latent inference.
Abstract
Large Language Models (LLMs) excel at multi-step reasoning problems with explicit chain-of-thought (CoT), but verbose traces incur significant computational costs and memory overhead, and often carry redundant, stylistic artifacts. Latent reasoning has emerged as an efficient alternative that internalizes the thought process, but it suffers from a critical lack of supervision, limiting its effectiveness on complex, natural-language reasoning traces. In this work, we propose KaVa, the first framework that bridges this gap by distilling knowledge directly from a compressed KV-cache of the teacher into a latent-reasoning student via self-distillation, leveraging the representational flexibility of continuous latent tokens to align stepwise KV trajectories. We show that the abstract, unstructured knowledge within compressed KV-cache, which lacks direct token correspondence, can serve as a rich supervisory signal for a latent reasoning student. Empirically, the approach consistently outperforms strong latent baselines, exhibits markedly smaller degradation from equation-only to natural-language traces, and scales to larger backbones while preserving efficiency. These results establish compressed KV-cache distillation as a scalable supervision signal for latent reasoning, combining the accuracy of CoT-trained teachers with the efficiency and deployability of latent inference.
