Neural Architecture Codesign for Fast Physics Applications

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Weitz, Jason, Demler, Dmitri, McDermott, Luke, Tran, Nhan, Duarte, Javier
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912182273310720
author Weitz, Jason
Demler, Dmitri
McDermott, Luke
Tran, Nhan
Duarte, Javier
author_facet Weitz, Jason
Demler, Dmitri
McDermott, Luke
Tran, Nhan
Duarte, Javier
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_05515
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Neural Architecture Codesign for Fast Physics Applications
Weitz, Jason
Demler, Dmitri
McDermott, Luke
Tran, Nhan
Duarte, Javier
Machine Learning
Materials Science
High Energy Physics - Experiment
Instrumentation and Detectors
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.
title Neural Architecture Codesign for Fast Physics Applications
topic Machine Learning
Materials Science
High Energy Physics - Experiment
Instrumentation and Detectors
url https://arxiv.org/abs/2501.05515