arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17316cs.CV
收藏

通过选择性熵蒸馏实现稳健高效的云-边缘弹性模型自适应

Towards Robust and Efficient Cloud-Edge Elastic Model Adaptation via Selective Entropy Distillation

South China University of Technology(华南理工大学);Pengcheng Laboratory(鹏城实验室);Nanyang Technological University(南洋理工大学);Pazhou Laboratory(琶洲实验室)

Yaofo Chen, Shuaicheng Niu, Yaowei Wang, Shoukai Xu, Hengjie Song, Mingkui Tan

AI总结:

本文提出云-边缘弹性模型自适应(CEMA)范式,通过选择性样本上传和基于归一化层仿射参数的熵蒸馏,在边缘仅前向传播和有限通信预算下实现在线自适应,并在ImageNet-C/R上验证其有效性。

摘要:

传统的深度学习范式通常是在服务器上训练一个深度模型,然后将该模型或其蒸馏版本部署到资源受限的边缘设备上。通常,模型一旦部署后(至少在一段时间内)会保持固定,因为对服务器端和边缘端而言,模型自适应的潜在成本较高。然而,在许多实际场景中,测试环境可能动态变化(即分布偏移),这往往导致性能下降。因此,必须及时对边缘模型进行自适应,以获得良好的性能。此外,随着边缘端收集的数据不断增加,这一范式也无法进一步自适应云端模型以提升性能。为了解决这些问题,我们面临两个主要挑战:1)边缘模型计算能力有限,可能仅支持前向传播;2)在延迟敏感场景中,云端与边缘设备之间的数据传输预算有限。在本文中,我们建立了一种云-边缘弹性模型自适应(CEMA)范式,在该范式中,边缘模型只需执行前向传播,并且边缘模型可以在线自适应。在我们的CEMA中,为了减少通信负担,我们设计了两个准则来排除不必要的样本上传到云端,即动态不可靠样本排除和低信息量样本排除。基于上传的样本,我们通过从更强的基座模型向边缘模型进行蒸馏,并采用样本回放策略来更新和分发归一化层的仿射参数。在ImageNet-C和ImageNet-R上的大量实验结果验证了我们CEMA的有效性。

英文摘要:

The conventional deep learning paradigm often involves training a deep model on a server and then deploying the model or its distilled ones to resource-limited edge devices. Usually, the models shall remain fixed once deployed (at least for some period) due to the potential high cost of model adaptation for both the server and edge sides. However, in many real-world scenarios, the test environments may change dynamically (known as distribution shifts), which often results in degraded performance. Thus, one has to adapt the edge models promptly to attain promising performance. Moreover, with the increasing data collected at the edge, this paradigm also fails to further adapt the cloud model for better performance. To address these, we encounter two primary challenges: 1) the edge model has limited computation power and may only support forward propagation; 2) the data transmission budget between cloud and edge devices is limited in latency-sensitive scenarios. In this paper, we establish a Cloud-Edge Elastic Model Adaptation (CEMA) paradigm in which the edge models only need to perform forward propagation and the edge models can be adapted online. In our CEMA, to reduce the communication burden, we devise two criteria to exclude unnecessary samples from uploading to the cloud, i.e., dynamic unreliable and low-informative sample exclusion. Based on the uploaded samples, we update and distribute the affine parameters of normalization layers by distilling from the stronger foundation model to the edge model with a sample replay strategy. Extensive experimental results on ImageNet-C and ImageNet-R verify the effectiveness of our CEMA.

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

↑