Published August 12, 2025 | Version Published
Journal Article Open

Rapid Parameter Estimation for Pulsar-Timing-Array Datasets with Variational Inference and Normalizing Flows

  • 1. ROR icon ETH Zurich
  • 2. ROR icon Jet Propulsion Lab
  • 3. ROR icon California Institute of Technology
  • 4. ROR icon University of Pisa

Abstract

In the gravitational-wave analysis of pulsar-timing-array datasets, parameter estimation is usually performed using Markov chain Monte Carlo methods to explore posterior probability densities. We introduce an alternative procedure that instead relies on stochastic gradient-descent Bayesian variational inference, whereby we obtain the weights of a neural-network-based approximation of the posterior by minimizing the Kullback–Leibler divergence of the approximation from the exact posterior. This technique is distinct from simulation-based inference with normalizing flows since we train the network for a single dataset, rather than the population of all possible datasets, and we require the computation of the data likelihood and its gradient. Unlike Markov chain methods, our technique can trivially exploit highly parallel computing platforms. This makes it extremely fast on modern graphical processing units, on which it can analyze the NANOGrav 15-yr dataset in a few tens of minutes, depending on the probabilistic model, compared to hours or days with the analysis codes used so far. We expect that this speed will unlock new astrophysical and cosmological explorations of pulsar-timing-array datasets with statistical models that are currently too computationally expensive. Furthermore, this kind of variational inference is viable in other contexts of gravitational-wave data analysis, as long as differentiable and parallelizable likelihoods are available.

Copyright and License

© 2025 American Physical Society.

Acknowledgement

We are grateful to Katerina Chatziioannou, Maura McLaughlin, Rutger van Haasteren, and Stephen Taylor for useful discussions and valuable comments on our draft. We acknowledge support from the National Science (NSF) Physics Frontiers Center program under Awards No. 1430284 and No. 2020265 and from the Jet Propulsion Laboratory President’s and Director’s Research and Development fund. M. C. is funded by the European Union under the Horizon Europe’s Marie Sklodowska-Curie Project No. 101065440. Part of this research was performed at the Jet Propulsion Laboratory, California Institute of Technology under a contract with the National Aeronautics and Space Administration. Copyright 2025. All rights reserved.

Data Availability

The data that support the findings of this Letter are openly available [41].

Files

p3f7-rbmv.pdf

Files (265.4 kB)

Name Size Download all
md5:51a54203355338b5aed4b41dcca46ffe
265.4 kB Preview Download

Additional details

Related works

Is new version of
Discussion Paper: arXiv:2405.08857 (arXiv)
Is supplemented by
Software: https://github.com/nanograv/discovery (URL)

Funding

National Science Foundation
1430284
National Science Foundation
2020265
Jet Propulsion Laboratory
European Commission
101065440
California Institute of Technology
National Aeronautics and Space Administration

Dates

Accepted
2025-07-02

Caltech Custom Metadata

Caltech groups
TAPIR, Division of Physics, Mathematics and Astronomy (PMA)
Publication Status
Published