arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.01489cs.LGcs.AR
收藏

思维导图:实现高效的思维导图-加速器映射空间搜索

Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Search

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);NVIDIA(英伟达);Facebook(脸书)

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

摘要:

现代计算越来越依赖于专业化来满足不断增长的性能和效率需求。设计此类专用硬件架构的核心挑战是如何执行映射空间搜索,即,寻找从算法到硬件的最佳映射。先前的工作表明,选择一个效率低下的映射可能会导致乘数效率的开销。此外,搜索空间不仅大,而且非凸和非平滑,排除了先进的搜索技术。其结果是,以前的作品被迫实现映射空间搜索使用专家的选择或次优的搜索算法。这项工作提出了思维导图,一种新的基于梯度的算法加速器映射空间搜索的搜索方法。其关键思想是得到一个光滑的,可微的近似,否则非光滑,非凸搜索空间。有了一个光滑的、可微的近似,我们可以利用高效的基于梯度的搜索算法来找到高质量的映射。我们广泛比较思维导图黑盒优化方案在以前的工作中使用。当任务是为两个重要的工作负载(CNN和MTTKRP)找到映射时,所提出的搜索找到了实现平均$1.40\times$、$1.76\times$和$1.29\times$(当运行固定数量的步骤时)以及$3.16\times$、$4.19\times$和$2.90\times$(当运行固定时间时)的映射,这些映射分别相对于模拟退火、遗传算法和强化学习具有更好的能量延迟乘积(EDP)。同时,思维导图返回的映射只有$5.32\times$的EDP高于可能无法实现的理论下限,表明接近全局最优值。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑