Constraining the origins of binary black holes using normalising flows
Authors/Creators
Description
This is the data release for Colloms et al. 2025 (arXiv, dcc). In this work we demonstrate the use of normalising flows for emulation of population synthesis simulations and continuous inference of the simulation inputs, natal spin, common envelope efficiency, and the relative rates between five formation channels.
This data release includes hyperposterior samples from our discrete and continuous inference, the normalising flow models used for the analysis, the processed gravitational wave event samples, and additional auxiliary data for the remaining paper results.
The analysis was produced using the updated AMAZE framework, which can be found in this git repository. The population synthesis models used to train the normalising flows were initially produced for Zevin et al. (2021) and are contained in this data release.
Data included:
AMAZE_flows.inican be used with AMAZE version 2.0.0 to reproduce the continuous inference paper results. Running requires providing the population synthesis model file (path-to-populations), the GWTC-3 event data (event-samples-path), the trained normalising flow models (flow-model-path). Settingcontinuous-samplingto False will run discrete inference with normalising flows, and additionally settinguse-flowsto False will run discrete inference with KDEs.AMAZE_flows_train.inican be used as above to reproduce the continuous inferece, additionally training new normalising flows. This does not require providing the pre-trained flows from this data release.inference_samples.tar.gzcontains the hyperposterior samples from our three inference results: continuous inference with normalising flows, discrete inference with normalising flows, and discrete inference with KDEs. Each inference result contains multiple hdf5 files, each for a different run instance with a different random seed, which were combined for the published result.cont_GWTC3/contains the continuous result files with the natal spin and common envelope efficiency and the underlying branching fraction samplesdiscrete_GWTC3/flow/contains the discrete result files using normalising flowsdiscrete_GWTC3/KDEs/contains the discrete result files using KDEs
Within each hdf5 file, the key:
-
model_selection/samplescontains the hyperposterior samples for natal spin, common envelope efficiency, and the five underlying branching fractions inferred (for the discrete results, natal spin common and envelope efficiency samples are represented by the model index).model_selection/obsdatacontains the combined GW posterior samples of chirp mass, mass ratio, effective inspiral spin, and redshift for each event used in the inference.model_selection/lnprobcontains the log probability of each hyperposterior sample.model_selection/raw_samplescontains the raw MCMC samples without the flooring to a particular model index for the discrete result samples. These are identical tomodel_selection/samplesfor the continuous inference.
This also includes
-
cont_detectable_GWTC3/containing the hyperposterior samples for natal spin, common envelope efficiency, and the detectable branching fractions with continuous inference.
flow_models.tar.gzcontains the normalising flow models (as pytorch version 1.12.1 Model objects), the training and validation losses for each training epoch, the mapping constants used for the initial transformation of the training data, and a config file with the architecture for each normalising flow. We include these data products for each formation channel: common envelope (CE), chemically homogeneous evolution (CHE), globular clusters (GC), nuclear star clusters (NSC), and stable mass transfer (SMT).{channel}.ptis the trained normalising flow model used in the analysis, as a pytorch model. These may be loaded as an Nflow objects within the AMAZE framework.{channel}_loss_history.csvcontains the training epoch number, training loss, validation loss, and learning rate at each epoch of training for each normalising flow.{channel}_mappings.npycontains the constants used in the logistic mapping for the chirp mass, mass ratio, and redshift samples for each channel. See Colloms et al. Appendix A for details of how these are used.- We also include
flows_mapping.jsonas a human readable version of the mappings
- We also include
flowconfig.jsoncontains the network architecture (number of transforms, number of neurons per layer, and number of spline bins) used for each normalising flow.
gw_events.tar.gzcontains the posterior samples from the GWTC-2.1 and GWTC-3 data releases. Each event contains samples of chirp mass, mass ratio, effective inspiral spin, and redshift, along with a prior value calculated for each samplep_theta_jcb. These samples were created with the notebook process_GWTC_data.ipynb from a previous AMAZE version.plot_data.tar.gzcontains auxiliary data used for plotting the samples drawn from the normalising flow and KDE models, and the log likelihood ratio between the normalising flows and the KDEs.dataspace_samps.hdf5contains samples from the normalising flow used to make Figure 5, and samples from parametric results drawn from the default models used in Abbott et al. (2022). The normalising flow samples are stored inflow_samps/{channel}, where the number of samples for each channel is representative of the inferred branching fractions from continuous inference.KLs_KSs.jsoncontains the Kullbeck – Liebler divergence values between the normalising flows and the KDEs at for each channel, at each of the population synthesis model points. This also includes the Kolmogorov–Smirnov test values for the effective spin distribution of the CE channel with the normalising flows and the KDEs.paper_plots_flows.ipynbcontains a Python notebook that can be used to reproduce the paper plots, plot the training and validation losses of the normalising flows, and calculate the KL and KS statistics for the normalising flows and KDEs.mpl.styandzoom_plot.pyare additional utils needed to provide the plotting styles and functions for inset plots inpaper_plots_flows.ipynb
Files
Files
(1.1 GB)
| Name | Size | |
|---|---|---|
|
md5:ebfee0317dd844e0c4b8b0599dacf98b
|
9.3 kB | Download |
|
md5:1fdd9e6d5b5d10cc6be2f55fc4520067
|
8.8 kB | Download |
|
md5:6c31068e9a0cc2c02154024116b40102
|
9.3 MB | Download |
|
md5:c430dc6fe4ebea795627f91815fc2c34
|
122.3 MB | Download |
|
md5:107a85061950f97e148bbd303db8596e
|
904.9 MB | Download |
|
md5:058ff80b7e297561f90ba07defb15c4d
|
40.3 MB | Download |
Additional details
Software
- Repository URL
- https://github.com/michaelzevin/AMAZE/tree/v2.0