
AMPLFI
Reads a gravitational-wave detection and returns the masses, spins and distance of the black holes that made it, in one forward pass instead of hours of sampling. I extended a normalizing-flow pipeline with CNN encoders that read Q-transform spectrograms instead of raw detector strain.
Gravitational waves, events that occur from two extremely large masses merging (usually two black holes), have only been detected recently, and the field is growing fast. When they are detected, we only see a "chirp" that looks like a growing sine wave. The chirp itself carries the masses, spins and distance, but pinning down where on the sky it came from takes several detectors and the tiny differences in when the wave reached each one. Previous methods involved Bayesian samplers that took hours per event to recover parameters from a gravitational wave. However, for useful observations, follow-up telescopes need to be pointed in minutes. AMPLFI skips the sampler: a normalizing flow maps detector data directly to a posterior over the parameters. My contribution, in Michael Coughlin’s group at the University of Minnesota over the summer of 2026, was the front end. Instead of feeding the network raw one-dimensional strain, I reworked it to read Q-transform spectrograms through CNN encoders. These are time-frequency images where a chirp traces a clean rising arc, and where the signal separates from detector noise far more cleanly. That matters most for the low-signal events, which are both the hardest to characterize and the ones the sampler is slowest on. Getting the encoder and the flow to train together stably took months, across a parameter space spanning several orders of magnitude in both mass and distance.




