GroupMNL:A Strong Robustness Convolutional Neural Network Design Method for Internet of Things Devices
摘要
随着物联网(IoT)设备的广泛应用,如何在资源受限的物联网设备上高效部署强鲁棒性的卷积神经网络(CNN)成为一项重要挑战.现有的云服务器辅助物联网设备训练CNN模型的方法虽然可以降低云和设备间的参数传输量,但并未降低推理所需计算量且鲁棒性有限.为了解决上述问题,提出了一种分组的由多个非线性变换函数生成滤波器的方法GroupMNL.首先,在每层卷积层中随机生成少量的标准滤波器作为种子滤波器.将种子滤波器分组并对每组的种子滤波器使用不同类型的非线性变换函数按需生成多样性的滤波器,且参数是不可学习的,从而降低了 CNN模型的可学习参数量.其次,将种子滤波器和生成的滤波器进行拼接生成完整卷积层,并在卷积操作中引入分组卷积机制以降低模型的计算量.最后,为了进一步增强CNN模型的鲁棒性,引入组归一化(GN)技术并结合多个非线性变换函数对模型的正则化作用,从而提升模型的鲁棒性.实验结果表明,基于GroupMNL的ResNet101模型相比标准模型,减少了 87%的可学习参数量,降低了 71%的计算量,并将模型鲁棒性提高了 6.09百分点.
With the widespread application of Internet of Things(IoT)devices,the efficient deployment of robust Convolutional Neural Networks(CNNs)on resource-constrained IoT devices has become a significant challenge.Existing methods that rely on cloud servers to assist CNN training reduce parameter transmission between the cloud and devices but neither reduce the inference computation nor exhibit sufficient robustness.To address this issue,a group-based method for generating filters using multiple nonlinear transformation functions,called GroupMNL,is proposed.First,in each convolutional layer,a small number of standard filters are randomly generated as seed filters.These seed filters are then grouped,and different types of nonlinear transformation functions are applied to each group to generate diverse filters on demand.The generated parameters are unlearned,which effectively reduces the number of trainable parameters in the CNN.Second,the seed filters and generated filters are concatenated to form a complete convolutional layer,and group convolution is introduced during the convolution operation to reduce the computational cost.Finally,to further enhance the robustness of the CNN model,Group Normalization(GN)is introduced and combined with the regularization effect of multiple nonlinear transformations on the model,thereby improving its robustness.The experimental results show that the ResNet101 model based on the GroupMNL method,compared to the standard model,reduces the number of learnable parameters by 87%,decreases the computational cost by 71%,and improves the robustness of the model by 6.09 percentage points.