ApproxGNN:一种用于近似计算设计空间探索中参数预测的预训练图神经网络
ApproxGNN: A Pretrained GNN for Parameter Prediction in Design Space Exploration for Approximate Computing
AI总结:
本文提出ApproxGNN,一种预训练图神经网络,用于预测近似加速器的QoR和硬件成本,通过学习嵌入特征提升预测精度和迁移能力,实验表明其在图像卷积滤波器上的预测准确率提升显著。
摘要:
近似计算为容错应用提供了有前景的能量效率优势,但发现最优近似需要大量的设计空间探索(DSE)。预测由近似组件组成的电路的准确性仍是一个挑战,因为无法进行完整的综合。目前用于自动化此任务的机器学习方法需要为每个新电路配置重新训练,这使它们计算成本高且耗时。本文提出了ApproxGNN,一种用于预训练图神经网络模型的构造方法,该模型可预测使用近似加法器库中的近似加速器的QoR和硬件成本。该方法适用于DSE中将近似组件分配给加速器操作。我们的方法引入了基于学习嵌入的新组件特征提取方法,而不是传统的误差度量,从而提高了对未见过的电路的迁移能力。ApproxGNN模型可以用少量近似组件进行训练,支持转移到多种预测任务,利用预计算的嵌入以提高效率,并显著提高了近似误差预测的准确性。在一组图像卷积滤波器上,我们的实验结果表明,所提出的嵌入方法相比传统方法将预测准确率(均方误差)提高了50%。此外,总体预测准确率比不需要微调的统计机器学习方法提高了30%,与快速微调相比提高了54%。
英文摘要:
Approximate computing offers promising energy efficiency benefits for error-tolerant applications, but discovering optimal approximations requires extensive design space exploration (DSE). Predicting the accuracy of circuits composed of approximate components without performing complete synthesis remains a challenging problem. Current machine learning approaches used to automate this task require retraining for each new circuit configuration, making them computationally expensive and time-consuming. This paper presents ApproxGNN, a construction methodology for a pre-trained graph neural network model predicting QoR and HW cost of approximate accelerators employing approximate adders from a library. This approach is applicable in DSE for assignment of approximate components to operations in accelerator. Our approach introduces novel component feature extraction based on learned embeddings rather than traditional error metrics, enabling improved transferability to unseen circuits. ApproxGNN models can be trained with a small number of approximate components, supports transfer to multiple prediction tasks, utilizes precomputed embeddings for efficiency, and significantly improves accuracy of the prediction of approximation error. On a set of image convolutional filters, our experimental results demonstrate that the proposed embeddings improve prediction accuracy (mean square error) by 50% compared to conventional methods. Furthermore, the overall prediction accuracy is 30% better than statistical machine learning approaches without fine-tuning and 54% better with fast finetuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。