

Andreas Tersenov FORTH, University of Crete, CEA Paris-Saclay
with Hubert Leterme, Jean-Luc Starck, Martin Kilbinger and Jalal Fadili
Image © American Physical Society / Alan Stonebraker; galaxy images from STScI/AURA, NASA, ESA and the Hubble Heritage Team / astronomie.nl.
Lensing and clustering together, to measure cosmic geometry and growth at percent-level precision.
Learn only the prior. As accurate as end to end, any configuration, certified error bars?
A learned encoder, or hand‑crafted features? Who extracts more about the parameters, and why?
$$\gamma \;=\; \underbrace{\mathbf{M}}_{\text{the mask}}\quad \underbrace{\mathbf{P}}_{\text{shear operator}}\; \kappa \;+\; \underbrace{\mathbf{n}}_{\text{shape noise}}$$



Selecting one solution requires a prior on $\kappa$, and the choice of prior is what distinguishes the methods.
$$\hat{\kappa} \;\in\; \arg\min_{\kappa}\; \underbrace{\tfrac{1}{2}\big\lVert \mathbf{P}\kappa - \gamma \big\rVert^{2}_{\mathbf{N}^{-1}}}_{\text{data fidelity: does it match the shear?}} \;+\; \lambda\, \underbrace{\mathcal{R}(\kappa)}_{\text{regulariser: is it a plausible map?}}$$
the regulariser $\mathcal{R}$ encodes the prior on $\kappa$
Kaiser & Squires 1993, Bobin et al. 2012, Lanusse et al. 2016, Starck et al. 2021, Jeffrey et al. 2020, Remy et al. 2023



Everything else is fixed, so any change in the posterior comes from the reconstruction.
Dashed boxes: what is trained together. Only the two on the right work for a new mask or noise covariance without retraining.
Use the PnP framework: replace prox by an off‑the‑shelf deep denoiser trained on simulations
Venkatakrishnan, Bouman & Wohlberg 2013, Kamilov et al. 2023, convergence: Pesquet et al. 2021, Hurault et al. 2022
within 0.5 % of the end‑to‑end network, and converged in two iterations
Leterme, Tersenov, Fadili & Starck 2026
$$\min_{\Omega}\ \mathbb{E}\left[\left\| G_{\Omega}(\gamma) - \big(\kappa - F_{\Theta}(\gamma)\big)^{2} \right\|_2^{2}\right]$$
its minimiser is the posterior variance, pixel by pixel: one forward pass, no sampling
$$\alpha - \tfrac{1}{n+1} \;\le\; \mathbb{P}\big\{\kappa \notin [\hat\kappa^-,\, \hat\kappa^+]\big\} \;\le\; \alpha$$
for any network and any distribution, with n held‑out maps: distribution‑free, finite‑sample
Romano, Patterson & Candès 2019, Leterme et al. 2026
DeepMass and MMGAN are retrained per configuration; PnPMass is trained once, for any mask and noise level.
why: a structure’s apparent size mixes its physical size with its distance, so a multiscale analysis needs channels that are local in distance. The price: the noise adds up, and an error in one channel leaks into the next.
Bernardeau, Nishimichi & Taruya 2014; Barthelemy et al. 2022
$$\kappa^{n+1} = F_{\Theta}\!\left(\kappa^{n} - \tau\,\mathbf{B}\,(\mathbf{P}\kappa^{n} - \gamma)\right),\qquad \mathbf{P} = \mathrm{diag}(\mathbf{P}_0,\dots,\mathbf{P}_0),\qquad F_{\Theta} : \mathbb{R}^{6N^2} \to \mathbb{R}^{6N^2}$$
the same iteration: the operator, the masks and the noise levels enter only in the data step. New is the prior over the six channels together, and the theory follows it: convergence with masked data, and an error bound that fixes the step size.
channel 1 of one field, the nearest slice




Per channel sees nothing. Joint reads the peak from the other five channels, and it is in the truth.
Leterme, Tersenov & Starck, in preparation; κTNG, the nulling of Bernardeau, Nishimichi & Taruya 2014
The missing information is in the Fourier phases. To reach it we need statistics beyond second order: peak counts, wavelet statistics, the ℓ1‑norm, Minkowski functionals.
sum of absolute coefficients per band $j$ and amplitude bin $i$: every pixel counts
one curve per scale, binned by amplitude (weighted histogram of the field in the wavelet domain)
The likelihood $p(x \mid \theta)$ cannot be written down, but the simulator samples from it. The posterior is learned directly from simulated $(\theta, x)$ pairs.
Strong only where both channels have structure. One map per pair, the same ℓ1‑norm.
the per-channeleach cell sums the ℓ1 weight of its pixels
The conformal guarantee is marginal, and the misses sit at the peaks. Conditional coverage at map level, at a cost a survey can pay?
Convergence needs a non‑expansive denoiser; for seven million parameters we verify it empirically. A cheaper certificate than a Jacobian bound?
The encoder's ceiling is the simulator's. When the physics is missing, which feature degrades gracefully, and can we tell without the truth?
Kaiser–Squires step by step, inpainting, mass mapping as an inverse problem, the Bayesian view of the prior, and MCALens.
estimated with a Wiener filter, which needs only the power spectrum.
sparse in the starlet domain (peaks and haloes).
solve $\kappa_{\rm G}$, holding $\kappa_{\rm NG}$ fixed ↻ solve $\kappa_{\rm NG}$, holding $\kappa_{\rm G}$ fixed
Iterate to convergence. Each sub-problem is solved with a proximal step.
the proximal operator
$$\mathrm{prox}_{\lambda\mathcal{R}}(v) \;=\; \arg\min_{u}\; \tfrac{1}{2}\lVert u - v \rVert^{2} \;+\; \lambda\,\mathcal{R}(u)$$
Mass mapping has been treated as a preprocessing step with little effect on the cosmology, which is why the Euclid baseline is the simplest method, Kaiser–Squires.
The denoiser and the transformer it is built from, the per-pixel uncertainties and their conformal calibration, the implementation, and the tomographic extension: its theory, the maps after the nulling, the paper’s figures.
The forward step carries the physics. The denoiser only has to know what a plausible convergence field looks like.
SUNet: a U-Net whose blocks are Swin-Transformer blocks rather than convolutions, with 7.2 M parameters. The noise level σ goes in as an extra input channel, so one model covers a range of noise instead of one level.
Take a simulated κ, add white Gaussian noise, ask for the κ back.
$$\hat\theta \;=\; \arg\min_{\theta}\; \frac{1}{n} \sum_i \big\lVert D_{\theta}\big(\kappa_i + n_i\big) - \kappa_i \big\rVert^2$$
σ is drawn uniformly over 0 to 0.2. No shear, no mask and no survey enter the training set.
The forward step may use any linear operator. PnPMass takes $\mathbf{B} = \mathbf{P}^{\!\top}\Sigma^{-1/2}$, which whitens the residual before adding it back. The denoiser then sees κ plus white noise of width $\tau$, whatever mask and galaxy density went into $\Sigma$. A MAP step would use $\Sigma^{-1}$, and the noise would arrive coloured.
Leterme, Tersenov, Fadili & Starck 2026, A&A 710, A292
What survives is the scalar $\tau$, whose usable range depends on $\Sigma$. DeepMass needs the full covariance, and a retraining for every footprint.
A network's error bar comes out the wrong size, and nothing tells you by how much. This is how you fix it.
$$\alpha - \tfrac{1}{n+1} \;\le\; \mathbb{P}\big\{\kappa \notin [\hat\kappa^-,\, \hat\kappa^+]\big\} \;\le\; \alpha$$
That fraction falls outside, whatever produced the bar. The calibration set can be small, nothing has to be Gaussian, and the network does not have to be right. The one condition is exchangeability: calibration maps and real data drawn on equal terms.
The guarantee is marginal: an average over many maps, not a promise about the one in front of you. Some regions do worse than the average, and peaks are the known case — the Wiener bars miss there systematically even after calibration.
Here: $2\sigma$, so $\alpha \approx 4.55\%$, from 1024 calibration maps. The correction sets a minimum size for that set: 21 maps at $2\sigma$, 370 at $3\sigma$, 15 787 at $4\sigma$.
Romano et al. 2019 · Leterme, Tersenov, Fadili & Starck 2026
On the space of zero-mean maps (a centring layer at the output): the denoiser non-expansive with constant $L_\tau \le 1$, the data-step operator $\tilde{\mathbf{B}}\tilde{\mathbf{M}}\tilde{\mathbf{P}}$ symmetric positive semidefinite, and
$$0 < \tau L_\tau < 2\,\|\tilde{\mathbf{B}}\tilde{\mathbf{M}}\tilde{\mathbf{P}}\|^{-1}$$
give linear convergence to a unique fixed point at rate $L_\tau\rho_\tau$, with $\rho_\tau = \max(|1-\tau\lambda_{\min}|,\,|1-\tau\lambda_{\max}|)$. Masked pixels stay in: $\lambda_{\min} = 0$ here.
$$\mathbb{E}\|\hat\kappa - \kappa\|^2 \;\le\; \frac{1}{(1 - L_\tau\rho_\tau)^2}\;\mathbb{E}\|F_\Theta(\kappa + \mathbf{n}_\tau) - \kappa\|^2$$
The loop's error is the denoiser's own error on white noise of level $\tau$, times a factor that blows up as $\tau \to 0$. The safe choice is its first minimiser, $\tau = 2/\lambda_{\max}$: here $\lambda_{\max} = 7.66$, $\tau = 0.261$, the value the 2026 paper had picked by hand.
Leterme, Tersenov & Starck, in preparation, Propositions 1 and 2
The same field as the main line, channels 3 to 6, one colour scale. The nulled channels carry little signal in this crop; the per‑channel maps fill them with foreground that the nulling should have removed.
Leterme, Tersenov & Starck, in preparation
Blue joint, orange per channel; solid before the nulling, dashed after. Test set of the draft; the numbers are preliminary.
Leterme, Tersenov & Starck, in preparation, Fig. 4
Kaiser–Squires step by step, the Bayesian reconstruction stack, sparse recovery, the MCALens algebra, and the PnPMass implementation. Here for questions.
why wavelets for convergence maps
Bayes' theorem: the probability of the parameters given the data is proportional to the probability of the data given the parameters, times the prior.
The likelihood is usually assumed Gaussian in the data vector:
$$p(d \mid \theta) \;\propto\; \exp\!\left[-\tfrac{1}{2}\big(d - \underbrace{m(\theta)}_{\text{theory}}\big)^{\!\top} \underbrace{\mathbf{C}^{-1}}_{\text{covariance}} \big(d - m(\theta)\big)\right]$$
The posterior is then sampled with MCMC.
Learn the distribution from which a set of samples was drawn.
Learn $\mathbb{P}_\theta$, then sample from it.
2014–2017 panels adapted from Shirvani, Image Generation Models: A Technical History, arXiv:2603.07455
Start from a unit Gaussian and learn an invertible map to the target distribution. The density follows from the change of variables formula:
$$\log q_\phi(x) \;=\; \log p\big(f^{-1}(x)\big) \;+\; \log\left|\det \frac{\partial f^{-1}}{\partial x}\right|$$
When the pipeline says it is 68% confident, is it right 68% of the time? Both tests answer that by rerunning the analysis on simulations where the true parameters are known.
Both average over many simulated datasets: they vouch for the pipeline in general, not for the one dataset we have.
A full-sphere cross construction inflates this, but its channels carry 12–20% of their variance at ℓ < 18 against 0.4–1% for the autos. That is leakage. We use only the physically buildable flat-sky arms.
The answer to “FoM3 is fragile in a degenerate parameter space”: the marginals are quoted alongside it, and this is the population rather than a point. The ± on the medians is the spread over three independently trained compressors, the dominant source of run-to-run variability.
Baryonic feedback, the wavelet ℓ1-norm, and the BNT transform.
To be able to trust our HOS results we must investigate how they are affected by each systematic at the contour level.
Illustris: baryonic feedback reshaping the cosmic web
How much does unmodelled feedback bias our higher-order statistics, and how does that grow with survey area?
Once those scales are cut, is there any constraining power left to gain over the power spectrum?
measured at full map resolution: $\ell_{\rm max}=1024$ for $C_\ell$, all four wavelet bands for the HOS
on baryon‑safe scales
and this is conservative
A fixed angular scale stops mixing redshifts, so the cut can go only where the systematic is
BNT = a fixed, invertible transform → nothing can have been lost...
Tersenov+ 2026, A&A and Tersenov+, submittedfigure of merit retained under the nulling
Same four summaries. In the standard frame they span 38% in FoM; in the nulled frame, a factor of six.
nulled frame over standard
Nulling costs no constraining power provided some stage of the pipeline reads the bins jointly. The power spectrum with its cross-spectra is the simplest example.
Baryonic feedback is Part 4. These are the rest.
| systematic | what it is | how it is handled |
|---|---|---|
| intrinsic alignments | galaxies align with the tidal field, so shapes correlate without any lensing | 2pt: NLA, TATT. HOS: open |
| photometric redshifts | $n(z)$ from colours, not spectra. Stage IV needs $\bar z$ per bin to 0.002 | shift and width nuisances |
| shape measurement | PSF modelling, multiplicative and additive shear calibration, blending | calibrated on image simulations |
| masks and geometry | Kaiser–Squires is non-local, so gaps leak across the map: spurious peaks and B‑modes | inpainting, regularised mapping |
| covariance | no closed form for HOS. Hartlap factor, super-sample covariance | large simulation suites |
| source clustering | sources are assumed unclustered, and uncorrelated with the lenses | sub-percent for 2pt |
Every one of these is better understood for the two-point function than for higher-order statistics, and all of them bite hardest on the small scales where HOS earn their advantage.
All of it on simulations, deliberately. That is the first thing to change.
Not specific to lensing: a trained denoiser in a proximal scheme fits any linear inverse problem with known noise. Galaxy clustering; 21‑cm, where foreground removal sits where mass mapping sits here.