arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.22812cs.LGcs.DC
收藏

通过分布式提示缓存加速资源受限边缘设备上的本地LLM

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

Keio University(庆应义塾大学)

Hiroki Matsutani, Naoki Matsuda, Naoto Sugiura

AI总结:

本文提出分布式提示缓存方法,通过多台低功耗边缘设备协同共享中间状态以提升LLM推理性能,实验表明可显著降低TTFT和TTLT。

摘要:

由于在资源受限的边缘设备上进行本地LLM推理存在严重的性能瓶颈,本文提出分布式提示缓存方法,通过在多个低端边缘设备之间协同共享中间处理状态来提升推理性能。为了充分利用提示相似性,我们的分布式缓存机制还支持部分匹配。由于该方法引入了通过无线网络共享状态的通信开销,我们引入了基于Bloom过滤器的数据结构,称为目录,以确定远程服务器是否具有所需内部状态,从而抑制不必要的通信。使用Gemma-3 270M模型和MMLU数据集在Raspberry Pi Zero 2W平台上的实验表明,所提出的方法平均将TTFT(时间到第一个标记)和TTLT(时间到最后一个标记)分别减少93.12%和50.07%。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑