Universally Slimmable Networks and Improved Training Techniques
Jiahui Yu, Thomas S. Huang
Abstract
Slimmable networks [25] are a family of neural networks that can instantly adjust the runtime width. The width can be chosen from a predefined widths set to adaptively optimize accuracy-efficiency trade-offs at runtime. In this work, we propose a systematic approach to train universally slimmable networks (US-Nets), extending slimmable networks to execute at arbitrary width, and generalizing to networks both with and without batch normalization layers. We further propose two improved training techniques for US-Nets, named the sandwich rule and inplace distillation, to enhance training process and boost testing accuracy. We show improved performance of universally slimmable Mo-bileNet v1 and MobileNet v2 on ImageNet classification task, compared with individually trained ones and 4-switch slimmable network baselines. We also evaluate the proposed US-Nets and improved training techniques on tasks of image super-resolution and deep reinforcement learning. Extensive ablation experiments on these representative tasks demonstrate the effectiveness of our proposed methods. Our discovery opens up the possibility to directly evaluate FLOPs-Accuracy spectrum of network architectures. Code and models are available at: https://github. com/JiahuiYu/slimmable_networks .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
110 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Rethinking Vision Transformers for MobileNet Size and Speed cites AutoFormer: Searching Transformers for Visual Recognition
- AutoFormer: Searching Transformers for Visual Recognition cites Once-for-All: Train One Network and Specialize it for Efficient Deployment
- AutoFormer: Searching Transformers for Visual Recognition cites BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search
- BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search cites AutoFormer: Searching Transformers for Visual Recognition
- DynaBERT: Dynamic BERT with Adaptive Width and Depth cites Once-for-All: Train One Network and Specialize it for Efficient Deployment
Cited by top-tier papers110
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang et al.ICLR 2020 · 1,522 citations
- DynaBERT: Dynamic BERT with Adaptive Width and DepthLu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang et al.NeurIPS 2020 · 401 citations
- AutoFormer: Searching Transformers for Visual RecognitionMinghao Chen, Houwen Peng, Jianlong Fu, Haibin LingICCV 2021 · 335 citations
- Rethinking Vision Transformers for MobileNet Size and SpeedYanyu Li, Ju Hu, Yang Wen, Georgios Evangelidis et al.ICCV 2023 · 300 citations
- BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture SearchChanglin Li, Tao Tang, Guangrun Wang, Jiefeng Peng et al.ICCV 2021 · 123 citations
Related papers
- Slimmable Generative Adversarial NetworksLiang Hou, Zehuan Yuan, Lei Huang, Huawei Shen et al.AAAI 2021 · 44 citations
- Dynamic Slimmable NetworkChanglin Li, Guangrun Wang, Bing Wang, Xiaodan Liang et al.CVPR 2021
- AdaBits: Neural Network Quantization With Adaptive Bit-WidthsQing Jin, Linjie Yang, Zhenyu LiaoCVPR 2020
- Any-Precision Deep Neural NetworksHaichao Yu, Haoxiang Li, Humphrey Shi, Thomas S. Huang et al.AAAI 2021 · 79 citations
- Locally Free Weight Sharing for Network Width SearchXiu Su, Shan You, Tao Huang, Fei Wang et al.ICLR 2021 · 45 citations
