Introduction
The space-based Laser Interferometer Space Antenna (LISA), due for launch in 2035, will open the millihertz band of gravitational waves [4 , 23 ] . Its most numerous sources are the compact binaries of our own Galaxy: millions of quasi-monochromatic galactic binaries (GBs) from 0.1 to 16 mHz, of which thousands will be resolved [101 , 74 , 64 ] . Below a few millihertz their signals overlap (Figure 1 ): the instrument’s orbit and the source’s own chirp spread each signal over several frequency bins, neighbours share bins, and their parameters must be inferred jointly (Figure 7 ).
Figure 1. An example of four GB signals in one narrow-band frequency window, in channel A for two years of observation and normalised by the square root of the noise PSD, each labelled with its SNR from Equation (3) (Cutler & Flanagan, 1994).
Figure 7. How crowded the training windows are: the distribution of the closest f 0 f_0 f 0 separation among the four sources of a window, over 4096 training windows (Equation (36) ) of the whole band at R = 128 R = 128 R = 128 (the full run) and of each of its five subbands at the subband’s own R R R (Table 3 ), in each analysis’s own bins of 1 / T o b s 1/T_{\mathrm{obs}} 1/ T obs (1 yr for Delmond et al. [37 ] , 2 yr here). Vertical lines: the two source pairs of Delmond et al. [37 ] , 15.8 bins apart (close to MCMC) and 6.3 (broad, sometimes biased). Over the whole band 18 % of windows hold a pair closer than their hardest one; per subband from low to high f 0 f_0 f 0 , 86, 58, 34, 19 and 9 %.
The reference method is the global fit, a trans-dimensional
Markov chain Monte Carlo (MCMC) over every resolvable source [88 , 89 , 66 , 120 , 38 ] . It is the standard for what the data support, but a joint chain over one of our frequency windows alone takes 4.3 to 9.5 h, and the whole fit runs again on every new stretch of data. Simulation-based inference (SBI) learns the posterior once and then returns it in a fraction of a second. For GBs it has so far treated one source, two ordered sources in a narrow band, or a factorised set of toy signals [76 , 58 , 37 ] (Table 5 ).
Table 5 . Inference of galactic binaries, as each work reports it. Joint: one posterior over overlapping sources, not a product over them. Likelihood: evaluated to draw a posterior sample. Reference: what the posteriors are checked against; P–P, a probability–probability plot of the credible levels of the true parameters.
Table 5.
We bring SBI to the global fit’s unit of work: the joint posterior of the S S S sources of a frequency window, 8 S 8S 8 S parameters under the full instrument response, for windows anywhere in the band. A conditional flow-matching model [84 , 92 , 2 , 33 ] draws it with no likelihood evaluation.
Contributions.
Joint posteriors of overlapping GBs from the flow alone , with S S S from two to sixteen sources per window under broad catalogue priors, for windows anywhere in the band from 0.1 to 16 mHz (Sections 3.2 and 4). Runs with increasing S S S measure how the joint posterior scales.
flat chart of eight coordinates per source folds each source’s equivalent copies into one mode, and slots ordered in frequency remove the labelling modes (§ 5.1 ).
Validation on known answers. A toy with an exact posterior shows that ranks of data-space quantities catch phase, sky and dependence errors that parameter ranks miss, and mock posteriors are run through the whole evaluation (§ 7.1 ).
Background and Related Work
The global fit. The LISA data hold every source at once, so they are analysed by a global fit: a reversible-jump MCMC ([51 ] ) over the sources of all kinds, their number and the noise ([26 , 88 , 89 , 66 , 120 , 38 ] ). On a simulated year of data, current pipelines return 5000 to 12 000 GBs for 700 to about 10 6 10^{6} 1 0 6 central processing unit (CPU) hours, and every new dataset or change of model pays that cost again (Table 1 , Section A.1).
Table 1. GBs returned and cost of the global fits of the Sangria data set (top), of SBI for GBs (middle) and of this work (bottom).
Simulation-based inference. Given data d d d , a prior π ( θ ) \pi(\theta) π ( θ ) and a likelihood p ( d ∣ θ ) p(d \mid\theta) p ( d ∣ θ ) , the posterior is p ( θ ∣ d ) ∝ p ( d ∣ θ ) π ( θ ) p(\theta\mid d) \propto p(d \mid\theta)\pi(\theta) p ( θ ∣ d ) ∝ p ( d ∣ θ ) π ( θ ) . Samplers such as MCMC and nested sampling ([113 ] ) evaluate the likelihood many times and start again for every dataset. SBI ([27 ] ) instead trains a conditional density estimator on simulated pairs ( θ , d ) (\theta,d) ( θ , d ) ; in neural posterior estimation (NPE) the estimator models the posterior itself ([103 , 54 ] ). Training needs only a simulator, and the posterior of a new dataset costs only network evaluations, but nothing guarantees the estimate. It is checked with rank statistics over many simulations, simulation-based calibration (SBC) ([122 ] ) and tests of accuracy with random points (TARP) ([81 ] ), which are necessary conditions only (§ 7.1 ).
Flow matching, rectified flows and stochastic interpolants ([84 , 92 , 2 ] ) train a generative model by regression: a network learns the velocity that carries a simple base distribution to the data along prescribed paths, and a sample solves an ordinary differential equation. Its quality depends on what the network predicts, how the loss is weighted along the path and how the sampler spaces its steps ([65 , 69 ] ). For posteriors it entered SBI as flow-matching posterior estimation (FMPE) ([33 ] ). A posterior differs from an image in that its width matters and can be orders of magnitude below the prior’s, which is where our objective departs from standard FMPE (§ 5.3 ). Our network is a multimodal diffusion transformer (MMDiT) ([104 , 42 ] ) with the data and the sources as its two streams (§ 6.1 ).
SBI for gravitational waves
SBI is established for the compact binaries of ground-based detectors ([53 , 45 , 31 , 34 ] ) with importance sampling to the exact posterior ([32 ] ), and for LISA’s massive black-hole binaries ([116 ] (Du et al. 2024; Liang et al. 2024)). Overlapping signals have been analysed jointly a pair at a time on the ground ([79 , 102 ] ). For GBs, normalising flows serve inside the global fit as priors and proposals fitted to one source’s chains ([76 ] ). As posterior estimators, Delmond et al. [37 ] train a neural spline flow on one GB under the full response and, as a proof of concept, on two; Mao et al. [95 ] apply FMPE to one source with three free parameters in gapped data; and SlotFlow ([58 ] ) infers up to ten sinusoids in white noise, with a posterior that factorises over its slots. None returns a joint posterior over more than two sources under the LISA response (Section A).
The LISA Galactic-Binary Problem
We address the GBs of the LISA data alone, in stationary noise of known spectrum, a first step towards a global fit by SBI (§ 8 ).
Signal, Noise and Prior
A GB is a circular, slowly chirping binary of white dwarfs that emits a quasi-monochromatic gravitational wave (GW) at twice its orbital frequency ([101 , 74 ] ). Eight parameters describe it,
θ = ( f 0 , f ˙ , A , α , δ , ψ , ι , ϕ 0 ) (1) \theta= (f_0, \dot{f}, \mathcal{A}, \alpha, \delta, \psi, \iota, \phi_0) \tag*{(1)} θ = ( f 0 , f ˙ , A , α , δ , ψ , ι , ϕ 0 ) (1)
frequency and frequency derivative at the start of the observation, strain amplitude, right ascension and declination, polarisation angle, inclination and initial phase. Over the observation time T o b s = 2 T_{\mathrm{obs}} = 2 T obs = 2 yr the detector’s orbit modulates the signal, which locates the source on the sky and spreads it over neighbouring frequency bins of width 1 / T o b s 1/T_{\mathrm{obs}} 1/ T obs . JaxGB (Bayle et al. [12 ] ) simulates the response in the noise-orthogonal time-delay interferometry (TDI) channels A A A , E E E , T T T (Tinto & Dhurandhar [126 ] ; Prince et al. [106 ] ) on the graphics processing unit (GPU), so every training window is simulated on the fly (Section B).
The noise is the stationary Gaussian instrument noise of the LISA requirements (LISA Science Study Team [87 ] ; Babak et al. [7 ] ), with one-sided power spectral density (PSD) S c ( f ) S_c(f) S c ( f ) in channel c c c (Section C). On the Fourier bins f k = k / T o b s f_k = k/T_{\mathrm{obs}} f k = k / T obs , with h ~ c ( f k ; θ s ) \tilde{h}_c(f_k;\theta_s) h ~ c ( f k ; θ s ) the response of source s s s , the data of a band holding N N N sources are
d ~ k , c = ∑ s = 1 N h ~ c ( f k ; θ s ) + n ~ k , c , (2) \tilde{d}_{k,c} = \sum_{s=1}^{N} \tilde{h}_c(f_k;\theta_s) + \tilde{n}_{k,c}, \tag*{(2)} d ~ k , c = s = 1 ∑ N h ~ c ( f k ; θ s ) + n ~ k , c , (2)
n ~ k , c ∼ N ( 0 , P c ( f k ) ) , P c ( f ) = 1 2 S c ( f ) T o b s , \tilde{n}_{k,c} \sim\mathcal{N}(0, P_c(f_k)), \qquad P_c(f) = \tfrac{1}{2} S_c(f) T_{\mathrm{obs}}, n ~ k , c ∼ N ( 0 , P c ( f k )) , P c ( f ) = 2 1 S c ( f ) T obs ,
independent across bins and channels. A source’s signal-to-noise ratio (SNR) is that of its response alone (Cutler & Flanagan (1994)),
ρ s 2 = 4 ∑ c ∑ k ∣ h ~ c ( f k ; θ s ) ∣ 2 S c ( f k ) T o b s , (3) \rho_s^2 = 4 \sum_c \sum_k \frac{\left|\tilde{h}_c(f_k;\theta_s)\right|^2}{S_c(f_k) T_{\mathrm{obs}}}, \tag*{(3)} ρ s 2 = 4 c ∑ k ∑ S c ( f k ) T obs h ~ c ( f k ; θ s ) 2 , (3)
and we call a source visible when ρ ≥ 7 \rho\ge7 ρ ≥ 7 . The SNR accumulates over the many bins a response spans, so per bin even a visible source stands little above the noise (Figure 1 ).
The S w S_w S w sources of a window w w w centred on f w f_w f w , Θ w = ( θ 1 , … , θ S w ) \Theta_w = (\theta_1,\ldots,\theta_{S_w}) Θ w = ( θ 1 , … , θ S w ) , are independent draws from one per-source prior π w ( θ ) = π ( θ ∣ f w ) \pi_w(\theta) = \pi(\theta\mid f_w) π w ( θ ) = π ( θ ∣ f w ) ,
π w ( Θ w ) = ∏ s = 1 S w π w ( θ s ) . (4) \pi_w(\Theta_w) = \prod_{s=1}^{S_w} \pi_w(\theta_s). \tag*{(4)} π w ( Θ w ) = s = 1 ∏ S w π w ( θ s ) . (4)
fitted to a simulated Galactic catalogue of double white dwarfs (Perego et al. [105 ] ; Breivik et al. [15 ] ) (Table 2 , Figure 2 , Section D.1). It is closer to a real population than the flat or log-flat priors of other analyses (Strub et al. [119 ] ; Deng et al. [38 ] ; Delmond et al. [37 ] ), and it is broad: most of its sources lie below the noise.
Figure 2. A visual representation of the GB parameters and their priors. (a) ( log 10 f 0 , log 10 f ˙ , log 10 A ) (\log_{10} f_0, \log_{10} \dot{f}, \log_{10} \mathcal{A}) ( log 10 f 0 , log 10 f ˙ , log 10 A ) over the full band, 32 768 sources in windows centred on the catalogue’s f 0 f_0 f 0 marginal: regions enclosing 39 % and 86 % of the prior (blue) and of the sources with ρ ≥ 7 \rho\ge7 ρ ≥ 7 (red), and the line ρ = 7 \rho= 7 ρ = 7 (grey), which averages over the other parameters, so sources that reach it through a favourable sky or orientation also lie below it. (b) The sky, Equation (34) , in ecliptic coordinates ( λ , β ) (\lambda, \beta) ( λ , β ) : the bulge, the thick and the thin disc. (c) The orientation: the orbit (blue, dashed below the sky plane) is inclined by ι \iota ι to the sky plane ( x , y ) (x,y) ( x , y ) , with z z z towards the observer; its line of nodes (black, dashed) is at ψ \psi ψ from x x x , and ϕ 0 \phi_0 ϕ 0 is the phase along the orbit at the start of the observation.
Table 2. The prior of one source in window w w w : a Gaussian in the logarithms of ( f 0 , f ˙ , A ) (f_0,\dot{f},A) ( f 0 , f ˙ , A ) , with f 0 f_0 f 0 truncated to the window, a catalogue sky and an isotropic orientation.
Likelihood and Windows
The noise is stationary, so the likelihood is diagonal in frequency, and a GB’s response covers only R R R bins around f 0 T o b s f_0T_{\mathrm{obs}} f 0 T obs (§ 4 ), so each bin involves only the sources whose responses reach it. We therefore cut the band into windows of K = 4 R K=4R K = 4 R bins. A source belongs to the window whose interior holds its f 0 f_0 f 0 , and a guard band of R / 2 R/2 R /2 bins at each edge keeps its whole response inside (Section B.4).
With d w d_w d w the data of window w w w , the posterior of all the band’s sources Θ \Theta Θ factorises,
p ( Θ ∣ d ) = ∏ w p ( Θ w ∣ d w ) , (5) p(\Theta\mid d)=\prod_w p(\Theta_w\mid d_w), \tag*{(5)} p ( Θ ∣ d ) = w ∏ p ( Θ w ∣ d w ) , (5)
p ( Θ w ∣ d w ) ∝ p ( d w ∣ Θ w ) π w ( Θ w ) , p(\Theta_w\mid d_w)\propto p(d_w\mid\Theta_w)\,\pi_w(\Theta_w), p ( Θ w ∣ d w ) ∝ p ( d w ∣ Θ w ) π w ( Θ w ) ,
with the Whittle likelihood
log p ( d w ∣ Θ w ) = − ∑ k ∈ w ∑ c ∣ d ~ k , c − ∑ s ∈ w h ~ c ( f k ; θ s ) ∣ 2 P c ( f k ) (6) \log p(d_w\mid\Theta_w)=-\sum_{k\in w}\sum_c\frac{\left|\tilde{d}_{k,c}-\sum_{s\in w}\tilde{h}_c(f_k;\theta_s)\right|^2}{P_c(f_k)} \tag*{(6)} log p ( d w ∣ Θ w ) = − k ∈ w ∑ c ∑ P c ( f k ) d ~ k , c − ∑ s ∈ w h ~ c ( f k ; θ s ) 2 (6)
up to a constant. One network conditioned on f w f_w f w then serves the whole band, window by window and in parallel. It reads the window whitened, y ∈ R R × 6 y\in\mathbb{R}^{R\times6} y ∈ R R × 6 , the real and imaginary parts of d ~ k , c \tilde{d}_{k,c} d ~ k , c in the three channels divided by P c ( f k ) / 2 \sqrt{P_c(f_k)/2} P c ( f k ) /2 , and its target is p ( Θ w ∣ y , f w ) = p ( Θ w ∣ d w ) p(\Theta_w\mid y,f_w)=p(\Theta_w\mid d_w) p ( Θ w ∣ y , f w ) = p ( Θ w ∣ d w ) . In real data the wings of loud neighbours break the factorisation, and a global fit updates overlapping segments in turn (Littenberg et al. [88 ] ) (§ 8 ).
Dividing the Band
Three facts about the population shape the method.
Response Width and Subbands
Responses are narrow, and their width grows with frequency. The median source needs only 18 bins for all its above-noise power, against a hard bound of R = 2048 R=2048 R = 2048 at the top of the band. We size R R R as the smallest power of two that keeps every above-noise bin of 99.9 % of the sources at each f 0 f_0 f 0 ; it grows from R = 16 R=16 R = 16 at the bottom of the band to 1024 at its top (Figure 3 a, Section B.2). A single R R R must suit the top and is far too wide below, so we cut the band where R R R doubles into the five subbands of Table 3 . In the intended scheme one device trains each subband at its own R R R , and the gradients of one network are summed across devices.
Figure 3. The band is divided where the response width doubles into five subbands (shaded and white strips; Table 3 ). (a) Response width: sources with power above the noise, by f 0 f_0 f 0 and by the bins that hold all of it; contours hold 50, 90 and 99 % of them. Solid segments: each subband’s R R R , which keeps every above-noise bin of 99.9 % of the sources at each f 0 f_0 f 0 ; in the high tail that R R R (dashed) climbs to 1024. (b) Where the sources are: share per dex of f 0 f_0 f 0 of the catalogue’s sources (grey) and of the visible ones, ρ ≥ 7 \rho\ge7 ρ ≥ 7 (blue), with each subband’s share of the visible ones; the bracket marks the f 0 f_0 f 0 range of the narrow band (orange).
Table 3. Response width grows with frequency, while visible sources concentrate in the core. For each subband: the R R R that keeps every above-noise bin of 99.9 % of the sources at each f 0 f_0 f 0 ; its share of the catalogue’s sources and of the visible ones (ρ ≥ 7 \rho\ge7 ρ ≥ 7 ); the mean number of sources, all and visible, in a window of 4 R 4R 4 R bins (Equation (7) ); and the number of windows that tile it.
Visible Sources and Sources per Window
Visible sources are rare and concentrated. The catalogue puts 93 % of its sources in the low tail, where they are faint; the visible ones are its loud tail, and 63 % of them fall in the core (Figure 3 b, Figure 2 a).
A window holds a known, small number of sources that matter. Each of the N = 9 × 10 6 N=9\times10^6 N = 9 × 1 0 6 sources of the simulated Galaxy falls in a window with the probability p p p that the catalogue’s marginal π ( f 0 ) \pi(f_0) π ( f 0 ) puts there, so the window holds n n n sources, n v i s n_{\mathrm{vis}} n vis of them visible, with
n ∼ Bin ( N , p ) , n v i s ∼ Bin ( N , p v i s ) , n\sim\operatorname{Bin}(N,p),\qquad n_{\mathrm{vis}}\sim\operatorname{Bin}(N,p_{\mathrm{vis}}), n ∼ Bin ( N , p ) , n vis ∼ Bin ( N , p vis ) ,
p = ∫ w π ( f 0 ) d f 0 , p v i s = ∫ w π ( f 0 ) P ( ρ ≥ 7 ∣ f 0 ) d f 0 . (7) p=\int_w\pi(f_0)\,\mathrm{d}f_0,\qquad p_{\mathrm{vis}}=\int_w\pi(f_0)P(\rho\ge7\mid f_0)\,\mathrm{d}f_0. \tag*{(7)} p = ∫ w π ( f 0 ) d f 0 , p vis = ∫ w π ( f 0 ) P ( ρ ≥ 7 ∣ f 0 ) d f 0 . (7)
On average a window holds up to 44 000 sources at the bottom of the band, almost none of them visible, and up to 160 visible ones in its core (Table 3 , Section D.3).
Slots and the Trained Configurations
Most sources of a window are below the noise, and for those the posterior is close to the prior. We therefore fix the number of sources: every window holds exactly S w = S S_w = S S w = S sources drawn from the prior truncated to its interior, with S S S set per run from 2 to 16, where a real analysis infers the number with a trans-dimensional sampler (Littenberg et al., [88 ] ) and models the unresolved rest as confusion noise (Karnesis et al., [64 ] ). A slot the data do not resolve returns the prior, and the flow works in a space of fixed dimension 8 S 8S 8 S . A network of S S S slots fits
N S = ∫ d f W ( f ) E [ min ( n v i s , S ) ∣ f ] , W = 4 R T o b s , (8) N_S = \int\frac{\mathrm{d}f}{W(f)} \mathbb{E}\left[\min(n_{\mathrm{vis}}, S) \mid f\right], \qquad W = \frac{4R}{T_{\mathrm{obs}}}, \tag*{(8)} N S = ∫ W ( f ) d f E [ min ( n vis , S ) ∣ f ] , W = T obs 4 R , (8)
visible sources over the divided band: 4925 at S = 4 S = 4 S = 4 , 8842 at S = 8 S = 8 S = 8 and 15 653 at S = 16 S = 16 S = 16 , of 62 497 in the band, to be compared with the global fits of Table 1 .
We train two configurations, each on one device. The narrow band , 1 to 3 mHz at R = 64 R = 64 R = 64 , is the core subproblem, holding 84 % of the visible sources where they overlap most. The full band covers the whole distribution at R = 128 R = 128 R = 128 , the width of the high-frequency subband: too narrow for the high tail, where 0.32 % of the visible sources lose their outer bins (§ 7.3 ). Training all five subbands together is left to future work.
Flow in Relative Coordinates
We train one conditional generative model of the window posterior p ( Θ w ∣ y , f w ) p(\Theta_w \mid y, f_w) p ( Θ w ∣ y , f w ) of Equation (5) over all windows of a band. A loud source’s posterior is decades narrower than its prior and a quiet source’s is the prior, so no absolute scale suits both, and the flow works in relative quantities throughout. Its coordinates are relative to the window and its noise, and carry none of the posterior’s symmetries (§ 5.1 ). Its variable is relative to a Gaussian frame that the network reads off the data (§ 5.2 ). Its loss measures each error relative to the spread the data leave (§ 5.3 ). § 6 describes the network and its training.
Coordinates Relative to the Window
The likelihood is invariant under ( ψ , ϕ 0 ) → ( ψ + π / 2 , ϕ 0 + π ) (\psi,\phi_0) \to(\psi+ \pi/2,\phi_0 + \pi) ( ψ , ϕ 0 ) → ( ψ + π /2 , ϕ 0 + π ) , which gives each source four copies in ( ψ , ϕ 0 ) ∈ [ 0 , 2 π ) 2 (\psi,\phi_0) \in[0,2\pi)^2 ( ψ , ϕ 0 ) ∈ [ 0 , 2 π ) 2 (Equation (37) ), and under the S ! S! S ! permutations of the sources. A posterior over the physical parameters therefore has 4 S S ! 4^S S! 4 S S ! equivalent modes, and a flow on them must put mass on every one. The velocity that flow matching regresses is then an average over the copies for much of the path, which washes out the phase.
The flow draws X ∈ R 8 S X \in\mathbb{R}^{8S} X ∈ R 8 S , eight coordinates per source (Equation (38) ). The frequency is scaled to the window, log f \log f log f is standardised given f 0 f_0 f 0 , and the sky is in galactic coordinates scaled by the prior’s widths. In place of amplitude, inclination, polarisation and phase the source carries its two complex helicity amplitudes, in units of the noise at the window centre and with the radius warped by asinh \operatorname{asinh} asinh ,
ζ ± = A u ( f w ) ( 1 + cos ι ) 2 4 e i ( ϕ 0 m i d ± 2 ψ ) , \zeta_{\pm} = \frac{\mathcal{A}}{u(f_w)} \frac{(1+\cos\iota)^2}{4} e^{i(\phi_0^{\mathrm{mid}}\pm2\psi)}, ζ ± = u ( f w ) A 4 ( 1 + cos ι ) 2 e i ( ϕ 0 mid ± 2 ψ ) ,
z ± = asinh ∣ ζ ± ∣ ζ ± ∣ ζ ± ∣ , (9) z_{\pm} = \operatorname{asinh}|\zeta_{\pm}| \frac{\zeta_{\pm}}{|\zeta_{\pm}|}, \tag*{(9)} z ± = asinh ∣ ζ ± ∣ ∣ ζ ± ∣ ζ ± , (9)
where u ( f w ) u(f_w) u ( f w ) is the noise amplitude at the window centre (Section E.2) and ϕ 0 m i d \phi_0^{\mathrm{mid}} ϕ 0 mid the phase referred to mid-observation (Equation (42) ). The sources occupy S S S slots in order of f 0 f_0 f 0 , the ordering cure for label switching (Stephens, [118 ] ; Jasra et al., [61 ] ; Buscicchio et al., [17 ] ) that the global fit also uses (Littenberg et al., [88 ] ).
The signal is linear in ζ ± \zeta_{\pm} ζ ± (Equation (20) ), so at fixed frequency, drift and sky the likelihood is Gaussian in these four real numbers, and the four extrinsic parameters reach the data only through them. The four phase copies of a source share ϕ 0 ± 2 ψ \phi_0 \pm2\psi ϕ 0 ± 2 ψ and so map to one point, and the frequency ordering leaves each mode one copy instead of S ! S! S ! (Section E.6). Face-on sources, where much of the prior’s mass lies, sit at a regular point of the plane, where z ± z_{\pm} z ± vanishes, and not at a coordinate pole. Every coordinate is unbounded and without a periodic direction, so the flow’s paths are straight lines (Section E.5). Section E.4 derives these properties.
A Frame Relative to the Data
Standard FMPE fails on posteriors a small fraction of a bin wide in f 0 f_0 f 0 , as a Gaussian model of one coordinate shows (Proposition F.1, Figure 11 ). The velocity loss pays an excess of order s 0 w m s_0w_m s 0 w m for a model w m w_m w m wide against a prior of width s 0 s_0 s 0 , whatever the true width w ≪ w m w \ll w_m w ≪ w m , so it barely rewards the last decades of narrowing, and a sampler with uniform steps on the prior’s scale returns the narrowest posteriors collapsed.
Figure 11. The Gaussian model of one coordinate. The bars mark the ideal f 0 f_0 f 0 widths w / s 0 w/s_0 w / s 0 of each band over its SNR range, with s 0 s_0 s 0 the prior’s width. (a) Excess loss of a model w m w_m w m wide when the true posterior is 10 4 10^4 1 0 4 times narrower, under the velocity loss (grey) and the endpoint likelihood of Equation (12) (blue): quadrature of Equations (47) and (F6) (rings) against Equations (49) and (F8) (lines). The velocity loss’s reward for narrowing vanishes linearly with the width; the likelihood’s stays the same at every width. (b) Width the sampler of Section F.6 returns, run on the exact mean E [ x 1 ∣ x s ] \mathbb{E}[x_1 \mid x_s] E [ x 1 ∣ x s ] , over the true width. With 32 steps from the prior’s scale it collapses well inside the narrow band’s range and over all of the full band’s, and more steps only move the collapse to narrower widths (darker with more steps); in a calibrated frame the width is s 0 s_0 s 0 (dashed line), where the sampler is exact.
The network first reads from the data alone a Gaussian frame for each slot, a mean μ \mu μ and a standard deviation σ \sigma σ per coordinate (Equation (44) ). It is trained on the Gaussian likelihood of the window’s true sources X 1 X_1 X 1 in the flow coordinates, so that it learns the mean and width of each coordinate’s posterior marginal; a weight keeps loud sources, whose frames are the narrowest, from dominating the batch (Equation (45) ). The flow runs on Z = ( X − μ ) / σ Z = (X-\mu)/\sigma Z = ( X − μ ) / σ , from a standard normal Z 0 Z_0 Z 0 to Z 1 = ( X 1 − μ ) / σ Z_1 = (X_1-\mu)/\sigma Z 1 = ( X 1 − μ ) / σ along the straight path
Z s = Z 0 + s ( Z 1 − Z 0 ) , s ∈ [ 0 , 1 ] . (10) Z_s = Z_0 + s\left(Z_1 - Z_0\right), \qquad s \in[0,1]. \tag*{(10)} Z s = Z 0 + s ( Z 1 − Z 0 ) , s ∈ [ 0 , 1 ] . (10)
In the frame the posterior of Z 1 Z_1 Z 1 has a mean near zero and a width near one for every source, so the flow spends its capacity on what a Gaussian per coordinate misses: correlations, tails and multiple modes.
A Loss Relative to the Posterior Width
Given Z s Z_s Z s and s s s the network predicts, per coordinate, the mean Z ^ 1 \widehat{Z}_1 Z 1 and the log standard deviation log τ \log\tau log τ of a Gaussian over the endpoint Z 1 Z_1 Z 1 . Its velocity is the one that reaches the mean in the remaining path,
v ^ η = Z ^ 1 − Z s 1 − s , (11) \widehat{v}_\eta= \frac{\widehat{Z}_1 - Z_s}{1-s}, \tag*{(11)} v η = 1 − s Z 1 − Z s , (11)
and the network minimises the sum of the frame’s likelihood L f r a m e \mathcal{L}_{\mathrm{frame}} L frame and the endpoint’s negative log-likelihood, up to a constant and a factor of two,
L = L f r a m e + E 1 8 S ∑ k , i [ ( Z 1 , k i − Z ^ 1 , k i τ k i ) 2 + 2 log τ k i ] , (12) \mathcal{L} = \mathcal{L}_{\mathrm{frame}} + \mathbb{E}\frac{1}{8S}\sum_{k,i}\left[\left(\frac{Z_{1,ki}-\widehat{Z}_{1,ki}}{\tau_{ki}}\right)^2 + 2\log\tau_{ki}\right], \tag*{(12)} L = L frame + E 8 S 1 k , i ∑ ( τ k i Z 1 , k i − Z 1 , k i ) 2 + 2 log τ k i , (12)
with k k k the slot and i i i the coordinate, and the expectation over windows, draws of Z 0 Z_0 Z 0 and times uniform along the path. The two terms share the network but not their gradients: the frame sees only the first, and the flow reads the frame through a stop-gradient, so it cannot move the frame to ease its own task (Section F.2). At the optimal τ \tau τ the second term is, for every point, coordinate and source, a velocity loss divided by its own irreducible part,
( v ^ η − u ) 2 Var ( u ∣ Z s , y , f w ) , u = Z 1 − Z 0 , (13) \frac{(\hat{v}_{\eta}-u)^2}{\operatorname{Var}(u \mid Z_s,y,f_w)}, \qquad u = Z_1-Z_0, \tag*{(13)} Var ( u ∣ Z s , y , f w ) ( v ^ η − u ) 2 , u = Z 1 − Z 0 , (13)
because the factors of 1 − s 1-s 1 − s cancel (Section F.3).
A source the data pin down therefore weighs as much as one whose posterior is its prior, with no weights over time or coordinates. In the Gaussian model the likelihood pays 2 for every e-fold by which the model is too wide, whatever the true width: Δ L n l l ≃ ln ( w m / w ) 2 + w 2 / w m 2 − 1 \Delta L_{\mathrm{nll}} \simeq\ln(w_m/w)^2 + w^2/w_m^2 - 1 Δ L nll ≃ ln ( w m / w ) 2 + w 2 / w m 2 − 1 depends on the widths only through w m / w w_m/w w m / w . The frame brings the width to the order of one in Z Z Z , where the uniform sampler is exact in the model. Draws use 32 midpoint steps of v ^ η \hat{v}_{\eta} v ^ η and are mapped back by X = μ + σ Z X=\mu+\sigma Z X = μ + σ Z (Section F.6). Section F gives the derivations.
Architecture and Training
One network gives both outputs of Section 5: the frame of a window from its data alone, and the endpoint of every source given a point on the path. The second is a diffusion model’s task, denoising a few tokens conditioned on a long sequence, so we take the network from that literature.
Why a Multimodal Diffusion Transformer
Diffusion and flow models [114 , 115 , 84 ] (Ho et al. 2020) have converged on transformers. The diffusion transformer [104 ] carries the time and the class by modulating every layer normalisation, with gated residual branches that start as the identity. The MMDiT [42 ] , built for text-to-image rectified flows [92 ] , extends it to a condition that is itself a sequence: text and image tokens keep their own weights, as two streams, and meet in one joint attention in every block. It scales to eight billion parameters with steadily improving samples.
Our problem has the same shape: the condition is the data, a long sequence of spectral tokens, and the sample is the set of sources, one token per source. Joint attention lets every source read the data and the other sources in one operation, as a joint posterior of overlapping sources requires. Every map is shared across source tokens, so the same network takes any number of sources, including the varying number of the trans-dimensional global fit. The source side is also permutation-equivariant, as in set transformers [80 ] (Zaheer et al. 2017): the slot order of Section 5.1 reaches the network only through each slot’s frame.
Four Streams and One-Way Attention
Streams. The network has four streams, each with its own normalisations, attention projections and feed-forward maps (Figure 4 ). The data stream holds the tokens of the window. The register stream [30 ] has one token per source slot, from which a head reads the slot’s frame ( μ , log σ ) (\mu,\log\sigma) ( μ , log σ ) (Section G.2). The source stream has one token per slot, from which a head reads the endpoint Z ^ 1 \hat{Z}_1 Z ^ 1 and log τ \log\tau log τ (Section G.7). The sink stream has four learned tokens. Conditioning vectors modulate every normalisation and gate every residual branch: v f v_f v f , from the window alone, in the data and register streams, and ν \nu ν , from the flow time and the window, in the source and sink streams. The frame depends on the data alone, so it is read from the data side; the endpoint depends on the flow time and the sources’ current point, so it is read from the source side.
Figure 4. The network: four streams, each with its own normalisations, attention projections and feed-forward. The source stream (blue) has one token per source slot, in order of f 0 f_0 f 0 , and the sink stream (violet) four tokens; they attend jointly. The data stream (grey) has one token per 16 frequency bins of the window, and the register stream (green) one frame register per slot, which the frame head reads; they attend jointly. Conditioning (orange, dashed) modulates every normalisation and residual gate: ν \nu ν from the flow time and the window in the source stream and head, ν f \nu_f ν f from the window alone in the data stream, the registers and the frame head. The data side never reads the sources, so its keys and values and the frame are computed once per observation and serve every draw and sampler step. Rotary positions place each source at its f 0 f_0 f 0 and each data token at its centre frequency.
One-way attention and caching. A window is a long sequence with few sources, and a posterior needs many draws of many sampler steps each. In the MMDiT the text stream reads the image tokens and the time, so the whole network runs at every step. Ours reads in one direction. With queries q q q , keys k k k and values v v v of the data ( y ) (y) ( y ) , register ( r ) (r) ( r ) , source ( x ) (x) ( x ) and sink ( s ) (s) ( s ) streams, each block computes
[ o y ; o r ] = Attn ( [ q y ; q r ] ; [ k y ; k r ] , [ v y ; v r ] ) , [ o x ; o s ] = Attn ( [ q x ; q s ] ; [ k x ; k s ; k y ; k r ] , [ v x ; v s ; v y ; v r ] ) . (14) \begin{aligned}
[o^y;o^r] &= \operatorname{Attn}([q^y;q^r];[k^y;k^r],[v^y;v^r]),\\
[o^x;o^s] &= \operatorname{Attn}([q^x;q^s];[k^x;k^s;k^y;k^r],[v^x;v^s;v^y;v^r]). \tag*{(14)}
\end{aligned} [ o y ; o r ] [ o x ; o s ] = Attn ([ q y ; q r ] ; [ k y ; k r ] , [ v y ; v r ]) , = Attn ([ q x ; q s ] ; [ k x ; k s ; k y ; k r ] , [ v x ; v s ; v y ; v r ]) . (14)
so the data and the registers attend only to each other, and the sources and the sinks attend to everything (Equation (52) ). The data side’s keys and values, and the frame, then depend on ( y , f w ) (y,f_w) ( y , f w ) alone: they are computed once per window and cached, like the prompt of a language model, and every draw and sampler step runs only the source side. The data side, which holds most of the tokens, is paid once per posterior, not once per network evaluation (Section G.4, Table 10 ).
Table 10. Network sizes. Backbone parameters are N ( 64 D 2 + H ) − 20 D 2 N(64D^2 + H) - 20D^2 N ( 64 D 2 + H ) − 20 D 2 ; the embeddings, the conditioning maps and the two heads add the rest. The source stream has four source and four sink tokens and the encoder four frame registers on both bands; the data stream has 16 tokens on the narrow band and 32 on the full band.
Sinks. With one-way attention, nothing on the data side reads the current sources. The sinks restore a limited form of this: they read the data, the registers and the sources, and the sources read them back, so a sink can gather the part of the data that matters for the current draw and pass it to every source in the next block. They are optional and few, so they cost little and leave the cache intact, and they give the sources’ attention somewhere to go other than the data [135 , 30 ] .
Embeddings
What each token holds decides what the attention can resolve: a posterior a small fraction of a bin wide requires frequency at sub-bin resolution in every embedding (Table 9 , Section G).
Table 9. What each token is built from. Frequencies use sinusoids with periods octave-spaced in hertz from 1/64 of a bin up to past twice the top bin of the band (period counts for the narrow and the full band).
Data tokens. The window is cut into patches of 16 consecutive frequency bins, one token each. An inverse Fourier transform over the patch turns its bins into as many time samples per channel, a short-time Fourier transform (STFT) with the tokens as its bands Equation (51) . It is critically sampled and untapered, so it is invertible and keeps the noise white, and it puts each source parameter in a simple form: the sub-bin frequency is a phase slope over the samples, the initial phase its intercept, and the sky position a slow annual modulation. Loud sources are far above the unit noise, so each complex sample enters as a compressed amplitude, asinh ∣ y ~ ∣ \operatorname{asinh}|\tilde{y}| asinh ∣ y ~ ∣ , and a gated phase, y ~ 1 + ∣ y ~ ∣ 2 \frac{\tilde{y}}{\sqrt{1+|\tilde{y}|^2}} 1 + ∣ y ~ ∣ 2 y ~ Section G.1.
Source tokens. A source token is a linear map of the slot’s point in the frame, Z s Z_s Z s , the same point in the flow coordinates, X = μ + σ Z s X=\mu+\sigma Z_s X = μ + σ Z s , the higher harmonics of its two helicity phases, and its frame ( μ , log σ ) (\mu,\log\sigma) ( μ , log σ ) through a stop-gradient Section G.3. It carries no slot label: a source is told apart by its frame and its frequency.
Global frequency. Whitening and windowing remove the absolute frequency from the data, yet the response width, the prior’s drift and the amplitude a source needs to be seen all depend on it. It enters as sinusoids with octave-spaced periods, from 1/64 of a bin to past twice the top of the band, in three places: the edges of each data token, the f 0 f_0 f 0 of each source token, and the window edges in ν f \nu_f ν f . The finest periods resolve a source’s position inside a bin; the coarsest locate the window in the band.
Rotary attention. Inside the attention, rotary embeddings [99 ] (Su et al. 2024) rotate the queries, keys and values of the data and source tokens by their frequency, a data token’s centre and a source’s f 0 f_0 f 0 , and rotate each output back by the query’s angle. A score then depends only on the frequency separation of two tokens, so a source finds the data near its f 0 f_0 f 0 , and its neighbours by their distance in bins, with the same weights anywhere in the band. The rotation uses absolute frequencies reduced modulo each period in double precision, so periods shorter than a token still resolve frequency inside a patch Section G.6. The registers and the sinks carry no position.
Flow time. The time enters ν \nu ν as sinusoids of s s s and of log 10 ( 1 − s ) \log_{10}(1-s) log 10 ( 1 − s ) , clipped at 6 decades, which resolves the end of the path, where the fine structure of a narrow posterior forms Section G.5.
Training
Every window is simulated afresh on the device, inside the compiled training step, so no window is seen twice and the training set is the prior itself Section D.4. Centres f w f_w f w drawn from the catalogue’s f 0 f_0 f 0 marginal would mostly hold no visible source, so we weight the marginal by the chance that a source there is visible, and draw a share of the centres log-uniformly over the band so that training also sees windows with nothing to resolve Equation (36) . The weights choose which windows training sees, not their sources, so the posterior given a window is unchanged Section D.2. The window receives S S S sources from the prior, their responses and a noise draw, and is whitened. Unlike Delmond et al. [37 ] , who precompute a bank of responses and keep sources within an SNR range, we apply no cut: most of a window’s sources lie below the noise, and for them the flow must return the prior.
Each window in a batch is paired with several draws of time and base point, which share its cached data side Section H.1. The optimiser is Muon [62 , 90 ] for the hidden weight matrices and AdamW for the rest, with a warmup, a constant learning rate and a cooldown to zero [55 ] , and the model is evaluated at the checkpoint with the lowest loss on held-out windows Sections H and I.4.
Experimental Results
We train the size-B network (8 blocks of width 512 with 8 heads, about 133 M parameters; Table 10 ) on the two configurations of § 4.3 , the narrow band with S = 2 S=2 S = 2 , 4 and 8 sources per window and the full band with S = 4 S=4 S = 4 , 8 and 16, one training run each Section K.1.
Validating Without the Truth
A joint posterior over 8 S 8S 8 S parameters has no closed form, so we score each model in two passes § 21 . The validation pass ranks the truth among 127 draws for each of 1000 windows simulated from the prior, in the flow coordinates and in data space (SBC, TARP, and ranks of the overlap and the log-likelihood). The reference pass compares the flow with joint MCMC on 128 evaluation windows Section J: the ratio of the flow’s to the chains’ width, 1.4826 MAD of the draws, and the Jensen–Shannon (JS) divergence of the marginals. A source is found when the flow’s f 0 f_0 f 0 width is below one bin, and an f 0 f_0 f 0 draw is off-peak when it lies more than five chain widths and half a bin from the chains’ median.
Neither pass alone is sufficient. On mock posteriors with known defects the coordinate ranks accept a posterior that returns the prior or shuffles parameters between draws, and coverage after relabelling reads a width floor on loud sources as conservative (Table 15 and Table 16 ). Data-space ranks catch the first two; only a width ratio against a reference shows the third. The Gaussian mock is not a clean null, so a flow’s data-space ranks are read against its offset.
Table 15. Rejection rates of the validation tests on the exact-posterior toy, per error injected into the draws. Coordinate ranks give the range over the eight flow coordinates; overlap and own SNR are per slot, the log-likelihood per window.
Table 16. The mock ladder on the narrow band. Width over the ideal width (Equation (57) ): median over the 16 scorecard sources with ρ ≥ 40 \rho\ge40 ρ ≥ 40 . Coverage: share of sources inside the central 68 % interval after relabelling. Validation p p p -values: the smallest over the eight coordinate ranks, TARP, and the overlap and log-likelihood ranks. Flow over MCMC: range over the eight physical parameters of the median width ratio against the joint reference chains, over the eval sources with ρ ≥ 7 \rho\ge7 ρ ≥ 7 (Section K.2).
The reference holds only where the chains have converged.
For the narrow band with S = 8 S = 8 S = 8 and the full band with S = 16 S = 16 S = 16 the chains started from Fisher draws never leave that start for faint sources: below ρ = 3 \rho= 3 ρ = 3 their f 0 f_0 f 0 widths are 0.19 and 0.60 of the prior’s, against 0.87 and 0.99 for the flow. We therefore compare from ρ = 7 \rho= 7 ρ = 7 up, where prior-started chains confirm the reference for S = 8 S = 8 S = 8 ; for the full band with S = 16 S = 16 S = 16 they come out wider, so its ratios up to ρ ≈ 20 \rho\approx20 ρ ≈ 20 are upper bounds on the flow’s excess width (Section K.2). The chains serve as a rough reference for the flow’s widths, not as a posterior in their own right, so we do not refine them further.
Narrow Band
With two sources per window the flow’s posteriors match the joint chains, and the match degrades as sources are added (Table 4 and Figure 14 ).
Table 4. Summary of the six models. Model: the 64-epoch main run, its fork cooled from epoch 32 (e32) or the continuation from epoch 44 (t44), with the epoch evaluated in brackets (Section K.1). Every model is scored on the same 128 evaluation windows with joint MCMC and 1000 prior windows of the SBC. JS: Jensen–Shannon divergence in bits between the flow’s and the chains’ one-dimensional marginals, median over the sources at ρ = 7 \rho= 7 ρ = 7 –15 and ρ ≥ 15 \rho\ge15 ρ ≥ 15 of the mean over the eight coordinates (Table 20 ); 0.011 from sampling noise alone. SBC: share of true coordinates inside the central 68 % of the draws and the smallest γ \gamma γ -test p p p -value over the eight coordinates, for the flow on the prior windows and for the joint MCMC on the evaluation windows (Section K.4).
Figure 14. (a), (b) Flow over joint-MCMC width of f 0 f_0 f 0 and of the right ascension against the source SNR, for the models of Table 19 . (c) The eval-catalogue loss of the cooldown forks against the epoch at which their cooldown starts, and of the main runs at theirs (Section K.6); the full band with S = 4 S = 4 S = 4 has no cooled main run (its Student-t continuation’s logged loss does not compare, Section F.2).
At ρ = 7 \rho= 7 ρ = 7 –40 40 40 and S = 2 S = 2 S = 2 every width ratio lies in 1.00–1.17, and the off-peak share of loud f 0 f_0 f 0 draws, 7 %, is close to the chains’ own 5 %. With S = 8 S = 8 S = 8 the f 0 f_0 f 0 width is 2.1 times the chains’ at ρ = 7 \rho= 7 ρ = 7 –15 15 15 , 66 % of those sources are found and 29 % of the loud draws are off-peak. Below ρ = 7 \rho= 7 ρ = 7 the flow returns the prior, as do the chains. The sky is the weakest parameter, with an excess that grows with the SNR at every S S S (Figure 14 b). The JS divergence ranks the models the same way (Section K.3).
Figure 5 shows all four sources of one window with S = 4 S = 4 S = 4 , the one among those whose four sources are visible where the flow overlaps the chains best: the flow places every source where the chains have it, with their widths and correlations. The closest loud pair of the same model and the windows of the other models, chosen by rule, are in Section K.5.
Figure 5. Flow and joint MCMC (filled) on one eval window of the narrow band, S = 4 S = 4 S = 4 : 68 % and 95 % contours of the eight parameters with the four sources’ draws pooled, so each source is one cluster; crosses and dotted lines mark the truths. f 0 f_0 f 0 is in bins from the window start, the sky in ecliptic coordinates, and ψ \psi ψ , ϕ 0 \phi_0 ϕ 0 are folded onto the copy nearest the truth. The legend names the window and the sources’ SNRs.
Full Band
On the full band the flow is close to the chains for faint sources but does not yet resolve the loud ones. At ρ = 15 \rho= 15 ρ = 15 –40 40 40 its f 0 f_0 f 0 widths are 1.2 to 2.4 times the chains’ for S = 4 S = 4 S = 4 to 16; above ρ = 40 \rho= 40 ρ = 40 they are 6.6 to 24 times, and only 50 % of the loud sources are found for S = 16 S = 16 S = 16 (82 % for S = 4 S = 4 S = 4 ).
The misses are at high frequency. Above 10 mHz lie 43 % of the loud sources for S = 16 S = 16 S = 16 but 80 % of those not found, and the excess is mostly the flow’s refinement of its frame: read from the data alone, the frame is wide by design on loud sources, and the flow narrows it 15-fold below that frequency but only 2-fold above (Section K.2). These sources have the widest responses, some beyond the R R R of this configuration (§ 4.3 ), and the prior produces few of them, so training sees few examples; § 8 proposes how to give it more.
Calibration
Coverage is nominal in all six problems, yet the data disagree with every flow slightly. After relabelling, every model covers 0.67–0.68 of the true coordinates at the 68 % level, even where the loud full-band f 0 f_0 f 0 widths are several times the chains’: as the mocks predicted, coverage does not see excess width.
The data-space ranks do (Table 21 , Figure 15 ). With 1000 windows the γ \gamma γ test (Sailynoja et al., [109 ] ) rejects even the Gaussian mock, so we read the offset of the mean rank from one half, positive when the truth fits the data better than the draws do. Every flow’s log-likelihood offset exceeds its mock’s by +0.07 to +0.20, and its overlap offset is +0.15 to +0.20 against the mock’s +0.04 to +0.05, the narrow band with S = 2 S = 2 S = 2 included although its marginals have the chains’ widths. No single group of coordinates carries the offset: a draw with a displaced f 0 f_0 f 0 carries a phase that partly makes up for it, so each draw is a coherent fit displaced from the truth along a direction that mixes the groups (Section K.4). Whether another chart or loss removes the offset is open.
Table 21. The validation pass of the models of Table 19 : 1000 prior injections per model, 127 draws each, ranks of the truth among the draws (§ 21 ), p p p -values of the ECDF γ \gamma γ test. Strata are by the draws’ median own SNR, a function of the data alone; n n n is the number of sources in the stratum. Coordinates: the smallest p p p of the eight flow coordinates. TARP per source and joint over the window. Overlap and own SNR per source, log-likelihood per window. Offset: the mean rank over the number of draws minus one half (+0.5: the truth’s overlap or log-likelihood beats every draw’s); middle: the share of log-likelihood ranks in the middle half (one half for a calibrated posterior). Under each model’s first row, the Gaussian mock of § 21 .§ 3 on the same problem and injections.
Figure 15. ECDF of the truth’s rank among the 127 draws, minus the uniform ECDF, for the joint log-likelihood (top, one rank per window) and the overlap (bottom, one rank per source) of the validation pass of Table 21 : each band and source count’s model (solid) and its Gaussian mock on the same injections (dashed), with the simultaneous 95 % band of the γ \gamma γ test for uniform ranks (shaded). Below zero, the ranks pile up high: the true signal fits the data better than the drawn ones. Every curve leaves the band, the mock’s too; the flows’ log-likelihood curves run below their mocks’, and their overlap curves well below.
By frequency and SNR. Coverage and p min p_{\min} p m i n in Table 4 pool every source of a problem, but the posterior’s difficulty changes with frequency and loudness. Figure 6 splits the SBC of each model by both, each source binned by its draws’ median f 0 f_0 f 0 and SNR, which depend on the data alone: binning by the true values would condition on the truth, and even exact posteriors would fail. Of the 100 cells with enough sources, 14 have p min < 0.01 p_{\min} < 0.01 p m i n < 0.01 , against about 8 expected for exact posteriors, and 3 fall below the test’s resolution of 0.001. They follow no pattern in frequency, SNR or coordinate, so binning reveals no region where the flow is miscalibrated beyond the pooled offset above.
Figure 6. SBC by frequency and SNR for the six models of Table 4 on the same 1000 prior windows: in each cell, the smallest γ \gamma γ -test p p p -value over the eight flow coordinates and, in brackets, the number of sources. Rows are five f 0 f_0 f 0 ranges, log-uniform over the band; columns are five SNR ranges holding about the same number of sources. Both are the draws’ medians, so the binning depends on the data alone. Cells with fewer than 20 sources are left blank, and the test resolves p p p down to 0.001. With eight coordinates per cell, an exact posterior gives p min < 0.01 p_{\min} < 0.01 p m i n < 0.01 in up to about one cell in thirteen.
Cost of a Posterior
A posterior costs a fraction of a second. 256 draws of a narrow-band window took 0.22 s on one GPU and of a full-band window 0.25 s (Figure 12 ), with the widths settled by 32 to 64 sampler steps (§ 21 .§ 5 ). A joint MCMC chain of one evaluation window takes 4.3 to 9.5 h on two CPU cores in the narrow band, and about 33 to 40 h in the full band with S = 16 S = 16 S = 16 (Section J.4).
Figure 12. Wall time to draw posterior samples of one window, against model size: the flow on one A100 (orange; full band filled markers, narrow band hollow; best of three windows), and the joint MCMC reference over all sources of a window on two CPU cores (blue; median and range over the chains, one per injection). Measured on an earlier revision of the network, whose sizes had the parameter counts on the axis; Table 10 gives those of the reported network.
Conclusions and Discussion
Conditional flow matching returns joint posteriors of overlapping GBs under the full instrument response, with no likelihood evaluation and in a fraction of a second per window. The chart, the frequency order and the frame turn a posterior that is multimodal by symmetry and decades narrower than its prior into one that a flow on straight paths can learn, and the one-way network makes each draw cost only the source side. On the core subproblem with two sources per window the posteriors have the widths of a joint MCMC; they widen as sources are added, and over the whole band the loudest sources are not yet resolved.
Limitations. The flow falls short of the chains where the posterior is narrowest. In the narrow band its f 0 f_0 f 0 widths reach 2.1 times the chains’ with eight sources per window, and the sky two to three times above ρ = 40 \rho= 40 ρ = 40 . In the full band the f 0 f_0 f 0 of sources above ρ = 40 \rho= 40 ρ = 40 is 6.6 to 24 times too wide, and with S = 16 S = 16 S = 16 only 50 % of them are found. The misses lie above 10 mHz, where training sees few loud sources and the flow refines its frame least (§ 7.3 ). In every model the drawn signals fit the data slightly worse than the true one, which the marginal widths do not show (§ 7.4 ).
The evidence has limits of its own. Our tests are necessary conditions; only the reference chains give widths, they exist for 128 windows per model, and for the faint sources of the largest problems they are themselves unreliable (§ 7.1 ). Every result comes from one training run per configuration, so the run-to-run spread is not measured; a second seed, the narrow band with S = 2 S = 2 S = 2 first, would show which differences are real (Section K.6). Out of distribution, the flow tolerates sources past its prior but turns confident and wrong when the noise is louder than its assumed PSD (§ 21 .§ 5 ). Finally, the simulator is simpler than real LISA data, and it generates the training data, the test windows and the reference chains’ likelihood alike. Its simplifications therefore limit realism, not the consistency of the comparison.
Proposed follow-ups. The first step is realistic orbits, with unequal and time-varying arms and TDI generation 2 (Section B.3), and data gaps. We expect both to enter through the training simulations, with no change to the cost of a draw or to how its posteriors are checked. A sampler needs each effect written into its likelihood: gaps break the stationarity that makes Equation (6) diagonal, and whatever the likelihood leaves out biases the chains [9 , 39 ] .
The second step is the window, which now has a fixed length and exactly S S S binaries. A global fit needs a number of sources that follows the density of the Galaxy, a length that follows the width of the responses, and sources that straddle an edge or leak in from a neighbour; windows also overlap, a stride of 2 responses apart, so each source is inferred in several and their posteriors must be combined [88 ] . Beyond these come the confusion foreground of the unresolved binaries [125 , 64 ] and the other source classes, noise that is estimated with the sources and is non-stationary with glitches (Section C), the cubic phase of f ¨ = 11 3 f ˙ 2 / f 0 \ddot{f} = \frac{11}{3}\dot{f}^{2}/f_0 f ¨ = 3 11 f ˙ 2 / f 0 , which matters most at the top of the band, and responses longer than R R R bins, which the widest sources of the full band now lose (Section B.2).
Three changes to the training recipe come next. Slot order. Slots in order of f 0 f_0 f 0 (§ 5.1 ) give each slot a fixed share of the window, whether or not a source there is visible. In order of SNR, the first slots would hold the visible sources and the last ones the prior, which suits a varying number of sources, but two sources of similar SNR can swap slots between noise draws, and the posterior would again hold both labellings.
Frame loss. In the frame’s weighted Gaussian likelihood (Equation (45) ), one entry whose frame collapses far below its error can fill a clipped step on its own (Section F.2). A Student-t loss bounds those steps and gave the best full-band model, but was tried only on the full band with S = 4 S = 4 S = 4 .
Window prior. Training centres most windows where visible sources are common (Equation (36) ), so the edges of the band see few windows, and the loud sources the flow misses above about 10 mHz are ones the prior rarely produces (§ 7.3 ). Moving the weights of Equation (36) towards log-uniform, or a device per subband, which stratifies every batch over the spectrum, would test whether more examples close the gap.
Two extensions reach beyond the GBs. Other source classes. The architecture already treats sources as one token stream among the data and frame streams (§ 6.2 ); massive black-hole binaries, extreme mass-ratio inspirals and other classes would each enter as a stream of their own, with their own parameter embeddings, attending to the same data and to each other, so the posterior of one class accounts for the others as a global fit does. Population. The prior is now fixed, fitted once to a simulated catalogue (Equation (4) ). Making its parameters, such as the shape of the Galaxy and the distribution of f 0 f_0 f 0 , f ˙ \dot{f} f ˙ and A \mathcal{A} A , random variables drawn per training window, and inferring them jointly with the sources, would turn the flow into a hierarchical model that learns the population from the resolved binaries rather than assuming it.
Acknowledgements
We thank Matteo Barbon, Iuliu Cuceu, Coen Rondeel, Natalia Korsakova, Alice Perego and Riccardo Ali for useful discussions, and Nina Kunert for generating the catalogue from which we built the approximate GB prior.
Software and Data
The code is at https://github.com/davidesartor/canna: the simulator, network, training and evaluation, and the scripts that make every number, figure and table in this paper. It is written in JAX [14 ] with Equinox [68 ] , Optax [35 ] and Orbax [46 ] . The GB response is JaxGB’s [12 ] on the orbits of LISA Orbits [11 , 96 ] , and the reference chains run on jexplore [85 ] .
Impact Statement
This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.
References
Related Work
This appendix compares our work with the prior work that bears on its claims: the likelihood-based and simulation-based inference of GBs (Table 5 ), how crowded our windows are against what earlier SBI work tested (Figure 7 ), and the methods from which each ingredient of ours is taken or departs (Table 6 ). It supports § 2 .
Table 6. The methods behind each ingredient of ours, and where we depart from them.
Inference of Galactic Binaries
Likelihood-based inference. The LISA global fit samples all resolvable sources with reversible-jump (Green, [51 ] ), parallel-tempered (Earl & Deem, [41 ] ) MCMC, segment by segment for the GBs and jointly with the other source classes and the noise ([88 , 89 , 66 , 120 , 38 ] ). Neural density estimators enter it as fitted priors, proposals and compact catalogues, each flow fitted to one source’s chains ([76 , 110 ] ) show on non-GB benchmarks that learned birth proposals help once the fit has equilibrated rather than while it is assembled. We use the sampler only as a reference (§ 21 and J), a joint MCMC over all 8S parameters of each evaluation injection. A window posterior from SBI could in turn serve a global fit as a proposal or as the initial state of its chains.
The global-fit problem. The Milky Way holds tens of millions of double white dwarfs in the LISA band ([101 , 74 , 78 ] ); the simulated Galaxy behind our prior holds 9 × 10 6 9 \times10^6 9 × 1 0 6 between 0.1 mHz and 16 mHz. Over 2 yr that band spans about 10 6 10^6 1 0 6 Fourier bins, and below a few millihertz a window of 256 bins holds 54 to 3547 of them (§ 4.2 ). Only 0.84 % reach an SNR of 7 alone in their window; the rest form a confusion foreground ([125 , 64 ] ). Of order 10 4 10^4 1 0 4 will be resolved, with eight parameters each: a posterior over some 10 5 10^5 1 0 5 dimensions in which the number of sources is itself unknown. The same data hold other source classes, a noise PSD to be estimated alongside them, gaps and glitches ([23 , 9 , 39 , 10 ] ), which the global fit infers together.
The pipelines that have analysed the year-long Sangria data challenge (Baghi [8 ] ) are compared in Table 1 . Of the four, GLASS (Littenberg & Cornish [89 ] ) and the pipeline of Strub et al. [120 ] are CPU samplers, Erebor runs on GPUs (Katz et al. [66 ] ), and Gee-Moo splits the band into 4663 narrow segments (Deng et al. [38 ] ). Erebor and Gee-Moo now also fit the consortium’s Mojito Light data (LISA Consortium DDPC CU L2D/L3C [86 ] ), with at most five GBs per segment for Gee-Moo where Erebor allows fifteen to twenty.
Simulation-Based Inference for Galactic Binaries
Delmond et al. [37 ] train a neural spline flow on the frequency-domain A A A and E E E data of a narrow band. For one source their posteriors match an MCMC at 1 mHz, come out slightly wider at 5 mHz and clearly wider in f 0 f_0 f 0 and sky at 10 to 15 mHz and over a 0.5 mHz band. For two sources they impose f 0 , 1 ≤ f 0 , 2 f_{0,1} \le f_{0,2} f 0 , 1 ≤ f 0 , 2 , since an unordered flow put one mode on each labelling; their pair 15.8 bins apart is close to MCMC, the pair 6.3 bins apart broad and sometimes biased. Mao et al. [95 ] apply FMPE to gapped data of one source with three free parameters. SlotFlow (Houba et al. [58 ] ) infers the number of components with a classifier and gives each a slot of a shared flow trained with Hungarian matching; its posterior factorises over the slots given a shared context, which cannot carry correlations between close sources, and on sinusoid mixtures its frequency widths are two to three times those of reversible-jump Markov chain Monte Carlo (RJMCMC). None of these has, to our knowledge, been extended to a joint posterior over more than two sources under the LISA response.
Crowding. Our sources are drawn from the prior, not placed by hand, and Figure 7 shows what that implies. Over the whole band the closest two sources of a window are a median 21 bins apart, and 18 % of windows hold a pair closer than Delmond et al.’s hardest. A window is 4 R 4R 4 R bins wide, so the median doubles from one subband to the next, from 2.6 bins in the low tail to 41 in the high tail, and 6 % of core windows hold a pair within one bin. Among the Galaxy’s resolvable sources overlap is rarer: fewer than 1 % of pairs above SNR 7 have a match above one half after a year ([88 ] ).
Overlap costs the flow width. On the narrow band, sources at ρ ≥ 7 \rho\ge7 ρ ≥ 7 whose nearest injected neighbour is more than 10 bins away have f 0 f_0 f 0 posteriors 1.1 (S = 4 S = 4 S = 4 ) and 1.3 (S = 8 S = 8 S = 8 ) times the joint MCMC’s width; within 3 bins, 3.1 and 3.3 times (18 and 80 sources; models of Table 19 ). The chains resolve such pairs, so the excess is the flow’s. On the full band the separation is mixed up with frequency, since the loud sources the flow misses sit at high f 0 f_0 f 0 (Section K.2).
Table 19. Flow over joint-MCMC width per parameter, median over the sources of each band of source SNR (n n n sources), for the model reported for each band and source count, named under it (main: the 64-epoch run; e32: its fork cooled from epoch 32; t44: full S = 4 S = 4 S = 4 ’s continuation from epoch 44) with the epoch evaluated in brackets (Section K.1). Found: share of the sources with an f 0 f_0 f 0 width below one bin. Coverage: share of true flow coordinates inside the central 68 % and 95 % intervals, over the eight coordinates and the sources of the band, after relabelling to the truth (optimistic, § 21 .§ 1 ). α \alpha α and δ \delta δ are equatorial. Below ρ = 7 \rho= 7 ρ = 7 (not shown) the ratios are 0.96–1.08 for every parameter of the other four models. For narrow S = 8 S = 8 S = 8 (f 0 f_0 f 0 ratio 5.6) and full S = 16 S = 16 S = 16 (f 0 f_0 f 0 2.0) the chains are stuck at their Fisher start there and the ratios measure the reference, not the flow (Section K.2).
Methods We Build On
Beyond GBs, Table 6 sets each ingredient of our recipe against its closest precedents. Two points need more than a table row.
SBI is established for ground-based detectors ([21 , 53 , 52 , 45 , 31 , 34 ] ) and for LISA’s massive black-hole binaries ([82 , 116 ] (Du et al. 2024)), but their overlapping-signal analyses cover pairs ([79 , 3 , 102 ] ), and Papalini et al. [102 ] , the closest in spirit, use a discrete flow, a fixed pair and neither a per-source frame nor ordered slots. And the one precedent for a data-dependent frame, labrador ([108 ] ), heterodynes the data against a reference waveform and folds the parameter space to remove multimodality, but takes its reference from a per-event optimisation where our frame comes from the network.
Recent Work
Neural posterior estimation is now deployed in production for the follow-up of low-latency alerts ([97 ] ), and a GPU nested sampler returns binary-neutron-star posteriors from an uninformed prior in minutes ([136 ] ). For one source, speed alone is a weakening argument for SBI; the joint posterior of many overlapping sources, whose chains take hours (Section J.4), is where it still pays. Kolmus et al. [73 ] find that the accuracy of neural posterior estimation follows how many similar samples the training prior supplies for each region, which bears on our catalogue prior, where loud sources are rare (Section D). Around the GB problem, autoencoders trained on simulated confusion-limited segments learn a latent representation of the foreground that helps flag resolvable sources ([19 a] ), a continuous-time trans-dimensional sampler is motivated by the global fit ([5 ] ), and sequential inference is adequate where sources couple weakly, as found for extreme mass-ratio inspirals and massive black-hole binaries in simulated data ([1 ] ), unlike overlapping GBs. Fast wavelet-domain templates [25 ] with a differentiable wavelet transform [130 ] could replace our heterodyned simulator, and consistency models [111 ] would cut our 32 sampler steps to a few; we have tried neither.
The Galactic-Binary Signal and the LISA Response
This appendix defines the simulator of § 3 , so that it can be re-implemented: the waveform, the response of one laser link and its heterodyned form, the TDI channels, and the windows the band is cut into. It ends with the accuracy of the truncated response, which backs the choice of R R R in § 4 .
The transverse-traceless strain of a GB at the observer is
h i j ( ξ ) = h + ( ξ ) e i j + + h × ( ξ ) e i j × , ξ = t − k ^ ⋅ x ( t ) c (15) h_{ij}(\xi) = h_{+}(\xi)e^{+}_{ij} + h_{\times}(\xi)e^{\times}_{ij}, \qquad\xi= t - \frac{\hat{\boldsymbol{k}}\cdot\boldsymbol{x}(t)}{c} \tag*{(15)} h ij ( ξ ) = h + ( ξ ) e ij + + h × ( ξ ) e ij × , ξ = t − c k ^ ⋅ x ( t ) (15)
with k ^ \hat{\boldsymbol{k}} k ^ the direction of propagation, x ( t ) \boldsymbol{x}(t) x ( t ) the observer’s position and e i j + , × e^{+,\times}_{ij} e ij + , × the polarisation tensors of the source frame. For a circular binary with a constant frequency derivative,
h + ( ξ ) = − A ( 1 + cos 2 ι ) cos Ψ ( ξ ) , h × ( ξ ) = − 2 A cos ι sin Ψ ( ξ ) , Ψ ( ξ ) = − ϕ 0 + 2 π f 0 ξ + π f ˙ ξ 2 . (16) \begin{aligned}
h_{+}(\xi) &= -\mathcal{A}(1+\cos^{2}\iota)\cos\Psi(\xi),\\
h_{\times}(\xi) &= -2\mathcal{A}\cos\iota\sin\Psi(\xi),\\
\Psi(\xi) &= -\phi_{0}+2\pi f_{0}\xi+\pi\dot{f}\xi^{2}. \tag*{(16)}
\end{aligned} h + ( ξ ) h × ( ξ ) Ψ ( ξ ) = − A ( 1 + cos 2 ι ) cos Ψ ( ξ ) , = − 2 A cos ι sin Ψ ( ξ ) , = − ϕ 0 + 2 π f 0 ξ + π f ˙ ξ 2 . (16)
Radiation reaction ties the drift and the amplitude to the chirp mass M \mathcal{M} M and the luminosity distance d L d_{L} d L [94 ] ,
f ˙ = 96 5 π 8 / 3 ( G M c 3 ) 5 / 3 f 0 11 / 3 , A = 2 ( G M ) 5 / 3 c 4 d L ( π f 0 ) 2 / 3 , (17) \dot{f} = \frac{96}{5}\pi^{8/3}\left(\frac{G\mathcal{M}}{c^{3}}\right)^{5/3}f_{0}^{11/3}, \qquad\mathcal{A} = \frac{2(G\mathcal{M})^{5/3}}{c^{4}d_{L}}(\pi f_{0})^{2/3}, \tag*{(17)} f ˙ = 5 96 π 8/3 ( c 3 G M ) 5/3 f 0 11/3 , A = c 4 d L 2 ( G M ) 5/3 ( π f 0 ) 2/3 , (17)
but the simulator keeps f ˙ \dot{f} f ˙ and A \mathcal{A} A free, with the prior of Section D.1.
The sky position ( α , δ ) (\alpha,\delta) ( α , δ ) defines the orthonormal triad
u ^ = ( sin α , − cos α , 0 ) , v ^ = ( − sin δ cos α , − sin δ sin α , cos δ ) , k ^ = ( − cos δ cos α , − cos δ sin α , − sin δ ) (18) \hat{\boldsymbol{u}} = (\sin\alpha,-\cos\alpha,0), \qquad\hat{\boldsymbol{v}} = (-\sin\delta\cos\alpha,-\sin\delta\sin\alpha,\cos\delta), \qquad\hat{\boldsymbol{k}} = (-\cos\delta\cos\alpha,-\cos\delta\sin\alpha,-\sin\delta) \tag*{(18)} u ^ = ( sin α , − cos α , 0 ) , v ^ = ( − sin δ cos α , − sin δ sin α , cos δ ) , k ^ = ( − cos δ cos α , − cos δ sin α , − sin δ ) (18)
in the equatorial frame of the orbit files, with ϵ + = u ^ ⊗ u ^ − v ^ ⊗ v ^ \epsilon^{+}=\hat{\boldsymbol{u}}\otimes\hat{\boldsymbol{u}}-\hat{\boldsymbol{v}}\otimes\hat{\boldsymbol{v}} ϵ + = u ^ ⊗ u ^ − v ^ ⊗ v ^ and ϵ × = u ^ ⊗ v ^ + v ^ ⊗ u ^ \epsilon^{\times}=\hat{\boldsymbol{u}}\otimes\hat{\boldsymbol{v}}+\hat{\boldsymbol{v}}\otimes\hat{\boldsymbol{u}} ϵ × = u ^ ⊗ v ^ + v ^ ⊗ u ^ . The source frame is rotated by ψ \psi ψ about k ^ \hat{\boldsymbol{k}} k ^ , so e + = cos 2 ψ ϵ + + sin 2 ψ ϵ × e^{+}=\cos2\psi\,\epsilon^{+}+\sin2\psi\,\epsilon^{\times} e + = cos 2 ψ ϵ + + sin 2 ψ ϵ × and e × = − sin 2 ψ ϵ + + cos 2 ψ ϵ × e^{\times}=-\sin2\psi\,\epsilon^{+}+\cos2\psi\,\epsilon^{\times} e × = − sin 2 ψ ϵ + + cos 2 ψ ϵ × , and h i j = Re { ( A + e i j + + A × e i j × ) e i Ψ } h_{ij}=\operatorname{Re}\{(A_{+}e^{+}_{ij}+A_{\times}e^{\times}_{ij})e^{i\Psi}\} h ij = Re {( A + e ij + + A × e ij × ) e i Ψ } with
A + = − A [ ( 1 + cos 2 ι ) cos 2 ψ + 2 i cos ι sin 2 ψ ] , A × = − A [ ( 1 + cos 2 ι ) sin 2 ψ − 2 i cos ι cos 2 ψ ] . (19) A_{+}=-\mathcal{A}\left[(1+\cos^{2}\iota)\cos2\psi+2i\cos\iota\sin2\psi\right], \qquad A_{\times}=-\mathcal{A}\left[(1+\cos^{2}\iota)\sin2\psi-2i\cos\iota\cos2\psi\right]. \tag*{(19)} A + = − A [ ( 1 + cos 2 ι ) cos 2 ψ + 2 i cos ι sin 2 ψ ] , A × = − A [ ( 1 + cos 2 ι ) sin 2 ψ − 2 i cos ι cos 2 ψ ] . (19)
In the circular basis ϵ R , L = ( ϵ + ± i ϵ × ) / 2 \epsilon^{R,L}=(\epsilon^{+}\pm i\epsilon^{\times})/2 ϵ R , L = ( ϵ + ± i ϵ × ) /2 this is
A + ϵ + + A × ϵ × = − A [ ( 1 + cos ι ) 2 e 2 i ψ ϵ L + ( 1 − cos ι ) 2 e − 2 i ψ ϵ R ] , (20) A_{+}\epsilon^{+}+A_{\times}\epsilon^{\times}=-\mathcal{A}\left[(1+\cos\iota)^{2}e^{2i\psi}\epsilon_{L}+(1-\cos\iota)^{2}e^{-2i\psi}\epsilon_{R}\right], \tag*{(20)} A + ϵ + + A × ϵ × = − A [ ( 1 + cos ι ) 2 e 2 i ψ ϵ L + ( 1 − cos ι ) 2 e − 2 i ψ ϵ R ] , (20)
so the data depend on ( A , ι , ψ , ϕ 0 ) (\mathcal{A},\iota,\psi,\phi_{0}) ( A , ι , ψ , ϕ 0 ) only through the two complex numbers A ( 1 ± cos ι ) 2 e − i ( ϕ 0 ∓ 2 ψ ) \mathcal{A}(1\pm\cos\iota)^{2}e^{-i(\phi_{0}\mp2\psi)} A ( 1 ± cos ι ) 2 e − i ( ϕ 0 ∓ 2 ψ ) , up to normalisation the complex conjugates of the flow’s helicity amplitudes ζ ∓ \zeta_{\mp} ζ ∓ of Equation (9) , with the phase referred to the start rather than mid-observation.
Link Response and Heterodyning
LISA measures relative frequency fluctuations on six laser links. For link i j ij ij , received at spacecraft i i i at time t i t_i t i and emitted at j j j at t j = t i − L i j t_j=t_i-L_{ij} t j = t i − L ij , the response is [43 , 24 ]
y i j ( t i ) = − 1 2 H i j ( ξ i ) − H i j ( ξ j ) 1 − k ^ ⋅ x ^ i j , H i j ( ξ ) = x ^ i j k x ^ i j l h k l ( ξ ) , (21) y_{ij}(t_i)=-\frac{1}{2}\frac{H_{ij}(\xi_i)-H_{ij}(\xi_j)}{1-\hat{\boldsymbol{k}}\cdot\hat{\boldsymbol{x}}_{ij}}, \qquad H_{ij}(\xi)=\hat{x}_{ij}^{k}\hat{x}_{ij}^{l}h_{kl}(\xi), \tag*{(21)} y ij ( t i ) = − 2 1 1 − k ^ ⋅ x ^ ij H ij ( ξ i ) − H ij ( ξ j ) , H ij ( ξ ) = x ^ ij k x ^ ij l h k l ( ξ ) , (21)
with x ^ i j \hat{\boldsymbol{x}}_{ij} x ^ ij the unit vector from emitter to receiver. We take the emitter’s position at the time of reception and all six light travel times equal and constant, L = 2.5 G m / c L=2.5\,\mathrm{Gm}/c L = 2.5 Gm / c , so the transfer frequency is f ⋆ = ( 2 π L ) − 1 = 19.1 m H z f_{\star}=(2\pi L)^{-1}=19.1\,\mathrm{mHz} f ⋆ = ( 2 π L ) − 1 = 19.1 mHz . With A i j = A + F i j + + A × F i j × A_{ij}=A_{+}F^{+}_{ij}+A_{\times}F^{\times}_{ij} A ij = A + F ij + + A × F ij × , where F i j + F^{+}_{ij} F ij + and F i j × F^{\times}_{ij} F ij × are the antenna patterns, and α i j = π L ( 1 − k ^ ⋅ x ^ i j ) ( f 0 + f ˙ ξ i ) \alpha_{ij}=\pi L(1-\hat{k}\cdot\hat{x}_{ij})(f_0+\dot{f}\xi_i) α ij = π L ( 1 − k ^ ⋅ x ^ ij ) ( f 0 + f ˙ ξ i ) , the response separates, for q = rint ( f 0 T o b s ) q=\operatorname{rint}(f_0T_{\mathrm{obs}}) q = rint ( f 0 T obs ) , into a carrier and a slow envelope, y i j ( t ) = Re { G i j ( t ) e 2 π i q t / T o b s } y_{ij}(t)=\operatorname{Re}\{G_{ij}(t)e^{2\pi iqt/T_{\mathrm{obs}}}\} y ij ( t ) = Re { G ij ( t ) e 2 π i q t / T obs } , with
G i j ( t ) = − 1 2 f 0 + f ˙ ξ i f ⋆ A i j sinc α i j exp { − i [ α i j + 2 π f 0 k ^ ⋅ x i ( t ) c − ( − ϕ 0 + 2 π ( f 0 − q T o b s ) t + π f ˙ ξ i 2 ) ] } . (22) G_{ij}(t)=-\frac{1}{2}\frac{f_0+\dot{f}\xi_i}{f_\star}A_{ij}\operatorname{sinc}\alpha_{ij}\exp\left\{-i\left[\alpha_{ij}+2\pi f_0\frac{\hat{k}\cdot\mathbf{x}_i(t)}{c}-\left(-\phi_0+2\pi\left(f_0-\frac{q}{T_{\mathrm{obs}}}\right)t+\pi\dot{f}\xi_i^2\right)\right]\right\}. \tag*{(22)} G ij ( t ) = − 2 1 f ⋆ f 0 + f ˙ ξ i A ij sinc α ij exp { − i [ α ij + 2 π f 0 c k ^ ⋅ x i ( t ) − ( − ϕ 0 + 2 π ( f 0 − T obs q ) t + π f ˙ ξ i 2 ) ] } . (22)
We sample the envelope at t m = m T o b s / R t_m=mT_{\mathrm{obs}}/R t m = m T obs / R and Fourier-transform it with a rectangular window, which gives the positive-frequency spectrum on the R R R bins starting at q − R / 2 q-R/2 q − R /2 ,
y ~ i j ( q + k T o b s ) = T o b s 2 R ∑ m = 0 R − 1 G i j ( t m ) e − 2 π i k m / R , k = − R 2 , … , R 2 − 1 , (23) \widetilde{y}_{ij}\left(\frac{q+k}{T_{\mathrm{obs}}}\right)=\frac{T_{\mathrm{obs}}}{2R}\sum_{m=0}^{R-1}G_{ij}(t_m)e^{-2\pi ikm/R},\qquad k=-\frac{R}{2},\ldots,\frac{R}{2}-1, \tag*{(23)} y ij ( T obs q + k ) = 2 R T obs m = 0 ∑ R − 1 G ij ( t m ) e − 2 π ik m / R , k = − 2 R , … , 2 R − 1 , (23)
normalised to the continuous transform that the noise of Equation (2) refers to.
The envelope varies on the time scale of the orbit, so its spectrum is confined to the annual Doppler sideband ± f 0 v ⊕ / c \pm f_0v_{\oplus}/c ± f 0 v ⊕ / c , the chirp drift f ˙ T o b s \dot{f}T_{\mathrm{obs}} f ˙ T obs , and the antenna-pattern sidebands at harmonics of 1 / y r 1/\mathrm{yr} 1/ yr [28 ] . A source therefore needs
n s p a n ( f 0 , f ˙ ) = 2 ⌈ ( f 0 v ⊕ c + f ˙ T o b s + 4 y r ) T o b s ⌉ ≤ R (24) n_{\mathrm{span}}(f_0,\dot{f})=2\left\lceil\left(\frac{f_0v_{\oplus}}{c}+\dot{f}T_{\mathrm{obs}}+\frac{4}{\mathrm{yr}}\right)T_{\mathrm{obs}}\right\rceil\le R \tag*{(24)} n span ( f 0 , f ˙ ) = 2 ⌈ ( c f 0 v ⊕ + f ˙ T obs + yr 4 ) T obs ⌉ ≤ R (24)
bins, with v ⊕ = 29.8 k m / s v_{\oplus}=29.8\ \mathrm{km/s} v ⊕ = 29.8 km/s . Most responses fall below the noise well inside this bound, so R R R is set by the bins the data see (Section B.5).
Time-Delay Interferometry
TDI cancels the laser frequency noise by combining delayed link responses [126 , 7 ] . With the delay operator D i 1 i 2 ⋯ i n x ( t ) = x ( t − ∑ h L i h i h + 1 ) D_{i_1i_2\cdots i_n}x(t)=x\left(t-\sum_h L_{i_hi_{h+1}}\right) D i 1 i 2 ⋯ i n x ( t ) = x ( t − ∑ h L i h i h + 1 ) , the first Michelson combination is
X = y 13 + D 13 y 31 + D 131 y 12 + D 1312 y 21 − [ y 12 + D 12 y 21 + D 121 y 13 + D 1213 y 31 ] , (25) X=y_{13}+D_{13}y_{31}+D_{131}y_{12}+D_{1312}y_{21}-\left[y_{12}+D_{12}y_{21}+D_{121}y_{13}+D_{1213}y_{31}\right], \tag*{(25)} X = y 13 + D 13 y 31 + D 131 y 12 + D 1312 y 21 − [ y 12 + D 12 y 21 + D 121 y 13 + D 1213 y 31 ] , (25)
and Y Y Y , Z Z Z follow by the cyclic permutation 1 → 2 → 3 → 1 1\to2\to3\to1 1 → 2 → 3 → 1 ; for equal arms this is TDI generation 1.5. In the frequency domain each delay is a phase e − 2 π i f L e^{-2\pi ifL} e − 2 π i f L , applied to the envelopes of Equation (22) before the transform. The noise-orthogonal channels are [106 ]
A = Z − X 2 , E = X − 2 Y + Z 6 , T = X + Y + Z 3 . (26) A=\frac{Z-X}{\sqrt{2}},\qquad E=\frac{X-2Y+Z}{\sqrt{6}},\qquad T=\frac{X+Y+Z}{\sqrt{3}}. \tag*{(26)} A = 2 Z − X , E = 6 X − 2 Y + Z , T = 3 X + Y + Z . (26)
Windows
A window w w w is K = 4 R K=4R K = 4 R consecutive bins with first bin and centre
k 0 ( f w ) = 2 rint ( f w T o b s − K / 2 2 ) , f w = k 0 + K / 2 T o b s . (27) k_0(f_w)=2\operatorname{rint}\left(\frac{f_wT_{\mathrm{obs}}-K/2}{2}\right),\qquad f_w=\frac{k_0+K/2}{T_{\mathrm{obs}}}. \tag*{(27)} k 0 ( f w ) = 2 rint ( 2 f w T obs − K /2 ) , f w = T obs k 0 + K /2 . (27)
A source’s response fills bins q − R / 2 , … , q + R / 2 − 1 q-R/2,\ldots,q+R/2-1 q − R /2 , … , q + R /2 − 1 , which lie inside the window when k 0 + R / 2 ≤ q ≤ k 0 + K − R / 2 k_0+R/2\le q\le k_0+K-R/2 k 0 + R /2 ≤ q ≤ k 0 + K − R /2 . Since both bounds are integers this holds whenever f 0 T o b s f_0T_{\mathrm{obs}} f 0 T obs lies between them, so a guard band of R / 2 R/2 R /2 bins at each edge leaves an interior of 3 R 3R 3 R bins in which a source belongs to the window,
max ( k 0 + R / 2 T o b s , f min ) ≤ f 0 ≤ min ( k 0 + K − R / 2 T o b s , f max ) . (28) \max\left(\frac{k_0+R/2}{T_{\mathrm{obs}}},f_{\min}\right)\le f_0\le\min\left(\frac{k_0+K-R/2}{T_{\mathrm{obs}}},f_{\max}\right). \tag*{(28)} max ( T obs k 0 + R /2 , f m i n ) ≤ f 0 ≤ min ( T obs k 0 + K − R /2 , f m a x ) . (28)
The window index is clipped to the range whose interiors just cover the band.
Accuracy of the Truncated Response
Against a 16 384-point reference, the R R R -bin response keeps a source’s power: at most 1.00 % lies outside its R R R bins and the SNR is kept to 4.5 × 10 − 5 4.5\times10^{-5} 4.5 × 1 0 − 5 . It does not keep the exact shape of the spectrum, because the rectangular window leaks a tone that falls between bins: the median error is 5.7 % (narrow band) and 3.9 % (full band), below 1 % on a bin centre and up to 8.6 % halfway between bins (Figure 8 ). Training, the test injections and the reference MCMC share this response, so the comparison between the flow and the chains is unaffected.
Figure 8. The error of the truncated response is leakage between bins. (a) Each source’s relative error against a 16 384-point response, against its signed offset from the nearest bin centre: below 1% on a bin centre, several per cent halfway (narrow band orange, full band blue; 1024 of 4096 prior sources per band). (b) The median and 16–84% range of that error over a ladder of R R R , falling close to R − 1 / 2 R^{-1/2} R − 1/2 , with each band’s own R R R dashed.
Noise, Likelihood and Signal-to-Noise Ratio
The noise of Equation (2) is the instrument noise of the LISA requirements [87 ] , in the single-link form of Babak et al. [7 ] : an optical metrology noise and a test-mass acceleration noise,
P o m s ( f ) = ( 15 p m ) 2 [ 1 + ( 2 m H z f ) 4 ] 1 / H z , P a c c ( f ) = ( 3 f m / s 2 ) 2 [ 1 + ( 0.4 m H z f ) 2 ] [ 1 + ( f 8 m H z ) 4 ] 1 / H z , (29) \begin{aligned}
P_{\mathrm{oms}}(f) &= (15\,\mathrm{pm})^2 \left[1+\left(\frac{2\,\mathrm{mHz}}{f}\right)^4\right]\,1/\mathrm{Hz},\\
P_{\mathrm{acc}}(f) &= (3\,\mathrm{fm}/\mathrm{s}^2)^2 \left[1+\left(\frac{0.4\,\mathrm{mHz}}{f}\right)^2\right]\left[1+\left(\frac{f}{8\,\mathrm{mHz}}\right)^4\right]\,1/\mathrm{Hz}, \tag*{(29)}
\end{aligned} P oms ( f ) P acc ( f ) = ( 15 pm ) 2 [ 1 + ( f 2 mHz ) 4 ] 1/ Hz , = ( 3 fm / s 2 ) 2 [ 1 + ( f 0.4 mHz ) 2 ] [ 1 + ( 8 mHz f ) 4 ] 1/ Hz , (29)
converted to fractional frequency by S o m s = ( 2 π f / c ) 2 P o m s S_{\mathrm{oms}}=(2\pi f/c)^2P_{\mathrm{oms}} S oms = ( 2 π f / c ) 2 P oms and S a c c = P a c c / [ ( 2 π f ) 2 c 2 ] S_{\mathrm{acc}}=P_{\mathrm{acc}}/[(2\pi f)^2c^2] S acc = P acc / [( 2 π f ) 2 c 2 ] . For equal arms, x = 2 π f L x=2\pi fL x = 2 π f L , the TDI-1.5 channels have the one-sided PSDs [7 eqs. 19, 127–129]
S A = S E = 8 sin 2 x [ ( 2 + cos x ) S o m s + 4 ( 1 + cos x + cos 2 x ) S a c c ] , S T = 16 sin 2 x ( 1 − cos x ) [ S o m s + 2 ( 1 − cos x ) S a c c ] . (30) \begin{aligned}
S_A=S_E &= 8\sin^2 x\left[(2+\cos x)S_{\mathrm{oms}}+4(1+\cos x+\cos^2 x)S_{\mathrm{acc}}\right],\\
S_T &= 16\sin^2 x(1-\cos x)\left[S_{\mathrm{oms}}+2(1-\cos x)S_{\mathrm{acc}}\right]. \tag*{(30)}
\end{aligned} S A = S E S T = 8 sin 2 x [ ( 2 + cos x ) S oms + 4 ( 1 + cos x + cos 2 x ) S acc ] , = 16 sin 2 x ( 1 − cos x ) [ S oms + 2 ( 1 − cos x ) S acc ] . (30)
The channel T T T is quiet (S T / S A = 8.3 × 10 − 8 S_T/S_A=8.3\times10^{-8} S T / S A = 8.3 × 1 0 − 8 at 0.1 mHz) but carries almost no SNR in our band. The noise is instrumental only: no Galactic foreground [64 ] , gaps or glitches. Signals are compared through
⟨ a ∣ b ⟩ = 4 Re ∑ c ∑ k a k , c b k , c ∗ S c ( f k ) T o b s , (31) \langle a\mid b\rangle=4\operatorname{Re}\sum_c\sum_k\frac{a_{k,c}b^*_{k,c}}{S_c(f_k)T_{\mathrm{obs}}}, \tag*{(31)} ⟨ a ∣ b ⟩ = 4 Re c ∑ k ∑ S c ( f k ) T obs a k , c b k , c ∗ , (31)
so that the log-likelihood of Equation (6) is − 1 2 ⟨ d − h ∣ d − h ⟩ -\frac{1}{2}\langle d-h\mid d-h\rangle − 2 1 ⟨ d − h ∣ d − h ⟩ up to a constant and ρ s = ⟨ h ( θ s ) ∣ h ( θ s ) ⟩ 1 / 2 \rho_s=\langle h(\theta_s)\mid h(\theta_s)\rangle^{1/2} ρ s = ⟨ h ( θ s ) ∣ h ( θ s ) ⟩ 1/2 . The simulator matches independent references: over 3000 pure-noise test windows of 1024 bins in A A A and E E E , ⟨ n ∣ n ⟩ \langle n\mid n\rangle ⟨ n ∣ n ⟩ follows χ 4096 2 \chi^2_{4096} χ 4096 2 (Kolmogorov–Smirnov p = 0.83 p=0.83 p = 0.83 ), and for the verification binary of Strub et al. [119 ] Table VII`) our SNR is 7.951 against their 7.93.
Priors and the Training Distribution
This appendix states what the flow is trained on, which § 6.4 uses: the per-source prior, the prior over windows, the number of sources a window holds, and the stream of simulated windows. Table 7 collects what differs between the two bands; S = 2 S=2 S = 2 , 4 and 8 on the narrow band and 4, 8 and 16 on the full band in the runs of Section K.
Table 7. The two bands. Every other prior is shared. Source and window shares are over 8192 windows per band centred on the catalogue’s f 0 f_0 f 0 marginal, and 4096 centred by Equation (36) (training); a source is visible at ρ ≥ 7 \rho\ge7 ρ ≥ 7 alone in its window. Steps, windows and sources seen are those of the reported runs of the B network (Table 18 ), at the batch of Section D.4; the simulation share is the time spent drawing a batch inside one training step on an A100-SXM4-80GB (narrow band) and an A100 80GB PCIe (full band).
The Sources of a Window
The S S S sources of a window are independent draws from the per-source prior of Table 2 , so they are exchangeable. Only f 0 f_0 f 0 depends on the window directly. For frequency, drift and amplitude we fit one Gaussian by maximum likelihood to the logarithms of the binaries above 0.1 mHz of a simulated catalogue of double white dwarfs [105 , 15 ] ,
\begin{pmatrix}
\log_{10} f_0 \\
\log_{10} \dot{f} \\
\log_{10} A
\end{pmatrix}
\sim\mathcal{N}(\mu_\pi,\Sigma_\pi), \tag*{(32)}\end{pmatrix}
with f 0 f_0 f 0 truncated to the window (Equation (35) ), and, with f 0 f_0 f 0 in Hz and f ˙ \dot{f} f ˙ in Hz/s,
μ π = ( − 3.74 − 20.57 − 23.27 ) , Σ π = ( 0.152 0.529 0.073 0.529 1.872 0.287 0.073 0.287 0.098 ) . (33) \mu_\pi=
\begin{pmatrix}
-3.74 \\
-20.57 \\
-23.27
\end{pmatrix},
\qquad
\Sigma_\pi=
\begin{pmatrix}
0.152 & 0.529 & 0.073 \\
0.529 & 1.872 & 0.287 \\
0.073 & 0.287 & 0.098
\end{pmatrix}. \tag*{(33)} μ π = − 3.74 − 20.57 − 23.27 , Σ π = 0.152 0.529 0.073 0.529 1.872 0.287 0.073 0.287 0.098 . (33)
Other population models of the Galaxy’s double white dwarfs [128 , 75 , 48 , 124 ] differ in their binary physics [129 , 13 ] ; refitting changes only μ π \mu_\pi μ π and Σ π \Sigma_\pi Σ π . Figure 9 shows the prior over each band. Most sources barely drift: the full band’s median drift over the observation is 3 × 10 − 5 3 \times10^{-5} 3 × 1 0 − 5 of a bin, and 0.067 % of its sources drift by more than one. The sky is a mixture of a bulge, a thick and a thin disc and an isotropic floor in galactic longitude l l l and sin b \sin b sin b ,
Figure 9. The per-source prior over each band (Equation (32) ): amplitude, frequency and drift in log 10 \log_{10} log 10 , from 200 000 draws per band with f 0 f_0 f 0 truncated to the band. Contours enclose 39 % and 86 % of the draws (one and two standard deviations in two dimensions); diagonals are normalised marginals. The sky does not depend on the band (Figure 2 b).
π ( l , sin b ) = w b N ( l ; 0 , σ l 2 ) N ( sin b ; 0 , σ b 2 ) + ∑ d ∈ { t h i c k , t h i n } w d L π ( l ; λ l , d ) L 1 ( sin b ; λ b , d ) + w f 4 π , (34) \pi(l,\sin b) = w_{\mathrm{b}} \mathcal{N}(l;0,\sigma_l^2)\mathcal{N}(\sin b;0,\sigma_b^2) + \sum_{d\in\{\mathrm{thick},\mathrm{thin}\}} w_d \mathcal{L}_\pi(l;\lambda_{l,d})\mathcal{L}_1(\sin b;\lambda_{b,d}) + \frac{w_{\mathrm{f}}}{4\pi}, \tag*{(34)} π ( l , sin b ) = w b N ( l ; 0 , σ l 2 ) N ( sin b ; 0 , σ b 2 ) + d ∈ { thick , thin } ∑ w d L π ( l ; λ l , d ) L 1 ( sin b ; λ b , d ) + 4 π w f , (34)
with L c ( x ; λ ) ∝ e − ∣ x ∣ / λ \mathcal{L}_c(x;\lambda) \propto e^{-|x|/\lambda} L c ( x ; λ ) ∝ e − ∣ x ∣/ λ a Laplace density truncated to ∣ x ∣ ≤ c |x| \le c ∣ x ∣ ≤ c , rotated to the equatorial ( α , δ ) (\alpha,\delta) ( α , δ ) of the response. It puts 25 % of its weight in the bulge, 16 % and 58 % in the thick and thin discs and 0.8 % in the floor, and traces the plane: 95 % of the sources lie within 10 ∘ 10^\circ 1 0 ∘ of the galactic plane (Figure 2 b).
The Window Prior
A window is 4 R 4R 4 R consecutive bins starting at an even bin k 0 = 2 j k_0 = 2j k 0 = 2 j , with centre f w = ( k 0 + 2 R ) / T o b s f_{\mathrm{w}} = (k_0 + 2R)/T_{\mathrm{obs}} f w = ( k 0 + 2 R ) / T obs and interior
f 0 T o b s ∈ [ max ( k 0 + R / 2 , f min T o b s ) , min ( k 0 + 4 R − R / 2 , f max T o b s ) ] (35) f_0T_{\mathrm{obs}} \in\left[\max(k_0 + R/2, f_{\min}T_{\mathrm{obs}}),\min(k_0 + 4R - R/2, f_{\max}T_{\mathrm{obs}})\right] \tag*{(35)} f 0 T obs ∈ [ max ( k 0 + R /2 , f m i n T obs ) , min ( k 0 + 4 R − R /2 , f m a x T obs ) ] (35)
(Section B.4). Windows centred on the catalogue’s f 0 f_0 f 0 marginal would sit low in the band, where sources are faint: the upper half of the full band in log f 0 \log f_0 log f 0 , which holds most of the visible sources, would get 2.1 % of the windows, and 1.5 % of windows would hold a visible source. Training therefore centres windows where sources can be seen. Of 64 candidates log 10 f c ( m ) \log_{10} f_c^{(m)} log 10 f c ( m ) drawn uniformly over the band, each with one prior sky and orientation and alone in its window at the conditional mean f ˙ \dot{f} f ˙ , one is picked with weight
w m ∝ N ( log 10 f c ( m ) ; − 3.74 , 0.39 2 ) Φ ( − 21.47 + 0.48 log 10 f c ( m ) − log 10 A k ( m ) 0.25 ) , w_m \propto\mathcal{N}\left(\log_{10} f_c^{(m)}; -3.74, 0.39^2\right)\Phi\left(\frac{-21.47 + 0.48\log_{10} f_c^{(m)} - \log_{10} \mathcal{A}_k^{(m)}}{0.25}\right), w m ∝ N ( log 10 f c ( m ) ; − 3.74 , 0.3 9 2 ) Φ ( 0.25 − 21.47 + 0.48 log 10 f c ( m ) − log 10 A k ( m ) ) ,
j = clip ( round f c T o b s − 2 R 2 , j l o , j h i ) , (36) j = \operatorname{clip}\left(\operatorname{round}\frac{f_c T_{\mathrm{obs}} - 2R}{2}, j_{\mathrm{lo}}, j_{\mathrm{hi}}\right), \tag*{(36)} j = clip ( round 2 f c T obs − 2 R , j lo , j hi ) , (36)
the catalogue’s f 0 f_0 f 0 marginal times the chance that log 10 A \log_{10}\mathcal{A} log 10 A exceeds log 10 A k ( m ) \log_{10}\mathcal{A}_k^{(m)} log 10 A k ( m ) , the amplitude at which the candidate reaches ρ = k = 7 \rho= k = 7 ρ = k = 7 ; j l o j_{\mathrm{lo}} j lo and j h i j_{\mathrm{hi}} j hi are the first and last windows whose interior reaches the band. A share of 10 % of windows skips the weights and is centred log-uniformly, so training also sees the empty windows that most of the band holds. This puts 90.7 % of the full band’s windows in its upper half and 78.0 % with a visible source; in the narrow band the share rises from 34.6 % to 77.0 %. Given the window, the prior is the catalogue’s; the weights only choose which windows training sees, so they do not change the posterior the flow learns.
Sources per Window
A window holds each of the 9 × 10 6 9 \times10^6 9 × 1 0 6 sources of the simulated Galaxy with the prior’s share of f 0 f_0 f 0 in it, so its count is binomial (Equation (7)); the visible sources follow the same law thinned by P ( ρ ≥ 7 ∣ f 0 ) P(\rho\ge7 \mid f_0) P ( ρ ≥ 7 ∣ f 0 ) , with the amplitude integrated out in closed form. Table 3 gives the counts in each subband. A window of the full run’s 512 bins holds up to 344 442 sources and 329 visible ones, near 1.70 mHz, and one of the narrow run’s 256 bins 54 to 3547 sources and 14 to 165 visible ones. The S ≤ 16 S \le16 S ≤ 16 slots of our runs are therefore far below the source count of a real window at a few millihertz: they test how a joint learned posterior scales with the number of overlapping sources, not a complete model of the Galactic foreground.
The Training Distribution
There is no fixed dataset: every example is a freshly simulated window, with a centre f w f_w f w by Equation (36) , sources θ 1 : S ∼ π w \theta_{1:S} \sim\pi_w θ 1 : S ∼ π w , noisy data in the window’s 4 R 4R 4 R bins whitened to the conditioning input y y y (Section C), and the target X 1 = φ ( θ 1 : S ; f w ) X_1 = \varphi(\theta_{1:S}; f_w) X 1 = φ ( θ 1 : S ; f w ) in flow coordinates, S × 8 S \times8 S × 8 , sources in order of f 0 f_0 f 0 (Equation (38) ). Each window is paired with 16 standard normal base points Z 0 Z_0 Z 0 with their own flow times t t t (Equation (12) ), Section F, drawn inside the compiled training step, so a batch of 1024 pairs is 64 windows. A run sees 0.9 × 10 8 0.9 \times10^8 0.9 × 1 0 8 to 2.0 × 10 8 2.0 \times10^8 2.0 × 1 0 8 independent windows (Table 7 , Table 18 ), so overfitting is not a concern and comparisons between runs are comparisons of optimisation. The simulation takes 1 % of a step in the narrow band and 3 % in the full band.
Table 18. The six runs. Steps and warmup are set per run from the epoch time of a 30 min smoke test, so that each run has 64 epochs; the hours are those epochs at the smoke test’s A100 step time, without restarts. A cooldown over the last 20 % closes each run. The last column is the lowest eval-catalogue negative log-likelihood (NLL), frame plus flow (Section H.4), and its epoch.
Flow Coordinates
This appendix defines the flow coordinates of § 5.1 , the map from a window’s physical sources to R 8 S \mathbb{R}^{8S} R 8 S , and derives the properties the main text relies on: the four phase copies of a source map to one point, the helicity amplitudes make the likelihood Gaussian, the coordinates are flat, and the slots in order of f 0 f_0 f 0 remove the labelling. It opens with the symmetries the chart removes and ends with the slot ordering. The chart depends on the window through its centre frequency f w f_w f w , so converting between physical and flow coordinates always needs the f w f_w f w of the observation. Figure 10 shows what the chart does to the prior.
Figure 10. The helicity chart on prior draws. (a) Narrow-band sources by the radii of their two helicity amplitudes, coloured by ∣ cos ι ∣ |\cos\iota| ∣ cos ι ∣ . Face-on sources lie far from the diagonal, their weak helicity orders of magnitude below the dominant one. (b) SNR per unit amplitude of the same sources against inclination, with the sky-averaged law Equation (40) (line). (c) The prior’s marginal in each of the 8 flow coordinates, narrow band orange and full band blue, with the full band’s closed-form marginal dashed where it exists. The z ± z_{\pm} z ± densities are on a logarithmic axis; their spike at zero is the many sources far below one noise unit.
Exact Symmetries
The likelihood (Equation (6) ) has two groups of exact symmetries, which a posterior sampler must either reproduce or remove.
Polarisation and phase. A quarter turn of ψ \psi ψ flips the sign of both polarisation tensors, and a half turn of ϕ 0 \phi_0 ϕ 0 flips the sign of both polarisations (Section B). Together they leave the signal unchanged:
( ψ , ϕ 0 ) ↦ ( ψ + k π 2 , ϕ 0 + k π ) ( m o d 2 π ) , k = 0 , 1 , 2 , 3 , (37) (\psi,\phi_0) \mapsto\left(\psi+ k\frac{\pi}{2},\phi_0 + k\pi\right)\pmod{2\pi}, \qquad k=0,1,2,3, \tag*{(37)} ( ψ , ϕ 0 ) ↦ ( ψ + k 2 π , ϕ 0 + k π ) ( mod 2 π ) , k = 0 , 1 , 2 , 3 , (37)
so every source’s posterior has four exact copies in ( ψ , ϕ 0 ) ∈ [ 0 , 2 π ) 2 (\psi,\phi_0) \in[0,2\pi)^2 ( ψ , ϕ 0 ) ∈ [ 0 , 2 π ) 2 .
Exchangeable sources. The sources are independent and identically distributed and enter the likelihood through their sum, so the likelihood is invariant under the S ! S! S ! relabellings (24 for S = 4 S=4 S = 4 ): the label-switching problem of mixture models [118 , 61 ] , which MCMC analyses of gravitational-wave sources meet as well [17 ] . With Equation (37) , every mode of an unordered posterior has S ! 4 S S! \, 4^S S ! 4 S equivalent copies, 6144 for S = 4 S=4 S = 4 . The chart folds the phase copies (Section E.4), and the slots in order of f 0 f_0 f 0 remove the permutations (Section E.6).
The Map
For a source with frequency f 0 f_0 f 0 , frequency derivative f ˙ \dot{f} f ˙ , sky position ( α , δ ) (\alpha,\delta) ( α , δ ) and the helicity amplitudes z ± z_{\pm} z ± of Equation (9) , the chart is
x f = 2 ln f 0 − ln f l o − ln f h i ln f h i − ln f l o , x f ˙ = log 10 f ˙ − m ( f 0 ) σ f ˙ , ( x l , x b ) = ( l σ l , b σ b ) , x_f = \frac{2\ln f_0-\ln f_{\mathrm{lo}}-\ln f_{\mathrm{hi}}}{\ln f_{\mathrm{hi}}-\ln f_{\mathrm{lo}}}, \qquad x_{\dot f} = \frac{\log_{10}\dot{f}-m(f_0)}{\sigma_{\dot f}}, \qquad(x_l,x_b)=\left(\frac{l}{\sigma_l},\frac{b}{\sigma_b}\right), x f = ln f hi − ln f lo 2 ln f 0 − ln f lo − ln f hi , x f ˙ = σ f ˙ log 10 f ˙ − m ( f 0 ) , ( x l , x b ) = ( σ l l , σ b b ) ,
x = ( x f , x f ˙ , x l , x b , Re z + , Im z + , Re z − , Im z − ) . (38) x=(x_f,x_{\dot f},x_l,x_b,\operatorname{Re}z_+,\operatorname{Im}z_+,\operatorname{Re}z_-,\operatorname{Im}z_-). \tag*{(38)} x = ( x f , x f ˙ , x l , x b , Re z + , Im z + , Re z − , Im z − ) . (38)
The frequency, drift and sky coordinates are shaped so that their prior has a scale of order one; the helicity amplitudes are in noise units, so the prior’s mostly sub-threshold sources sit close to their origin (Section E.5). The chart has no singular or multiply covered point where the prior has mass.
Frequency. [ f l o , f h i ] [f_{\mathrm{lo}},f_{\mathrm{hi}}] [ f lo , f hi ] is the window interior of Equation (35) . A window is narrow against the prior’s spread in log f 0 \log f_0 log f 0 (Section D.1), so x f x_f x f is close to U ( − 1 , 1 ) U(-1,1) U ( − 1 , 1 ) : its standard deviation is 0.577 in both bands, against 1 / 3 1/\sqrt{3} 1/ 3 . One unit of x f x_f x f spans ( 4 R − R ) / 2 (4R-R)/2 ( 4 R − R ) /2 bins, 96 in the narrow band and 192 in the full band. The flow always predicts an order-one position inside the window; the absolute frequency reaches the network through its conditioning on f w f_w f w (Section G). In single precision, x f x_f x f resolves 2.3 × 10 − 5 2.3 \times10^{-5} 2.3 × 1 0 − 5 bins near the window edges in the full band, far below any posterior width.
Drift. log 10 f ˙ \log_{10}\dot{f} log 10 f ˙ is standardised by its conditional mean and standard deviation given f 0 f_0 f 0 under the catalogue Gaussian of Table 2 : m ( f 0 ) m(f_0) m ( f 0 ) is linear in log 10 f 0 \log_{10} f_0 log 10 f 0 with slope 3.48, and σ f ˙ = 0.18 \sigma_{\dot f}=0.18 σ f ˙ = 0.18 dex. Under the prior x f ˙ ∼ N ( 0 , 1 ) x_{\dot f}\sim\mathcal{N}(0,1) x f ˙ ∼ N ( 0 , 1 ) exactly, independent of x f x_f x f ; the drift the data see grows with f 0 f_0 f 0 , but the coordinate the flow transports does not.
Sky. The chart rotates ( α , δ ) (\alpha,\delta) ( α , δ ) to galactic longitude and latitude, l ∈ ( − π , π ] l\in(-\pi,\pi] l ∈ ( − π , π ] and b ∈ [ − π / 2 , π / 2 ] b\in[-\pi/2,\pi/2] b ∈ [ − π /2 , π /2 ] , and divides each by its standard deviation under the sky prior (Equation (34) ), σ l = 0.530 \sigma_l=0.530 σ l = 0.530 rad (30°) and σ b = 0.103 \sigma_b=0.103 σ b = 0.103 rad (5.9°). The bulge and discs then sit at the origin with unit scale. The chart’s two defects lie where the prior is thinnest: the seam at the anticentre, l = ± π l=\pm\pi l = ± π (x l = ± 5.9 x_l=\pm5.9 x l = ± 5.9 ), which holds 0.09 % of the prior within 10°, and the galactic poles, x b = ± 15.2 x_b=\pm15.2 x b = ± 15.2 , which hold 0.01 % within 10°. The inverse rotation maps any real ( l , b ) (l,b) ( l , b ) to a direction, so the flow’s output never needs wrapping. Galactic coordinates suit the prior, which is what the flow returns for the large majority of sources, those below the noise. Ecliptic coordinates would suit the likelihood instead: LISA orbits in the ecliptic, and the second sky mode of a source at moderate SNR, reflected across the ecliptic, would be a sign flip of one coordinate. We have not compared the two charts, and since the sky is where the flow stays widest against the MCMC, an ecliptic chart is worth a test.
Amplitude unit. The chart measures amplitudes in a unit that depends only on the window, u ( f w ) = S n ( f w ) / T o b s u(f_w) = \sqrt{S_n(f_w)/T_{\mathrm{obs}}} u ( f w ) = S n ( f w ) / T obs , with S n S_n S n the sky-averaged sensitivity of Robson et al. [107 ] without the confusion term,
S n ( f ) = 10 3 ( c L ) 2 [ P o m s + 4 P a c c ( 2 π f ) 4 ] [ 1 + 0.6 ( f f ⋆ ) 2 ] , f ⋆ = 1 2 π L . (39) S_n(f) = \frac{10}{3(cL)^2}\left[P_{\mathrm{oms}} + \frac{4P_{\mathrm{acc}}}{(2\pi f)^4}\right]\left[1 + 0.6\left(\frac{f}{f_\star}\right)^2\right], \qquad f_\star= \frac{1}{2\pi L}. \tag*{(39)} S n ( f ) = 3 ( c L ) 2 10 [ P oms + ( 2 π f ) 4 4 P acc ] [ 1 + 0.6 ( f ⋆ f ) 2 ] , f ⋆ = 2 π L 1 . (39)
Their eq. 13 carries 2 ( 1 + cos 2 ( f / f ⋆ ) ) 2(1+\cos^2(f/f_\star)) 2 ( 1 + cos 2 ( f / f ⋆ )) in place of the 4; over 0.1 to 16 mHz the two differ by at most 0.7% in S n S_n S n (0.4% in amplitude), because the acceleration term is negligible where they differ. S n S_n S n enters nothing but this unit: the likelihood, the SNR and the prior all use the full response and Equation (30) . For a monochromatic source averaged over sky, polarisation, inclination and phase, E [ ρ 2 ] = C A 2 T o b s / S n ( f ) \mathbb{E}[\rho^2] = C A^2T_{\mathrm{obs}}/S_n(f) E [ ρ 2 ] = C A 2 T obs / S n ( f ) . Rather than take C C C from a paper with other normalisation conventions, we measure it with our own ρ \rho ρ on 8192 sources: C = 3.19 ± 0.02 C = 3.19 \pm0.02 C = 3.19 ± 0.02 for an isotropic sky (3.35 for the Galactic sky prior), constant to 0.4% below 1.5 mHz and 26% higher at 16 mHz. The unit u u u is thus the amplitude of a source at a sky-averaged SNR of C ≈ 1.8 \sqrt{C} \approx1.8 C ≈ 1.8 ; the chart needs a scale that tracks the noise across the band, not an exact SNR.
Signal-to-noise per unit amplitude. In these units the SNR of a source is ρ = κ A / u ( f w ) \rho= \kappa A/u(f_w) ρ = κ A / u ( f w ) , and κ \kappa κ is set almost entirely by the inclination (Figure 10 b): averaged over the sky, ρ 2 ∝ ∣ ζ + ∣ 2 + ∣ ζ − ∣ 2 ∝ 1 + 6 cos 2 ι + cos 4 ι \rho^2 \propto|\zeta_+|^2 + |\zeta_-|^2 \propto1 + 6\cos^2\iota+ \cos^4\iota ρ 2 ∝ ∣ ζ + ∣ 2 + ∣ ζ − ∣ 2 ∝ 1 + 6 cos 2 ι + cos 4 ι , so
κ 2 ≈ C 1 + 6 cos 2 ι + cos 4 ι 16 / 5 , (40) \kappa^2 \approx C\frac{1 + 6\cos^2\iota+ \cos^4\iota}{16/5}, \tag*{(40)} κ 2 ≈ C 16/5 1 + 6 cos 2 ι + cos 4 ι , (40)
where 16 / 5 16/5 16/5 is the average of the numerator over cos ι \cos\iota cos ι and C = 3.35 C = 3.35 C = 3.35 is the mean of κ 2 \kappa^2 κ 2 over the Galactic sky prior. The drawn sources follow Equation (40) within 3% root-mean-square; κ \kappa κ runs from 1.00 (edge-on) to 2.91 (face-on) in the narrow band and from 0.98 to 2.90 in the full band (1st and 99th percentiles), where the response departs from its low-frequency limit. The asinh warp of the radius is linear for faint amplitudes and logarithmic for loud ones, so a source’s coordinates stay of order one from the noise floor to the loudest sources.
The Inverse Map
The frequency, drift and sky invert directly. For the helicity amplitudes, with r ± = sinh ∣ ζ ± ∣ r_\pm= \sqrt{\sinh|\zeta_\pm|} r ± = sinh ∣ ζ ± ∣ ,
A / u ( f w ) = r + + r − , cos ι = r − − r + r + + r − , ψ = 1 4 ( arg ζ + − arg ζ − ) , ϕ 0 m i d = 1 2 ( arg ζ + + arg ζ − ) . (41) \sqrt{\mathcal{A}/u(f_w)} = r_+ + r_-, \qquad\cos\iota= \frac{r_- - r_+}{r_+ + r_-}, \qquad\psi= \frac{1}{4}(\arg\zeta_+ - \arg\zeta_-), \qquad\phi_0^{\mathrm{mid}} = \frac{1}{2}(\arg\zeta_+ + \arg\zeta_-). \tag*{(41)} A / u ( f w ) = r + + r − , cos ι = r + + r − r − − r + , ψ = 4 1 ( arg ζ + − arg ζ − ) , ϕ 0 mid = 2 1 ( arg ζ + + arg ζ − ) . (41)
since ∣ ζ + ∣ + ∣ ζ − ∣ = A / u \sqrt{|\zeta_+|} + \sqrt{|\zeta_-|} = \sqrt{\mathcal{A}/u} ∣ ζ + ∣ + ∣ ζ − ∣ = A / u for every ι \iota ι . Equation (41) returns one of the four copies of Equation (37) , all equivalent. The inverse is defined everywhere except at A = 0 \mathcal{A} = 0 A = 0 , where both ζ ± \zeta_\pm ζ ± vanish and the orientation is undefined, a set of measure zero under the prior.
Why Helicity Amplitudes
Linearity. At fixed ( f 0 , f ˙ , α , δ ) (f_0,\dot{f},\alpha,\delta) ( f 0 , f ˙ , α , δ ) the waveform (Section B) is a linear combination of two fixed templates, one per circular polarisation, with complex coefficients ζ ± \zeta_\pm ζ ± . The likelihood Equation (6) is therefore Gaussian in ( Re ζ ± , Im ζ ± ) (\operatorname{Re}\zeta_\pm,\operatorname{Im}\zeta_\pm) ( Re ζ ± , Im ζ ± ) : the structure of the F \mathcal{F} F -statistic maximises over Jaranowski et al., [60 ] , written in the circular-polarisation coordinates of Whelan et al. [134 ] . The four extrinsic parameters ( A , ι , ψ , ϕ 0 ) (\mathcal{A},\iota,\psi,\phi_0) ( A , ι , ψ , ϕ 0 ) enter the data only through these four real numbers.
Exact symmetries. The map ( ψ , ϕ 0 ) ↦ ( ϕ 0 m i d + 2 ψ , ϕ 0 m i d − 2 ψ ) m o d 2 π (\psi,\phi_0) \mapsto(\phi_0^{\mathrm{mid}} + 2\psi,\phi_0^{\mathrm{mid}} - 2\psi) \bmod2\pi ( ψ , ϕ 0 ) ↦ ( ϕ 0 mid + 2 ψ , ϕ 0 mid − 2 ψ ) mod 2 π has a kernel generated by ψ ↦ ψ + π \psi\mapsto\psi+ \pi ψ ↦ ψ + π and ( ψ , ϕ 0 ) ↦ ( ψ + π / 2 , ϕ 0 + π ) (\psi,\phi_0) \mapsto(\psi+ \pi/2,\phi_0 + \pi) ( ψ , ϕ 0 ) ↦ ( ψ + π /2 , ϕ 0 + π ) : exactly the four copies of Equation (37) . All four map to one chart point, so where the posterior in ( ψ , ϕ 0 ) (\psi,\phi_0) ( ψ , ϕ 0 ) has four equivalent modes, the posterior in the chart has one. This matters for flow matching beyond economy: with the copies as separate modes, the conditional mean velocity the network regresses on (Section F) averages over the four copies early in the path, and the phase information is washed out.
Face-on sources. At cos ι = ± 1 \cos\iota= \pm1 cos ι = ± 1 the wave is circularly polarised and only ϕ 0 ± 2 ψ \phi_0 \pm2\psi ϕ 0 ± 2 ψ is observable. In the chart this is the point where one of z ± z_{\pm} z ± vanishes, a regular point of the plane, not a coordinate pole: a polar chart in ( A , cos ι , ϕ 0 m i d ± 2 ψ ) (\mathcal{A}, \cos\iota, \phi_0^{\mathrm{mid}} \pm2\psi) ( A , cos ι , ϕ 0 mid ± 2 ψ ) would have an undefined phase there. Since asinh ( r ) / r \operatorname{asinh}(r)/r asinh ( r ) / r is an even analytic function of r r r , the warp ζ ↦ asinh ∣ ζ ∣ ζ / ∣ ζ ∣ \zeta\mapsto\operatorname{asinh}|\zeta|\,\zeta/|\zeta| ζ ↦ asinh ∣ ζ ∣ ζ /∣ ζ ∣ is a diffeomorphism of C \mathbb{C} C , the origin included, with inverse z ↦ sinh ∣ z ∣ z / ∣ z ∣ z \mapsto\sinh|z|\,z/|z| z ↦ sinh ∣ z ∣ z /∣ z ∣ . The prior has much of its mass there (Figure 10 a,c).
Amplitude and inclination. Away from edge-on one helicity dominates, ∣ ζ − ∣ / ∣ ζ + ∣ = ( ( 1 + cos ι ) / ( 1 − cos ι ) ) 2 |\zeta_{-}|/|\zeta_{+}| = \left((1 + \cos\iota)/(1 - \cos\iota)\right)^2 ∣ ζ − ∣/∣ ζ + ∣ = ( ( 1 + cos ι ) / ( 1 − cos ι ) ) 2 , and the data measure the dominant amplitude much better than the weak one. In ( A , cos ι ) (\mathcal{A}, \cos\iota) ( A , cos ι ) this gives the familiar curved degeneracy, a distant face-on source against a nearer inclined one. In the chart the same posterior is a compact blob in the dominant helicity’s plane and a roughly isotropic blob around the origin in the weak one’s, whose radius is set by the noise: the chart straightens the banana by construction.
Phase reference. The phase enters the chart referred to mid-observation,
ϕ 0 m i d = ϕ 0 − π f 0 T o b s − π 4 f ˙ T o b s 2 , (42) \phi_0^{\mathrm{mid}} = \phi_0 - \pi f_0 T_{\mathrm{obs}} - \frac{\pi}{4}\dot{f}T_{\mathrm{obs}}^2, \tag*{(42)} ϕ 0 mid = ϕ 0 − π f 0 T obs − 4 π f ˙ T obs 2 , (42)
with f ˙ \dot{f} f ˙ the source’s frequency derivative (Section B). The signal phase is − ϕ 0 + 2 π f 0 t + π f ˙ t 2 -\phi_0 + 2\pi f_0t + \pi\dot{f}t^2 − ϕ 0 + 2 π f 0 t + π f ˙ t 2 , so − ϕ 0 m i d -\phi_0^{\mathrm{mid}} − ϕ 0 mid is the carrier phase at t = T o b s / 2 t = T_{\mathrm{obs}}/2 t = T obs /2 , the time centroid of a monochromatic signal, which the data fix independently of f 0 f_0 f 0 . Referred to t = 0 t = 0 t = 0 instead, an error of δ \delta δ bins in f 0 f_0 f 0 moves the phase by π δ \pi\delta π δ rad, which couples phase and frequency across the whole posterior. For each ( f 0 , f ˙ ) (f_0, \dot{f}) ( f 0 , f ˙ ) , Equation (42) is a rotation of the circle, so ϕ 0 m i d \phi_0^{\mathrm{mid}} ϕ 0 mid is uniform and independent of the other parameters under the prior, as ϕ 0 \phi_0 ϕ 0 is.
Flat Coordinates and Straight Paths
All 8 coordinates are flat: the flow acts on R 8 \mathbb{R}^8 R 8 per source, with no manifold, no angle with a branch cut and no exponential or logarithm map. The flow-matching path between a base point and a target is the straight line of constant velocity (Section F), and the sampler’s steps stay in the chart whatever the network predicts. The frame of Section F.2 is an affine map per coordinate, so a straight path in the frame is a straight path in the chart. Neither training nor sampling evaluates a density of the prior, and the chart’s Jacobian never enters.
The pushed-forward prior is not simple, but it is well scaled (Figure 10 c): x f x_f x f is close to uniform, the drift and sky coordinates have standard deviations between 0.99 and 1.03, and no pair of the 8 coordinates is correlated by more than ∣ r ∣ = 0.031 |r| = 0.031 ∣ r ∣ = 0.031 over 32768 prior sources per band. The helicity components are the exception: in noise units the prior’s sources are faint, and their standard deviations lie between 0.14 and 0.59. The scale that matters for them is the posterior’s, about one noise unit for every source the data resolve. The frame starts from these prior moments and is trained to the posterior’s (Section F.2), so the flow sees every coordinate on the posterior’s scale, whatever its scale under the prior.
A flat chart of the sphere distorts lengths away from b = 0 b=0 b = 0 , but the prior sits near the galactic plane, where the distortion is small, and little of its mass lies at the poles or across the cut in longitude. A Riemannian flow on the product of the sphere and the phase torus would remove both at the cost of geodesic paths and exponential maps.
Sources in Frequency Order
The S S S sources of a window are exchangeable under the prior and the likelihood (Section E.1), so every mode of the posterior has S ! S! S ! copies, one per labelling. We break the symmetry by an ordering: the slots hold the sources in order of f 0 f_0 f 0 , in training targets and in the frame (Section F), and the flow learns the posterior restricted to f 0 , 1 ≤ ⋯ ≤ f 0 , S f_{0,1} \le\cdots\le f_{0,S} f 0 , 1 ≤ ⋯ ≤ f 0 , S , which has one copy of each mode. This is the label-switching remedy of mixture models ([118 , 61 ] ) and the ordering of Delmond et al. [37 ] ; slots matched to the targets in the loss by the Hungarian algorithm (Houba et al. [58 ] ) would leave the network to learn the labelling as well. Each slot has a frame of its own, centred on the k k k -th lowest source.
Every ordering has a boundary where two labellings meet. In frequency it falls between sources close in f 0 f_0 f 0 , the overlap that is hardest to resolve: where two sources’ f 0 f_0 f 0 posteriors overlap, the ordered posterior is folded at f 0 , k = f 0 , k + 1 f_{0,k}=f_{0,k+1} f 0 , k = f 0 , k + 1 , and its marginals per slot are cut there. The frame takes the moments of the folded marginals, and the flow places the edge. Its draws are not forced into order, and close sources may swap in a draw’s tail; the order matters only for which slot learns which source.
Scores against the injections still need a labelling. They pair drawn sources with injected ones by the cheapest assignment over frequency, amplitude and sky, and the calibration tests relabel the truth and every draw by the same truth-independent rule, each set’s own SNR, loudest first (§ 21 ).
Flow Matching: Objective and Sampler
This appendix derives the objective and the sampler of § 5.3 : the frame and the straight paths, the endpoint likelihood and what it optimises, the Gaussian model of one coordinate that shows why that loss and a frame are needed for narrow posteriors (Proposition F.1), and the sampler with its cost. Table 8 lists the choices. The network is described in Section G, the optimiser in Section H.
Table 8. The objective and the sampler at a glance.
Straight Paths in the Frame
A window with centre frequency f w f_w f w holds S S S sources θ 1 : S \theta_{1:S} θ 1 : S , and its data d d d enter the network as the input y = y ( d , f w ) y=y(d,f_w) y = y ( d , f w ) (Section G). Write X = φ ( θ 1 : S ; f w ) ∈ R 8 S X=\varphi(\theta_{1:S};f_w)\in\mathbb{R}^{8S} X = φ ( θ 1 : S ; f w ) ∈ R 8 S for the sources in the flow coordinates of Equation (38) , listed in order of f 0 f_0 f 0 (Section E.6). The target is the posterior p ( X ∣ y , f w ) ∝ p ( d ∣ X ) π ( X ∣ f w ) p(X\mid y,f_w)\propto p(d\mid X)\,\pi(X\mid f_w) p ( X ∣ y , f w ) ∝ p ( d ∣ X ) π ( X ∣ f w ) over ordered sources, with the likelihood of Equation (6) and the prior under Section D. Given the frame ( μ , σ ) (\mu,\sigma) ( μ , σ ) of the window (Section F.2), a function of ( y , f w ) (y,f_w) ( y , f w ) alone, the flow transports standard normal draws Z ( 0 ) Z(0) Z ( 0 ) along
d Z d s = v ^ η ( Z , s ; y , f w ) , s ∈ [ 0 , 1 ] , (43) \frac{\mathrm{d}Z}{\mathrm{d}s}=\hat{v}_{\eta}(Z,s;y,f_w),\qquad s\in[0,1], \tag*{(43)} d s d Z = v ^ η ( Z , s ; y , f w ) , s ∈ [ 0 , 1 ] , (43)
so that X = μ + σ Z ( 1 ) X=\mu+\sigma Z(1) X = μ + σ Z ( 1 ) is a posterior draw, elementwise. The position s s s along the path is the network’s time input, written t t t in Section G.
Training uses conditional flow matching ([84 , 92 , 2 ] ). One training observation draws f w f_w f w and θ 1 : S \theta_{1:S} θ 1 : S from the prior, simulates the data (Sections B and C) and sets X 1 = φ ( θ 1 : S ; f w ) X_1=\varphi(\theta_{1:S};f_w) X 1 = φ ( θ 1 : S ; f w ) and Z 1 = ( X 1 − μ ) / σ Z_1=(X_1-\mu)/\sigma Z 1 = ( X 1 − μ ) / σ in the frame the network reads off the data. It then draws 16 independent base points Z 0 ∼ N ( 0 , I ) Z_0\sim\mathcal{N}(0,I) Z 0 ∼ N ( 0 , I ) , each with its own time; a batch holds 64 observations, 1024 points in all. On the path of Equation (10) the target velocity is u = Z 1 − Z 0 u=Z_1-Z_0 u = Z 1 − Z 0 . Regressing a field on u u u has the marginal field v ∗ ( Z , s ; y , f w ) = E [ u ∣ Z s = Z , y , f w ] v^*(Z,s;y,f_w)=\mathbb{E}[u\mid Z_s=Z,y,f_w] v ∗ ( Z , s ; y , f w ) = E [ u ∣ Z s = Z , y , f w ] as its minimiser, which carries N ( 0 , I ) \mathcal{N}(0,I) N ( 0 , I ) to the posterior of Z 1 Z_1 Z 1 ([84 ] ). The frame is an affine map per coordinate, so straight lines in Z Z Z are straight lines in X X X , and all eight coordinates are flat (Section E.5): the path needs no geodesics. FMPE with a Gaussian base is studied by Dax et al. [33 ] , and has been applied to LISA massive black-hole binaries ((Liang et al., 2024)) and to a single GB-like source in gapped data ([95 ] ); here the Gaussian is placed and scaled by the data.
The Frame
The frame is the network’s first output (Section G.2): for each of the S S S slots and each coordinate, a shift and a log scale ( δ μ , δ s ) (\delta_\mu,\delta_s) ( δ μ , δ s ) around the prior’s moments,
μ = μ π + σ π δ μ , log σ = log σ π + δ s , (44) \mu=\mu_\pi+\sigma_\pi\delta_\mu,\qquad\log\sigma=\log\sigma_\pi+\delta_s, \tag*{(44)} μ = μ π + σ π δ μ , log σ = log σ π + δ s , (44)
with ( μ π , σ π ) (\mu_\pi,\sigma_\pi) ( μ π , σ π ) the mean and standard deviation of the slot’s coordinate under the prior, sources in order of f 0 f_0 f 0 . For x f x_f x f these are the moments of the k k k -th of S S S uniform order statistics on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , mean 2 k / ( S + 1 ) − 1 2k/(S+1)-1 2 k / ( S + 1 ) − 1 and standard deviation 2 k ( S + 1 − k ) / ( ( S + 1 ) 2 ( S + 2 ) ) 2\sqrt{k(S+1-k)}/((S+1)^2(S+2)) 2 k ( S + 1 − k ) / (( S + 1 ) 2 ( S + 2 )) ; x ˙ f \dot{x}_f x ˙ f and the sky are standardised by the chart and have ( 0 , 1 ) (0,1) ( 0 , 1 ) ; for z ± z_\pm z ± the mean is zero and the variance E ∣ z ± ∣ 2 / 2 \mathbb{E}|z_\pm|^2/2 E ∣ z ± ∣ 2 /2 , by quadrature over the amplitude prior at the window’s centre and the inclination. The frame head starts at zero, so an untrained network’s frame is the prior’s.
Loss. The frame is trained on the Gaussian negative log-likelihood of X 1 X_1 X 1 , up to a constant and a factor of two, with a weight and a ridge,
L f r a m e = E 1 8 S ∑ k = 1 S ∑ i = 1 8 [ sg ( e δ s , k i ) ( κ k i 2 + 2 δ s , k i ) + λ ( δ μ , k i 2 + δ s , k i 2 ) ] , κ = X 1 − μ σ , (45) \mathcal{L}_{\mathrm{frame}}=\mathbb{E}\frac{1}{8S}\sum_{k=1}^{S}\sum_{i=1}^{8}\left[\operatorname{sg}(e^{\delta_{s,ki}})\left(\kappa_{ki}^{2}+2\delta_{s,ki}\right)+\lambda\left(\delta_{\mu,ki}^{2}+\delta_{s,ki}^{2}\right)\right],\qquad\kappa=\frac{X_1-\mu}{\sigma}, \tag*{(45)} L frame = E 8 S 1 k = 1 ∑ S i = 1 ∑ 8 [ sg ( e δ s , k i ) ( κ k i 2 + 2 δ s , k i ) + λ ( δ μ , k i 2 + δ s , k i 2 ) ] , κ = σ X 1 − μ , (45)
with sg \operatorname{sg} sg the stop-gradient and λ = 0.001 \lambda=0.001 λ = 0.001 . The frame depends on ( y , f w ) (y,f_w) ( y , f w ) alone, so the weight is the same for every X 1 X_1 X 1 the posterior holds and does not move the minimiser of each observation’s term: up to the ridge, μ = E [ X 1 ∣ y , f w ] \mu=\mathbb{E}[X_1\mid y,f_w] μ = E [ X 1 ∣ y , f w ] and σ 2 = Var ( X 1 ∣ y , f w ) \sigma^2=\operatorname{Var}(X_1\mid y,f_w) σ 2 = Var ( X 1 ∣ y , f w ) , the posterior’s marginal moments. What the weight changes is the balance across observations. The gradient of κ 2 \kappa^2 κ 2 in δ μ \delta_\mu δ μ is − 2 κ e − δ s -2\kappa e^{-\delta_s} − 2 κ e − δ s , which grows as the frame narrows: a loud source, whose frame is many decades narrower than the prior, would dominate the batch. With the weight it is − 2 κ -2\kappa − 2 κ , the same for every source in standardised units. The curvature in δ μ \delta_\mu δ μ is still 2 e − 2 δ s 2e^{-2\delta_s} 2 e − 2 δ s , so a loud source’s term is far stiffer than a quiet one’s, and the optimiser’s steps, the same size for every source, can throw it many widths off. The ridge sits outside the weight and bounds that: as e δ s → 0 e^{\delta_s}\to0 e δ s → 0 its pull on δ s \delta_s δ s stays 2 λ δ s 2\lambda\delta_s 2 λ δ s while the likelihood’s fades, so the frame’s width settles no lower than σ ≈ λ ln ( 1 / λ ) \sigma\approx\lambda\ln(1/\lambda) σ ≈ λ ln ( 1/ λ ) prior widths. A loud source’s frame is then wider than its posterior and the flow narrows the rest in Z 1 Z_1 Z 1 ; a quiet source’s is unchanged, the ridge being small against its likelihood.
Student-t variant. The continuation of the full band with S = 4 S=4 S = 4 (Section K.1) replaces κ 2 \kappa^2 κ 2 in Equation (45) by the Student-t term ( ν + 1 ) ln ( 1 + κ 2 / ν ) (\nu+1)\ln(1+\kappa^2/\nu) ( ν + 1 ) ln ( 1 + κ 2 / ν ) with ν = 4 \nu=4 ν = 4 , weight and ridge unchanged. Under the weight, the Gaussian term’s gradients are − 2 κ -2\kappa − 2 κ in δ μ \delta_\mu δ μ and 2 e δ s ( 1 − κ 2 ) 2e^{\delta_s}(1-\kappa^2) 2 e δ s ( 1 − κ 2 ) in δ s \delta_s δ s , unbounded in κ \kappa κ ; one entry whose frame has collapsed far below its errors fills a clipped step on its own. The Student-t’s are − 2 ( ν + 1 ) κ / ( ν + κ 2 ) -2(\nu+1)\kappa/(\nu+\kappa^2) − 2 ( ν + 1 ) κ / ( ν + κ 2 ) , at most ( ν + 1 ) / ν (\nu+1)/\sqrt{\nu} ( ν + 1 ) / ν in size, and 2 e δ s [ 1 − ( ν + 1 ) κ 2 / ( ν + κ 2 ) ] 2e^{\delta_s}[1-(\nu+1)\kappa^2/(\nu+\kappa^2)] 2 e δ s [ 1 − ( ν + 1 ) κ 2 / ( ν + κ 2 )] , at most 2 ν e δ s 2\nu e^{\delta_s} 2 ν e δ s . The Student-t is a scale mixture of Gaussians, and its expected precision weight given the residual, ( ν + 1 ) / ( ν + κ 2 ) (\nu+1)/(\nu+\kappa^2) ( ν + 1 ) / ( ν + κ 2 ) , discounts an outlier instead of following it. The frame is then no longer the moment match: its scale lies below the posterior’s standard deviation, and the flow, which reads it through the stop-gradient, takes up the difference in Z 1 Z_1 Z 1 . The logged frame loss stays the Gaussian one, so it does not compare across the switch.
The Endpoint Distribution and the Loss
For each source and coordinate the flow outputs the mean Z ^ 1 \hat{Z}_1 Z ^ 1 and the log standard deviation log τ \log\tau log τ of a Gaussian over the endpoint, given the point on the path, and its velocity is Equation (11) . The output is a position in the frame, whose scale does not change along the path, while the velocity grows as 1 / ( 1 − s ) 1/(1-s) 1/ ( 1 − s ) near the end (Section F.5); endpoint prediction converted to a velocity is also used on structured data ([117 ] ). The width τ \tau τ serves the loss only; the sampler follows the mean.
The second term of Equation (12) is minimised by the conditional mean and variance of each coordinate, Z ^ 1 = E [ Z 1 ∣ Z s , y , f w ] \widehat{Z}_1 = \mathbb{E}[Z_1 \mid Z_s, y, f_w] Z 1 = E [ Z 1 ∣ Z s , y , f w ] and τ 2 = Var ( Z 1 ∣ Z s , y , f w ) \tau^2 = \operatorname{Var}(Z_1 \mid Z_s, y, f_w) τ 2 = Var ( Z 1 ∣ Z s , y , f w ) , so the velocity of Equation (11) is the marginal field v ⋆ v^\star v ⋆ . On the straight path Z 1 − Z s = ( 1 − s ) u Z_1 - Z_s = (1-s)u Z 1 − Z s = ( 1 − s ) u , so Z ^ 1 − Z 1 = ( 1 − s ) ( v ^ η − u ) \widehat{Z}_1 - Z_1 = (1-s)(\widehat{v}_\eta-u) Z 1 − Z 1 = ( 1 − s ) ( v η − u ) and Var ( Z 1 ∣ Z s ) = ( 1 − s ) 2 Var ( u ∣ Z s ) \operatorname{Var}(Z_1 \mid Z_s) = (1-s)^2\operatorname{Var}(u \mid Z_s) Var ( Z 1 ∣ Z s ) = ( 1 − s ) 2 Var ( u ∣ Z s ) . At the optimal τ \tau τ each term is therefore, up to a constant, the ratio of Equation (13) : the factors of 1 − s 1-s 1 − s cancel, so a source the data pin down weighs as much as one whose posterior is its prior, with no weights over time or coordinates. The learned τ \tau τ acts as the learned task uncertainties of Kendall et al. [67 ] , one per point rather than one per task. The frame’s loss, Equation (45) , is the same Gaussian likelihood at s = 0 s=0 s = 0 .
Stratified Time
Each point’s time is s ∼ U ( 0 , 1 ) s \sim\mathcal{U}(0,1) s ∼ U ( 0 , 1 ) , stratified over the B = 1024 B=1024 B = 1024 points of a batch: with π \pi π a random permutation, point i i i gets s i = ( π i + U i ) / B s_i=(\pi_i+U_i)/B s i = ( π i + U i ) / B , U i ∼ U ( 0 , 1 ) U_i \sim\mathcal{U}(0,1) U i ∼ U ( 0 , 1 ) . Every stratum of s s s is then covered in every batch, which lowers the variance of the batch loss at no cost, as the low-discrepancy sampler of variational diffusion models does [70 ] . The network sees s s s and log 10 ( 1 − s ) \log_{10}(1-s) log 10 ( 1 − s ) , the latter clipped to [ − 6 , 0 ] [-6,0] [ − 6 , 0 ] (Section G), so it can tell apart times that differ only in how close they are to the end.
Non-uniform time sampling is standard for diffusion models [65 , 69 , 42 ] , and FMPE up-weights late times with a power law in t t t [33 Sec. 3.3] . Here time stays uniform: under Equation (12) the reward for narrowing a posterior does not fade with its width and is collected along the whole path (Section F.5), so the end of the path needs no extra share of the batch.
What the Loss and the Sampler See of a Narrow Posterior
The posteriors of loud sources are orders of magnitude narrower than the prior in x f x_f x f and x ˙ f \dot{x}_f x ˙ f . A Gaussian model of one coordinate shows how much a loss rewards getting such a width right and how well a sampler resolves it. The velocity loss of standard flow matching hardly rewards it, the endpoint likelihood of Equation (12) does at every width, and a uniform sampler grid resolves it only once the frame has divided it out.
Model. Take one coordinate with base x 0 ∼ N ( 0 , s 0 2 ) x_0 \sim\mathcal{N}(0,s_0^2) x 0 ∼ N ( 0 , s 0 2 ) , posterior x 1 ∼ N ( 0 , w 2 ) x_1 \sim\mathcal{N}(0,w^2) x 1 ∼ N ( 0 , w 2 ) , the straight path x s = ( 1 − s ) x 0 + s x 1 x_s=(1-s)x_0+sx_1 x s = ( 1 − s ) x 0 + s x 1 and the target u = x 1 − x 0 u=x_1-x_0 u = x 1 − x 0 . With ϵ = 1 − s \epsilon=1-s ϵ = 1 − s the remaining path, the marginal is x s ∼ N ( 0 , m 2 ) x_s \sim\mathcal{N}(0,m^2) x s ∼ N ( 0 , m 2 ) with m 2 = ϵ 2 s 0 2 + s 2 w 2 m^2=\epsilon^2s_0^2+s^2w^2 m 2 = ϵ 2 s 0 2 + s 2 w 2 , and the optimal field is linear,
v ⋆ ( x , s ) = g ( s ) x , g ( s ) = s w 2 − ϵ s 0 2 m 2 , V ≡ Var ( u ∣ x s ) = s 0 2 w 2 m 2 . (46) v^\star(x,s)=g(s)x,\qquad g(s)=\frac{sw^2-\epsilon s_0^2}{m^2},\qquad V\equiv\operatorname{Var}(u\mid x_s)=\frac{s_0^2w^2}{m^2}. \tag*{(46)} v ⋆ ( x , s ) = g ( s ) x , g ( s ) = m 2 s w 2 − ϵ s 0 2 , V ≡ Var ( u ∣ x s ) = m 2 s 0 2 w 2 . (46)
Without a frame, s 0 s_0 s 0 is the prior’s width; in the frame, s 0 = 1 s_0=1 s 0 = 1 and w w w is the posterior’s width over the frame’s. A model that takes the posterior to be the wider N ( 0 , w m 2 ) \mathcal{N}(0,w_m^2) N ( 0 , w m 2 ) has the field g m ( s ) x g_m(s)x g m ( s ) x and the conditional variance V m V_m V m , with w → w m w\to w_m w → w m in g g g , m m m and V V V . Under uniform time the velocity loss pays, by the orthogonality of the regression residual, an excess over its irreducible part V V V of
Δ L v e l ( w m ; w ) = ∫ 0 1 m 2 [ g m − g ] 2 d ϵ , (47) \Delta L_{\mathrm{vel}}(w_m;w)=\int_0^1m^2\left[g_m-g\right]^2\mathrm{d}\epsilon, \tag*{(47)} Δ L vel ( w m ; w ) = ∫ 0 1 m 2 [ g m − g ] 2 d ϵ , (47)
and the flow’s term of Equation (12) , whose minimiser is ( g , V ) (g,V) ( g , V ) by Equation (13) , pays
Δ L n l l ( w m ; w ) = ∫ 0 1 [ m 2 ( g m − g ) 2 V m + V V m − 1 − ln V V m ] d ϵ . (48) \Delta L_{\mathrm{nll}}(w_m;w)=\int_0^1\left[\frac{m^2(g_m-g)^2}{V_m}+\frac{V}{V_m}-1-\ln\frac{V}{V_m}\right]\mathrm{d}\epsilon. \tag*{(48)} Δ L nll ( w m ; w ) = ∫ 0 1 [ V m m 2 ( g m − g ) 2 + V m V − 1 − ln V m V ] d ϵ . (48)
Proposition F.1. For w ≪ w m ≪ s 0 w\ll w_m\ll s_0 w ≪ w m ≪ s 0 ,
Δ L v e l ≃ π 4 s 0 w m , (49) \Delta L_{\mathrm{vel}}\simeq\frac{\pi}{4}s_0w_m, \tag*{(49)} Δ L vel ≃ 4 π s 0 w m , (49) to leading order independent of the true width w w w , and for w , w m ≪ s 0 w,w_m\ll s_0 w , w m ≪ s 0
Δ L n l l ≃ ln w m 2 w 2 + w 2 w m 2 − 1 = 2 KL ( N ( 0 , w 2 ) ∥ N ( 0 , w m 2 ) ) , (50) \Delta L_{\mathrm{nll}}\simeq\ln\frac{w_m^2}{w^2}+\frac{w^2}{w_m^2}-1=2\operatorname{KL}\bigl(\mathcal{N}(0,w^2)\,\|\,\mathcal{N}(0,w_m^2)\bigr), \tag*{(50)} Δ L nll ≃ ln w 2 w m 2 + w m 2 w 2 − 1 = 2 KL ( N ( 0 , w 2 ) ∥ N ( 0 , w m 2 ) ) , (50) which depends on the widths only through w m / w w_m/w w m / w .
Proof. Set s 0 = 1 s_0 = 1 s 0 = 1 . Where ϵ ≫ w \epsilon\gg w ϵ ≫ w , m 2 ≃ ϵ 2 m^2 \simeq\epsilon^2 m 2 ≃ ϵ 2 and g ≃ − 1 / ϵ g \simeq-1/\epsilon g ≃ − 1/ ϵ , so up to a relative O ( ϵ ) O(\epsilon) O ( ϵ )
m 2 ( g m − g ) 2 ≃ w m 4 ( ϵ 2 + w m 2 ) 2 . m^2(g_m-g)^2 \simeq\frac{w_m^4}{(\epsilon^2+w_m^2)^2}. m 2 ( g m − g ) 2 ≃ ( ϵ 2 + w m 2 ) 2 w m 4 .
and the region ϵ ≲ w \epsilon\lesssim w ϵ ≲ w contributes a relative O ( w / w m ) O(w/w_m) O ( w / w m ) . With ϵ = w m z \epsilon= w_m z ϵ = w m z , Equation (47) is w m ∫ 0 ∞ ( 1 + z 2 ) − 2 d z = π 4 w m w_m\int_0^\infty(1+z^2)^{-2}\,dz=\frac{\pi}{4}w_m w m ∫ 0 ∞ ( 1 + z 2 ) − 2 d z = 4 π w m . In Equation (48) , V m ≃ w m 2 / ( ϵ 2 + w m 2 ) V_m\simeq w_m^2/(\epsilon^2+w_m^2) V m ≃ w m 2 / ( ϵ 2 + w m 2 ) , so the first term is ≃ w m 2 / ( ϵ 2 + w m 2 ) \simeq w_m^2/(\epsilon^2+w_m^2) ≃ w m 2 / ( ϵ 2 + w m 2 ) and integrates to π 2 w m \frac{\pi}{2}w_m 2 π w m . Where ϵ ≫ w m \epsilon\gg w_m ϵ ≫ w m , V / V m ≃ w 2 / w m 2 V/V_m\simeq w^2/w_m^2 V / V m ≃ w 2 / w m 2 up to a relative O ( w m 2 / ϵ 2 ) O(w_m^2/\epsilon^2) O ( w m 2 / ϵ 2 ) , and the rest of the integrand is the constant Equation (50) ; the region ϵ ≲ w m \epsilon\lesssim w_m ϵ ≲ w m changes the integral by O ( w m ln ( w m / w ) ) O(w_m\ln(w_m/w)) O ( w m ln ( w m / w )) . The factors of s 0 s_0 s 0 follow from dimensions: Δ L v e l \Delta L_{\mathrm{vel}} Δ L vel scales as s 0 2 s_0^2 s 0 2 and depends on w m / s 0 w_m/s_0 w m / s 0 alone, Δ L n l l \Delta L_{\mathrm{nll}} Δ L nll is dimensionless.
Quadrature of Equations (47) and (F6) confirms both: at w m = 10 − 3 s 0 w_m=10^{-3}s_0 w m = 1 0 − 3 s 0 and a true posterior 10 4 10^4 1 0 4 times narrower, the velocity loss’s excess is 1.000 of Equation (49) and the likelihood’s 1.000 of Equation (50) (Figure 11 a).
Consequence for the loss. Under the velocity loss the excess is linear in the model’s width: halving a width of 10 − 3 s 0 10^{-3}s_0 1 0 − 3 s 0 is worth a hundredth of halving one of 10 − 1 s 0 10^{-1}s_0 1 0 − 1 s 0 . Nothing in the objective grows as a narrow posterior approaches its true width, and the reward for the last decades of narrowing is far below the scatter of a logged loss. Reweighting time towards the end of the path raises it, but only down to the latest time the weighting reaches. The likelihood instead pays 2 for every e-fold by which the model is too wide, whatever the true width, until w m w_m w m nears w w w ; a model too narrow pays more still, through w 2 / w m 2 w^2/w_m^2 w 2 / w m 2 . The reward is collected along the whole path rather than at its end: wherever ϵ ≫ w m / s 0 \epsilon\gg w_m/s_0 ϵ ≫ w m / s 0 , V V V is the posterior variance itself, and the loss compares the model’s width with it directly. Because τ \tau τ is predicted per point, the comparison is made for each source separately, not against a mean pooled over the batch.
Where the bands sit. The x f x_f x f coordinate is uniform on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] under the prior, so without a frame s 0 = 1 / 3 s_0=1/\sqrt{3} s 0 = 1/ 3 , and one unit of x f x_f x f spans 96 frequency bins in the narrow band and 192 in the full band (Section E). For a sinusoid of unknown amplitude and phase the Fisher bound on the frequency is 3 / ( π ρ ) \sqrt{3}/(\pi\rho) 3 / ( π ρ ) bins. Over the visible sources, from SNR 7 to the prior’s 99.99% quantile (86 in the narrow band, 67 in the full band), this gives an ideal w / s 0 w/s_0 w / s 0 from 1 × 10 − 4 1\times10^{-4} 1 × 1 0 − 4 to 1 × 10 − 3 1\times10^{-3} 1 × 1 0 − 3 in the narrow band and from 7 × 10 − 5 7\times10^{-5} 7 × 1 0 − 5 to 7 × 10 − 4 7\times10^{-4} 7 × 1 0 − 4 in the full band (bars in Figure 11 ). A frame that matches the posterior’s width brings every one of these to w / s 0 ∼ 1 w/s_0\sim1 w / s 0 ∼ 1 , and the flow’s term then sees order-one widths whatever the source’s SNR; the decades the frame does not remove are left to the likelihood’s relative reward.
Consequence for the sampler. The time grid is uniform, so the last step starts at 1 − s = 1 / K t 1-s=1/K_t 1 − s = 1/ K t and evaluates its midpoint at 1 − s = 1 64 1-s=\frac{1}{64} 1 − s = 64 1 , where the velocity carries the draw to 2 Z ^ 1 − Z 1 2\widehat{Z}_1-Z_1 2 Z 1 − Z 1 , with Z 1 Z_1 Z 1 and Z ^ 1 \widehat{Z}_1 Z 1 the means at the start and the midpoint. Where a posterior is much narrower than s 0 / 2 K t s_0/2K_t s 0 /2 K t , the exact means at both points hardly vary across draws: they are close to the posterior mean, and the last step puts every draw near it. Run from the prior’s scale on the exact Gaussian mean, the sampler returns 1.00 of the true width at w = 0.1 s 0 w = 0.1\,s_0 w = 0.1 s 0 , but 0.13 of it at the narrow band’s ideal width for SNR 7 (0.49 with 128 steps, 0.96 with 512) and 7 × 10 − 2 7 \times10^{-2} 7 × 1 0 − 2 at the full band’s (0.79 with 512 steps; Figure 11 b). In a frame of the posterior’s width, w = s 0 w = s_0 w = s 0 , it returns 1.001 of it with 32 steps: the frame removes the collapse, as long as it is not decades wider than the posterior. A trained frame and flow are not exact, so the widths of trained models are measured instead; they no longer change with the number of steps at 32 (§ 21 .§ 5 ).
Sampling
To sample a window, the data are encoded once and the frame ( μ , σ ) (\mu, \sigma) ( μ , σ ) read off; N N N base draws Z ∼ N ( 0 , I ) Z \sim\mathcal{N}(0, I) Z ∼ N ( 0 , I ) are carried over K t = 32 K_t = 32 K t = 32 uniform midpoint steps of Equation (43) with the velocity of Equation (11) , and mapped back with X = μ + σ Z X = \mu+ \sigma Z X = μ + σ Z and ϕ \phi ϕ (Algorithm 2). A step from s s s to s + Δ s s + \Delta s s + Δ s evaluates the velocity at its start, takes a half step to the midpoint and takes the full step with the velocity there, so a draw costs 2 K t = 64 2K_t = 64 2 K t = 64 network evaluations. The data stream of the network depends only on ( y , f w ) (y, f_w) ( y , f w ) , so it serves every draw and every step (Section G). The draws keep the order of the slots but are not forced into it: two close sources may swap, as they do in the posterior’s tail across the boundary of the ordered region (Section E.6).
Cost. On one A100, 256 draws of one window take 0.22 s with the narrow-band B model and 0.25 s with the full-band one, and 1024 draws take 0.98 s: the cost is linear in the draws and almost independent of the band, since the network evaluations dominate and the data are encoded once (Figure 12 ). Across sizes, 256 draws take 0.08 s (XS) to 0.92 s (full-band XL). The MCMC reference (Section J) runs one chain per injection over all the sources of its window, and a chain takes 4.3 to 9.5 h on two CPU cores in the narrow band and about 33 to 40 h in the full band with sixteen sources (Section J.4). The flow is about 10 4.8 10^{4.8} 1 0 4.8 to 10 5.8 10^{5.8} 1 0 5.8 times faster per window. The hardware differs, so the ratio is a wall-time comparison, not one of compute; and the flow’s cost is paid once more in training (Section H).
Network
This appendix specifies the network of § 6.1 well enough to rebuild it: the forward pass in the order of the data flow, then the sizes. The network is a one-way multi-stream transformer, the MMDiT of Esser et al. [42 ] with adaptive-normalisation conditioning of Peebles & Xie [104 ] . An encoder runs the data tokens and one frame register per slot, conditioned on the window alone, and returns the frame of Section F, a mean and a log standard deviation per coordinate of each source slot. A decoder runs the source tokens and four sink tokens, conditioned on the flow time and the window, and returns the mean and log standard deviation of the endpoint Z 1 Z_1 Z 1 in that frame. Figure 4 shows the layout, Table 9 what each token is built from and Table 10 the sizes.
Algorithm 1 One training step, written for one observation; the batch holds 64 observations of 16 points each.
Input: network weights η \eta η
draw f w f_w f w and θ 1 : S ∼ π ( ⋅ ∣ f w ) \theta_{1:S} \sim\pi(\cdot\mid f_w) θ 1 : S ∼ π ( ⋅ ∣ f w ) (Section D)
simulate the data d d d and form y = y ( d , f w ) y = y(d, f_w) y = y ( d , f w ) (Sections B and C)
X 1 ← φ ( θ 1 : S ; f w ) X_1 \leftarrow\varphi(\theta_{1:S}; f_w) X 1 ← φ ( θ 1 : S ; f w ) , sources in order of f 0 f_0 f 0
encode ( y , f w ) (y, f_w) ( y , f w ) once: frame ( μ , σ ) (\mu, \sigma) ( μ , σ ) (Equation (44) )
Z 1 ← sg ( X 1 − μ ) / σ Z_1 \leftarrow\operatorname{sg}(X_1 - \mu)/\sigma Z 1 ← sg ( X 1 − μ ) / σ
for each of the 16 points do
Z 0 ∼ N ( 0 , I ) Z_0 \sim\mathcal{N}(0, I) Z 0 ∼ N ( 0 , I ) ; s s s from its stratum
Z s ← Z 0 + s ( Z 1 − Z 0 ) Z_s \leftarrow Z_0 + s(Z_1 - Z_0) Z s ← Z 0 + s ( Z 1 − Z 0 ) (Equation (10) )
( Z ^ 1 , log τ ) ← net η ( Z s , s ; sg ( μ , σ ) , y , f w ) (\hat{Z}_1, \log\tau) \leftarrow\operatorname{net}_{\eta}(Z_s, s; \operatorname{sg}(\mu, \sigma), y, f_w) ( Z ^ 1 , log τ ) ← net η ( Z s , s ; sg ( μ , σ ) , y , f w )
end for
take an optimiser step on Equation (12) in η \eta η (Section H)
Algorithm 2 Sampling the posterior of one window.
Input: the input y y y of a window f w f_w f w , number of draws N N N , steps K t = 32 K_t = 32 K t = 32
encode ( y , f w ) (y, f_w) ( y , f w ) once: frame ( μ , σ ) (\mu, \sigma) ( μ , σ ) ; Δ s ← 1 / K t \Delta s \leftarrow1/K_t Δ s ← 1/ K t
v ^ η ( Z , s ) = ( Z ^ 1 , η ( Z , s ; y , f w ) − Z ) / ( 1 − s ) \hat{v}_{\eta}(Z, s) = (\hat{Z}_{1,\eta}(Z, s; y, f_w) - Z)/(1 - s) v ^ η ( Z , s ) = ( Z ^ 1 , η ( Z , s ; y , f w ) − Z ) / ( 1 − s ) (Equation (11) )
for n = 1 n = 1 n = 1 to N N N (in parallel) do
Z ∼ N ( 0 , I ) Z \sim\mathcal{N}(0, I) Z ∼ N ( 0 , I )
for j = 0 j = 0 j = 0 to K t − 1 K_t - 1 K t − 1 do
s ← j Δ s s \leftarrow j\Delta s s ← j Δ s ; Z ′ ← Z + Δ s 2 v ^ η ( Z , s ) Z^\prime\leftarrow Z + \frac{\Delta s}{2}\hat{v}_{\eta}(Z, s) Z ′ ← Z + 2 Δ s v ^ η ( Z , s )
Z ← Z + Δ s v ^ η ( Z ′ , s + Δ s 2 ) Z \leftarrow Z + \Delta s\hat{v}_{\eta}(Z^\prime, s + \frac{\Delta s}{2}) Z ← Z + Δ s v ^ η ( Z ′ , s + 2 Δ s ) (Equation (43) )
end for
output φ − 1 ( μ + σ Z ; f w ) \varphi^{-1}(\mu+ \sigma Z; f_w) φ − 1 ( μ + σ Z ; f w )
end for
Notation. All feed-forward maps are SwiGLU ([112 ] ), F F ( h ) = W 2 ( a ⊙ SiLU ( g ) ) \mathrm{FF}(h) = W_2(a \odot\operatorname{SiLU}(g)) FF ( h ) = W 2 ( a ⊙ SiLU ( g )) with [ a ; g ] = W 1 h [a; g] = W_1h [ a ; g ] = W 1 h . A scalar ξ \xi ξ enters as sinusoids E ( ξ ) = [ cos ( 2 π ξ / P k ) ; sin ( 2 π ξ / P k ) ] k E(\xi) = [\cos(2\pi\xi/P_k); \sin(2\pi\xi/P_k)]_k E ( ξ ) = [ cos ( 2 π ξ / P k ) ; sin ( 2 π ξ / P k ) ] k over a set of periods P k P_k P k , followed by an FF. The absolute frequencies of the data tokens, the sources and the window share one set of periods in hertz, octaves P k = 2 k P 0 P_k = 2^kP_0 P k = 2 k P 0 from P 0 = 1 / 64 P_0 = 1/64 P 0 = 1/64 of a bin ( 1 / T o b s ) (1/T_{\mathrm{obs}}) ( 1/ T obs ) up to past twice the top bin of the band. The fine periods give the sub-bin resolution that posteriors this narrow require. The turns ξ / P k \xi/P_k ξ / P k are reduced modulo one in float64 before the cast, so that even the finest period keeps its phase. Every embedding runs in float32, whatever the precision of the backbone (Section G.8).
Data Tokens
Whitened input. The input y y y is the window whitened as in § 3.2 : the real and imaginary parts of A A A , E E E and T T T in each of the K K K bins from the window start k 0 k_0 k 0 (Section B). Below, y k , c y_{k,c} y k , c is the complex whitened value of bin k = 0 , … , K − 1 k = 0,\ldots,K-1 k = 0 , … , K − 1 and channel c ∈ { A , E , T } c \in\{A,E,T\} c ∈ { A , E , T } . Under noise alone its real and imaginary parts have unit variance, and a source’s whitened signal h ^ \hat{h} h ^ has ∑ k , c ∣ h ^ k , c ∣ 2 = ρ 2 \sum_{k,c} \lvert\hat{h}_{k,c}\rvert^2 = \rho^2 ∑ k , c ∣ h ^ k , c ∣ 2 = ρ 2 (Equation (31) ).
Short-time spectra. The window is cut into bands of Q = 16 Q = 16 Q = 16 consecutive bins, one token each: 16 tokens on the narrow band (K = 256 K = 256 K = 256 ) and 32 on the full band (K = 512 K = 512 K = 512 ). An orthonormal inverse discrete Fourier transform over each band turns its spectrum into Q Q Q time samples of the band’s signal, per channel,
y ˘ n , j , c = 1 Q ∑ l = 0 Q − 1 y n Q + l , c e 2 π i j l / Q , j = 0 , … , Q − 1 , (51) \breve{y}_{n,j,c} = \frac{1}{\sqrt{Q}}\sum_{l=0}^{Q-1} y_{nQ+l,c}e^{2\pi ijl/Q}, \qquad j=0,\ldots,Q-1, \tag*{(51)} y ˘ n , j , c = Q 1 l = 0 ∑ Q − 1 y n Q + l , c e 2 π ij l / Q , j = 0 , … , Q − 1 , (51)
an STFT with the tokens as its bands. It is critically sampled and untapered, so it is invertible, keeps the noise white, and neither leaks nor duplicates power between tokens, as an overlapping tapered transform would. Within a token, a source’s sub-bin frequency becomes a phase slope over the samples, its initial phase the intercept, and the annual Doppler and the amplitude modulation that carry its sky position a slow evolution in time.
Compression. The transform is unitary, so a source’s samples carry the same ρ 2 \rho^2 ρ 2 as its bins, and a single sample of its signal has ∣ h ˘ ∣ ≤ ρ \lvert\breve{h}\rvert\le\rho ∣ h ˘ ∣ ≤ ρ , which reaches 67 at the prior’s 99.99% quantile in the full band (Section D), against unit-variance noise. Each complex sample therefore enters as its compressed amplitude asinh ∣ y ˘ ∣ \operatorname{asinh}\lvert\breve{y}\rvert asinh ∣ y ˘ ∣ , linear in the noise and logarithmic for loud signals, and its gated phase y ˘ / 1 + ∣ y ˘ ∣ 2 \breve{y}/\sqrt{1+\lvert\breve{y}\rvert^2} y ˘ / 1 + ∣ y ˘ ∣ 2 , which is y ˘ \breve{y} y ˘ in the noise and a unit phasor for a loud signal. A token is 3 Q × 3 = 144 3Q \times3 = 144 3 Q × 3 = 144 numbers: 48 amplitudes and 96 phase parts, mapped linearly to R D \mathbb{R}^{D} R D .
Absolute frequency. Whitening and windowing remove the absolute frequency, which still matters: the Doppler width scales with f f f and the prior’s typical drift f ˙ \dot{f} f ˙ with f 3.48 f^{3.48} f 3.48 (Section E). Each data token therefore receives the absolute frequencies of its lowest and highest bin, ( k 0 + n Q ) / T o b s (k_0+nQ)/T_{\mathrm{obs}} ( k 0 + n Q ) / T obs and ( k 0 + n Q + Q − 1 ) / T o b s (k_0+nQ+Q-1)/T_{\mathrm{obs}} ( k 0 + n Q + Q − 1 ) / T obs , through F F y \mathrm{FF}_{y} FF y .
Frame Registers and Frame Head
The S S S frame registers are tokens that run beside the data tokens in every block, one per source slot, each a learned slot embedding plus ν f \nu_f ν f . They attend to the data and to each other, and the data attend to them; they are registers in the sense of Darcet et al. [30 ] , tokens that hold global state, here one per source. The slots are the sources in order of f 0 f_0 f 0 (Section E.6), so register k k k learns to frame the k k k -th lowest source.
After the last block, a final layer normalisation with a shift, scale and gate from ν f \nu_f ν f and a linear map R D → R 16 \mathbb{R}^{D}\to\mathbb{R}^{16} R D → R 16 without bias give each slot the shift and log scale ( δ μ , δ s ) (\delta_\mu,\delta_s) ( δ μ , δ s ) of its frame, per coordinate (Equation (44) ). The modulation and the gate are zero-initialised, so a fresh network’s frame is the prior’s moments. The frame costs almost nothing: the registers add S S S tokens to the data tokens, and the head is a small part of the encoder.
Source Tokens and Sinks
Each source token carries 52 scalars, mapped linearly to R D \mathbb{R}^{D} R D :
its eight coordinates in the frame, Z Z Z , and in the chart, X = μ + σ Z X=\mu+\sigma Z X = μ + σ Z (Section E);
the higher harmonics of its two helicity amplitudes in X X X , r cos k ϕ r\cos k\phi r cos k ϕ and r sin k ϕ r\sin k\phi r sin k ϕ for k = 2 , … , 6 k=2,\ldots,6 k = 2 , … , 6 , with ( r , ϕ ) (r,\phi) ( r , ϕ ) the polar form of each helicity pair (20 scalars), which give the network functions of the phases that vanish with the amplitude;
its slot’s frame, μ \mu μ and log σ \sigma σ , through a stop-gradient, so that the flow cannot train the frame (Section F.2).
To these the token adds a sinusoidal embedding of its absolute frequency f 0 f_0 f 0 , obtained from x f x_f x f through the inverse chart in float64 before any cast. A source token carries no label of its slot: it reads its frame through μ \mu μ and log σ \sigma σ and its slot’s keys and values in the cache, and every map applied to a source token is shared across sources, as in set transformers (Zaheer et al., 2017; Lee et al., [80 ] ).
The four sink tokens, each a learned embedding plus ν \nu ν , join the source stream with their own maps. They give the sources’ attention somewhere to go other than the data, and since they start from ν \nu ν they can carry per-draw state (Xiao et al., [135 ] ; Darcet et al., [30 ] ). They are neither cached nor read out.
One-Way Blocks
Each of the N N N blocks updates four streams: the data tokens h y h^y h y and the frame registers h r h^r h r , conditioned on ν f \nu_f ν f , and the source tokens h x h^x h x and the sink tokens h s h^s h s , conditioned on ν \nu ν (Section G.5). For each stream ℓ \ell ℓ , a zero-initialised linear map of SiLU ( ν f ) \operatorname{SiLU}(\nu_f) SiLU ( ν f ) or SiLU ( ν ) \operatorname{SiLU}(\nu) SiLU ( ν ) gives a shift, a scale and a gate ( β ℓ , γ ℓ , ϖ ℓ ) (\beta^\ell,\gamma^\ell,\varpi^\ell) ( β ℓ , γ ℓ , ϖ ℓ ) , so that every residual branch starts as the identity (Peebles & Xie, [104 ] ):
u ℓ = LN ( h ℓ ) ⊙ ( 1 + γ ℓ ) + β ℓ , [ q ℓ ; k ℓ ; v ℓ ] = [ W q ℓ u ℓ ; W k ℓ u ℓ ; W v ℓ u ℓ ] , [ o y ; o r ] = Attn ( [ q y ; q r ] ; [ k y ; k r ] , [ v y ; v r ] ) , [ o x ; o s ] = Attn ( [ q x ; q s ] ; [ k x ; k s ; k y ; k r ] , [ v x ; v s ; v y ; v r ] ) , h ℓ ← h ℓ + ϖ ℓ ⊙ W o ℓ o ℓ , h ℓ ← h ℓ + ϖ ′ ℓ ⊙ FF ℓ ( LN ( h ℓ ) ⊙ ( 1 + γ ′ ℓ ) + β ′ ℓ ) . (52) \begin{aligned}
u^\ell&= \operatorname{LN}(h^\ell) \odot(1+\gamma^\ell)+\beta^\ell, \qquad[q^\ell;k^\ell;v^\ell]=[W_q^\ell u^\ell;W_k^\ell u^\ell;W_v^\ell u^\ell],\\
[o^y;o^r] &= \operatorname{Attn}([q^y;q^r];[k^y;k^r],[v^y;v^r]),\\
[o^x;o^s] &= \operatorname{Attn}([q^x;q^s];[k^x;k^s;k^y;k^r],[v^x;v^s;v^y;v^r]),\\
h^\ell&\leftarrow h^\ell+\varpi^\ell\odot W_o^\ell o^\ell,\\
h^\ell&\leftarrow h^\ell+\varpi'^\ell\odot\operatorname{FF}^\ell\bigl(\operatorname{LN}(h^\ell)\odot(1+\gamma'^\ell)+\beta'^\ell\bigr). \tag*{(52)}
\end{aligned} u ℓ [ o y ; o r ] [ o x ; o s ] h ℓ h ℓ = LN ( h ℓ ) ⊙ ( 1 + γ ℓ ) + β ℓ , [ q ℓ ; k ℓ ; v ℓ ] = [ W q ℓ u ℓ ; W k ℓ u ℓ ; W v ℓ u ℓ ] , = Attn ([ q y ; q r ] ; [ k y ; k r ] , [ v y ; v r ]) , = Attn ([ q x ; q s ] ; [ k x ; k s ; k y ; k r ] , [ v x ; v s ; v y ; v r ]) , ← h ℓ + ϖ ℓ ⊙ W o ℓ o ℓ , ← h ℓ + ϖ ′ ℓ ⊙ FF ℓ ( LN ( h ℓ ) ⊙ ( 1 + γ ′ ℓ ) + β ′ ℓ ) . (52)
with a second shift, scale and gate for the feed-forward branch, LN a layer normalisation without learned affine parameters, and feed-forward hidden width 2 D 2D 2 D . Each stream has its own maps and there are no biases inside the blocks. The query, key and value maps are separate matrices, so that the optimiser orthogonalises each on its own (Section H.2). Activations are rematerialised in the backward pass (Chen et al., [20 ] ).
Cache. The data and the registers never read the sources, the sinks or t t t , so their keys and values in every block and the registers’ outputs depend on ( y , f w ) (y,f_w) ( y , f w ) alone. One encoding of an observation therefore gives its frame and serves all 16 base draws that share it in training, and in sampling all 2 K t = 64 2K_t=64 2 K t = 64 evaluations along every draw’s path (Section F.6). In size B, encoding a full-band window takes 1.5 GFLOP of matrix products, 4 times one evaluation on the cache (0.39 GFLOP), and the cache holds 0.5625 MiB in bfloat16; a narrow window takes 0.85 and 0.38 GFLOP, with 0.3125 MiB of cache. The last block’s data and sink outputs reach nothing, so it omits their output projections, feed-forward modulations and feed-forward maps; its register outputs feed the frame head.
Attention. Attention has H H H heads of dimension 64. Queries and keys are normalised by their root mean square (RMS) per head, and the queries carry a learned per-head gain initialised to one (Henry et al., [56 ] ; Dehghani et al., [36 ] ). The source and sink queries take one softmax over their own keys and the cached keys, computed in parts that are never concatenated in memory, since concatenation would copy the shared cache once per draw.
Conditioning
The data stream, the registers and the frame head are conditioned on the window alone,
ν f = FF f ( [ E ( f l o ) ; E ( f h i ) ] ) , (53) \nu_f=\operatorname{FF}_f\bigl([E(f_{\mathrm{lo}});E(f_{\mathrm{hi}})]\bigr), \tag*{(53)} ν f = FF f ( [ E ( f lo ) ; E ( f hi )] ) , (53)
with f l o f_{\mathrm{lo}} f lo and f h i f_{\mathrm{hi}} f hi in hertz the lowest and highest f 0 f_0 f 0 a source of the window can have, the prior’s range cut to the window less its guard bands (Section B). The source stream, the sinks and the endpoint head are conditioned on
ν = FF ν ( [ E ( t ) ; E ( max ( log 10 ( 1 − t ) , − 6 ) + 6 ) ] ) + ν f , (54) \nu=\operatorname{FF}_\nu\bigl([E(t);E(\max(\log_{10}(1-t),-6)+6)]\bigr)+\nu_f, \tag*{(54)} ν = FF ν ( [ E ( t ) ; E ( max ( log 10 ( 1 − t ) , − 6 ) + 6 )] ) + ν f , (54)
where t t t is the path position s s s of Section F and each time scalar’s periods are geometric down from twice its span. The second input resolves the last decades of the path, where the fine structure of a posterior forms (Section F.5).
Positions
The keys, queries and values of the data and source tokens are rotated by frequency (Su et al., 2024; Miyato et al., [99 ] ): each of the 32 pairs of a head’s dimensions turns by $2\pi f/P_j$, with periods P j = 2 K j / ( 32 − 1 ) / T P_j=2K^{j/(32-1)}/T P j = 2 K j / ( 32 − 1 ) / T geometric from 2 bins to twice the window. A score then depends on how far apart its two tokens are in frequency, and the weighted sum of rotated values is turned back by the query’s own angle, so that a value also arrives relative to its query. A data token’s position $f is its centre frequency and a source’s its f 0 f_0 f 0 , absolute in hertz, with the turns f / P j f/P_j f / P j reduced modulo one in float64 before the cast. A source thus finds the data tokens near its own f 0 f_0 f 0 by relative distance, instead of learning where each absolute position sits, and attends to the other sources by their distance in bins. Many of the periods are shorter than a token, so the rotation also resolves frequency inside a patch. The registers and the sinks carry no position: their keys and values are not rotated, and their outputs are not turned back.
Endpoint Head
The source tokens pass through a final layer normalisation with a shift and scale from ν \nu ν and an FF : R D → R 16 \mathbb{R}^{D} \to\mathbb{R}^{16} R D → R 16 with hidden width D D D , shared over sources. It gives each of the 8 coordinates the mean Z ^ 1 \hat{Z}_1 Z ^ 1 and the log standard deviation log τ \log\tau log τ of the endpoint in the frame (Section F.3). With the frame head, these are the network’s only outputs.
Sizes and Precision
Table 10 gives the five sizes, all with heads of dimension 64. The two bands differ only in the number of data tokens, which adds no parameters, and in the number of periods of the two absolute-frequency embeddings, which makes the narrow-band totals 10 240 to 40 960 parameters lower. Each block has 64 D 2 + H 64D^2 + H 64 D 2 + H parameters: each of the four streams has 6 D 2 6D^2 6 D 2 in its modulations, 4 D 2 4D^2 4 D 2 in its attention maps and 6 D 2 6D^2 6 D 2 in its feed-forward maps, and the queries carry H H H gains. The last block lacks the 20 D 2 20D^2 20 D 2 of the data and sink streams’ unused output projections, modulations and feed-forward maps, so the backbone has N ( 64 D 2 + H ) − 20 D 2 N(64D^2 + H) - 20D^2 N ( 64 D 2 + H ) − 20 D 2 parameters.
Precision. Parameters are kept in float32. One setting chooses what runs in bfloat16 ([63 ] (Micikevicius et al. 2018)): the whole backbone, forward and backward (the default), only the attention scores and weighted sums, or nothing. In every mode the embeddings, the conditioning maps and the two heads run in float32, and every softmax is taken in float32. The embeddings stay in float32 because bfloat16 keeps 8 significant bits: rounding a whitened value above 256 can move it by a unit of noise, and the loudest samples reach 67. In bfloat16 on Ampere or newer GPUs the data stream’s self-attention runs as a fused flash-attention kernel ([29 ] ).
Evaluating the trained models with a float32 backbone changes them little against their gap to the chains. In the separate re-evaluation of Section K.2, whose bfloat16 values differ from those of Table 19 , the median f 0 f_0 f 0 width relative to the joint chains’ at ρ = 15 \rho= 15 ρ = 15 –40 40 40 goes from 1.23 to 1.22 (narrow band, S = 4 S = 4 S = 4 ) and from 2.58 to 2.14 (full band, S = 8 S = 8 S = 8 ), and on loud full-band sources below 10 mHz from 3.48 to 3.38. The bfloat16 backbone is therefore not what keeps the loud sources wide, though at ρ = 15 \rho= 15 ρ = 15 –40 40 40 on the full band it accounts for about a sixth of the width.
Training and Compute
This appendix gives the recipe that trains the flow of Sections F and G (§ 6.4 ) and the compute it needs. Table 11 collects the hyperparameters, which every band and size shares; only the step counts depend on the band. The subsections explain the batch, the optimiser, the schedule, the training loop and the cost.
Table 11. Training recipe, shared by every band and size. γ t \gamma_t γ t is the Muon learning rate of Section H.3.
Batch
A batch holds 1024 ( Z 0 , t ) (Z_0,t) ( Z 0 , t ) samples: 64 simulated observations, each with its own centre frequency f w f_w f w and sources (Section D), and 16 draws of the base point and time per observation. The data stream of an observation is encoded once and shared by its draws (Section G), so the draws share the cost of both the simulation and the encoding. The times are stratified over the whole batch, one per stratum of 1024 equal strata (Section F.4).
Every batch is simulated on the device inside the step, so no observation is seen twice. The simulation takes 1 % of a narrow-B step and 3 % of a full-B step on an A100 (Table 7 ), whereas on eight CPU cores the full-band batch alone takes 1.6 s, about 22 times the whole GPU step. Simulating on the host is therefore not an option. The gradient can be accumulated over equal micro-batches of whole observations, which leaves the mean gradient unchanged; by default the batch is not split.
Optimiser
The gradient of the loss (Equation (12) ) is clipped to a global norm of 1. The parameters are then split between Muon (Jordan et al. [62 ] ) and AdamW, with the settings with which Liu et al. [90 ] scale Muon to large language models.
Muon. For a weight matrix W ∈ R m × n W \in\mathbb{R}^{m \times n} W ∈ R m × n (output by input) with clipped gradient G G G , Muon keeps a momentum M ← υ M + ( 1 − υ ) G M \leftarrow\upsilon M + (1-\upsilon)G M ← υ M + ( 1 − υ ) G , takes the Nesterov look-ahead N = υ M + ( 1 − υ ) G N = \upsilon M + (1-\upsilon)G N = υ M + ( 1 − υ ) G , and replaces it by an approximation O O O of the nearest semi-orthogonal matrix U V T UV^{\mathsf{T}} U V T (from N = U Σ V T N = U\Sigma V^{\mathsf{T}} N = U Σ V T ), computed with five quintic Newton–Schulz iterations (Jordan et al. [62 ] ). The step is
W ← W − γ t ( 0.2 max ( m , n ) O + κ W ) . (55) W \leftarrow W - \gamma_t \left(0.2\sqrt{\max(m,n)}\,O + \kappa W\right). \tag*{(55)} W ← W − γ t ( 0.2 max ( m , n ) O + κW ) . (55)
Its orthogonal part has an RMS of 0.2 γ t 0.2\gamma_t 0.2 γ t for every shape, the scale at which Liu et al. [90 ] match AdamW’s update size, so one learning rate serves every matrix. Weight matrices stacked over the backbone’s blocks are orthogonalised one block at a time. The decoupled decay κ \kappa κ applies only to the matrices Muon updates, and through γ t \gamma_t γ t it ends with the cooldown; Muon’s updates have a fixed size whatever the gradient’s, so without decay the weights grow and its lead over AdamW fades on long runs (Liu et al. [90 ] ).
AdamW. Every other parameter is updated by AdamW, without decay: decaying the AdamW parameters of an earlier version of the network shrank the head’s output rows for one coordinate to a small fraction of the others. The first moment is float32, because a bfloat16 one loses the small increments of a smooth gradient.
Assignment. Muon takes the weight matrix of every linear layer in seven modules of the network (Section G): the backbone, the two conditioning multilayer perceptrons (MLPs), the two Fourier-feature MLPs, the output modulations of the flow and of the frame, and the hidden layer of the endpoint head. AdamW takes the rest: the linear embeddings of the sources and of the data tokens, the register and sink embeddings, the frame’s output layer, the query gains, every bias and the endpoint head’s output layer. Muon holds 76 % of the parameters of full-XS, 93 % of full-B and 98 % of full-XL.
Learning rates and stability. The peak rates were not tuned by a sweep on this network, and neither was the batch. Muon’s matches AdamW’s because its update RMS does. At these rates five of the six runs of Section K trained to their end with every loss finite. Full-band S = 4 S = 4 S = 4 did not: from a few epochs before, isolated single steps sent the frame’s loss and the gradient norm up by many decades while the epoch medians stayed flat, and at epoch 51, just before its cooldown, a loss turned non-finite (Section K.1). Its continuation from an earlier snapshot with the Student-t frame loss of Section F.2, at the same rates and schedule, trained to its end with every loss finite, and its largest single-step gradient norm was 3 × 10 6 3 \times10^{6} 3 × 1 0 6 , against up to 9 × 10 17 9 \times10^{17} 9 × 1 0 17 in the Gaussian run’s last epochs. Whether lower rates avoid such spikes, or higher ones train faster, is open.
Muon [62 ] , its decay and update scale [90 ] and the warmup–stable–decay schedule [55 ] (Hu et al. 2024) are established on language models; none was tested on flow matching, and none was ablated here.
Schedule
Both learning rates rise linearly from zero over the first 2 % of the run, stay constant, and fall to zero over the last 20 % as γ t = γ ( 1 − t − T c T − T c ) \gamma_t = \gamma\left(1 - \sqrt{\frac{t - T_c}{T - T_c}}\right) γ t = γ ( 1 − T − T c t − T c ) , with T T T the run’s total steps and T c T_c T c the cooldown’s start. This is the warmup–stable–decay schedule (Hu et al., 2024) with the 1 − ⋅ 1 - \sqrt{\cdot} 1 − ⋅ cooldown that Hägele et al. [55 ] find best; with a cooldown of a fifth of the run, they report it matching a cosine schedule. Only the cooldown depends on T T T , so raising T T T before the cooldown starts extends the run as if it had been planned that long.
The step counts are a wall-time budget, not a convergence criterion. Each run of Section K was sized from the epoch time of a short smoke test of its band and source count to 64 epochs, about 32 h on the narrow band and 63–64 h on the full band of A100 time. A later cooldown generally ends lower, and some configurations are not converged at the planned epoch (Table 22 ).
Table 22. Eval-catalogue loss / flow over joint-MCMC, for width at ρ = 15 \rho= 15 ρ = 15 –40 40 40 , for the forks that start their cooldown at epochs 4 to 32, and for the main run, which starts it at the planned 80% of its 64 epochs; in brackets the epoch evaluated. Full S = 4 S = 4 S = 4 ’s main column is its Student-t continuation from epoch 44, whose logged loss does not compare (n/c, Section F.2).
Training Loop
Epochs. An epoch is one 64th of a run, 22 000 to 50 000 steps (Table 18 ), compiled as one program: the simulator, the loss, the gradient and the optimiser update of all its steps run in one loop on the device.
Eval-catalogue loss. After every epoch, the 128 eval injections with their noise (§ 21 .§ 1 ) give the frame’s and the flow’s negative log-likelihoods, each at the midpoints of 16 equal steps in s s s . At the midpoints of 16 bins of log 10 ( 1 − s ) \log_{10}(1-s) log 10 ( 1 − s ) down to 10 − 6 10^{-6} 1 0 − 6 they also give, per bin and coordinate group, the predicted log 10 τ \log_{10}\tau log 10 τ and the squared standardised error ( ( Z 1 − Z ^ 1 ) / τ ) 2 ((Z_1 - \widehat{Z}_1)/\tau)^2 (( Z 1 − Z 1 ) / τ ) 2 (Section F.3), and per bin of the source’s SNR the frame’s log 10 σ / σ π \log_{10}\sigma/\sigma_\pi log 10 σ / σ π and κ 2 \kappa^2 κ 2 (Section F.2). The catalogue and its draws of Z 0 Z_0 Z 0 come from a random stream that training never uses and are fixed for the run, so the curves move only with the weights. Training stops before the checkpoint if any loss of the epoch is not finite, so the last checkpoint is always finite.
Checkpoints. Every epoch saves, in the background while the next epoch trains, the weights, the optimisers’ moments, the random key and the loss histories, keeping only the latest. A second checkpoint keeps the epoch with the lowest sum of the eval-catalogue frame and flow negative log-likelihoods, which is the checkpoint used for evaluation (§ 21 .§ 4 ). Because the key is checkpointed, a resumed run draws the same batches as an uninterrupted one.
Snapshots and cooldown forks. Every 4 epochs a run also keeps a snapshot of its whole state, kept apart from the rolling checkpoint, which each epoch overwrites. A fork restarts from the snapshot at epoch k k k with the total cut to k / ( 1 − c ) k/(1-c) k / ( 1 − c ) epochs, c c c the cooldown fraction, so it cools down at once, over c k / ( 1 − c ) ck/(1-c) c k / ( 1 − c ) epochs, as a run planned that long from the start would have; the schedule before the cooldown depends only on the warmup, which every fork shares with its parent. Forks from epochs 4, 8, 16, 32 of each run give, at the cost of the cooldowns alone, the loss and the posteriors of four shorter runs (Table 22 ).
Precision
Parameters and AdamW’s moments are float32. The backbone runs in bfloat16, forward and backward, from bfloat16 copies of its float32 weights, while the embeddings, the conditioning MLPs and the heads stay in float32 (Section G.8); Muon’s momentum and orthogonalisation run in bfloat16. The bfloat16 backbone makes a step 10 to 43 times faster than float32 on an A100, more for the larger sizes, whereas bfloat16 attention alone gains at most 8 %: the dense layers carry the cost.
A float32 backbone is available, but it needs the GPU’s matrix-multiplication autotuning switched off and full float32 matrix products (no TF32). On an earlier version of the network, float32 programs compiled with autotuning gave silently wrong, over-confident posteriors on two GPU models, while the same program without autotuning reproduced the CPU. This was not re-tested on the current network; the bfloat16 backbone was not affected.
Compute
Figure 13 gives the measured cost of every band and size at the default batch on an A100. The narrow band’s step is the network’s. The full band also simulates its observations at many more frequency points (Section B), a fixed cost per batch that weighs most on the small sizes and sets a memory floor, since the whole batch is simulated before it is split into micro-batches. At the default length of 650 000 and 240 000 steps a size-B run takes 12 h of steps on one A100 on the narrow band and 5 h on the full band; the reported runs, set to 64 epochs, take 32 h and 63 to 64 h (Table 18 ). Every size’s step fits on the A100 without splitting the batch; full-XL no longer fits the 80 GB card once the trainer’s eval pass and checkpointing run beside it.
Figure 13. Cost of every size on one A100 with the bfloat16 backbone, at the default batch of 1024 samples; full band blue, narrow band orange. (a) Training step, simulation included. (b) Planned device memory of the unsplit step, against the card’s usable memory and the full band’s simulated batch alone (dotted). Measured on an earlier revision of the network, whose sizes had the parameter counts on the axis; Table 10 gives those of the reported network.
Evaluation Protocol and Metrics
This appendix defines how the flows of Section K are judged, in support of § 7.1 . The reference pass compares the flow with joint MCMC chains (Section J) on fixed windows and uses the truth to pair draws with sources, so it is descriptive. The validation pass never sees the truth or a chain: it ranks the truth among the draws on windows simulated from the prior, and is the only test of calibration (Table 12 ). We show on posteriors with known errors that its tests detect what they should (§ 21 .§ 3 ), then give the sampler settings and out-of-distribution checks.
Table 12. The two evaluation passes.
Reference Pass
Eval windows. The eval windows sit at 128 centre frequencies f w f_w f w , one log-uniform draw in each of 128 equal bins of log f 0 \log f_0 log f 0 , empty windows included. Each holds one prior draw of the run’s S S S sources (Section D), ordered by f 0 f_0 f 0 , with window SNRs from 1.2 to 98 in the narrow band and from 0 to 380 in the full band, rising with S S S (median 8.6 to 20 and 6.8 to 12). Windows and noise are fixed by the seed and band, so every checkpoint, run and chain sees the same data; as a conditional sample they are never used for calibration.
Relabelling draws to the truth. The flow’s draws list their sources in order of f 0 f_0 f 0 (Section E.6), which breaks label switching ([118 , 61 , 17 ] ) only where the frequencies are resolved. For display and for the reference pass each draw θ 1 : S \theta_{1:S} θ 1 : S is relabelled to the truth θ 1 : S ⋆ \theta^\star_{1:S} θ 1 : S ⋆ by
σ ^ = arg min σ ∈ S S ∑ s = 1 S ∥ m ( θ σ ( s ) ) − m ( θ s ⋆ ) ∥ 2 , (56) \hat{\sigma} = \arg\min_{\sigma\in\mathcal{S}_S} \sum_{s=1}^{S} \left\lVert\mathbf{m}(\theta_{\sigma(s)}) - \mathbf{m}(\theta^\star_s) \right\rVert^2, \tag*{(56)} σ ^ = arg σ ∈ S S min s = 1 ∑ S m ( θ σ ( s ) ) − m ( θ s ⋆ ) 2 , (56)
m ( θ ) = ( f 0 f + − f − , log 10 A , n ^ ( α , δ ) ) , \mathbf{m}(\theta) = \left( \frac{f_0}{f_+ - f_-}, \log_{10} A, \hat{\mathbf{n}}(\alpha,\delta) \right), m ( θ ) = ( f + − f − f 0 , log 10 A , n ^ ( α , δ ) ) ,
found over the S ! S! S ! permutations of the sources (24 for S = 4 S = 4 S = 4 ), with ( f − , f + ) (f_-, f_+) ( f − , f + ) the window’s range of $f_0 ({xref}Equation (B14)) and $\hat{\mathbf{n}}$ the unit sky vector. The orientation angles are left out, since their symmetries ({xref}Equation (E1)`) make the cost multimodal. Because the truth is used, a posterior too wide to separate two sources is sorted back onto them and looks better than it is.
Scorecard. Each source of the scorecard windows (1312 sources) gets the quantities of Table 13 after relabelling, with f 0 f_0 f 0 in bins of 1 / T o b s 1/T_{\mathrm{obs}} 1/ T obs , grouped by true SNR in bands < 15 < 15 < 15 , 15–40, 40–100 and ≥ 100 \ge100 ≥ 100 , since the ideal width (below) runs from 0.08 to 8.2 × 10 − 3 8.2 \times10^{-3} 8.2 × 1 0 − 3 bins over the visible sources.
Table 13. Reference-pass quantities per source, on the relabelled draws.
Coverage and offset are not a calibration test, since they use the truth, and coverage is optimistic: a flow that returns the prior still puts the truth in its central 68 % interval for a share 0.66 of the sources in the narrow band (Table 16 ) and 0.66 in the full band (the same mock, run on the full band), and only its width shows the failure.
The ideal width. For a sinusoid of SNR ρ \rho ρ observed for T o b s T_{\mathrm{obs}} T obs in stationary noise, with the time origin at the centre, the Fisher matrix in angular frequency and phase is diagonal, Γ ω ω = ρ 2 T o b s 2 / 12 \Gamma_{\omega\omega} = \rho^2 T_{\mathrm{obs}}^2/12 Γ ω ω = ρ 2 T obs 2 /12 and Γ ϕ ϕ = ρ 2 \Gamma_{\phi\phi} = \rho^2 Γ ϕϕ = ρ 2 , and the frequency width is
w ⋆ = 12 2 π ρ T o b s T o b s = 3 π ρ bins . (57) w^\star= \frac{\sqrt{12}}{2\pi\rho T_{\mathrm{obs}}} T_{\mathrm{obs}} = \frac{\sqrt{3}}{\pi\rho}\ \text{bins}. \tag*{(57)} w ⋆ = 2 π ρ T obs 12 T obs = π ρ 3 bins . (57)
This is a scale, not a bound: other correlations widen the real width. Since f 0 f_0 f 0 is the frequency at the start of the observation (Section B), a measured chirp widens it by a factor of 4 over the centred one, so a full-band ratio above one is not by itself a failure. Ratios against the chains are the comparison that counts.
Widths and shapes against the chains. Chain and flow draws are compared with ( ψ , ϕ 0 ) (\psi,\phi_0) ( ψ , ϕ 0 ) folded onto the copy nearest the truth, and orientation through the phases ϕ 0 ± 2 ψ \phi_0 \pm2\psi ϕ 0 ± 2 ψ , since ϕ 0 \phi_0 ϕ 0 alone inherits the spread of ψ \psi ψ . Widths are 1.4826 MAD per parameter, flow over chain, against the joint chains of every eval window. The chains are an evaluation reference only.
The shapes of the marginals, offsets and tails included, are compared with the Jensen–Shannon divergence (Lin, [83 ] ), as Delmond et al. [37 ] do. For the densities p p p and q q q of one coordinate, with the Kullback–Leibler divergence (Kullback & Leibler, [77 ] )
D K L ( p ∥ q ) = ∫ p ( x ) log 2 p ( x ) q ( x ) d x (58) D_{\mathrm{KL}}(p \mathbin{\|} q)=\int p(x)\log_{2}\frac{p(x)}{q(x)}\,\mathrm{d}x \tag*{(58)} D KL ( p ∥ q ) = ∫ p ( x ) log 2 q ( x ) p ( x ) d x (58)
it is
D J S ( p ∥ q ) = 1 2 D K L ( p ∥ m ) + 1 2 D K L ( q ∥ m ) , m = 1 2 ( p + q ) . (59) D_{\mathrm{JS}}(p \mathbin{\|} q)=\frac{1}{2}D_{\mathrm{KL}}(p \mathbin{\|} m)+\frac{1}{2}D_{\mathrm{KL}}(q \mathbin{\|} m),\qquad m=\frac{1}{2}(p+q). \tag*{(59)} D JS ( p ∥ q ) = 2 1 D KL ( p ∥ m ) + 2 1 D KL ( q ∥ m ) , m = 2 1 ( p + q ) . (59)
It is symmetric, finite when one density vanishes where the other does not, invariant under one-to-one maps of the coordinate, and with base-2 logarithms lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] . We estimate it per source and coordinate from the flow’s and the chain’s 1024 draws each, relabelled and folded as above, on B = 32 B=32 B = 32 bins whose edges are quantiles of the pooled draws:
D ^ J S = 1 2 ∑ b = 1 B p ^ b log 2 p ^ b m ^ b + 1 2 ∑ b = 1 B q ^ b log 2 q ^ b m ^ b , m ^ b = 1 2 ( p ^ b + q ^ b ) , (60) \widehat{D}_{\mathrm{JS}}=\frac{1}{2}\sum_{b=1}^{B}\widehat{p}_b\log_{2}\frac{\widehat{p}_b}{\widehat{m}_b}+\frac{1}{2}\sum_{b=1}^{B}\widehat{q}_b\log_{2}\frac{\widehat{q}_b}{\widehat{m}_b},\qquad\widehat{m}_b=\frac{1}{2}(\widehat{p}_b+\widehat{q}_b), \tag*{(60)} D JS = 2 1 b = 1 ∑ B p b log 2 m b p b + 2 1 b = 1 ∑ B q b log 2 m b q b , m b = 2 1 ( p b + q b ) , (60)
with p ^ b \widehat{p}_b p b and q ^ b \widehat{q}_b q b the shares of the flow’s and the chain’s draws in bin b b b . For two samples of one continuous distribution its median is 0.011 and its 95th percentile 0.016, the floor of the comparison (2000 simulated pairs). Between two Gaussians it is 0.13 for a width ratio of 2 and 0.16 for an offset of one width. Section K.3 gives the results.
Validation Pass
The validation pass draws 1000 windows, each with its own f w f_w f w , sources and noise from the prior, and M = 127 M=127 M = 127 flow draws on each. If the flow is the exact posterior, the rank of any scalar test quantity g g g of the truth among the draws, the number of draws with g ( θ m ) < g ( θ ∗ ) g(\theta_m)<g(\theta^\ast) g ( θ m ) < g ( θ ∗ ) (ties broken at random), is uniform on { 0 , … , M } \{0,\ldots,M\} { 0 , … , M } (Talts et al., [122 ] ). A failure is a non-uniform histogram: ranks mostly high mean a bias, ranks piled in the middle a posterior too wide, ranks piled at the ends one too narrow.
Slots and strata. The same g g g is applied to the truth and to every draw without using the truth. Slots are therefore defined by each parameter set’s own SNR: the truth and each draw are sorted independently by the SNRs of their own sources, a fixed function of the parameters, so the ranks stay uniform under an exact posterior, unlike those after Equation (56) . Strata follow the same rule: a source is binned in the bands of § 21 .§ 1 by ρ ^ \hat{\rho} ρ ^ , the median own SNR of the draws in its slot, and window quantities by the draws’ median total SNR.
Tests. Table 14 lists them. The coordinate and TARP ranks test the parameters alone, which the prior passes; data-dependent quantities catch it (Modrák et al., [100 ] ). The likelihood is only a test quantity on draws already made.
Table 14. Rank tests of the validation pass. “Slot” is per source slot, “window” over all 8 S 8S 8 S coordinates of a window. None needs the truth’s labels or a reference posterior.
Uniformity test. Ranks are tested with the graphical empirical cumulative distribution function (ECDF) test of Säilynoja et al. [109 ] . With N N N ranks on k = 128 k=128 k = 128 values, the statistic γ \gamma γ is twice the smallest binomial tail probability of the rank ECDF at z i = i / k z_i=i/k z i = i / k , i = 1 , … , k − 1 i=1,\ldots,k-1 i = 1 , … , k − 1 . Its p p p -value comes from 1000 simulated sets of N N N uniform ranks, which also give a simultaneous 95% band for the ECDF minus z z z . Each cell reports the p p p -value, the mean rank over M M M minus one half (positive when the truth sits above the draws), and the share of ranks in the middle half (above one half: too wide).
Sensitivity of the Tests
Passing means something only if the tests fail on wrong posteriors, which we check on a toy and on mocks.
Size and power on an exact toy. Each slot of the toy is a linear-Gaussian model in its eight coordinates, drawn exactly, with all test quantities computed on its data. A test’s rate (Table 15 ) is the share of chunks of 100 of 5 000 injections (126 draws each) in which it rejects at 5 %. The rank tests hold their size. A phase or sky taken from the prior, or coordinates shuffled across draws, keep every one-dimensional rank uniform and pass the coordinate ranks, as does most of a 10 % prior admixture; the overlap and the log-likelihood catch all four. TARP, not shown in Table 15 , rejects width errors at rates of 0.98–1.00 but the other errors at most 0.08.
Mock posteriors of the real problem. Each mock replaces the flow’s sampler by a posterior with a known error and goes through the whole pipeline. The base mock is a linearised Gaussian in flow coordinates, with the expected Fisher matrix at the truth plus the prior precision, centred on the linearised maximum a posteriori of the noisy data. The ladder perturbs it: wide and narrow (every width times 3 and 0.5), biased (f 0 f_0 f 0 shifted by one width), prior (prior draws, a flow that ignores the data), phases-prior (phases of z ± z_{\pm} z ± redrawn uniform) and loud-floor (widths that stop shrinking above SNR 18.4, quiet sources exact). Table 16 gives the readings on the narrow band with four sources, on catalogue-prior windows (1312 scorecard sources, 200 validation windows, 187 eval sources at ρ ≥ 7 \rho\ge7 ρ ≥ 7 with joint chains, Section K.2); the full band, with 200 validation windows, agrees. The Gaussian mock is also the reference of Table 21 .
Three readings shape how the results are read.
Marginal calibration proves nothing alone. The prior mock passes TARP and the coordinate ranks (its smallest p p p of eight, 0.030, is what chance gives); the overlap and log-likelihood ranks reject it, and coverage reads it as conservative.
The Gaussian mock is not a null. Where sources are faint the linearisation fails: only f 0 f_0 f 0 and f ˙ \dot{f} f ˙ pass (or nearly pass), and the sky, the z ± z_{\pm} z ± components and radii, TARP, the overlap and the log-likelihood reject it. A flow’s p p p -value or rank offset is therefore compared with the Gaussian mock’s on the same test and windows, not with 5 %. A second
realisation of the same mock on the same windows, on other hardware, gave p = 0.14 p = 0.14 p = 0.14 for f 0 f_0 f 0 and 0.42 0.42 0.42 for f ˙ \dot{f} f ˙ where this one gives 0.04 0.04 0.04 and 0.26 0.26 0.26 , while the prior mock reproduces to the digit: the Gaussian draws differ between machines (an eigendecomposition of an ill-conditioned covariance), so p p p -values near the threshold move by that much and these readings do not change.
Coverage hides a width floor. The loud-floor mock covers 0.68 of sources below SNR 40 and 0.94 above, so it reads conservative; only the width ratio sees it (9.44 times the ideal, against 3.60 for the Gaussian mock). On loud full-band sources the Gaussian mock is itself 4.45 times wider than the ideal width.
Checkpoint and Sampler Settings
Every pass evaluates the run’s checkpoint with the lowest eval-catalogue loss (Section H.4), which guards against a run that degrades late; it is chosen on the eval windows, so its results on them are optimistic. The runs of Section K were all evaluated at that checkpoint (Table 18 ), except the full band with S = 4 S = 4 S = 4 , whose run diverged: its Student-t continuation is evaluated at its last checkpoint, since its logged loss does not compare across the switch (Section K.1). The flow predicts the endpoint Z 1 Z_1 Z 1 in the frame (Section F), and the sampler takes 32 midpoint steps toward the predicted mean from standard normal base draws in the frame (Section F.2), in the precision the run was trained in.
Sampler Steps and Robustness
Step count. A coarse grid can collapse narrow posteriors late in the path (Figure 11 b), and a collapse only narrows. On the source-count runs (narrow band, S = 4 S = 4 S = 4 , and full band, S = 8 S = 8 S = 8 ; 128 draws per window) the median f 0 f_0 f 0 width of the sources at ρ ≥ 15 \rho\ge15 ρ ≥ 15 , over its width at 128 uniform midpoint steps, is 0.86, 0.94, 0.98 and 1.00 at 8, 16, 32 and 64 steps on the narrow band, and 0.97 already at 8 steps on the full band. 32 steps are within 2 % of converged. The converged width does not depend on the grid: the power-2 and log grids give 1.00–1.03 times the uniform grid’s from 16 steps up, on both bands. Euler converges from below (0.78 and 0.92 of the converged width at 32 steps), so every width here is read with the midpoint rule.
Out of distribution. The flow is trained on one noise PSD, a fixed prior and exactly S S S sources per window. Each case changes one of these on the eval windows, keeping window, truth and noise: the PSD halved and doubled; the loudest source’s f 0 f_0 f 0 , f ˙ \dot{f} f ˙ or amplitude past the prior’s bulk; the quietest source’s amplitude below it; one source removed or added; an empty window. On the narrow band with S = 4 S = 4 S = 4 (64 windows, 128 draws) the flow is robust to its prior’s edges and fragile to its noise model. With the loudest source past the prior, or the noise halved, the share of sources at ρ ≥ 7 \rho\ge7 ρ ≥ 7 whose truth lies within one flow width of its median is 56 to 79 %, against 72 % in distribution for the same sources. With the noise doubled the flow, which whitens by its own PSD, reads noise as signal: its slots claim a median SNR of 8.5 instead of 4.8, the faint sources’ f 0 f_0 f 0 widths shrink to 0.61 of their in-distribution widths while their offsets double, and only 38 % cover the truth within one width (60 % of the faint sources in distribution): confident and wrong. The full band with S = 8 S = 8 S = 8 shows the same on its loud sources: with the noise doubled 43 % cover the truth within one width (70 % in distribution), and the other cases keep 57 to 72 %.
Reference MCMC
The flow’s posteriors are judged against Markov chains that sample the window likelihood of Equation (6) directly; training never sees them. This appendix says what the reference is, how far it can be trusted and what it costs, in support of the width comparisons of Section K.2. Unlike a global fit (Littenberg et al., [88 ] ), the number of sources and the noise are known, so no move changes the model.
Sampler
Each eval window (§ 21 .§ 1 ) is sampled jointly, one ensemble over all 8 S 8S 8 S parameters of its sources, with re-spanses of 64 bins in the narrow band and 128 in the full band, in double precision. Each source moves in ( ln f 0 , ln f ˙ , ln A , α , δ , ψ , cos ι , ϕ 0 ) (\ln f_0, \ln\dot{f}, \ln A, \alpha, \delta, \psi, \cos\iota, \phi_0) ( ln f 0 , ln f ˙ , ln A , α , δ , ψ , cos ι , ϕ 0 ) under the training prior (Section D), with one extra cut, log 10 f ˙ \log_{10}\dot{f} log 10 f ˙ at most 5 standard deviations above its mean given f 0 f_0 f 0 (prior mass 3 × 10 − 7 3 \times10^{-7} 3 × 1 0 − 7 ). The sampler is a parallel-tempered ensemble sampler with differential-evolution (ter Braak, 2006) and stretch moves (Goodman & Weare, [50 ] ; Foreman-Mackey et al., [44 ] ), six temperatures up to 10 (Vousden et al., [133 ] ) (Table 17 ). The cold draws are relabelled to the injected sources (Equation (11) ) and folded onto the window’s branch of the ( ψ , ϕ 0 ) (\psi, \phi_0) ( ψ , ϕ 0 ) symmetries (Equation (37) ) before any width is taken.
Table 17. Settings of the reference sampler, per problem. It stores every 100th cold iteration after the burn-in.
Initialisation from a Fisher forecast
The chains start from draws of a Gaussian centred at the truth θ ⋆ \theta^\star θ ⋆ , with precision
Γ = 1 N F ∑ r = 1 N F ∇ θ 2 [ − log L ( θ ; d r ) ] θ ⋆ + Λ , N F = 32 , (61) \Gamma= \frac{1}{N_{\mathrm{F}}}\sum_{r=1}^{N_{\mathrm{F}}} \nabla_\theta^2\left[-\log L(\theta;d_r)\right]_{\theta^\star}+\Lambda,\qquad N_{\mathrm{F}}=32, \tag*{(61)} Γ = N F 1 r = 1 ∑ N F ∇ θ 2 [ − log L ( θ ; d r ) ] θ ⋆ + Λ , N F = 32 , (61)
the Hessian of Equation (6) averaged over noise realisations d r d_r d r , which is the Fisher matrix [131 ] (Cutler & Flanagan 1994), plus Λ \Lambda Λ , a Gaussian stand-in for the prior that keeps poorly measured directions at the prior’s width. It is drawn with log f ˙ \log\dot{f} log f ˙ in place of f ˙ \dot{f} f ˙ , and each eigenvalue is floored at the prior’s precision along its eigenvector. Being unimodal and Gaussian, it misses the exact symmetries of Equation (37) and the curved amplitude–inclination degeneracy, and where the data barely constrain a parameter it returns the prior’s width. It is not a stand-in for the posterior: from SNR 15 up its median width per parameter is within 0.89–0.96 times the chains’, but below SNR 5 the chains spread a faint source’s f 0 f_0 f 0 over much of the window, as the prior does, and the forecast does not.
Convergence
Over the six references the largest split R ^ \hat{R} R ^ [47 ] is 1.073 (1.005 on the narrow band) and the smallest effective sample size (ESS) 1097; the full-band chains sit above the usual R ^ < 1.01 \hat{R}<1.01 R ^ < 1.01 for their worst parameter. Longer chains of the narrow band with four sources, four seeds on windows 16 and 48 and 80 and 112, show that the loud sources are settled once read without labels, while two things drift below ρ = 7 \rho=7 ρ = 7 : sources under ρ = 3 \rho=3 ρ = 3 widen towards the prior, and sources at ρ = 3 \rho=3 ρ = 3 –7 are slowly lost. The reference is therefore sound at ρ ≥ 7 \rho\geq7 ρ ≥ 7 , somewhat narrow for invisible sources, and an upper bound on how often a source at ρ = 3 \rho=3 ρ = 3 –7 is localised. For the problems with the most parameters the faint sources stay near their Fisher start, which Section K.2 takes into account when reading the width ratios. On the verification binary of Strub et al. [119 ] the sampler reproduces the published SNR (Section C) and posterior.
Cost
On two CPU cores a joint chain of 400 000 iterations takes 4.3 to 5.4 h for a narrow-band window with four sources, 8.8 to 9.5 h with eight, and about 33 to 40 h for a full-band window with sixteen (doubled from 200 000-iteration chains), against a fraction of a second for the flow (Section F.6).
Results
This appendix holds the evidence behind § 7 : the six training runs and which model of each problem is reported, the width and JS-divergence tables against the joint chains, the validation pass with its data-space ranks, one corner plot per model, and the longer-run forks that qualify the comparison. Every run uses the B network (Section G), the recipe of Section H and the priors of Section D, and is evaluated on its own eval catalogue of 128 windows log-uniform over its band (§ 21 .§ 1 ) against the joint chains of the same injections and noise (Section J). Widths are 1.4826 MAD of the draws, after relabelling to the truth and folding ( ψ , ϕ 0 ) (\psi,\phi_0) ( ψ , ϕ 0 ) (§ 21 .§ 1 ), as the flow over the chains, median over the sources of a band of source SNR.
The Runs
Five runs trained to their end with every loss finite. The full-band run with S = 4 S = 4 S = 4 diverged at epoch 51, just before its cooldown, after isolated single-step spikes of the frame’s loss (Section H.2). We report its continuation from the snapshot at epoch 44 with the Student-t frame loss of Section F.2, which trained the remaining epochs and the cooldown with every loss finite and is evaluated at its last checkpoint, epoch 64; the best-checkpoint rule reads the logged, Gaussian frame loss, which does not compare across the switch.
Two runs of each other problem trained to near their end: the 64-epoch main run and its fork cooled from epoch 32 (Section K.6). They agree within the differences one seed cannot resolve and, for each problem, we report the one with the lower eval-catalogue loss at its best checkpoint: the fork for the narrow band with S = 2 S = 2 S = 2 and 8 and the full band with S = 16 S = 16 S = 16 , the main run for the narrow band with S = 4 S = 4 S = 4 and the full band with S = 8 S = 8 S = 8 . The tables name each model and the epoch evaluated. Only the narrow band with S = 4 S = 4 S = 4 is read before its last epoch (62 of 64), where the narrow runs’ eval-catalogue loss moves only within its epoch-to-epoch fluctuations of a few hundredths; the full-band runs with S = 8 S = 8 S = 8 and 16 were still improving at their last epoch.
Widths Against the Joint MCMC
Table 19 is the evidence for the narrow- and full-band subsections of § 7 . Two further readings of it do not appear there. The loud draws of the full band are off-peak in f 0 f_0 f 0 for 28 %, 40 % and 49 % of the S = 4 S = 4 S = 4 , 8 and 16 models, against 2 %, 2 % and 0 % of the chains’ own. And log f ˙ \dot{f} f ˙ is as poorly resolved as f 0 f_0 f 0 on loud sources, at 5.7, 9.0 and 13 times the chains’ width.
Where the reference is reliable. Below ρ = 7 \rho= 7 ρ = 7 every width is within a few per cent of the chains’ except for the narrow band with S = 8 S = 8 S = 8 , whose faint sources come out 5.6 times wider in f 0 f_0 f 0 than the chains’, and the full band with S = 16 S = 16 S = 16 , whose f 0 f_0 f 0 is 2.0 times the chains’ width and whose sky is 0.81–0.85 times it. In f 0 f_0 f 0 the chains are wrong: below ρ = 3 \rho= 3 ρ = 3 the posterior is the prior, and against the prior’s own f 0 f_0 f 0 width the flow’s is 0.87 (S = 8 S = 8 S = 8 ) and 0.99 (S = 16 S = 16 S = 16 ) times it, the chains’ only 0.19 and 0.60; for the other four problems both lie within 0.84–0.99. The chains start from Fisher draws (Section J), which give even an ρ = 2 \rho= 2 ρ = 2 source an f 0 f_0 f 0 width of a fraction of a bin, and with 64 or 128 parameters the ensemble never leaves that start for the faint sources.
To check the rest of the reference we reran four injections of narrow S = 8 S = 8 S = 8 with every source below ρ = 7 \rho= 7 ρ = 7 started from the prior, and read the chains without labels (Section J.3). At ρ ≥ 7 \rho\ge7 ρ ≥ 7 the reference stands: the prior-started chains find every loud source, their f 0 f_0 f 0 widths are 1.11 times the reference’s, and the flow’s 0.83 times theirs. Below ρ = 3 \rho= 3 ρ = 3 the prior-started chains reach 0.32 of the prior’s f 0 f_0 f 0 width, the flow 0.52 and the reference 0.07. Between ρ = 3 \rho= 3 ρ = 3 and 7 the two starts bracket the answer from opposite sides: the share of draws with a source within 0.5 bins of the true f 0 f_0 f 0 is 0.90–1.00 per injection in the Fisher-started reference and 0.17–0.29 in the prior-started chains, still rising (chance: 0.04), and the flow’s 0.10–0.98 lies inside that bracket on three injections and below it on one. Neither start reaches the balance, so a prior-started reference would be no better, and below ρ = 7 \rho= 7 ρ = 7 we score against the prior (ρ < 3 \rho< 3 ρ < 3 ) and report the bracket (ρ = 3 \rho= 3 ρ = 3 –7) instead.
Full S = 16 S = 16 S = 16 ’s prior-started chains (four injections) agree below ρ = 7 \rho= 7 ρ = 7 . At ρ ≥ 7 \rho\ge7 ρ ≥ 7 they find every loud source, but their f 0 f_0 f 0 widths are 1.2–1.7 times the reference’s, for six of the nine sources still growing at the chains’ end. The full band’s reference is therefore likely too narrow from ρ = 7 \rho= 7 ρ = 7 to about 20, the full S = 16 S = 16 S = 16 ratios there are upper bounds on the flow’s excess width, and the flow’s own widths are 0.55–1.65 times the reference’s on these sources.
Jensen–Shannon Divergence From the Joint MCMC
Table 20 compares the shapes of the marginals through Equation (14) , as Delmond et al. [37 ] do. Below ρ = 3 \rho= 3 ρ = 3 , where both should return the prior, the seven coordinates other than f 0 f_0 f 0 sit at 0.011–0.042 on the four models other than narrow S = 8 S = 8 S = 8 and full S = 16 S = 16 S = 16 ; f 0 f_0 f 0 is at 0.015 on the full band with S = 4 S = 4 S = 4 and 8, at 0.042 and 0.075 on the narrow band with S = 2 S = 2 S = 2 and 4, where the Fisher-started chains drift slowly, and at 0.37 and 0.20 for the two problems whose reference is stuck. From ρ = 7 \rho= 7 ρ = 7 the narrow band with two sources has a mean of 0.033, about that of two Gaussians offset by half a width (0.044) or with widths 1.5 apart (0.053), and the mean rises with S S S , mostly through f 0 f_0 f 0 . That is about the 0.05 that Delmond et al. (2026) report for one source in their low-frequency bands, though their estimator, and so its floor, is not stated. On the full band above ρ = 40 \rho= 40 ρ = 40 the divergences for S = 4 S = 4 S = 4 , 8 and 16 reach 0.60, 0.67 and 0.81 in f 0 f_0 f 0 , 0.64, 0.65 and 0.70 in log f ˙ \log\dot{f} log f ˙ , and 0.54, 0.62 and 0.76 in the right ascension, in line with the excess widths of Table 19 , for a Gaussian ten times too wide gives 0.63. As for the widths, full S = 16 S = 16 S = 16 ’s divergences from ρ = 7 \rho= 7 ρ = 7 to about 20 are upper bounds (Section K.2).
Table 20. Jensen–Shannon divergence in bits (Equations (59) and (60) ) of the flow’s one-dimensional marginals from the joint chains’, median over the sources of each band of source SNR (n n n sources), for the models of Table 19 . Mean: median over the sources of the mean over the eight coordinates. Draws relabelled to the truth, ( ψ , ϕ 0 ) (\psi,\phi_0) ( ψ , ϕ 0 ) folded, α \alpha α and δ \delta δ equatorial, f ˙ \dot{f} f ˙ in units of 1 Hz/s. Two samples of one distribution give 0.011 (median) and 0.016 (95th percentile); two Gaussians give 0.13 at a width ratio of 2 and 0.63 at 10.
Validation Without the Truth
The validation pass draws every model on prior injections and ranks the truth among the draws, so it needs neither chains nor relabelling (§ 21 ). Table 21 sets each model above the Gaussian mock of the same problem (§ 21 .§ 3 ), which is close to calibrated in its flow coordinates. With 1000 injections every test rejects the mock, so the p p p -values no longer separate a good posterior from a bad one and the offsets carry the reading. The non-log-likelihood offset grows with the number of parameters for the mock as well, and every flow sits above its mock (Figure 15 , top). The overlap rank is the clearer signal (Figure 15 , bottom): the mock’s offset is the same on every problem, the flows’ larger, the narrow band with S = 2 S = 2 S = 2 included.
Which parameters carry the offset. To find the parameter, every draw of the validation pass had one group of its flow coordinates set to the truth’s (the frequencies x f x_f x f , x f ′ x_f' x f ′ ; the sky l , b l,b l , b ; the phases arg z ± \arg z_{\pm} arg z ± ; the moduli ∣ z ± ∣ \lvert z_{\pm}\rvert ∣ z ± ∣ ) before its overlap was ranked again, for each model and mock. No single group carries the offset. Setting the frequencies or the sky to the truth leaves the mock’s offset where it was (− 0.02 -0.02 − 0.02 to + 0.00 +0.00 + 0.00 ), but raises the flow’s, to + 0.23 +0.23 + 0.23 –+ 0.30 +0.30 + 0.30 with the frequencies, the sky or the phases; the phases raise the mock’s too, by + 0.04 +0.04 + 0.04 to + 0.10 +0.10 + 0.10 . Setting the frequencies and the phases together raises it less than either alone (+ 0.21 +0.21 + 0.21 –+ 0.24 +0.24 + 0.24 ): a drawn source with the wrong f 0 f_0 f 0 carries a phase that partly makes up for it, so each draw is a coherent fit displaced from the truth along a direction that mixes the groups. The amplitudes are right: the ranks of ∣ z ± ∣ \lvert z_{\pm}\rvert ∣ z ± ∣ are off by + 0.00 +0.00 + 0.00 to + 0.02 +0.02 + 0.02 and the own SNR by + 0.00 +0.00 + 0.00 to + 0.05 +0.05 + 0.05 . Only below ρ ^ = 7 \hat{\rho}=7 ρ ^ = 7 does one group help: the moduli, whose ratio is the inclination, take − 0.06 -0.06 − 0.06 to − 0.01 -0.01 − 0.01 off the flow’s offset where the mock’s moves by − 0.01 -0.01 − 0.01 to + 0.04 +0.04 + 0.04 .
Joint Posteriors on Crowded Windows
Figure 16 to Figure 21 show one eval window for the model of each band and source count. The window is chosen by rule, not by eye: the closest pair of sources at ρ ≥ 15 \rho\ge15 ρ ≥ 15 with SNRs within a factor two (the closest pair at ρ ≥ 7 \rho\ge7 ρ ≥ 7 if there is none). Each plot shows f 0 f_0 f 0 , ln A \ln\mathcal{A} ln A and right ascension (equatorial, the simulator’s frame, where Figure 5 uses ecliptic coordinates) of both sources as offsets from the truth, the sources in f 0 f_0 f 0 order and folded in ( ψ , ϕ 0 ) (\psi,\phi_0) ( ψ , ϕ 0 ) ; the axes span the central 96% of the flow and the chains together, so a few far-tail draws fall outside. The legend gives the window, the two SNRs and their separation. The corner of the main text (Figure 5 ) is chosen differently: all four sources of the window, among those whose four sources are visible, where the flow overlaps the chains best.
Figure 16. Narrow band, S = 2 S = 2 S = 2 : the flow overlaps the chains, with Fisher close by, with about their widths in every parameter. The pair is far apart, since that problem has no close loud pair. Flow, joint MCMC (filled) and Fisher (dashed), 68 % and 95 % contours.
Figure 21. Full band, S = 16 S = 16 S = 16 : for two very loud sources that nearly coincide in frequency the flow is offset from the truth by one to two bins in f 0 f_0 f 0 and by a few tenths of a radian in the sky, where the chains sit on it. Contours as in Figure 16 .
Longer Runs
The forks give the same configuration trained for fewer epochs (Section H.4), and their eval-catalogue loss falls with the training length (Table 22 , Figure 14 c): by 0.13 nats from epoch 4 to 32 on the narrow band with S = 2 S = 2 S = 2 and by 0.18 on the full band with S = 4 S = 4 S = 4 , and the f 0 f_0 f 0 widths shrink toward the chains’ with it. The cooldown matters most on the full band: the diverged run with S = 4 S = 4 S = 4 , never cooled, has loud f 0 f_0 f 0 widths 17 times the chains’, against 9.7 for its fork from epoch 32 and 6.6 for its continuation, cooled at the end. Beyond epoch 32 the main runs gain on two configurations and lose on three (Section H.3); with one seed per configuration, differences of a few hundredths of a nat are within the run-to-run spread we have not measured (§ 8 ).
Figure 17. Narrow band, S = 4 S = 4 S = 4 : the flow keeps the core of each source where the chains have it, and a few per cent of the lower source’s f 0 f_0 f 0 draws sit on its neighbour. Contours as in Figure 16 .
Figure 18. Narrow band, S = 8 S = 8 S = 8 : for two sources less than a bin apart the flow is wider than the chains in every parameter and its amplitudes have long tails. Contours as in Figure 16 .
!Corner plot with axes labeled Δ f 0 ( 1 ) \Delta f_0^{(1)} Δ f 0 ( 1 ) [bins], Δ ln A ( 1 ) \Delta\ln A^{(1)} Δ ln A ( 1 ) , Δ α ( 1 ) \Delta\alpha^{(1)} Δ α ( 1 ) [rad], Δ f 0 ( 2 ) \Delta f_0^{(2)} Δ f 0 ( 2 ) [bins], Δ ln A ( 2 ) \Delta\ln A^{(2)} Δ ln A ( 2 ) , and Δ α ( 2 ) \Delta\alpha^{(2)} Δ α ( 2 ) [rad]; annotation “full band, S = 4 S = 4 S = 4 : injection 114 sources at SNR 39 and 33, 2.49 bins apart”; legend “joint MCMC”, “flow”, “Fisher” bbox=0.14,0.22,0.88,0.75
Figure 19. Full band, S = 4 S = 4 S = 4 : for two loud sources a few bins apart the flow’s f 0 f_0 f 0 of the louder one peaks on the chains’ with a tail of about a bin, that of the other spreads over several bins, its amplitudes are skewed where the chains sit on the truth, and the sky has long tails. Contours as in Figure 16 .
!Corner plot showing the posterior distributions for Δ f 0 ( 1 ) \Delta f_0^{(1)} Δ f 0 ( 1 ) [bins], Δ ln A ( 1 ) \Delta\ln A^{(1)} Δ ln A ( 1 ) , Δ α ( 1 ) \Delta\alpha^{(1)} Δ α ( 1 ) [rad], Δ f 0 ( 2 ) \Delta f_0^{(2)} Δ f 0 ( 2 ) [bins], Δ ln A ( 2 ) \Delta\ln A^{(2)} Δ ln A ( 2 ) , and Δ α ( 2 ) \Delta\alpha^{(2)} Δ α ( 2 ) [rad]; annotation: full band, S = 8 S = 8 S = 8 : injection 83 sources at SNR 22 and 16, 0.54 bins apart; legend: joint MCMC, flow, Fisher bbox=0.12,0.23,0.88,0.77
Figure 20. Full band, S = 8 S = 8 S = 8 : the flow’s posterior is multimodal where the chains have one mode. Contours as in Figure 16 .
Training Cost and Break-Even
Training is paid once per band, sampling once per window. This appendix shows how the fit depends on the training time and after how many windows the training is repaid by the cheaper sampling, which backs the cost claim of § 7 .
Fit against training time. Each cooldown fork is the same run trained for a shorter schedule (Section H.4): the forks from epochs 4, 8, 16 and 32 end after 5, 10, 20 and 40 epochs, and cost what a run planned for that length would. Figure 22 places them, with the 64-epoch runs, at the A100 hours of that schedule. On the narrow band, 5 epochs, 2.5 h, already give f 0 f_0 f 0 widths 1.2–4.0 times the chains’ at ρ = 15 \rho= 15 ρ = 15 –40, against 1.1–1.5 after 32 h; on the full band the same widths fall from 2.6–8.6 after 5.0 h to 1.2–2.2 after 64 h. The loss falls with training time on every configuration up to 40 epochs, apart from one step on the full band with S = 4 S = 4 S = 4 , and the 68 % coverage stays between 0.67 and 0.72 at every training time (Figure 22 c), so shorter training gives wider posteriors whose coverage is unchanged. The more sources a window holds, the more training the same width costs. Table 22 lists the values.
Figure 22. Fit against training time, for each configuration’s cooldown forks (5, 10, 20 and 40 epochs) and its 64-epoch run (full S = 4 S = 4 S = 4 : its Student-t continuation, whose loss does not compare and is left out). Training time is the A100 hours of a run planned for that length. (a) Eval-catalogue loss. (b) Flow over joint-MCMC f 0 f_0 f 0 width at ρ = 15 \rho= 15 ρ = 15 –40, median over the sources (Section K). (c) Share of true flow coordinates in the central 68 % interval, pooled over the sources with ρ ≥ 7 \rho\ge7 ρ ≥ 7 and the eight coordinates.
Break-even. Let T T T be the training time, t f l o w t_{\mathrm{flow}} t flow the flow’s time per window and t m c m c t_{\mathrm{mcmc}} t mcmc the MCMC’s. The flow is cheaper once it has inferred
N ∗ = T t m c m c − t f l o w (62) N^* = \frac{T}{t_{\mathrm{mcmc}} - t_{\mathrm{flow}}} \tag*{(62)} N ∗ = t mcmc − t flow T (62)
windows. t f l o w t_{\mathrm{flow}} t flow is measured: 256 draws take 0.22 s on the narrow band and 0.25 s on the full band (Section F.6). We do not fix t m c m c t_{\mathrm{mcmc}} t mcmc . Our reference chains (Section J) were run as an evaluation reference, not tuned for speed, and a production sampler with tuned proposals, more cores or a GPU likelihood would be faster by a margin we have not measured. Figure 23 therefore shows N ∗ N^* N ∗ against t m c m c t_{\mathrm{mcmc}} t mcmc from a second to a week. The time axis is wall time on whatever hardware runs the chains; a different price per hour for the chains’ hardware than for an A100 shifts the curves along it.
Figure 23. Windows after which the flow breaks even with MCMC, Equation (62) , against the MCMC wall time per window. Solid: the 64-epoch runs; dotted: the shortest fork (5 epochs); the shading lies between them. Dashed: one pass over each band; the dots mark the MCMC time at which one pass repays the longest training.
As a scale for N ∗ N^* N ∗ , one pass over a band infers each frequency once: its windows tiled by their interiors of 3 R 3R 3 R bins, 658 windows on the narrow band and 2614 on the full band. A single pass repays the training if a chain takes more than 3.0 min per window on the narrow band, or 1.5 min on the full band. If a chain takes an hour, the flow breaks even after 32 and 64 windows. One pass understates the saving for a global fit, which revisits each window at every iteration as the neighbouring signals change and starts again with each data release, while the flow’s training is reused as long as the noise model and priors hold (§ 8 ).