arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.05515cs.LGcond-mat.mtrl-scihep-exphysics.ins-det
收藏

面向快速物理应用的神经架构协同设计

Neural Architecture Codesign for Fast Physics Applications

University of California San Diego(加利福尼亚大学圣迭戈分校);Fermi National Accelerator Laboratory(费米国家加速器实验室);Northwestern University(西北大学)

Jason Weitz, Dmitri Demler, Luke McDermott, Nhan Tran, Javier Duarte

AI总结:

提出两阶段神经架构搜索与压缩流水线,面向物理任务自动生成 FPGA 友好的高效模型,并在 Bragg 峰寻找和 jet 分类中提升精度、延迟或资源表现。

摘要:

我们开发了一条流水线,以简化面向物理应用的神经架构协同设计,从而在为新颖任务设计模型时降低对机器学习专业知识的需求。我们的方法采用神经架构搜索和网络压缩,以两阶段方式发现硬件高效模型。该方法包括一个全局搜索阶段,在考虑硬件约束的同时探索广泛的架构;随后是局部搜索阶段,对最有前景的候选模型进行微调和压缩。我们在多种任务上取得了超越基准的性能,并通过量化感知训练和神经网络剪枝等模型压缩技术展示了进一步加速。我们使用 hls4ml 库将最优模型综合为高层次综合代码,以部署到 FPGA。此外,我们的分层搜索空间在优化方面提供了更大的灵活性,可轻松扩展到其他任务和领域。我们通过两个案例研究证明了这一点:材料科学中的 Bragg 峰寻找和高能物理中的 jet 分类;相对于基准模型,所得模型实现了更高的准确率、更低的延迟或更少的资源利用。

英文摘要:

We develop a pipeline to streamline neural architecture codesign for physics applications to reduce the need for ML expertise when designing models for novel tasks. Our method employs neural architecture search and network compression in a two-stage approach to discover hardware efficient models. This approach consists of a global search stage that explores a wide range of architectures while considering hardware constraints, followed by a local search stage that fine-tunes and compresses the most promising candidates. We exceed performance on various tasks and show further speedup through model compression techniques such as quantization-aware-training and neural network pruning. We synthesize the optimal models to high level synthesis code for FPGA deployment with the hls4ml library. Additionally, our hierarchical search space provides greater flexibility in optimization, which can easily extend to other tasks and domains. We demonstrate this with two case studies: Bragg peak finding in materials science and jet classification in high energy physics, achieving models with improved accuracy, smaller latencies, or reduced resource utilization relative to the baseline models.

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

↑