MutualNet:通过不同模型的相互学习的自适应ConvNet
MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations
摘要:
大多数现有的深度神经网络都是静态的,这意味着它们只能以固定的复杂度进行推理。但是资源预算在不同的设备之间可能会有很大的不同。即使在单个设备上,可负担的预算也会随着不同的场景而变化,并且针对每个所需预算重复训练网络将非常昂贵。因此,在这项工作中,我们提出了一个通用的方法称为MutualNet训练一个单一的网络,可以运行在不同的资源约束。我们的方法训练了一组具有各种网络宽度和输入分辨率的模型配置。这种相互学习方案不仅允许模型在不同的宽度分辨率配置下运行,还可以在这些配置之间传输独特的知识,帮助模型学习更强的整体表示。MutualNet是一种通用的训练方法,可以应用于各种网络结构(例如,2D网络:MobileNets,ResNet,3D网络:SlowFast,X3D)和各种任务(例如,图像分类、目标检测、分割和动作识别),并被证明在各种数据集上实现了一致的改进。由于我们只对模型进行一次训练,相比独立训练多个模型,也大大降低了训练成本。令人惊讶的是,如果动态资源约束不是问题,MutualNet也可以用于显着提高单个网络的性能。总之,MutualNet是静态和自适应,2D和3D网络的统一方法。代码和预训练模型可在\url{https://github.com/taoyang1122/MutualNet}上获得。
英文摘要:
Most existing deep neural networks are static, which means they can only do inference at a fixed complexity. But the resource budget can vary substantially across different devices. Even on a single device, the affordable budget can change with different scenarios, and repeatedly training networks for each required budget would be incredibly expensive. Therefore, in this work, we propose a general method called MutualNet to train a single network that can run at a diverse set of resource constraints. Our method trains a cohort of model configurations with various network widths and input resolutions. This mutual learning scheme not only allows the model to run at different width-resolution configurations but also transfers the unique knowledge among these configurations, helping the model to learn stronger representations overall. MutualNet is a general training methodology that can be applied to various network structures (e.g., 2D networks: MobileNets, ResNet, 3D networks: SlowFast, X3D) and various tasks (e.g., image classification, object detection, segmentation, and action recognition), and is demonstrated to achieve consistent improvements on a variety of datasets. Since we only train the model once, it also greatly reduces the training cost compared to independently training several models. Surprisingly, MutualNet can also be used to significantly boost the performance of a single network, if dynamic resource constraint is not a concern. In summary, MutualNet is a unified method for both static and adaptive, 2D and 3D networks. Codes and pre-trained models are available at \url{https://github.com/taoyang1122/MutualNet}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。