April 10, 2025
Gravitational waves are ripples in space-time caused by the motion of massive objects. One of the most astrophysically important sources of gravitational radiation is caused by two orbiting compact objects, such as black holes and neutron stars, that slowly inspiral and merge. The motion of these massive objects generates gravitational waves that radiate to the far field where gravitational-wave detectors can observe them. Complicated partial or ordinary differential equations govern the entire process.
Traditionally, the dynamics of compact binary systems and the emitted gravitational waves have been computed by expensive simulation codes that can take days to months to run. A key simulation output is the gravitational wave signal for a particular set of parameter values describing the system, such as the black holes’ masses and spins. The computed signal is required for a diverse range of multiple-query applications, such as template bank generation for searches, parameter estimation, mock data analysis, studies of model bias, and tests of general relativity, to name a few. In such settings, the high-fidelity signal computed from differential equations is often too slow to be directly used.
Surrogate models offer a practical way to dramatically accelerate model evaluation while retaining the high-fidelity accuracy of the expensive simulation code; an example is shown in Fig. [fig:gws]. Surrogate models can be constructed in various ways, but what separates these models from other modeling frameworks is that they are primarily data-driven. Given a training set of gravitational waveform data sampling the parameter space, a model is built by following three steps:
Feature extraction: the waveform is decomposed into data pieces that are simple to model,
Dimensionality reduction: each data piece is approximated by a low-dimensional vector space, which reduces the degrees of freedom we need to model, and
Regression: fitting and regression techniques are applied to the low-dimensional representation of each data piece over the parameter space defining the model.
These model-building steps result in an HDF5 file defining the surrogate model’s data and structure, which is stored on Zenodo. The GWSurrogate package provides access to these models through its catalog interface, and all available models and their
associated HDF5 files can be found in gwsurrogate.catalog.list(). For a recent overview of surrogate modeling as used in gravitational wave astrophysics, please see Section 5 of Afshordi et al. ().
The development of GWSurrogate is hosted on and distributed through both and . Quick start guides are found on the project’s while model-specific documentation is described through a collection of model-specific . Automated testing is run on .
GWSurrogate is a Python package first introduced in 2013 to provide an intuitive interface for working with gravitational wave surrogate models. Specifically, GWSurrogate gravitational wave models provide evaluation of \[h_{\tt S}(t, \theta, \phi;\Lambda) = \sum^{\infty}_{\ell=2} \sum_{m=-\ell}^{\ell} h_{\tt S}^{\ell m}(t;\Lambda) ~^{-2}Y_{\ell m}(\theta, \phi) \,,\] where \(^{-2}Y_{\ell m}\) are the spin\(=-2\) weighted spherical harmonics and \(\Lambda\) describes the model’s parameterization. The surrogate model provides fast evaluations for the modes, \(h_{\tt S}^{\ell m}\). As described more fully in the documentation, the high-level API allows users direct access to the modes \(\{h_{\tt S}^{\ell m}(t)\}\) (as a Python dictionary) or assembles the sum \(h_{\tt S}(t, \theta, \phi)\) at a particular location \((\theta, \phi)\). The models implemented in GWSurrogate are intended to be used in production data analysis efforts. As such,
computationally expensive operations (e.g., interpolation onto uniform time grids) are implemented by wrapping low-level C code for speed, whereas GWSurrogate provides a user-friendly interface to the high-level waveform evaluation API,
models implemented in GWSurrogate follow the waveform convention choices of the LIGO-Virgo-Kagra collaboration, thus ensuring that downstream data analysis codes can use GWSurrogate models without needing to worry about different conventions, and
GWSurrogate models can be directly evaluated in either physical units (often used in data analysis studies) and dimensionless units (often used in theoretical studies) where all dimensioned quantities are expressed in terms of the system’s total mass.
Currently, there are 16 supported surrogate models (; , ; ; ; ; ; ; ; ; , ), with additional models under development (; ). These models vary in their duration, included physical effects (e.g. nonlinear memory, tidal forces, harmonic modes retained,
eccentricity, mass ratio extent, precession effects, etc), and underlying solution method (e.g. Effective One Body, numerical relativity, and black hole perturbation theory). Details about all models can be found by doing
gwsurrogate.catalog.list(verbose=True), while the GWSurrogate summarizes the state-of-the-art models for each particular problem. Certain models allow for additional functionality such as returning the dynamics of the binary black hole. These
special features are described further in model-specific .
Several other software packages are available for waveform generation, including tools for effective-one-body models (; ), ringdown signals (; ; ), extreme-mass-ratio inspiral systems through the Black Hole Perturbation Toolkit’s
FastEMRIWaveforms and BHPTNRSurrogate packages (), and the Ripple framework that enables specialized acceleration techniques using JAX (). Among these, LALSuite () stands out as the most comprehensive, offering the
largest collection of waveform models via its LALSimulation subpackage, which includes Python bindings and the new Python-based gwsignal waveform generator. While GWSurrogate shares similarities with LALSuite in providing a variety of models, it differs by
exclusively focusing on surrogate models. Notably, GWSurrogate includes many state-of-the-art numerical relativity models that are only available through its library, whereas LALSuite offers a broader but less specialized collection.
We acknowledge our many close collaborators for their contribution to the development of surrogate models. We further acknowledge the community of GWSurrogate users who have contributed pull requests and opened issues, including Kevin Barkett, Mike Boyle, Collin Capano, Dwyer Deighan, Raffi Enficiaud, Oliver Jennrich, Gaurav Khanna, Duncan Macleod, Alex Nitz, Seth Olsen, Swati Singh, and Avi Vajpeyi. GWSurrogate has been developed over the past 10 years with continued support from the National Science Foundation, most recently through NSF grants PHY-2110496, PHY-2309301, DMS-2309609, and AST-2407454. This work was partly 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. This work was also supported in part by the Sherman Fairchild Foundation, by NSF Grants PHY-2207342 and OAC-2209655 at Cornell, and by NSF Grants PHY-2309211, PHY-2309231, and OAC-2209656 at Caltech.
Afshordi, N., Akçay, S., Amaro Seoane, P., Antonelli, A., Aurrekoetxea, J. C., Barack, L., Barausse, E., Benkel, R., Bernard, L., Bernuzzi, S., Berti, E., Bonetti, M., Bonga, B., Bozzola, G., Brito, R., Buonanno, A., Cárdenas-Avendaño, A., Casals, M., Chernoff, D. F., … Vañó-Viñuales, A. (2023). Waveform modelling for the Laser Interferometer Space Antenna. arXiv e-Prints. https://doi.org/10.48550/arXiv.2311.01300
Barkett, K., Chen, Y., Scheel, M. A., & Varma, V. (2020). Gravitational waveforms of binary neutron star inspirals using post-Newtonian tidal splicing. Physical Review D, 102(2), 024031. https://doi.org/10.1103/PhysRevD.102.024031
Black Hole Perturbation Toolkit. (n.d.). ().
Blackman, J., Field, S. E., Galley, C. R., Szilágyi, B., Scheel, M. A., Tiglio, M., & Hemberger, D. A. (2015). Fast and accurate prediction of numerical relativity waveforms from binary black hole coalescences using surrogate models. Physical Review Letters, 115(12), 121102. https://doi.org/10.1103/PhysRevLett.115.121102
Blackman, J., Field, S. E., Scheel, M. A., Galley, C. R., Hemberger, D. A., Schmidt, P., & Smith, R. (2017). A surrogate model of gravitational waveforms from numerical relativity simulations of precessing binary black hole mergers. Physical Review D, 95(10), 104023. https://doi.org/10.1103/PhysRevD.95.104023
Carullo, G., Del Pozzo, W., & Veitch, J. (2023). pyRing: A time-domain ringdown analysis python package (Version 2.3.0). ; Zenodo. https://doi.org/10.5281/zenodo.8165508
Edwards, T. D. P., Wong, K. W. K., Lam, K. K. H., Coogan, A., Foreman-Mackey, D., Isi, M., & Zimmerman, A. (2024). Differentiable and hardware-accelerated waveforms for gravitational wave data analysis. Physical Review D, 110(6), 064028. https://doi.org/10.1103/PhysRevD.110.064028
Field, S. E., Galley, C. R., Hesthaven, J. S., Kaye, J., & Tiglio, M. (2014). Fast prediction and evaluation of gravitational waveforms using surrogate models. Physical Review X, 4(3), 031006. https://doi.org/10.1103/PhysRevX.4.031006
Gadre, B., Pürrer, M., Field, S. E., Ossokine, S., & Varma, V. (2024). Fully precessing higher-mode surrogate model of effective-one-body waveforms. Physical Review D, 110(12), 124038. https://doi.org/10.1103/PhysRevD.110.124038
Isi, M., & Farr, W. M. (2021). Analyzing black-hole ringdowns. arXiv e-Prints. https://doi.org/10.48550/arXiv.2107.05609
Islam, T., Field, S. E., Hughes, S. A., Khanna, G., Varma, V., Giesler, M., Scheel, M. A., Kidder, L. E., & Pfeiffer, H. P. (2022). Surrogate model for gravitational wave signals from nonspinning, comparable-to large-mass-ratio black hole binaries built on black hole perturbation theory waveforms calibrated to numerical relativity. Physical Review D, 106(10), 104025. https://doi.org/10.1103/PhysRevD.106.104025
Islam, T., Varma, V., Lodman, J., Field, S. E., Khanna, G., Scheel, M. A., Pfeiffer, H. P., Gerosa, D., & Kidder, L. E. (2021). Eccentric binary black hole surrogate models for the gravitational waveform and remnant properties: comparable mass, nonspinning case. Physical Review D, 103(6), 064022. https://doi.org/10.1103/PhysRevD.103.064022
LIGO Scientific Collaboration, Virgo Collaboration, & KAGRA Collaboration. (2018). LVK Algorithm Library - LALSuite. Free software (GPL). https://doi.org/10.7935/GT1W-FZ16
Mihaylov, D. P., Ossokine, S., Buonanno, A., Estelles, H., Pompili, L., Pürrer, M., & Ramos-Buades, A. (2023). pySEOBNR: a software package for the next generation of effective-one-body multipolar waveform models. arXiv e-Prints. https://doi.org/10.48550/arXiv.2303.18203
Nagar, A., Riemenschneider, G., Pratten, G., Rettegno, P., & Messina, F. (2020). Multipolar effective one body waveform model for spin-aligned black hole binaries. Physical Review D, 102(2), 024077. https://doi.org/10.1103/PhysRevD.102.024077
Nitz, A., Harry, I., Brown, D., Biwer, C. M., Willis, J., Canton, T. D., Capano, C., Dent, T., Pekowsky, L., Davies, G. S. C., De, S., Cabero, M., Wu, S., Williamson, A. R., Machenschalk, B., Macleod, D., Pannarale, F., Kumar, P., Reyes, S., … Tolley, A. (2024). Gwastro/pycbc: v2.3.3 release of PyCBC (Version v2.3.3). Zenodo. https://doi.org/10.5281/zenodo.10473621
O’Shaughnessy, R., Blackman, J., & Field, S. E. (2017). An architecture for efficient gravitational wave parameter estimation with multimodal linear surrogate models. Classical and Quantum Gravity., 34(14), 144002. https://doi.org/10.1088/1361-6382/aa7649
Rifat, N. E. M., Field, S. E., Khanna, G., & Varma, V. (2020). Surrogate model for gravitational wave signals from comparable and large-mass-ratio black hole binaries. Physical Review D, 101(8), 081502. https://doi.org/10.1103/PhysRevD.101.081502
Rink, K., Bachhar, R., Islam, T., Rifat, N. E. M., Gonzalez-Quesada, K., Field, S. E., Khanna, G., Hughes, S. A., & Varma, V. (2024). Gravitational wave surrogate model for spinning, intermediate mass ratio binaries based on perturbation theory and numerical relativity. Physical Review D, 110(12), 124069. https://doi.org/10.1103/PhysRevD.110.124069
Varma, V., Field, S. E., Scheel, M. A., Blackman, J., Gerosa, D., Stein, L. C., Kidder, L. E., & Pfeiffer, H. P. (2019). Surrogate models for precessing binary black hole simulations with unequal masses. Physical Review Research, 1, 033015. https://doi.org/10.1103/PhysRevResearch.1.033015
Varma, V., Field, S. E., Scheel, M. A., Blackman, J., Kidder, L. E., & Pfeiffer, H. P. (2019). Surrogate model of hybridized numerical relativity binary black hole waveforms. Physical Review D, 99(6), 064045. https://doi.org/10.1103/PhysRevD.99.064045
Yoo, J., Mitman, K., Varma, V., Boyle, M., Field, S. E., Deppe, N., Hébert, F., Kidder, L. E., Moxon, J., Pfeiffer, H. P., Scheel, M. A., Stein, L. C., Teukolsky, S. A., Throwe, W., & Vu, N. L. (2023). Numerical relativity surrogate model with memory effects and post-Newtonian hybridization. Physical Review D, 108(6), 064027. https://doi.org/10.1103/PhysRevD.108.064027
Yoo, J., Varma, V., Giesler, M., Scheel, M. A., Haster, C.-J., Pfeiffer, H. P., Kidder, L. E., & Boyle, M. (2022). Targeted large mass ratio numerical relativity surrogate waveform model for GW190814. Physical Review D, 106(4), 044001. https://doi.org/10.1103/PhysRevD.106.044001