Semantic Cache Distillation: Efficient State Transfer via Reuse and Selective Patching
Abstract
Lay Summary
When an AI assistant receives a long question or document, it first builds an internal working memory of what it has read. In large AI services, that reading may be done by one computer, while a different computer or a specialized version of the model writes the answer. A simple way to connect them is to send the whole working memory, but that can be so large that it delays the first word of the reply. Sending a rough shortcut is faster, but small mismatches between the two models can grow into wrong answers. We study how to pass this working memory more carefully between related models. Our method sends a compact version of the parts that are easy to share, then repairs a few sensitive places where errors are most likely to spread. This lets the second model begin writing sooner while keeping its answer close to what it would have produced if it had read everything itself. The result is a step toward faster and more efficient AI services, especially when many specialized models need to reuse the same long input.