AIRCHITECT:学习自定义架构设计和映射空间
AIRCHITECT: Learning Custom Architecture Design and Mapping Space
摘要:
设计空间探索是设计/部署自定义架构的一个重要但成本高昂的步骤,以实现最大可能的性能和能效。传统上,优化需要使用模拟或启发式工具对设计空间进行迭代采样。在本文中,我们研究了使用机器学习学习优化任务的可能性,从而使用学习模型来预测定制架构的设计和映射空间的最佳参数,绕过任何探索步骤。我们使用三个案例研究,涉及最佳阵列设计,SRAM缓冲区大小,映射,并确定基于系统阵列的自定义架构设计和映射空间的时间表。在这些案例研究的范围内,我们表明,它是可以捕获的设计空间和训练模型,以“概括”预测的最佳设计和映射参数时,查询工作量和设计约束。我们对案例研究的优化空间进行了系统的设计感知和统计分析,并突出了设计空间中的模式。我们将架构设计和映射公式化为一个机器学习问题,使我们能够利用现有的ML模型进行训练和推理。我们设计和训练一个自定义的网络架构,称为AIRCHITECT,这是能够学习的架构设计空间高达94.3%的测试精度和预测最佳配置,实现平均(GeoMean)99.9%的最佳性能的测试数据集与$10^5$ GEMM工作负载。
英文摘要:
Design space exploration is an important but costly step involved in the design/deployment of custom architectures to squeeze out maximum possible performance and energy efficiency. Conventionally, optimizations require iterative sampling of the design space using simulation or heuristic tools. In this paper we investigate the possibility of learning the optimization task using machine learning and hence using the learnt model to predict optimal parameters for the design and mapping space of custom architectures, bypassing any exploration step. We use three case studies involving the optimal array design, SRAM buffer sizing, mapping, and schedule determination for systolic-array-based custom architecture design and mapping space. Within the purview of these case studies, we show that it is possible to capture the design space and train a model to "generalize" prediction the optimal design and mapping parameters when queried with workload and design constraints. We perform systematic design-aware and statistical analysis of the optimization space for our case studies and highlight the patterns in the design space. We formulate the architecture design and mapping as a machine learning problem that allows us to leverage existing ML models for training and inference. We design and train a custom network architecture called AIRCHITECT, which is capable of learning the architecture design space with as high as 94.3% test accuracy and predicting optimal configurations which achieve on average (GeoMean) of 99.9% the best possible performance on a test dataset with $10^5$ GEMM workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。