Intent-Aware Caching for Efficient LLM Serving
Kazi Hasan Ibn Arif, JinYi Yoon, Dimitrios S. Nikolopoulos, Hans Vandierendonck, Deepu John, Bo Ji
Abstract
Modern LLM serving systems use prefix caching to accelerate multi-turn conversational workloads. They cache the key-value states of previous conversation prefixes and reuse them when subsequent requests share the same prefix, to avoid redundant prefill computation and reduce serving latency. However, achieving a high cache hit rate remains challenging because cache reuse depends on whether a conversation continues and how soon the next turn arrives. Our analysis of real workloads shows that user intent is a useful signal for this behavior, as different intents exhibit different continuation probabilities and inter-turn delays. Based on this key insight, we propose Intent-Aware Caching (IAC), an online eviction policy that classifies requests by intent, learns lightweight reuse statistics from recent serving logs and leverages these statistics to guide an oracle-inspired eviction strategy. Extensive evaluation on real workloads (WildChat and ShareChat) shows that IAC reaches a 34.6% cache hit rate. This substantially outperforms both the previous learning-based approach (18.8%) and traditional methods such as least recently used (LRU, 12.2%), while reducing average serving latency by up to 46.1%.
Create a lesson
Related papers
ReActWAM: Action-Consistent Caching for Efficient World-Action Models
Shared title terminology · Zhaochen Guo, Yunke Wang, Siyu Xu et al.
LoRazor: Trimming Adapter Execution for Efficient Multi-LoRA Serving
Shared title terminology · Xiang Li, Pengcheng Wang, Azam Ikram et al.
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminology · Michael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminology · Kelsey Sikes, Sarath Sreedharan
PruneNAS: Constraint Aware Neural Architecture Search based Pruning
Shared title terminology · Sudhakar Sah, Nikhil Chhabra, Honnesh Rohmetra et al.
EA-Bench: Measuring information and action efficiency under imperfect instructions
Shared title terminology · Xu Wan, Wenyue Xu, Shenjie Zhao