arXiv AI By Chao Fei, Kaihua Liang, Hanzhi Hu, Hongcheng Guo, Jian Weng, Marco Canini, Panos Kalnis

Exploring a Layer-Wise Design Space for KV Cache Eviction

Read the original on arXiv AI →

The paper investigates whether key‑value (KV) cache eviction strategies should vary across Transformer layers. By combining existing eviction methods in different layer configurations and profiling their performance, the authors find that heterogeneous, layer‑wise routing consistently outperforms homogeneous policies on LongBench tasks. Even with a fixed set of methods, the placement of each method strongly influences overall quality, and a single well‑chosen route surpasses all nine standalone baselines across multiple cache budgets.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Nov 11

KVPath: Connecting Key-Value Representations Across Transformer Layers

KVPath introduces a new way to store key-value representations in transformers by linking KV pairs across layers into a path. The first layer holds a full-dimensional base KV, while later layers store only low-dimensional delta KVs that update the preceding KV, preserving layer-specific information without full KV storage. Two variants—KVPath-Residual and KVPath-Rolling—demonstrate up to 68% reduction in KV-cache size for GQA and 55% for MLA while maintaining or improving performance.