MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations

Taojiannan Yang, Sijie Zhu, Matias Mendieta, Pu Wang, Ravikumar Balakrishnan +4 more
5/14/2021
cs.CV

Official code: taoyang1122/MutualNet (159 stars, Python, MIT, last commit 2022-10-04).

Abstract

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.

Show full abstract

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}.

View on arXivView PDF

Code Implementations(1)

MIT

[ECCV'20 Oral] MutualNet: Adaptive ConvNet via Mutual Learning from Network Width and Resolution

15932PythonMar 22, 20204 years agoMIT

Similar Papers

Cite this paper

@article{yang2021mutualnet,
  title  = {MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations},
  author = {Taojiannan Yang and Sijie Zhu and Matias Mendieta and Pu Wang and Ravikumar Balakrishnan and Minwoo Lee and Tao Han and Mubarak Shah and Chen Chen},
  year   = {2021},
  eprint = {2105.07085},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.07085}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.07085.svg)](https://codeofpaper.com/paper/2105.07085)

Discussion