English

Neural Architecture Codesign for Fast Physics Applications

Machine Learning 2025-01-13 v1 Materials Science High Energy Physics - Experiment Instrumentation and Detectors

Abstract

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.

Keywords

Cite

@article{arxiv.2501.05515,
  title  = {Neural Architecture Codesign for Fast Physics Applications},
  author = {Jason Weitz and Dmitri Demler and Luke McDermott and Nhan Tran and Javier Duarte},
  journal= {arXiv preprint arXiv:2501.05515},
  year   = {2025}
}

Comments

21 pages, 6 figures

R2 v1 2026-06-28T21:01:50.873Z