Towards Better Accuracy-efficiency Trade-offs: Divide and Co-training

Shuai Zhao, Liguang Zhou, Wenxiao Wang, Deng Cai, Tin Lun Lam +1 more
11/30/2020
38 citations
cs.CV

Official code: FreeformRobotics/Divide-and-Co-training (107 stars, Python, Apache-2.0, last commit 2022-08-14).

Abstract

The width of a neural network matters since increasing the width will necessarily increase the model capacity. However, the performance of a network does not improve linearly with the width and soon gets saturated.

Show full abstract

In this case, we argue that increasing the number of networks (ensemble) can achieve better accuracy-efficiency trade-offs than purely increasing the width. To prove it, one large network is divided into several small ones regarding its parameters and regularization components. Each of these small networks has a fraction of the original one's parameters. We then train these small networks together and make them see various views of the same data to increase their diversity. During this co-training process, networks can also learn from each other. As a result, small networks can achieve better ensemble performance than the large one with few or no extra parameters or FLOPs, \ie, achieving better accuracy-efficiency trade-offs. Small networks can also achieve faster inference speed than the large one by concurrent running. All of the above shows that the number of networks is a new dimension of model scaling. We validate our argument with 8 different neural architectures on common benchmarks through extensive experiments. The code is available at \url{https://github.com/FreeformRobotics/Divide-and-Co-training}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[TIP 2022] Towards Better Accuracy-efficiency Trade-offs: Divide and Co-training. Plus, an image classification toolbox includes ResNet, Wide-ResNet, ResNeXt, ResNeSt, ResNeXSt, SENet, Shake-Shake, DenseNet, PyramidNet, and EfficientNet.

10722Python, ShellNov 24, 20204 years agoApache-2.0
cifardeep-ensembleefficientnetimage-classificationimagenet+1 more

Similar Papers

Cite this paper

@article{zhao2020towards,
  title  = {Towards Better Accuracy-efficiency Trade-offs: Divide and Co-training},
  author = {Shuai Zhao and Liguang Zhou and Wenxiao Wang and Deng Cai and Tin Lun Lam and Yangsheng Xu},
  year   = {2020},
  eprint = {2011.14660},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.14660}
}

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/2011.14660.svg)](https://codeofpaper.com/paper/2011.14660)

Discussion