Differentiable and hardware-accelerated waveforms for gravitational wave data analysis

We propose the use of automatic differentiation through the programming framework for accelerating a variety of analysis tasks throughout gravitational wave (GW) science. Firstly, we demonstrate that complete waveforms which cover the inspiral, merger, and ringdown of binary black holes (i.e., IMRPhenomD) can be written in and demonstrate that the serial evaluation speed of the waveform (and its derivative) is similar to the implementation in . Moreover, allows for graphics processing unit–accelerated waveform calls which can be over an order of magnitude faster than serial evaluation on a CPU. We then focus on three applications where efficient and differentiable waveforms are essential. Firstly, we demonstrate how gradient descent can be used to optimize the <a:math xmlns:a="http://www.w3.org/1998/Math/MathML" display="inline"><a:mo>∼</a:mo><a:mn>200</a:mn></a:math> coefficients that are used to calibrate the waveform model. In particular, we demonstrate that the typical with numerical relativity waveforms can be improved by more than 50%. Secondly, we show that Fisher forecasting calculations can be sped up by <c:math xmlns:c="http://www.w3.org/1998/Math/MathML" display="inline"><c:mo>∼</c:mo><c:mn>3</c:mn><c:mi>–</c:mi><c:mn>5</c:mn><c:mo>×</c:mo></c:math> (on a CPU) with no loss in accuracy. This increased speed makes Fisher forecasting for a population of events substantially simpler. Finally, we show that gradient-based samplers like Hamiltonian Monte Carlo lead to significantly reduced autocorrelation values when compared to traditional Monte Carlo methods. Since differentiable waveforms have substantial advantages for a variety of tasks throughout GW science, we propose that waveform developers use to build new waveforms moving forward. Our waveform code, , can be found on GitHub website and will continue to be updated with new waveforms as they are implemented. Published by the American Physical Society 2024

Authors

Institutions

Publication Details

Journal
Physical review. D/Physical review. D.
Published
2024-09-10
DOI
https://doi.org/10.1103/physrevd.110.064028
Citations
18
Primary Topic
Pulsars and Gravitational Waves Research
Type
article
Field-Weighted Citation Impact
5.97

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Differentiable and hardware-accelerated waveforms for gravitational wave data analysis

Aaron Zimmerman, M. Isi, T. Edwards, Daniel Foreman-Mackey et al.
18 citations
Physical review. D/Physical review. D.
Pulsars and Gravitational Waves Research
5.97
article

Differentiable and hardware-accelerated waveforms for gravitational wave data analysis

Aaron Zimmerman, M. Isi, T. Edwards, Daniel Foreman-Mackey, Adam Coogan, Kelvin Ka-Ho Lam, Kaze W. K. Wong
article en
18 citations

Abstract

We propose the use of automatic differentiation through the programming framework for accelerating a variety of analysis tasks throughout gravitational wave (GW) science. Firstly, we demonstrate that complete waveforms which cover the inspiral, merger, and ringdown of binary black holes (i.e., IMRPhenomD) can be written in and demonstrate that the serial evaluation speed of the waveform (and its derivative) is similar to the implementation in . Moreover, allows for graphics processing unit–accelerated waveform calls which can be over an order of magnitude faster than serial evaluation on a CPU. We then focus on three applications where efficient and differentiable waveforms are essential. Firstly, we demonstrate how gradient descent can be used to optimize the <a:math xmlns:a="http://www.w3.org/1998/Math/MathML" display="inline"><a:mo>∼</a:mo><a:mn>200</a:mn></a:math> coefficients that are used to calibrate the waveform model. In particular, we demonstrate that the typical with numerical relativity waveforms can be improved by more than 50%. Secondly, we show that Fisher forecasting calculations can be sped up by <c:math xmlns:c="http://www.w3.org/1998/Math/MathML" display="inline"><c:mo>∼</c:mo><c:mn>3</c:mn><c:mi>–</c:mi><c:mn>5</c:mn><c:mo>×</c:mo></c:math> (on a CPU) with no loss in accuracy. This increased speed makes Fisher forecasting for a population of events substantially simpler. Finally, we show that gradient-based samplers like Hamiltonian Monte Carlo lead to significantly reduced autocorrelation values when compared to traditional Monte Carlo methods. Since differentiable waveforms have substantial advantages for a variety of tasks throughout GW science, we propose that waveform developers use to build new waveforms moving forward. Our waveform code, , can be found on GitHub website and will continue to be updated with new waveforms as they are implemented. Published by the American Physical Society 2024

Physical review. D/Physical review. D.Vol. 110(6)
Nordic Institute for Theoretical Physics (SE), Johns Hopkins University (US), Stockholm University (SE), Chinese University of Hong Kong (HK), Flatiron Health (United States) (US), Mila - Quebec Artificial Intelligence Institute (CA), Flatiron Institute (US), Université de Montréal (CA), The University of Texas at Austin (US)
National Science Foundation
Openalex Percentile: Top 3%
Pulsars and Gravitational Waves Research
5.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.