Software contribution / Compact-binary populations

From merger environments
to population inference.

hierarchical_AD_pop_engine is a JAX-based research prototype for connecting hierarchical black-hole merger models to gravitational-wave population inference.

The contribution is a composable model: describe what one environment produces, describe how environments form, and combine them into a rate distribution that an inference framework can evaluate.

The scientific connection

A retained black-hole merger remnant can participate in later mergers, changing the population of masses and spins. Doctor, Wysocki, O’Shaughnessy, Holz & Farr (2020) developed a modular coagulation framework for modeling these populations. This repository builds on that line of work with differentiable numerical components and an inference interface. The earlier paper establishes the scientific foundation; it does not validate every feature of this implementation.

What the software contributes

The repository also contains per-event normal-approximate-likelihood preparation tools, following Delfavero and collaborators. Those scripts have environment-specific inputs; publishing the software does not make their external input datasets available.

Status and useful limits

This is research software, with package version 0.0.1 at the reviewed revision. The supplied tests cover limiting cases, composition, finite-difference comparisons, and integration behavior; this page reports source contents, not a newly executed scientific validation suite.

The default response is the perturbative solver. The implicit solver is a separate response-layer option with different convergence and differentiation considerations. The aligned-spin retention model uses a hard threshold, so gradients with respect to escape velocity vanish almost everywhere. An automatic-differentiation implementation therefore does not make every physical parameter smoothly inferable. Consult the response implementation, retention implementation, and current tests before choosing a solver or parameterization.

Reuse and collaboration

Start with the README example and a small-grid calculation. Useful contributions include independently reproduced solver comparisons, convergence checks across physical regimes, and additional environment-response models. Credit the underlying methods, gwkokab, and the repository contributors when using this work.

Discuss a research collaboration · Related astrophysics work

Source reviewed 9 November 2026 at d789282. Check the repository for current implementation, licensing metadata, and citation guidance.