Skip to main navigation Skip to search Skip to main content

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

Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review

Abstract

Efficient inference for on-device Large Language Models (LLMs) remains challenging due to limited hardware resources and the high cost of the prefill stage, which processes the full input context to construct Key-Value (KV) caches. We present SparKV, an adaptive KV loading framework that combines cloud-based KV streaming with on-device computation. SparKV models the cost of individual KV chunks and decides whether each chunk should be streamed or computed locally, while overlapping the two execution paths to reduce latency. To handle fluctuations in wireless connectivity and edge resource availability, SparKV further refines offline-generated schedules at runtime to rebalance communication and computation costs. Experiments across diverse datasets, LLMs, and edge devices show that SparKV reduces Time-to-First-Token by 1.3×-5.1× with negligible impact on response quality, while lowering per-request energy consumption by 1.5× to 3.3×, demonstrating its robustness and practicality for real-world on-device deployment. © 2026 IEEE.
Original languageEnglish
Number of pages11
JournalIEEE Internet of Things Journal
DOIs
Publication statusOnline published - 21 May 2026

Funding

This work is supported in part by the Research Grants Council (RGC) of Hong Kong under General Research Fund under Grant 11220225.

Research Keywords

  • KV cache loading
  • On-device LLM
  • overhead-aware
  • time-to-first-token

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'SparKV: Overhead-Aware KV Cache Loading for Efficient On-Device LLM Inference'. Together they form a unique fingerprint.

Cite this