由于在资源受限的边缘设备上进行本地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.
Accelerating Diffusion Transformers with Token-wise Feature Caching
Shanghai Jiao Tong University(上海交通大学);University of Electronic Science & Technology of China(电子科技大学);Sichuan University(四川大学);National University of Defense Technology(国防科技大学);Zhejiang University(浙江大学)
针对 Diffusion Transformer 计算成本高的问题,提出逐 token 自适应特征缓存,并按层类型与深度设置缓存比例,在 PixArt-α、OpenSora 和 DiT 上免训练实现近无损加速。
Shanghai Jiao Tong University(上海交通大学);South China University of Technology(南方科技大学);Beihang University(北航);Huawei Technologies Ltd(华为技术有限公司);Shanghai AI Lab(上海人工智能实验室);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Window-Diffusion: Accelerating Diffusion Language Model Inference with Windowed Token Pruning and Caching
School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);Suzhou Institute of Advanced Research, University of Science and Technology of China(苏州先进研究院,中国科学技术大学)
MeanCache: From Instantaneous to Average Velocity for Accelerating Flow Matching Inference
Data Science & Artificial Intelligence Research Institute, China Unicom(中国unicom数据科学与人工智能研究 institute);Unicom Data Intelligence, China Unicom(中国unicom数据智能);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室)
OTCache: Optimal Transport for Geometry-Aware Caching in Diffusion Models
Data Science & Artificial Intelligence Research Institute, China Unicom(中国联通数据科学与人工智能研究院);Unicom Data Intelligence, China Unicom(中国联通联通数据智能);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)
MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation
School of Computer Science, Peking University, Beijing, China(北京大学计算机科学学院,北京,中国);School of Information, Renmin University of China, Beijing, China(中国人民大学信息学院,北京,中国)
Recency/Frequency Adaptive KV Caching for Large Language Model Serving
Department of Computer Science, Johns Hopkins University, Baltimore, USA(约翰霍普金斯大学计算机科学系);Argonne National Laboratory, Lemont, USA(阿贡国家实验室);Parasail, Inc., San Mateo, USA(Parasail公司)
SpeCa: Accelerating Diffusion Transformers with Speculative Feature Caching
Shanghai Jiao Tong University(上海交通大学);Shandong University(山东大学);University of Electronic Science and Technology of China(电子科学与技术大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Tsinghua University(清华大学);National University of Singapore(新加坡国立大学)
Fine-Grained AI Model Caching and Downloading With Coordinated Multipoint Broadcasting in Multi-Cell Edge Networks
State Key Laboratory of Alternate Electrical Power System with Renewable Energy Sources, School of Electrical and Electronic Engineering, North China Electric Power University(替代电力系统与可再生能源电源国家重点实验室,电气与电子工程学院,华北电力大学);China Satellite Network Group Shanghai Research Institute(中国卫星网络集团上海研究院)
DARTS: Distribution-Aware Active Rollout Trajectory Shaping for Accelerating LLM Reinforcement Learning
School of Computer Science \& Beijing Key Laboratory of Software;Hardware Cooperative Artificial Intelligence Systems, Peking University, Beijing, China;School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China;Institute of Computational Social Science, Peking University (Qingdao), Qingdao, China