A Systematic Approach to Blocking Convolutional Neural Networks
Xuan Yang, Jing Pu, Blaine Burton Rister, Nikhil Bhagdikar, Stephen, Richardson, Shahar Kvatinsky, Jonathan Ragan-Kelley, Ardavan Pedram, Mark, Horowitz

TL;DR
This paper develops an analytical model for blocking CNN computations to optimize memory locality, leading to significant energy efficiency improvements and reduced memory accesses in hardware and CPU implementations.
Contribution
It introduces a systematic, analytical approach to determine optimal blocking strategies for CNNs, surpassing heuristic methods and improving efficiency.
Findings
Energy efficiency improved by up to 10x in hardware implementations.
Memory accesses reduced by up to 90% in optimized CPU programs.
Automated derivation of blocking strategies outperforms traditional heuristics.
Abstract
Convolutional Neural Networks (CNNs) are the state of the art solution for many computer vision problems, and many researchers have explored optimized implementations. Most implementations heuristically block the computation to deal with the large data sizes and high data reuse of CNNs. This paper explores how to block CNN computations for memory locality by creating an analytical model for CNN-like loop nests. Using this model we automatically derive optimized blockings for common networks that improve the energy efficiency of custom hardware implementations by up to an order of magnitude. Compared to traditional CNN CPU implementations based on highly-tuned, hand-optimized BLAS libraries,our x86 programs implementing the optimal blocking reduce the number of memory accesses by up to 90%.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Generative Adversarial Networks and Image Synthesis · Advanced Neural Network Applications
