Andreas Tersenov
29 January 2026
The Data/Pixels
Catalogues: shear calibration, masks, blinding, tomography...
Mass Mapping: Inverse problems, PnPMass, Denoising.
Methods: DL Priors, Convex Optimization.
The Signal & Physics
Summary Statistics: 2pt, HOS (Peaks, PDF, l1-norm)
Systematics: Baryonic Feedback, IA, Masks, Noise.
Theory: Large Deviation Theory validation, Euclid paper on theory HOS.
The Inference
Methodology: Simulation-Based Inference (SBI) & Explicit Inference.
Computational Core: JAX ecosystem, Differentiable Programming, Samplers, ML-emulators.
Differentiable pipelines (JAX/PyTorch), ML/DL, probabilistic programming (NumPyro), advanced sampling, neural density estimation, ML/DL for scientific inference, and the diagnosis of model misspecification
Mass mapping is an ill-posed inverse problem
Different algorithms have been introduced, with different reconstruction fidelities
But... does the choice of the mass-mapping algorithm have an impact on the final inferred cosmological parameters?
Or as long as you apply the same method to both observations and simulations it won't matter?
FoM improvement → 150%
| Mass mapping method | Type | Accurate | Flexible | Fast rec. | Fast UQ |
|---|---|---|---|---|---|
| Iterative Wiener | Model-driven (Gaus. prior) | ✗ | ✓ | ✓ | ✗ |
| MCALens | Model-driven (Gaus. + sparse) | ≈ | ✓ | ✗ | ✗ |
| DeepMass | Data-driven (UNet) | ✓ | ✗* | ✓ | ✓ |
| DeepPosterior | Data-driven (UNet + MCMC) | ✓ | ✓ | ✗ | ✗ |
| MMGAN | Data-driven (GAN) | ✓ | ✗* | ≈ | ≈ |
| What we'd like | Data-driven | ✓ | ✓ | ✓ | ✓ |
Instead of explicitly writing down a prior, we learn what a "likely" 𝜅 looks like from simulations and enforce it through denoising.
Idea - Explore two things:
This will show:
Power Spectrum
Wavelet l1-norm: sum
of wavelet coefficients
within specific amplitude
ranges across different
wavelet scales
Wavelet peaks: local maxima of wavelet
coefficient maps
N-body sims, providing DMO and baryonified full-sky κ-maps from the same IC, for 2500 cosmologies. Baryonic effects are incorporated using a shell-based Baryon Correction Model (Schneider et. al 2019).
Training objective
The Scaling of Baryonic Bias with Survey Area
Determining Robust Scale Cuts
Information Content at Large Scales
Explicit & Lossless
Zero Compression: Inference directly on the pixel-level data.
FLI targets the full high-dim posterior.
Reconstructing ALL Latent Variables
Initial Conditions (ICs)
Evolved DM Distribution
Peculiar Velocities
FLI Advantages:
Self-Consistent Systematics: Modeling noise/masks + forward model other effects physically in 3D (cosmology + systematics become part of one model, which we can sample).
Interpretability: analyzing stat errors directly in data space
Signals mix less → model misspec. easier to detect
Validation: Posterior Predictive Tests & Cross-Correlations (e.g., kSZ, X-ray) without CV.
Discovery: A platform to test physics at the field level.
Gravity solver
Baryonification
Lensing+IA
Survey effects & systematics
Initial conditions
Evolved density
DM+baryons
Lensing maps
Predicted observations
Challenges:
Big dynamic range
Scalability + resolution → use fully non-linear, distributed (multi-GPU) PM simulations
JaxPM + jaxdecomp + jax-healpy
3D domain decomposition and distributed FFTs
Use FNO instead
Computational efficiency
Resolution independence: Neural operators can generalize across resolutions after single-
scale training, facilitating multi-resolution analysis strategies
For field-level inference, we need correct velocities and displacement histories, not just final density fields. Therefore, the advanced version of my proposal is to implement Active Neural Force Correction. We inject the neural network inside the time-integration loop to correct the PM forces at every step.
Run Coarse PM, but at every time step, call an FNO to predict the "Residual Force" (Exact Force - PM Force) and kick the particles.
FNO learns the mapping
between function spaces (the density field 𝜌 to the displacement potential 𝜓 )
"Hybrid Physical Neural ODEs for Fast N-body simulations" Lanzieri, Lanusse, StarckPM solvers still face a resolution bottleneck
(mesh grid → smooths out gravity)
Strategy: inject neural correction into time-integration loop to recover small scales
Learned Isotropic Fourier Filter
predict the complex 3D force field from density, instead of just modifying potential
Gravity solver
Baryonification
Lensing+IA
Survey effects & systematics
Initial conditions
Evolved density
DM+baryons
Lensing maps
Predicted observations
Challenge:
In BORG-WL → EDG
Conditional Optimal Transport Flow-Matching (Kerrigan et al., 2024)
PM Density
Velocity
Density
Temperature
"BaryonBridge: Interpolants models for fast hydrodynamical simulations" Horowitz et al. 2025Scalable posterior exploration in high-dim spaces
(unadjusted) MCLMC for scaling to ≥10^6 dim
"Adjoint Sampling: Highly Scalable Diffusion Samplers via Adjoint Matching", Havens et al.Diffusion samplers >1 energy evaluations
per gradient update
Amortizes the cost of the forward model can perform hundreds of cheap network updates for every single expensive simulation
Adjoint Sampling learns directly from the energy function and its gradient, without requiring many data samples (many grad updates/sample
Foundation models
To reuse & share prior models, build flexible model, capable of modeling different types of data
Diff. models from corrupted data using an Expectation-Maximization approach
Foundational data-driven prior models → adapt to different desired populations at inference time, and can be used for many types of observations.
End-to-end diff/ble shear forward model
Combine multi-band, multi-instrument data to produce consistent UQ and posterior samples for each object.
Gravity solver
Baryonification
Lensing+IA
Survey effects & systematics
Initial conditions
Evolved density
DM+baryons
Lensing maps
Predicted observations
In the 3D field, they possess distinct spatial signatures.
By differentiating through the forward model, the inference engine uses phase information to separate signal from noise.
Photo-z:
BHM to sample n(z) and marginalise over redshift uncertainties, using forward model of the photometric fluxes