Train Once, Refit Many: Free-Spectrum Normalizing Flows for Rapid Multi-Model Inference of Stochastic Gravitational-Wave Backgrounds with Pulsar Timing Arrays
Bayesian comparison of nanohertz stochastic gravitational-wave backgrounds (SGWBs) becomes expensive when each astrophysical or cosmological spectrum requires an independent inference calculation. Our previous pulsar-timing-array (PTA) normalizing-flow analysis accelerated model-specific inference, but its SGWB parameter block was tied to a fixed two-parameter spectral interface. Here we generalize that implementation to configurable multi-parameter spectra and use it to train a single 30-bin free-spectrum flow. For a ten-pulsar subset of the NANOGrav 15-year wideband data, the flow jointly infers 30 SGWB amplitudes and 20 intrinsic red-noise parameters. The resulting 30 frequency-bin posteriors are converted with \ceffyl\ into a factorized spectral likelihood and refitted to canonical supermassive-black-hole-binary, power-law, scalar-induced-gravitational-wave, and first-order-phase-transition spectra without model-specific retraining. The free-spectrum flow yields a mean binwise Hellinger distance of $\overline{H}_{\rm 10P} = 0.2569$ ($\simeq 0.26$) from the corresponding ten-pulsar MCMC result. The subsequent refits retain the principal posterior structures and the broad weak-evidence landscape obtained from ten-pulsar MCMC-seeded free-spectrum refits. Over the tested range, the 30-parameter free spectrum exhibits nearly the same measured per-epoch scaling with residual count as a two-parameter power law. This train-once, refit-many strategy makes the expensive learned spectral inference reusable across compatible SGWB models.
Authors
- Changhong Li (ORCID: https://orcid.org/0000-0003-3091-5490)
- Junrong Lai
Institutions
- Yunnan University (CN)
Publication Details
- Journal
- arXiv
- Published
- 2026-12-02
- DOI
- https://doi.org/10.48550/arxiv.2612.03520
- Primary Topic
- Pulsars and Gravitational Waves Research
- Type
- preprint