arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08054cs.ARcs.LG
收藏

基于多模型主动学习的统计硬件设计

Statistical Hardware Design With Multi-model Active Learning

Polytechnique Montreal(蒙特利尔理工学院)

Alireza Ghaffari, Masoud Asgharian, Yvon Savaria

AI总结:

针对硬件设计多目标优化难题,提出结合贝叶斯模型、迁移学习与高斯回归自举的主动学习方法,在保持预测能力的同时显著减少所需样本量,实现高效的设计空间探索与性能预测。

摘要:

随着服务于现代社会的众多新应用日益复杂,对设计高效计算平台的需求也日益强烈。然而,设计高效硬件是一个复杂的、涉及多个参数及其交互作用的多目标问题。鉴于硬件设计中涉及大量参数和目标,综合所有可能的组合并不是寻找最优解的可行方法。解决该问题的一种有前景的方法是对所需的硬件性能进行统计建模。在此,我们提出一种基于模型的主动学习方法来解决此问题。我们提出的方法使用贝叶斯模型来表征硬件性能的各个方面。我们还结合使用迁移学习和高斯回归自举技术与主动学习,以创建更准确的模型。我们提出的统计建模方法提供了足够准确的硬件模型,能够同时执行设计空间探索和性能预测。我们使用提出的方法对各种硬件设置执行设计空间探索和性能预测,例如针对FPGA目标的微架构设计和OpenCL内核。我们的实验表明,在创建性能模型时,所需的样本数量显著减少,同时保持了所提出统计模型的预测能力。例如,在我们的性能预测设置中,所提出的方法创建模型所需的样本减少了65%;在设计空间探索设置中,所提出的方法通过探索不到50个样本即可找到最佳参数设置。

英文摘要:

With the rising complexity of numerous novel applications that serve our modern society comes the strong need to design efficient computing platforms. Designing efficient hardware is, however, a complex multi-objective problem that deals with multiple parameters and their interactions. Given that there are a large number of parameters and objectives involved in hardware design, synthesizing all possible combinations is not a feasible method to find the optimal solution. One promising approach to tackle this problem is statistical modeling of a desired hardware performance. Here, we propose a model-based active learning approach to solve this problem. Our proposed method uses Bayesian models to characterize various aspects of hardware performance. We also use transfer learning and Gaussian regression bootstrapping techniques in conjunction with active learning to create more accurate models. Our proposed statistical modeling method provides hardware models that are sufficiently accurate to perform design space exploration as well as performance prediction simultaneously. We use our proposed method to perform design space exploration and performance prediction for various hardware setups, such as micro-architecture design and OpenCL kernels for FPGA targets. Our experiments show that the number of samples required to create performance models significantly reduces while maintaining the predictive power of our proposed statistical models. For instance, in our performance prediction setting, the proposed method needs 65% fewer samples to create the model, and in the design space exploration setting, our proposed method can find the best parameter settings by exploring less than 50 samples.

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

↑