paper-with-me

홈 › Papers

Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Search

2021-03-02 · Kartik Hegde, Po-An Tsai, Sitao Huang, Vikas Chandra, Angshuman Parashar, Christopher W. Fletcher

Modern day computing increasingly relies on specialization to satiate growing performance and efficiency requirements. A core challenge in designing such specialized hardware architectures is how to perform mapping space search, i.e., search for an optimal mapping from algorithm to hardware. Prior work shows that choosing an inefficient mapping can lead to multiplicative-factor efficiency overheads. Additionally, the search space is not only large but also non-convex and non-smooth, precluding advanced search techniques. As a result, previous works are forced to implement mapping space search using expert choices or sub-optimal search heuristics. This work proposes Mind Mappings, a novel gradient-based search method for algorithm-accelerator mapping space search. The key idea is to derive a smooth, differentiable approximation to the otherwise non-smooth, non-convex search space. With a smooth, differentiable approximation, we can leverage efficient gradient-based search algorithms to find high-quality mappings. We extensively compare Mind Mappings to black-box optimization schemes used in prior work. When tasked to find mappings for two important workloads (CNN and MTTKRP), the proposed search finds mappings that achieve an average $1.40\times$, $1.76\times$, and $1.29\times$ (when run for a fixed number of steps) and $3.16\times$, $4.19\times$, and $2.90\times$ (when run for a fixed amount of time) better energy-delay product (EDP) relative to Simulated Annealing, Genetic Algorithms and Reinforcement Learning, respectively. Meanwhile, Mind Mappings returns mappings with only $5.32\times$ higher EDP than a possibly unachievable theoretical lower-bound, indicating proximity to the global optima.

📄 PDF Abstract BibTeX arXiv:2103.01489

Code (1)

kartik-hegde/mindMappings 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Exploring Quantization and Mapping Synergy in Hardware-Aware Deep Neural Network Accelerators

2024-04-08 · Jan Klhufek, Miroslav Safar, Vojtech Mrazek, Zdenek Vasicek 외

Energy efficiency and memory footprint of a convolutional neural network (CNN) implemented on a CNN inference accelerator depend on many factors, including a weight quantization strategy (i.e., data types and bit-widths)…

QuantizationScheduling

Marvel: A Data-centric Compiler for DNN Operators on Spatial Accelerators

2020-02-18 · Prasanth Chatarasi, Hyoukjun Kwon, Natesh Raina, Saurabh Malik 외

The efficiency of a spatial DNN accelerator depends heavily on the compiler and its cost model ability to generate optimized mappings for various operators of DNN models on to the accelerator's compute and memory resourc…

MAGMA: An Optimization Framework for Mapping Multiple DNNs on Multiple Accelerator Cores

2021-04-28 · Sheng-Chun Kao, Tushar Krishna

As Deep Learning continues to drive a variety of applications in edge and cloud data centers, there is a growing trend towards building large accelerators with several sub-accelerator cores/chiplets. This work looks at t…

Efficient Exploration

Evaluating Spatial Accelerator Architectures with Tiled Matrix-Matrix Multiplication

2021-06-19 · Gordon E. Moon, Hyoukjun Kwon, Geonhwa Jeong, Prasanth Chatarasi 외

There is a growing interest in custom spatial accelerators for machine learning applications. These accelerators employ a spatial array of processing elements (PEs) interacting via custom buffer hierarchies and networks-…

Scheduling

Union: A Unified HW-SW Co-Design Ecosystem in MLIR for Evaluating Tensor Operations on Spatial Accelerators

2021-09-15 · Geonhwa Jeong, Gokcen Kestor, Prasanth Chatarasi, Angshuman Parashar 외

To meet the extreme compute demands for deep learning across commercial and scientific applications, dataflow accelerators are becoming increasingly popular. While these "domain-specific" accelerators are not fully progr…