arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05615cs.LGcs.AIcs.ARphysics.ins-det
收藏

wa-hls4ml: 一个用于hls4ml资源和延迟估计的基准及替代模型

wa-hls4ml: A Benchmark and Surrogate Models for hls4ml Resource and Latency Estimation

Fermi National Accelerator Laboratory(费米国家加速器实验室);University of California San Diego(加州大学圣地亚哥分校);Johns Hopkins University(约翰霍普金斯大学);University of Sherbrooke(Sherbrooke大学);Columbia University(哥伦比亚大学);Texas A&M University(德克萨斯A&M大学);European Organization for Nuclear Research (CERN)(欧洲核子研究中心(CERN))
Benjamin Hawks, Jason Weitz, Dmitri Demler, Karla Tame-Narvaez, Dennis Plotnikov, Mohammad Mehdi Rahimifar, Hamza Ezzaoui Rahali, Audrey C. Therrien, Donovan Sp… 展开作者

Benjamin Hawks, Jason Weitz, Dmitri Demler, Karla Tame-Narvaez, Dennis Plotnikov, Mohammad Mehdi Rahimifar, Hamza Ezzaoui Rahali, Audrey C. Therrien, Donovan Sproule, Elham E Khoda, Keegan A. Smith, Russell Marroquin, Giuseppe Di Guglielmo, Nhan Tran, Javier Duarte, Vladimir Loncar

AI总结:

本文提出了一个用于评估ML加速器资源和延迟的基准wa-hls4ml,并介绍了基于图神经网络和Transformer的替代模型,用于预测ML加速器的延迟和资源使用情况。

摘要:

随着机器学习(ML)越来越多地在硬件中实现以解决科学应用中的实时挑战,先进的工具链开发显著减少了各种设计迭代所需的时间。这些进步已经解决了主要障碍,但也暴露了新的挑战。例如,以前未被考虑的瓶颈过程,如硬件综合,现在成为设计快速迭代的限制因素。为缓解这些新兴约束,已经开展了多项努力,以开发基于ML的替代模型,以估计ML加速器架构的资源使用情况。我们介绍了wa-hls4ml,这是一个用于ML加速器资源和延迟估计的基准,以及其对应的初始数据集,包含超过680,000个全连接和卷积神经网络,均使用hls4ml合成并针对Xilinx FPGA。该基准评估了资源和延迟预测器在几种常见ML模型架构上的性能,这些架构主要来自科学领域,作为示例模型,并评估了数据集子集的平均性能。此外,我们还介绍了基于图神经网络和Transformer的替代模型,用于预测ML加速器的延迟和资源。我们展示了这些模型的架构和性能,并发现这些模型通常在合成测试数据集上对75百分位数的延迟和资源预测误差在几个百分点以内。

英文摘要:

As machine learning (ML) is increasingly implemented in hardware to address real-time challenges in scientific applications, the development of advanced toolchains has significantly reduced the time required to iterate on various designs. These advancements have solved major obstacles, but also exposed new challenges. For example, processes that were not previously considered bottlenecks, such as hardware synthesis, are becoming limiting factors in the rapid iteration of designs. To mitigate these emerging constraints, multiple efforts have been undertaken to develop an ML-based surrogate model that estimates resource usage of ML accelerator architectures. We introduce wa-hls4ml, a benchmark for ML accelerator resource and latency estimation, and its corresponding initial dataset of over 680,000 fully connected and convolutional neural networks, all synthesized using hls4ml and targeting Xilinx FPGAs. The benchmark evaluates the performance of resource and latency predictors against several common ML model architectures, primarily originating from scientific domains, as exemplar models, and the average performance across a subset of the dataset. Additionally, we introduce GNN- and transformer-based surrogate models that predict latency and resources for ML accelerators. We present the architecture and performance of the models and find that the models generally predict latency and resources for the 75% percentile within several percent of the synthesized resources on the synthetic test dataset.

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

↑