Disaggregated \textsc{LLM} serving separates prefill and decode across node pools, placing a network fabric between \textsc{KV}-cache computation and consumption. This breaks a key assumption of classical cache policies: a miss no longer incurs only local recomputation, but also network transfer to the decode node. Likewise, admitting a block to the global cache requires an additional transfer, so poor retention decisions waste both memory and bandwidth. We present \textbf{KVLearn}, a learning-based framework for cost-aware \textsc{KV}-cache retention in disaggregated serving. KVLearn includes: (i) a lightweight Prefix Reuse Predictor (\textsc{PRP}) that estimates reuse probability from structural and temporal prefix features without modifying model weights; (ii) a Cost-Aware Retention Score (\textsc{CARS}) that converts reuse probability into keep/admit decisions using recomputation, transfer, and storage costs; and (iii) an Adaptive Threshold Controller (\textsc{ATC}) that adjusts admission thresholds online from observed hit rates and memory pressure. We integrate KVLearn into a globally disaggregated serving topology and evaluate it on text and multimodal workloads, including large image/video-derived \textsc{KV} blocks with heterogeneous reuse patterns. KVLearn reduces end-to-end time-to-first-token by up to 56% versus No-Cache, 38% versus LRU-Pool, and 33% versus Mooncake-style baselines, while cutting inter-node \textsc{KV} transfer volume by up to 53% versus LRU-Pool. On MM-Session, throughput remains within ${\sim}5%$ of oracle. Code is available at https://github.com/FastLM/KVLearn.
Analytical Provisioning for Attention-FFN Disaggregated LLM Serving under Stochastic Workloads
Dept. of Industrial Engineering and Decision Analytics HKUST(工业工程与决策分析系香港科技大学);Dept. of Computer Science and Technology Tsinghua University(计算机科学与技术系清华大学);IIIS Tsinghua University(清华大学信息学院);Huawei Hong Kong Research Center(华为香港研发中心);School of Mathematical Sciences Peking University(北京大学数学科学学院)
Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息系统学院);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院)
CompilerKV: Risk-Adaptive KV Compression via Offline Experience Compilation
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Electronic Science and Technology of China(电子科技大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));ByteDance(字节跳动);University of Science and Technology Beijing(北京科技大学)