Visual TL;DR. LLM Long Context Bottleneck due to KV Cache Full Reads. LLM Long Context Bottleneck solves LOCKS Framework. KV Cache Full Reads addressed by LOCKS Framework. LOCKS Framework uses Spectral Summaries. Spectral Summaries enables Reconstruct Logits. Reconstruct Logits leads to Attend Top-Ranked Pages. Attend Top-Ranked Pages achieves Near Full-Quality. Attend Top-Ranked Pages reduces Cut Latency/Computation. Near Full-Quality while Cut Latency/Computation.
- LLM Long Context Bottleneck: KV cache memory and computational demands bottleneck extensive context windows
- KV Cache Full Reads: full reads at every decoding step create a significant performance impediment
- LOCKS Framework: approximates KV cache with spectral summaries for efficient attention selection
- Spectral Summaries: each KV cache 'page' gets a summary, about one-tenth the full cache size
- Reconstruct Logits: summaries reconstruct within-page logits and estimate each page's attention mass
- Attend Top-Ranked Pages: system attends only to top-ranked pages, reducing keys and values read
- Near Full-Quality: maintains performance, staying within a small margin of full-quality inference
- Cut Latency/Computation: drastically cuts latency and computation for long-context LLMs
Visual TL;DR
