表征相似性:无需训练的边缘计算中 DNN 层共享的更好指导
Representation Similarity: A Better Guidance of DNN Layer Sharing for Edge Computing without Training
AI总结:
针对边缘设备上DNN内存受限问题,提出一种无需训练的模型合并方案,利用表征相似性指导边缘层共享,其与模型准确率高度相关,可作为无真实标签的验证指标。
摘要:
边缘计算已成为减少传输和处理延迟以及保护视频流隐私的替代方案。然而,基于视频的应用(例如目标检测)中使用的深度神经网络(DNN)日益增加的复杂性,给内存受限的边缘设备带来了压力。模型合并被提出用于通过在内存中仅保留合并层权重的一份副本来减少 DNN 的内存占用。在现有的模型合并技术中,仅能共享架构相同的层;需要在云端进行计算成本昂贵的重新训练;并假设重新训练时可获得真实标签。然而,重新评估合并模型的性能需要一个带有真实标签的验证数据集,这通常在云端运行。指导共享层选择的常见指标包括共享层的大小、计算成本或表征大小。我们提出了一种新的模型合并方案,通过在表征相似性 S 的指导下,在边缘共享表征(即层的输出)。我们表明,与其他指标相比,S 与合并模型的准确率具有极高的相关性,皮尔逊相关系数 |r| > 0.94,这证明表征相似性可以作为无需真实标签的强验证准确率指标。我们展示了新提出的模型合并方案的初步结果和已识别的挑战,指出了一个有前景的未来研究方向。
英文摘要:
Edge computing has emerged as an alternative to reduce transmission and processing delay and preserve privacy of the video streams. However, the ever-increasing complexity of Deep Neural Networks (DNNs) used in video-based applications (e.g. object detection) exerts pressure on memory-constrained edge devices. Model merging is proposed to reduce the DNNs' memory footprint by keeping only one copy of merged layers' weights in memory. In existing model merging techniques, (i) only architecturally identical layers can be shared; (ii) requires computationally expensive retraining in the cloud; (iii) assumes the availability of ground truth for retraining. The re-evaluation of a merged model's performance, however, requires a validation dataset with ground truth, typically runs at the cloud. Common metrics to guide the selection of shared layers include the size or computational cost of shared layers or representation size. We propose a new model merging scheme by sharing representations (i.e., outputs of layers) at the edge, guided by representation similarity S. We show that S is extremely highly correlated with merged model's accuracy with Pearson Correlation Coefficient |r| > 0.94 than other metrics, demonstrating that representation similarity can serve as a strong validation accuracy indicator without ground truth. We present our preliminary results of the newly proposed model merging scheme with identified challenges, demonstrating a promising research future direction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。