paper-with-me

Papers

NestedKV: Nested Memory Routing for Long-Context KV Cache Compression

2026-05-26 · Hong Chen, Xiang Liu, Yubo Gao, Yuxuan Fan, Bo Wang, Yuanlin Chu, Yuanguo Lin, Xuming Hu arxiv

Long-context language models are limited by the memory footprint of the key-value (KV) cache. Existing training-free KV compression methods usually rank tokens by one importance signal -- attention, recency, layer-wise allocation, or key distinctiveness -- which becomes brittle when useful context is globally distinctive, locally episodic, or immediately relevant. We introduce NestedKV, a key-only KV cache compression method inspired by the Continuum Memory System in Nested Learning. NestedKV maintains global, block-level, and sliding-window key anchors, scores tokens by multi-time-scale cosine anomaly, and combines the resulting rankings with a training-free outer learner using head-adaptive mixing and surprise-gated token routing. The score is paired with adaptive per-head budgets and requires no training or LLM modification. Across RULER (4k--32k), LooGLE, LongBench, LongBench-E, InfiniteBench, and MMLU-Pro on Qwen3 and Llama-3.2 models, NestedKV is strongest when the retained cache is small. On Qwen3-4B, it improves over KeyDiff by up to 19.10 points on RULER and 19.29 on LongBench at $r=0.75$; at $r=0.95$, it retains 37.32 on LongBench versus 17.55 for KeyDiff.

📄 PDF Abstract BibTeX arXiv:2605.26678

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Mixture of Contexts for Long Video Generation

2025-08-28 · Shengqu Cai, Ceyuan Yang, Lvmin Zhang, Yuwei Guo 외 arxiv

Long video generation is fundamentally a long context memory problem: models must retain and retrieve salient events across a long range without collapsing or drifting. However, scaling diffusion transformers to generate…

Information RetrievalVideo Generation

Federated Nested Learning: Collaborative Training of Self-Referential Memories for Test-Time Adaptation

2026-05-08 · Hong Chen, Pengcheng Wu, Yuanguo Lin, Peilin Zhao 외 arxiv

We rethink Federated Learning (FL) from a nested learning perspective, framing the core challenge as how to collaboratively learn optimization rules, not just static models, to tackle Non-IID client data. To address this…

Test-time AdaptationFederated Learning

Competitive Facility Location under Random Utilities and Routing Constraints

2024-03-07 · Hoang Giang Pham, Tien Thanh Dam, Ngan Ha Duong, Tien Mai 외

In this paper, we study a facility location problem within a competitive market context, where customer demand is predicted by a random utility choice model. Unlike prior research, which primarily focuses on simple const…

valid

Generalized Nested Rollout Policy Adaptation with Dynamic Bias for Vehicle Routing

2021-11-12 · Julien Sentuc, Tristan Cazenave, Jean-Yves Lucas

In this paper we present an extension of the Nested Rollout Policy Adaptation algorithm (NRPA), namely the Generalized Nested Rollout Policy Adaptation (GNRPA), as well as its use for solving some instances of the Vehicl…

Nested Learning: The Illusion of Deep Learning Architectures

2025-12-31 · Ali Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab Mirrokni arxiv

Despite the recent progresses, particularly in developing Language Models, there are fundamental challenges and unanswered questions about how such models can continually learn/memorize, self-improve, and find effective …

Continual Learning