arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02075cs.LGcs.AIcs.ARstat.ML
收藏

学习神经加速器的硬件/软件协同设计

Learned Hardware/Software Co-Design of Neural Accelerators

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Google Research(谷歌研究院)

Zhan Shi, Chirag Sakhuja, Milad Hashemi, Kevin Swersky, Calvin Lin

摘要:

深度学习的使用以指数速度增长,从而产生了许多用于深度学习的专用硬件和软件系统。由于深度学习软件栈和硬件加速器的设计空间是多样和巨大的,因此先前的工作将软件优化与硬件架构分开考虑,从而有效地减少了搜索空间。不幸的是,这种分叉的方法意味着许多有利可图的设计点从未被探索过。相反,本文铸造的问题,硬件/软件协同设计,自动识别在联合设计空间中的理想点的目标。我们的解决方案的关键是一个新的约束贝叶斯优化框架,避免无效的解决方案,利用高度约束的功能,这是半连续/半离散的设计空间。我们通过将其应用于各种神经模型来评估我们的优化框架,与手动调整的最先进系统相比,将能量延迟产品提高了18%(ResNet)和40%(DQN),并在其他神经网络架构(如MLP和Transformers)上展示了强大的结果。

英文摘要:

The use of deep learning has grown at an exponential rate, giving rise to numerous specialized hardware and software systems for deep learning. Because the design space of deep learning software stacks and hardware accelerators is diverse and vast, prior work considers software optimizations separately from hardware architectures, effectively reducing the search space. Unfortunately, this bifurcated approach means that many profitable design points are never explored. This paper instead casts the problem as hardware/software co-design, with the goal of automatically identifying desirable points in the joint design space. The key to our solution is a new constrained Bayesian optimization framework that avoids invalid solutions by exploiting the highly constrained features of this design space, which are semi-continuous/semi-discrete. We evaluate our optimization framework by applying it to a variety of neural models, improving the energy-delay product by 18% (ResNet) and 40% (DQN) over hand-tuned state-of-the-art systems, as well as demonstrating strong results on other neural network architectures, such as MLPs and Transformers.

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

↑