cs.LGFeb 26, 2026

Accelerating Local LLMs on Resource-Constrained Edge Devices via Distributed Prompt Caching

Authors: Hiroki Matsutani, Naoki Matsuda, Naoto Sugiura

Organizations: Dept. of ICS, Keio University, 3-14-1 Hiyoshi, Kohoku-ku, Yokohama, Japan

Abstract

Since local LLM inference on resource-constrained edge devices imposes a severe performance bottleneck, this paper proposes distributed prompt caching to enhance inference performance by cooperatively sharing intermediate processing states across multiple low-end edge devices. To fully utilize prompt similarity, our distributed caching mechanism also supports partial matching. As this approach introduces communication overhead associated with state sharing over a wireless network, we introduce a Bloom-filter-based data structure, referred to as a catalog, to determine whether a remote server possesses the desired internal states, thereby suppressing unnecessary communication. Experiments using the Gemma-3 270M model and the MMLU dataset on the Raspberry Pi Zero 2W platform demonstrate that the proposed approach reduces TTFT (Time to First Token) and TTLT (Time to Last Token) by 93.12% and 50.07% on average, respectively.

Figures & tables

Explore similar work

CardsList
  1. DeltaLLM: Delta-Key Sparse Attention for Edge LLMs

    Jul 25, 2025Jiawen Qi, Jiayu Liu, Chang Gao +2On-Device Language Model InferenceLLM Inference Acceleration

  2. Prima.cpp: Fast 30-70B LLM Inference on Heterogeneous and Low-Resource Home Clusters

    Apr 7, 2025Zonghang Li, Tao Li, Wenjiao Feng +8On-Device Language Model InferenceLLM Inference