TRANSMISSION // 2611.28983v1
Testing flow matching for gravitational-lens reconstruction
Source published
Blind-FlowSGS uses flow matching and Bayesian sampling to estimate a lensed galaxy’s source image and foreground lens. Simulated tests are promising, but real-data performance and uncertainty calibration remain untested.

A foreground galaxy can bend a distant galaxy’s light into arcs, but working backward to infer both galaxies is ambiguous. A new preprint tests a flow-matching method for estimating the source and lens together, using simulated Euclid-like images rather than real survey observations.
Reconstructing a cosmic distortion
When a massive foreground galaxy bends light from a more distant galaxy, astronomers may observe arcs, rings or multiple images. These patterns contain information about both the background source and the foreground lens. Yet different combinations of source appearance and lens properties can produce similar images, making reconstruction an ill-posed inverse problem: the observation may not determine one unique answer.
The authors introduce Blind-FlowSGS, a method for sampling from a Bayesian posterior over possible source images and lens parameters. “Blind” means the lens is not assumed to be known: the method estimates the source and lens together. The authors also test a non-blind version, in which the lens is treated as known. Posterior samples represent solutions consistent to varying degrees with the data and model assumptions; this study does not establish that their uncertainty estimates are calibrated.
How the method works
The method combines a learned image prior with a sampling procedure. The prior represents patterns in galaxy images used for training, helping constrain reconstruction where the observed lensed image alone is ambiguous. The sampler alternates between a step informed by the image likelihood and a step using the learned prior. In blind reconstruction, it also updates lens parameters using the likelihood and prior information about those parameters. Because the likelihood allows for measurement noise, the method seeks samples from a probability distribution; it does not require every candidate to match the observation exactly.
The source-image prior uses flow matching, a generative modeling approach that learns a velocity field along a probability path between noise and image data. The researchers compare it with diffusion-based methods, which have also been used to reconstruct images from incomplete or noisy measurements. The paper’s motivation is that flow matching may make posterior sampling more efficient in this setting.
For the source prior, the team trained models on galaxy images from IllustrisTNG simulations. They generated Euclid-like lens observations as 64-by-64-pixel images with Gaussian noise, but without modeling the telescope’s point-spread function, which blurs images. Lens-parameter priors were estimated using results from about 330 real strong lenses in Euclid’s Q1 data release. Those real systems informed the priors; the reconstruction tests themselves used simulated lenses.
What the simulations showed
In source-only tests, FlowSGS was compared with several methods, including the diffusion-based PnP-DM. Across 100 simulated test lenses, the paper reports better image-quality scores for FlowSGS than for the listed alternatives. In the specific comparison with PnP-DM, the authors report that their default FlowSGS setup used 32 SDE discretization steps in its prior step, compared with 100 for PnP-DM. They also report lower runtime for FlowSGS in the tested setup. Step counts alone do not measure all computation, and these results do not establish a general speed advantage on real observations.
For blind reconstruction, the method estimated source images and five parameters of a singular isothermal ellipsoid lens model. The reported evaluation covered 100 simulated lenses. For each, the authors drew 128 joint source-and-lens samples, then generated additional conditional lens samples, for 1,024 lens samples in total per system. Blind-FlowSGS was compared with GibbsDDRM and PRISM. Its results were not uniformly best across every reported image-quality and lens-parameter metric; the paper reports differing rankings depending on the measure. The findings support feasibility in the tested simulations, not performance across the full diversity of real survey data.
What remains uncertain
This paper is a preprint for the 9th Annual Workshop for Machine Learning & the Physical Sciences (ML4PS 2026); that venue information should not be taken as evidence of peer review or endorsement. The authors describe their experiments as a best-case setting: test sources come from the same simulation pipeline as the training prior, and test lens parameters are drawn from the same prior used during inference. Real galaxies and observations may differ from those assumptions.
The tests also omit point-spread-function blurring, and the current lens model is a singular isothermal ellipsoid. The authors identify more expressive models, including an elliptical power law with external shear or subhalo substructure, as future work. They further note that their metrics assess reconstruction accuracy, not posterior correctness or uncertainty calibration. Whether the sampled ranges reliably reflect actual uncertainty therefore remains an open question.
The authors plan to apply the method to real Euclid Q1 lenses. Until such tests and calibration studies are reported, Blind-FlowSGS is a promising approach demonstrated on simulated data—not a validated survey-scale solution.
- gravitational lensing
- flow matching
- Bayesian inference
- image reconstruction
- Euclid
- preprint
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How distance-unit choices can skew conclusions from galaxy maps
Source published
Shared keywords: bayesian inference
A Swarm-Based Search for Gravitational-Wave Echoes
Source published
Shared keywords: bayesian inference, gravitational lensing
Double gravitational lenses offer a new handle on hidden galaxy mass
Source published
Shared keywords: gravitational lensing
A cosmic ruler gets distorted by magnified galaxies
Source published
Shared keywords: gravitational lensing
JWST counts faint galaxies to trace a busy era of star formation
Source published
Shared keywords: gravitational lensing