mlsanityData to 7 Oct 2026

DS-Net++: Dynamic Weight Slicing for Efficient Inference in CNNs and Transformers

arXiv 2109.10060 ↗First posted 21 Sep 2021cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

Dynamic networks have shown their promising capability in reducing theoretical computation complexity by adapting their architectures to the input during inference. However, their practical runtime usually lags behind the theoretical acceleration due to inefficient sparsity. Here, we explore a hardware-efficient dynamic inference regime, named dynamic weight slicing, which adaptively slice a part of network parameters for inputs with diverse difficulty levels, while keeping parameters stored statically and contiguously in hardware to prevent the extra burden of sparse computation. Based on this scheme, we present dynamic slimmable network (DS-Net) and dynamic slice-able network (DS-Net++) by input-dependently adjusting filter numbers of CNNs and multiple dimensions in both CNNs and transformers, respectively. To ensure sub-network generality and routing fairness, we propose a disentangled two-stage optimization scheme with training techniques such as in-place bootstrapping (IB), multi-view consistency (MvCo) and sandwich gate sparsification (SGS) to train supernet and gate separately. Extensive experiments on 4 datasets and 3 different network architectures demonstrate our method consistently outperforms state-of-the-art static and dynamic model compression methods by a large margin (up to 6.6%). Typically, DS-Net++ achieves 2-4x computation reduction and 1.62x real-world acceleration over MobileNet, ResNet-50 and Vision Transformer, with minimal accuracy drops (0.1-0.3%) on ImageNet. Code release: https://github.com/changlin31/DS-Net

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 94 of its 112 references that are in the map. First posted on arXiv 21 Sep 2021.

Builds on

94 of 112 references.

References · 94

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2016Densely Connected Convolutional Networkscited by 6,691
  9. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  10. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  11. 2017Squeeze-and-Excitation Networkscited by 4,763
  12. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  3. 2015SSD: Single Shot MultiBox Detectorcited by 3,125
  4. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  5. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  6. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  7. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  8. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  9. 2014FitNets: Hints for Thin Deep Netscited by 1,619
  10. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  11. 2018Group Normalizationcited by 1,514
  12. 2017Deformable Convolutional Networkscited by 1,481
  13. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  14. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  15. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
  16. 2016Pruning Filters for Efficient ConvNetscited by 1,129
  17. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  18. 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
  19. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  20. 2020Designing Network Design Spacescited by 954
  21. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  22. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  23. 2021Scaling Vision with Sparse Mixture of Expertscited by 740
  24. 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
  25. 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
  26. 2018Deformable ConvNets v2: More Deformable, Better Resultscited by 666
  27. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 666
  28. 2018Universal Transformerscited by 613
  29. 2018Rethinking the Value of Network Pruningcited by 595
  30. 2018Do Better ImageNet Models Transfer Better?cited by 560
  31. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  32. 2018FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Searchcited by 480
  33. 2013Do Deep Nets Really Need to be Deep?cited by 466
  34. 2017ThiNet: A Filter Level Pruning Method for Deep Neural Network Compressioncited by 438
  35. 2019Single Path One-Shot Neural Architecture Search with Uniform Samplingcited by 411
  36. 2021Dynamic Neural Networks: A Surveycited by 405
  37. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  38. 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 328

50 most cited of 94 All 94 (JSON)

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 3; 2023: 0; 2024: 1.

6 papers.