通过云和设备实现传输友好和健壮的CNN模型
Towards Transmission-Friendly and Robust CNN Models over Cloud and Device
摘要:
在无处不在的物联网(IoT)设备上部署深度卷积神经网络(CNN)模型引起了工业界和学术界的广泛关注,因为它通过提供各种快速响应服务极大地方便了我们的生活。由于物联网设备资源有限,CNN模型的云辅助训练成为主流。然而,现有的相关工作大多存在模型参数传递量大、模型鲁棒性差等问题。为此,本文提出了一种模型参数传递低、模型鲁棒性强的云辅助CNN训练框架。在提出的框架中,我们首先引入MonoCNN,它只包含一些可学习的过滤器,其他过滤器是不可学习的。这些不可学习的滤波器参数是根据某些规则生成的,即,滤波器生成函数(FGF),并可以通过一些随机种子来保存和再现。因此,云服务器只需要将这些可学习的过滤器和一些种子发送到IoT设备。与传输所有模型参数相比,发送几个可学习的滤波器参数和种子可以显着减少参数传输。然后,我们研究多个FGF,并使物联网设备能够使用FGF生成多个过滤器并将它们组合到MonoCNN中。因此,MonoCNN不仅受到训练数据的影响,而且还受到FGF的影响。FGF的规则在正则化MonoCNN中发挥作用,从而提高其鲁棒性。实验结果表明,与最先进的方法相比,我们提出的框架可以减少云服务器和物联网设备之间的大量模型参数传输,同时在处理损坏数据时将性能提高约2.2%。该代码可在https://github.com/evoxlos/mono-cnn-pytorch上获得。
英文摘要:
Deploying deep convolutional neural network (CNN) models on ubiquitous Internet of Things (IoT) devices has attracted much attention from industry and academia since it greatly facilitates our lives by providing various rapid-response services. Due to the limited resources of IoT devices, cloud-assisted training of CNN models has become the mainstream. However, most existing related works suffer from a large amount of model parameter transmission and weak model robustness. To this end, this paper proposes a cloud-assisted CNN training framework with low model parameter transmission and strong model robustness. In the proposed framework, we first introduce MonoCNN, which contains only a few learnable filters, and other filters are nonlearnable. These nonlearnable filter parameters are generated according to certain rules, i.e., the filter generation function (FGF), and can be saved and reproduced by a few random seeds. Thus, the cloud server only needs to send these learnable filters and a few seeds to the IoT device. Compared to transmitting all model parameters, sending several learnable filter parameters and seeds can significantly reduce parameter transmission. Then, we investigate multiple FGFs and enable the IoT device to use the FGF to generate multiple filters and combine them into MonoCNN. Thus, MonoCNN is affected not only by the training data but also by the FGF. The rules of the FGF play a role in regularizing the MonoCNN, thereby improving its robustness. Experimental results show that compared to state-of-the-art methods, our proposed framework can reduce a large amount of model parameter transfer between the cloud server and the IoT device while improving the performance by approximately 2.2% when dealing with corrupted data. The code is available at https://github.com/evoxlos/mono-cnn-pytorch.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。