Free for humans

phenjax: the IMRPhenomT waveform family in JAX for accelerated analyses on CPUs and GPUs

phenjax is a JAX rewrite of the IMRPhenomT gravitational-wave models that matches its Python reference to about a few times 10 to the minus 12 of the peak strain, and runs much faster on a graphics processor. On one H100, batched runs of a precessing model were 20 to 30 times faster than the reference code evaluating one event at a time.

arXiv:2611.347476 min readScore 61/100 · editorial triage · not peer reviewPaper hub2026-W49

The 30-second take

  • The same source runs on processors or graphics processors, compiles once per array shape, batches events, and is differentiable, while staying within a few times 10 to the minus 12 of the reference polarization.
  • For waveform generation they estimate that one graphics processor replaces 1,300 to 2,700 cores of a current processor node and uses 25 to 45 times less energy per waveform.
  • Groups fitting massive black hole signals for LISA should care: on the Sangria data set the code recovered the same posteriors as other backends, in 13 minutes against 21 minutes for phentax, but the abstract does not show a new astrophysical measurement.

What the paper actually did

phenjax is a JAX implementation of the precessing, time-domain IMRPhenomT family, the models used for the gravitational-wave signal from a compact binary coalescence. The code keeps the structure of phenomxpy, the reference Python implementation. On average it reproduces that reference’s polarizations to a few times 10 to the minus 12 of the peak strain, for every model they cover, both aligned-spin and precessing. Because it is written in JAX, a given array shape is compiled once, events can be vectorized into a batch, the waveform is differentiable, and the same source runs on ordinary processors or on graphics processors. Extra features, not described in detail, are there to cut the cost of long signals and of batches whose events are not all the same length or mass. The speed test uses the precessing TPHM model on populations with masses relevant to the Laser Interferometer Space Antenna (LISA). On one NVIDIA H100, phenjax is 3 to 6 times faster than phenomxpy when both codes do one event at a time, and 20 to 30 times faster when phenjax batches eight events. They estimate that, for waveform generation, one graphics processor does the work of 1,300 to 2,700 cores of a current processor node, at 25 to 45 times less energy per waveform. Used as a backend in a global fit of LISA massive black holes on the Sangria data set, it recovers the same posteriors as the other waveform backends at lower computational cost. Against phentax, the wall time was 13 minutes instead of 21.

What makes this disruptive

The scarce resource in this kind of astronomy is not another waveform formula. It is the ability to generate huge numbers of accurate compact-binary signals while a fit explores parameters, including precession, without a private high-performance allocation. If the speed and agreement hold, one H100 changes the cost of that loop: 3 to 6 times against single-event phenomxpy, and 20 to 30 times when eight events are batched, with an energy estimate of 25 to 45 times less per waveform. Differentiability and a single source for processors and graphics processors put pressure on stacks that keep a fast path and a separate research path. The scientific claim in the abstract is narrower. The posteriors on Sangria match other backends. The code is a faster implementation of an existing family, not a new relativity calculation.

Why it matters (outside the lab)

Space-based gravitational-wave fits, especially global fits of many massive black holes, are limited by how many waveforms the pipeline can afford. A backend that is 13 minutes instead of 21 against phentax on Sangria, and that matches the reference strain to roughly 10 to the minus 12 of the peak, makes those fits less of a specialist computing project. The energy estimate matters for the same reason. A graphics processor doing the work of 1,300 to 2,700 processor cores, if the estimate is right, is a real change in what a group can run. That is a step toward waveform generation as a normal library call rather than a queued batch on a large node. It is not a new detection, and the abstract does not say the models themselves became more accurate relative to numerical relativity. Cheaper identical posteriors still leave instrument noise, data gaps, and model systematics where they were.

Limitations & open questions

The abstract does not show agreement with numerical relativity, only agreement with phenomxpy, on average a few times 10 to the minus 12 of peak strain. It does not define the mass ranges inside “LISA-mass,” the number of events in the timing test, or what the extra features for long and heterogeneous signals actually do. The core-count and energy figures are estimates for waveform generation, not measured full-pipeline power. “The same posteriors” is not accompanied by a parameter list or a difference plot in the abstract. The 13-versus-21-minute comparison is one global fit against phentax, not a general ranking. Differentiability is stated as a property of the JAX code and is not demonstrated on a gradient-based scientific result here. A faster preprint backend is not a public LISA catalog, and lower waveform cost does not by itself make space-based gravitational-wave astronomy a routine measurement.

Explain ladder

Default article depth

When two black holes or other compact objects merge, the ripple they emit is predicted by a waveform model. IMRPhenomT is one such family, including cases where the objects’ spins tumble. Fitting real or simulated data means generating that waveform over and over. phenjax rewrites the existing Python models so the heavy array math can be compiled and run, in batches, on a graphics processor as well as on ordinary processors. It matches the reference to a tiny fraction of the peak strain. On one H100 the batched precessing model was tens of times faster than the reference doing one event at a time, and a LISA massive-black-hole fit on the Sangria set finished in 13 minutes rather than 21. The astronomy result is the same posterior, reached for less computer time.

Key terms

Sources

Related explainers

Same topic and week first — keep exploring the scarcity → abundance map.

Editorial explainer · not peer review · always read the primary paper.

Byline: Disruptive Concepts editorial.