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

CODEBench:一个神经体系结构和硬件加速器协同设计框架

CODEBench: A Neural Architecture and Hardware Accelerator Co-Design Framework

Princeton University(普林斯顿大学);Stanford University(斯坦福大学)

Shikhar Tuli, Chia-Hao Li, Ritvik Sharma, Niraj K. Jha

摘要:

最近,机器学习(ML)模型和加速器架构的自动化协同设计引起了业界和学术界的极大关注。然而,大多数协同设计框架要么探索有限的搜索空间,要么采用次优的探索技术,同时进行ML模型和加速器的设计决策调查。此外,训练ML模型和模拟加速器性能在计算上是昂贵的。为了解决这些限制,这项工作提出了一种新的神经架构和硬件加速器协同设计框架,称为CODEBench。它由两个新的基准测试子框架CNNBench和CCNBench组成,它们探索了卷积神经网络(CNN)和CNN加速器的扩展设计空间。CNNBench利用先进的搜索技术BOSHNAS,通过采用二阶梯度来有效地训练神经异方差代理模型,以收敛到最佳的CNN架构。ESTBENCH在广阔的设计空间中为各种加速器架构执行周期精确模拟。通过提出的称为BOSHCODE的协同设计方法,我们最好的CNN加速器对在CIFAR-10数据集上的准确率比最先进的对高出1.4%,同时延迟降低59.1%,能耗降低60.8%。在ImageNet数据集上,它实现了Top1精度提高3.7%,延迟降低43.8%,能耗降低11.2%。CODEBench优于最先进的框架,即,Auto-NBA,通过实现1.5%的高精度和34.7倍的高吞吐量,同时使CIFAR-10的能量延迟积(EDP)降低11.0倍,芯片面积降低4.0倍。

英文摘要:

Recently, automated co-design of machine learning (ML) models and accelerator architectures has attracted significant attention from both the industry and academia. However, most co-design frameworks either explore a limited search space or employ suboptimal exploration techniques for simultaneous design decision investigations of the ML model and the accelerator. Furthermore, training the ML model and simulating the accelerator performance is computationally expensive. To address these limitations, this work proposes a novel neural architecture and hardware accelerator co-design framework, called CODEBench. It is composed of two new benchmarking sub-frameworks, CNNBench and AccelBench, which explore expanded design spaces of convolutional neural networks (CNNs) and CNN accelerators. CNNBench leverages an advanced search technique, BOSHNAS, to efficiently train a neural heteroscedastic surrogate model to converge to an optimal CNN architecture by employing second-order gradients. AccelBench performs cycle-accurate simulations for a diverse set of accelerator architectures in a vast design space. With the proposed co-design method, called BOSHCODE, our best CNN-accelerator pair achieves 1.4% higher accuracy on the CIFAR-10 dataset compared to the state-of-the-art pair, while enabling 59.1% lower latency and 60.8% lower energy consumption. On the ImageNet dataset, it achieves 3.7% higher Top1 accuracy at 43.8% lower latency and 11.2% lower energy consumption. CODEBench outperforms the state-of-the-art framework, i.e., Auto-NBA, by achieving 1.5% higher accuracy and 34.7x higher throughput, while enabling 11.0x lower energy-delay product (EDP) and 4.0x lower chip area on CIFAR-10.

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

↑