mlsanityData to 7 Oct 2026

SoD2: Statically Optimizing Dynamic Deep Neural Network

arXiv 2403.00176 ↗First posted 29 Feb 2024cs.LG cs.AI cs.PLcited by 4

Not on the map. Why?

Abstract (arXiv)

Though many compilation and runtime systems have been developed for DNNs in recent years, the focus has largely been on static DNNs. Dynamic DNNs, where tensor shapes and sizes and even the set of operators used are dependent upon the input and/or execution, are becoming common. This paper presents SoD2, a comprehensive framework for optimizing Dynamic DNNs. The basis of our approach is a classification of common operators that form DNNs, and the use of this classification towards a Rank and Dimension Propagation (RDP) method. This framework statically determines the shapes of operators as known constants, symbolic constants, or operations on these. Next, using RDP we enable a series of optimizations, like fused code generation, execution (order) planning, and even runtime memory allocation plan generation. By evaluating the framework on 10 emerging Dynamic DNNs and comparing it against several existing systems, we demonstrate both reductions in execution latency and memory requirements, with RDP-enabled key optimizations responsible for much of the gains. Our evaluation results show that SoD2 runs up to 3.9× faster than these systems while saving up to 88% peak memory consumption.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 41 of its 76 references that are in the map. First posted on arXiv 29 Feb 2024.

Builds on

41 of 76 references.

References · 41

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2023Segment Anythingcited by 8,158
  6. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  9. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  10. 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 328
  11. 2022YOLOv6: A Single-Stage Object Detection Framework for Industrial Applicationscited by 273
  12. 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 269
29 more
  1. 2017BlockDrop: Dynamic Inference Paths in Residual Networkscited by 185
  2. 2017Convolutional Networks with Adaptive Inference Graphscited by 147
  3. 2020Resolution Adaptive Networks for Efficient Inferencecited by 146
  4. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
  5. 2016DeepSense: A Unified Deep Learning Framework for Time-Series Mobile Sensing Data Processingcited by 84
  6. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  7. 2021Dynamic Slimmable Networkcited by 83
  8. 2017In-Place Activated BatchNorm for Memory-Optimized Training of DNNscited by 81
  9. 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
  10. 2020TurboTransformers: An Efficient GPU Serving System For Transformer Modelscited by 71
  11. 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
  12. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
  13. 2022SparCL: Sparse Continual Learning on the Edgecited by 55
  14. 2020Dynamic Tensor Rematerializationcited by 45
  15. 2022ByteTransformer: A High-Performance Transformer Boosted for Variable-Length Inputscited by 32
  16. 2019MobiSR: Efficient On-Device Super-Resolution through Heterogeneous Mobile Processorscited by 27
  17. 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27
  18. 2022F8Net: Fixed-Point 8-bit Only Multiplication for Network Quantizationcited by 26
  19. 2017DyNet: The Dynamic Neural Network Toolkitcited by 21
  20. 2020Nimble: Efficiently Compiling Dynamic Neural Networks for Model Inferencecited by 19
  21. 2020Cortex: A Compiler for Recursive Deep Learning Modelscited by 16
  22. 2017Deep Learning with Dynamic Computation Graphscited by 15
  23. 2019Neural networks on microcontrollers: saving memory at inference via operator reorderingcited by 15
  24. 2022Boosting Distributed Training Performance of the Unpadded BERT Modelcited by 15
  25. 2020Efficient Memory Management for Deep Neural Net Inferencecited by 12
  26. 2021DISC: A Dynamic Shape Compiler for Machine Learning Workloadscited by 10
  27. 2022Memory Planning for Deep Neural Networkscited by 3
  28. 2018Improving the Expressiveness of Deep Learning Frameworks with Recursioncited by 2
  29. 2022Axon: A Language for Dynamic Shapes in Deep Learning Graphscited by 1

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.