Evaluating softmax attention over a fixed long context requires reading every cached key-value pair for each new query token. For a given context (a book, a manual, a legal corpus) the attention output is a deterministic function of the query. We propose Nectar, which fits a compact neural network to this function for queries drawn from a task-relevant distribution. Nectar fits two networks per layer and KV-head: a target network that predicts the attention output and a score network that predicts the log-normalizer. The pair plugs into the standard masked self-attention at inference time, replacing the $O(n)$ attention over the cache with a forward pass whose cost does not depend on $n$. Each module carries on the order of $|θ|$ parameters per layer and KV-head, typically much smaller than the $2nd$ KV-cache footprint at the same granularity. We report experiments on models from 1.7B to 8B parameters across five long-context datasets. The approximation error tracks the next-token accuracy gap to full attention, and allocating capacity non-uniformly across layers reduces that gap in our ablation. Beyond this analysis of metrics, we check that the text generations (following a question prompt) of a model equipped with a Nectar module match in semantic content those obtained by giving the same model access to the full cache.
KV Packet: Recomputation-Free Context-Independent KV Caching for LLMs
Technical University of Munich(慕尼黑技术大学);Technical University of Darmstadt(达姆施塔特技术大学);Zhejiang University(浙江大学);Technische Universität Ilmenau(伊尔梅瑙技术大学)
VLN-Cache: Enabling Token Caching for VLN Models with Visual/Semantic Dynamics Awareness
School of Computer Science, Peking University(北京大学计算机科学系);School of Computer Science, China University of Geosciences (Wuhan)(中国地质大学(武汉)计算机科学系);School of Artificial Intelligence and Automation, Huazhong University of Science and Technology(华中科技大学人工智能与自动化学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学系)
VLA-Cache: Efficient Vision-Language-Action Manipulation via Adaptive Token Caching
School of Computer Science, University of Sydney(悉尼大学计算机科学学院);John Hopcropt Center for Computer Science, Shanghai Jiao Tong University(上海交通大学约翰·霍普克罗夫特计算机科学中心)
PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention
The Hong Kong University of Science and Technology(香港科技大学);Huawei Technologies Ltd.(华为技术有限公司);Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学)
DARE: Diffusion Language Model Activation Reuse for Efficient Inference
Chandra Family Department of Electrical and Computer Engineering(查德拉家族电子与计算机工程系);The University of Texas at Austin(德克萨斯大学奥斯汀分校);Cornell University(康奈尔大学)