Optimizing neural network surrogate models: Application to black hole merger remnants
Abstract
Surrogate models of numerical relativity simulations of merging black holes provide the most accurate tools for gravitational-wave data analysis. Neural network-based surrogates promise evaluation speedups, but their accuracy relies on (often obscure) tuning of settings such as the network architecture, hyperparameters, and the size of the training dataset. We propose a systematic optimization strategy that formalizes setting choices and motivates the amount of training data required. We apply this strategy on NRSur7dq4Remnant, an existing surrogate model for the properties of the remnant of generically precessing binary black hole mergers and construct a neural network version, which we label NRSur7dq4Remnant_NN. The systematic optimization strategy results in a new surrogate model with comparable accuracy and provides insights into the meaning and role of the various network settings and hyperparameters as well as the structure of the physical process. Moreover, NRSur7dq4Remnant_NN results in evaluation speedups of up to 8 times on a single CPU and a further improvement of 2000 times when evaluated in batches on a GPU. To determine the training-set size, we propose an iterative enrichment strategy that efficiently samples the parameter space using much smaller training sets than naive sampling. NRSur7dq4Remnant_NN requires training data, so neural-network-based surrogates are ideal for speeding up models that support such large training datasets, but at the moment cannot directly be applied to numerical relativity catalogs that are in size. The optimization strategy is available through the gwbonsai package.
Copyright and License
© 2025 American Physical Society.
Acknowledgement
L. M. T. is supported by NSF MPS-Gravity Award No. 2207758 and by NSF Grant No. 2309200. K. C. was supported by NSF Grant No. PHY-2409001. V. V. acknowledges support from NSF Grant No. PHY-2309301. S. E. F. acknowledges support from NSF Grants No. PHY-2110496 and No. AST-2407454. S. E. F. and V. V. were supported by UMass Dartmouth’s Marine and Undersea Technology (MUST) research program funded by the Office of Naval Research (ONR) under Grant No. N00014-23-1-2141. The authors are grateful for computational resources provided by the LIGO Laboratory and supported by National Science Foundation Grants No. PHY-0757058 and No. PHY-0823459.
Data Availability
The data that support the findings of this article are openly available [89].
Files
PhysRevD.111.104029.pdf
Files
(4.2 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:9a0b932e2cbf4b633519ce5b2f8bb1ea
|
4.2 MB | Preview Download |
Additional details
Related works
- Is new version of
- Discussion Paper: arXiv:2501.16462 (arXiv)
- Is supplemented by
- Dataset: https://github.com/lucymthomas/gwbonsai (URL)
Funding
- National Science Foundation
- 2207758
- National Science Foundation
- 2309200
- National Science Foundation
- PHY-2409001
- National Science Foundation
- PHY-2309301
- National Science Foundation
- PHY-2110496
- National Science Foundation
- AST-2407454
- School for Marine Science and Technology, University of Massachusetts Dartmouth
- Office of Naval Research
- N00014-23-1-2141
- National Science Foundation
- PHY-0757058
- National Science Foundation
- PHY-0823459
Dates
- Accepted
-
2025-03-14