Rapid likelihood free inference of compact binary coalescences using accelerated hardware

Deep Chatterjee, Ethan Marx, William Benoit, Ravi Kumar, Malina Desai, Ekaterina Govorkova, Alec Gunny, Eric A. Moreno, Rafia Omer, Ryan Raikman, Muhammed Saleem, Shrey Aggarwal, Michael Coughlin, Philip C. Harris, Erik Katsavounidis

Introduction

The detection of gravitational waves (GWs) has transitioned from rare discoveries to a high-throughput observational science. During the current O4 observing run, signals are detected with increasing frequency, shifting the primary challenge from signal identification to rapid characterization. Fast parameter estimation (PE) is critical for multi-messenger astronomy, where electromagnetic follow-up must occur within seconds to capture transient phenomena. This paper introduces AMPLFI, a deep-learning-based PE engine designed to provide accurate results in seconds.

The Challenge of Low-Latency Parameter Estimation

Traditional Bayesian PE relies on stochastic sampling methods like Markov Chain Monte Carlo (MCMC) or nested sampling. While highly accurate, these methods are computationally intensive, requiring millions of likelihood evaluations that can take hours. AMPLFI addresses this by utilizing Likelihood-Free Inference (LFI). Instead of calculating an explicit likelihood, a neural network is trained to approximate the posterior distribution directly from simulated data.

Methodology: The AMPLFI Architecture

AMPLFI integrates several advanced machine learning techniques to achieve its speed and accuracy:

Normalizing Flows

The core of the inference engine is an Inverse Autoregressive Flow (IAF). Normalizing flows are generative models that learn to map a simple base distribution (e.g., a Gaussian) to a complex target distribution (the posterior) through a series of invertible, differentiable transformations. IAFs are particularly well-suited for this task because they allow for extremely rapid sampling once trained.

Self-Supervised Embedding and Shift Invariance

Before the flow, raw strain data is processed by a ResNet-based embedding network. To make the model robust against uncertainties in signal arrival time—a common issue with search triggers—the authors employ VICReg (Variance-Invariance-Covariance Regularization). This self-supervised learning technique trains the network to produce similar embeddings for the same signal even when it is shifted slightly in time.

Figure 3: The embedding network learns to identify signals within noisy strain data, maintaining invariance to small temporal shifts to ensure robust parameter estimation.

End-to-End Hardware Acceleration

A significant innovation in AMPLFI is its deployment on a fully accelerated hardware pipeline. By performing data loading, whitening, and waveform generation entirely on the GPU, the system eliminates the CPU-GPU data transfer bottlenecks that often plague low-latency ML applications.

Results and Performance

AMPLFI demonstrates remarkable efficiency and fidelity. The total latency from data acquisition to alert generation is approximately 6 seconds. Once the model is trained, drawing 20,000 posterior samples takes a mere 0.05 seconds on an NVIDIA A40 GPU.

Accuracy and Robustness

The model's accuracy was validated against gold-standard tools like Bilby. For intrinsic parameters such as chirp mass, the results are highly consistent. Figure 2 illustrates the high fidelity of the ML-based waveform reconstruction compared to traditional simulators.

Figure 2: Waveform comparison between the AMPLFI-integrated ml4gw model and the standard LALSimulation/bilby baseline, showing negligible residuals.

Furthermore, the model proved robust against non-stationary detector noise, maintaining its validity on data recorded months after the training period.

Conclusion and Future Work

AMPLFI represents a significant step toward real-time gravitational-wave astronomy. While currently optimized for Binary Black Hole (BBH) mergers using the IMRPhenomD waveform model, future iterations will incorporate more complex physics like spin precession and higher-order modes. Expanding the pipeline to handle Binary Neutron Star (BNS) signals remains a priority, as these events are the primary targets for multi-messenger observations but present greater computational challenges due to their longer signal durations.

Citation: D. Chatterjee et al., "Rapid Likelihood Free Inference of Compact Binary Coalescences using Accelerated Hardware," 2024, arXiv:2407.19048v1 [gr-qc].

Summary updated

BibTeX
@article{chatterjee2024rapid,
  author = {Deep Chatterjee and Ethan Marx and William Benoit and Ravi Kumar and Malina Desai and Ekaterina Govorkova and Alec Gunny and Eric A. Moreno and Rafia Omer and Ryan Raikman and Muhammed Saleem and Shrey Aggarwal and Michael Coughlin and Philip C. Harris and Erik Katsavounidis},
  title = {{Rapid likelihood free inference of compact binary coalescences using accelerated hardware}},
  journal = {Mach. Learn. Sci. Technol.},
  year = {2024},
  doi = {10.1088/2632-2153/ad8982},
}
Figure