mlsanityData to 7 Oct 2026

Joint Program and Layout Transformations to enable Convolutional Operators on Specialized Hardware based on Constraint Programming

arXiv 2104.04731 ↗First posted 10 Apr 2021cs.DC cs.LG cs.PFcited by 1

Not on the map. Why?

Abstract (arXiv)

The success of Deep Artificial Neural Networks (DNNs) in many domains created a rich body of research concerned with hardware accelerators for compute-intensive DNN operators. However, implementing such operators efficiently with complex hardware intrinsics such as matrix multiply is a task not yet automated gracefully. Solving this task often requires joint program and data layout transformations. First solutions to this problem have been proposed, such as TVM, UNIT or ISAMIR, which work on a loop-level representation of operators and specify data layout and possible program transformations before the embedding into the operator is performed. This top-down approach creates a tension between exploration range and search space complexity, especially when also exploring data layout transformations such as im2col, channel packing or padding. In this work, we propose a new approach to this problem. We created a bottom-up method that allows the joint transformation of both compuation and data layout based on the found embedding. By formulating the embedding as a constraint satisfaction problem over the scalar dataflow, every possible embedding solution is contained in the search space. Adding additional constraints and optmization targets to the solver generates the subset of preferable solutions. An evaluation using the VTA hardware accelerator with the Baidu DeepBench inference benchmark shows that our approach can automatically generate code competitive to reference implementations. Further, we show that dynamically determining the data layout based on intrinsic and workload is beneficial for hardware utilization and performance. In cases where the reference implementation has low hardware utilization due to its fixed deployment strategy, we achieve a geomean speedup of up to x2.813, while individual operators can improve as much as x170.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 13 of its 39 references that are in the map. First posted on arXiv 10 Apr 2021.

Builds on

13 of 39 references.

References · 13

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  3. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  4. 2018Learning to Optimize Tensor Programscited by 138
  5. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  6. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
  7. 2020DORY: Automatic End-to-End Deployment of Real-World DNNs on Low-Cost IoT MCUscited by 57
  8. 2018Optimizing CNN Model Inference on CPUscited by 29
  9. 2020Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilationcited by 29
  10. 2018Relay: A New IR for Machine Learning Frameworkscited by 24
  11. 2018Intel nGraph: An Intermediate Representation, Compiler, and Executor for Deep Learningcited by 22
  12. 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
1 more
  1. 2018ISA Mapper: A Compute and Hardware Agnostic Deep Learning Compilercited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.