mlsanityData to 7 Oct 2026

SortedNet: A Scalable and Generalized Framework for Training Modular Deep Neural Networks

arXiv 2309.00255 ↗First posted 1 Sep 2023cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Deep neural networks (DNNs) must cater to a variety of users with different performance needs and budgets, leading to the costly practice of training, storing, and maintaining numerous user/task-specific models. There are solutions in the literature to deal with single dynamic or many-in-one models instead of many individual networks; however, they suffer from significant drops in performance, lack of generalization across different model architectures or different dimensions (e.g. depth, width, attention blocks), heavy model search requirements during training, and training a limited number of sub-models. To address these limitations, we propose SortedNet, a generalized and scalable training solution to harness the inherent modularity of DNNs. Thanks to a generalized nested architecture (which we refer as textitsorted architecture in this paper) with shared parameters and its novel update scheme combining random sub-model sampling and a new gradient accumulation mechanism, SortedNet enables the training of sub-models simultaneously along with the training of the main model (without any significant extra training or inference overhead), simplifies dynamic model selection, customizes deployment during inference, and reduces the model storage requirement significantly. The versatility and scalability of SortedNet are validated through various architectures and tasks, including LLaMA, BERT, RoBERTa (NLP tasks), ResNet and MobileNet (image classification) demonstrating its superiority over existing dynamic training methods. For example, we introduce a novel adaptive self-speculative approach based on sorted-training to accelerate large language models decoding. Moreover, SortedNet is able to train 160 sub-models at once, achieving at least 96% of the original model's performance.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 23 references that are in the map. First posted on arXiv 1 Sep 2023.

Builds on

18 of 23 references.

References · 18

  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. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  8. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  11. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  12. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
6 more
  1. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
  2. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  3. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  4. 2018Slimmable Neural Networkscited by 301
  5. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  6. 2019Universally Slimmable Networks and Improved Training Techniquescited by 219

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 0; 2025: 2; 2026: 2.

5 papers.