边缘推理是一种可在靠近数据源的客户端上实现实时数据处理与分析的技术。为确保符合服务水平目标(Service-Level Objectives,SLOs),例如30%的延迟降低目标,通常采用缓存技术来减少流数据推理任务中的冗余计算。由于任务与数据存在相关性,在客户端之间共享缓存信息可提升推理性能。然而,不同客户端间数据的非独立同分布(non-independent and identically distributed,non-IID)特性,以及部分类别样本量远多于其他类别的长尾分布,会降低缓存命中率并增加延迟。为解决上述挑战,我们提出了一种高效推理框架CoCa,该框架利用多客户端协作缓存机制加速边缘推理。在客户端侧,模型预设了多层缓存以实现快速推理;推理过程中,模型会在边缘服务器激活的缓存层上执行顺序查找。在服务器侧,CoCa采用二维全局缓存定期聚合来自各客户端的信息,以缓解非独立同分布数据带来的影响。针对客户端缓存分配问题,CoCa首先根据各类别样本的被访问频率和近期访问情况评估类别重要性,随后选取频繁出现的类别以应对长尾分布挑战,最后动态激活缓存层以平衡查找开销与准确率。大量实验表明,在VGG、ResNet和AST模型上,CoCa可将推理延迟降低23.0%至45.2%,同时仅带来轻微的准确率损失。
英文摘要:
Edge inference is a technology that enables real-time data processing and analysis on clients near the data source. To ensure compliance with the Service-Level Objectives (SLOs), such as a 30% latency reduction target, caching is usually adopted to reduce redundant computations in inference tasks on stream data. Due to task and data correlations, sharing cache information among clients can improve the inference performance. However, the non-independent and identically distributed (non-IID) nature of data across different clients and the long-tail distributions, where some classes have significantly more samples than others, will reduce cache hit ratios and increase latency. To address the aforementioned challenges, we propose an efficient inference framework, CoCa, which leverages a multi-client collaborative caching mechanism to accelerate edge inference. On the client side, the model is pre-set with multiple cache layers to achieve a quick inference. During inference, the model performs sequential lookups at cache layers activated by the edge server. On the server side, CoCa uses a two-dimensional global cache to periodically aggregate information from clients, mitigating the effects of non-IID data. For client cache allocation, CoCa first evaluates the importance of classes based on how frequently and recently their samples have been accessed. CoCa then selects frequently recurring classes to address long-tail distribution challenges. Finally, CoCa dynamically activates cache layers to balance lookup overhead and accuracy. Extensive experiments demonstrate that CoCa reduces inference latency by 23.0% to 45.2% on the VGG, ResNet and AST models with a slight loss of accuracy.
ParaAnya: Accelerating Parallel Diffusion Sampling with Plug-and-Play Output Caching
National Taiwan University(国立台湾大学);University of Southern California(南加州大学);Artificial Intelligence Center of Research Excellence, National Taiwan University(国立台湾大学卓越人工智能研究中心)
SWB-DM: A Calibrated Sliced-Wasserstein-Barycenter Aggregator with Delayed-Momentum Caching for Byzantine-Robust Federated Learning under Partial Participation
Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology(维尔技术兰加拉詹博士萨贡塔拉研发科技学院)
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公司)
Accelerating Privacy-Preserving Federated Learning in Large-Scale LEO Satellite Systems
School of Telecommunication Engineering, Xidian University(电信工程学院,西安电子科技大学);Tianjin Artificial Intelligence Innovation Center (TAIIC)(天津人工智能创新中心);Pillar of ISTD, Singapore University of Technology and Design(ISTD支柱,新加坡科技与设计大学);School of Electrical and Electronic Engineering, Nanyang Technological University(电子与电气工程学院,南洋理工大学);Department of Electrical and Computer Engineering, University of Houston(电气与计算机工程系,休斯顿大学)