mlsanityData to 7 Oct 2026

Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Accelerators

arXiv 2311.18246 ↗First posted 30 Nov 2023cs.LG cs.ARcited by 0

Not on the map. Why?

Abstract (arXiv)

Specialized hardware accelerators have been extensively used for Deep Neural Networks (DNNs) to provide power/performance benefits. These accelerators contain specialized hardware that supports DNN operators, and scratchpad memory for storing the tensor operands. Often, the size of the scratchpad is insufficient to store all the tensors needed for the computation, and additional data accesses are needed to move tensors back and forth from host memory during the computation with significant power/performance overhead. The volume of these additional data accesses depends on the operator schedule, and memory allocation (specific locations selected for the tensors in the scratchpad). We propose an optimization framework, named COSMA, for mapping DNNs to an accelerator that finds the optimal operator schedule, memory allocation and tensor replacement that minimizes the additional data accesses. COSMA provides an Integer Linear Programming (ILP) formulation to generate the optimal solution for mapping a DNN to the accelerator for a given scratchpad size. We demonstrate that, using an off-the-shelf ILP solver, COSMA obtains the optimal solution in seconds for a wide-range of state-of-the-art DNNs for different applications. Further, it out-performs existing methods by reducing on average 84% of the non-compulsory data accesses. We further propose a divide-and-conquer heuristic to scale up to certain complex DNNs generated by Neural Architecture Search, and this heuristic solution reduces on average 85% data accesses compared with other works.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 30 Nov 2023.

Builds on

17 of 27 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  6. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  7. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  8. 2019Searching for MobileNetV3cited by 1,984
  9. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  10. 2017A Closer Look at Spatiotemporal Convolutions for Action Recognitioncited by 1,139
  11. 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,097
  12. 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
5 more
  1. 2017Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classificationcited by 521
  2. 2017Progressive Neural Architecture Searchcited by 483
  3. 2020A Comprehensive Survey of Neural Architecture Search: Challenges and Solutionscited by 253
  4. 2016The One Hundred Layers Tiramisu: Fully Convolutional DenseNets for Semantic Segmentationcited by 122
  5. 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27

Built on by

Not cited yet.