[论文解读] Towards Robust and Efficient Cloud-Edge Elastic Model Adaptation via Selective Entropy Distillation
本文提出云边弹性模型适配(CEMA),一种协作框架,通过仅上传高价值样本至云端,实现边缘模型在分布偏移下的高效在线适应。通过使用基于动态熵的样本过滤和仅更新批归一化层的有选择性知识蒸馏,CEMA在ImageNet-C(高斯噪声,严重程度3)上实现51.1%的top-1准确率,通信开销极低,优于现有方法,且仅需在边缘设备上进行推理。
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.
研究动机与目标
- 解决真实边缘部署中分布偏移导致的模型性能下降问题。
- 在延迟敏感约束下,减少云与边缘设备之间的通信开销。
- 在资源受限设备上无需反向传播,实现高效、在线的边缘模型适配。
- 利用云端更强的预训练基础模型,通过知识蒸馏指导边缘模型适配。
- 通过重放缓冲区策略复用上传样本,提升数据效率。
提出的方法
- 提出一种选择性样本上传策略,通过动态熵阈值排除不可靠样本,通过固定阈值排除低信息量样本。
- 采用重放缓冲区存储并复用上传样本,提升蒸馏过程中的数据利用率。
- 仅通过传输批归一化层参数,从云端基础模型向边缘模型进行知识蒸馏,以降低通信成本。
- 采用两阶段过滤机制:使用动态熵阈值识别不可靠样本,使用静态阈值识别低信息量样本。
- 仅更新基础模型和边缘模型中批归一化层的仿射参数(γ, β),以保留学习到的特征并最小化参数传输。
- 支持可配置间隔K的周期性边缘模型更新,实现在资源受限环境中的带宽高效适配。
实验结果
研究问题
- RQ1选择性样本过滤是否能在不损失性能的前提下减少云边模型适配中的通信开销?
- RQ2基于熵的样本识别在区分高价值适配样本方面有多高效?
- RQ3从强基础模型蒸馏知识是否能提升边缘模型在分布偏移下的鲁棒性?
- RQ4适配过程中最优的参数更新策略是什么——全量微调还是仅更新归一化层?
- RQ5边缘设备上的更新间隔K如何影响适配性能与通信效率?
主要发现
- CEMA在ImageNet-C(高斯噪声,严重程度3)上实现51.1%的top-1准确率,显著优于基线(31.9%)和ETA(检测任务15.0 mAP)。
- 排除不可靠和低信息量样本后,上传样本数量相比全量上传基线减少35%,同时保持或提升准确率。
- 仅更新批归一化层(γ, β)在性能与通信成本之间取得最佳平衡,仅需传输0.0096 MB的参数。
- 当边缘更新间隔K从1增至5时,适配准确率仅从51.1%轻微下降至50.5%,表明在带宽受限条件下仍具鲁棒性。
- CEMA在样本识别上优于SENTRY(45.6%)和BALD(50.7%),证明其基于熵的过滤策略具有优越性。
- 在YOLOv5目标检测任务中,CEMA仅上传3,261个样本,就在损坏的COCO 2017数据集上实现18.3 mAP,少于基线和ETA,证明其在分类任务之外的泛化能力。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。