SparKV: Overhead-Aware KV Cache Loading for Efficient On-Device LLM Inference

Liu, Hongyao, Zhai, Liuqun, Wang, Junyi, Fang, Zhengru, Chen, Jingshu, Huang, Jun

–arXiv.org Artificial Intelligence 

Models r the esour Abstract full ces (LLMs) input and --Efficient the context remains high infer cost to challenging ence construct of the for pr on-de efill due Key-V stage, vice to alue limited Lar which (KV) ge Language hard pr caches. BACKGROUND attention [22], our Jetson Orin still requires more than 5 s A. On-device LLMInference with Context Reuse to process a 15K-token context. Together, these observations suggest that minimizing TTFT requires jointly exploiting both Deploying on-device LLMs, typically with 0.5-7B paramstreaming and computation opportunities. Recent advances in quantization, pruning, and distillarectional convergence" strategy that computes early contexttion have made billion-parameter models increasingly practical chunks while loading later ones in parallel. However, this approach has three fundamental limitations. However, on-device inference remains putation dependencies: Transformer computation follows strictfundamentally constrained by limited memory bandwidth and layer-wise and causal dependencies over historical tokens, andcompute throughput.