mlsanityData to 7 Oct 2026

Tensor Slicing and Optimization for Multicore NPUs

arXiv 2304.03013 ↗First posted 6 Apr 2023cs.PF cs.AR cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Although code generation for Convolution Neural Network (CNN) models has been extensively studied, performing efficient data slicing and parallelization for highly-constrai-ned Multicore Neural Processor Units (NPUs) is still a challenging problem. Given the size of convolutions' input/output tensors and the small footprint of NPU on-chip memories, minimizing memory transactions while maximizing parallelism and MAC utilization are central to any effective solution. This paper proposes a TensorFlow XLA/LLVM compiler optimization pass for Multicore NPUs, called Tensor Slicing Optimization (TSO), which: (a) maximizes convolution parallelism and memory usage across NPU cores; and (b) reduces data transfers between host and NPU on-chip memories by using DRAM memory burst time estimates to guide tensor slicing. To evaluate the proposed approach, a set of experiments was performed using the NeuroMorphic Processor (NMP), a multicore NPU containing 32 RISC-V cores extended with novel CNN instructions. Experimental results show that TSO is capable of identifying the best tensor slicing that minimizes execution time for a set of CNN models. Speed-ups of up to 21.7% result when comparing the TSO burst-based technique to a no-burst data slicing approach. To validate the generality of the TSO approach, the algorithm was also ported to the Glow Machine Learning framework. The performance of the models were measured on both Glow and TensorFlow XLA/LLVM compilers, revealing similar results.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 57 references that are in the map. First posted on arXiv 6 Apr 2023.

Builds on

20 of 57 references.

References · 20

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  4. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  5. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  6. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
  7. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  8. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  9. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  10. 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
  11. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  12. 2013OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networkscited by 224
8 more
  1. 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 73
  2. 2017NullHop: A Flexible Convolutional Neural Network Accelerator Based on Sparse Representations of Feature Mapscited by 39
  3. 2016Benchmark for License Plate Character Segmentationcited by 22
  4. 2020Compiling ONNX Neural Network Models Using MLIRcited by 18
  5. 2020DRMap: A Generic DRAM Data Mapping Policy for Energy-Efficient Processing of Convolutional Neural Networkscited by 11
  6. 2019Optimally Scheduling CNN Convolutions for Efficient Memory Accesscited by 10
  7. 2017Snowflake: A Model Agnostic Accelerator for Deep Convolutional Neural Networkscited by 3
  8. 2019A Simple Method to Reduce Off-chip Memory Accesses on Convolutional Neural Networkscited by 1

Built on by

Not cited yet.