WorksPhysics and Astronomy
Probabilistic Inversion of Strong Gravitational Lenses with Flow Matching Priors
Abstract
Strong gravitational lensing reveals important information about the universe, but reconstructing the source image and lens properties requires solving an ill-posed inverse imaging problem. Generative image models serve as powerful data-driven priors in Bayesian inverse problems. Diffusion models have been used widely, but they are computationally costly. Flow matching has emerged as a promising alternative to diffusion models, with easier training, efficient sampling, and better-quality data generation. In this work, we present Blind-FlowSGS, a principled blind posterior sampling method using flow matching priors, enabling efficient posterior sampling for non-blind and blind inversion of strong gravitational lenses. On simulated Euclid data, we demonstrate our method's improvement over diffusion-based methods in both efficacy and efficiency. Our method shows promising capabilities to accurately process strong lensing data from modern sky surveys at scale. Our code and data are available on our project page.
https://nubivlab.github.io/Blind-FlowSGS/
Introduction
Strong gravitational lensing is the phenomenon that occurs when the light of an astronomical source is bent by the gravitational potential of a massive foreground object, producing distorted images of the source [51, 46, 11]. Strong lenses have multiple science applications: individual systems can be used to measure the Hubble constant [52, 45] and probe the small-scale distribution of dark matter [53], while large lens populations can constrain the nature of dark energy [24]. In order to use strong lenses in scientific applications, it is necessary to model their properties accurately. Traditionally, strong lens modeling involves parameterizing the mass and light distribution of the objects, and using density samplers to find and optimize those parameters by comparing a simulation with the real observation [6]. However, this computationally expensive approach is not feasible to model the lenses that next-generation astronomical surveys like LSST and Euclid will uncover [10, 47]. Recent machine learning (ML) approaches to lens parameter prediction include training ML models in a regression task for direct inference [16, 44, 37], with the LEMON pipeline [13] demonstrating this at scale on real Euclid Q1 lenses [14], and simulation-based inference (SBI), which trains on simulations to yield well-calibrated posteriors without an explicit likelihood [39, 22, 12].
With the rapid advancements in generative modeling, diffusion models [48, 17, 49] have been used as priors to solve Bayesian inverse problems [9, 56, 57, 32, 42, 19], including reconstruction of strong gravitational lenses. Specifically, [1, 20] used diffusion models to reconstruct the source galaxy assuming a known lens, and [4] used diffusion models for joint inference of the source and lens. Among these, [4] is the closest prior work to ours: it jointly infers the source and a parametric lens mass profile with a score-based prior, using a continuous-time sampler derived from GibbsDDRM [32], and reports residuals consistent with the observational noise and lens-parameter marginals without systematic bias. We instead use a flow matching prior with split Gibbs
The 9th Annual Workshop for Machine Learning & the Physical Sciences (ML4PS 2026). sampling [55] in the source block, and informative lens priors estimated from Euclid Q1. Recently, flow matching [28, 29, 2] has emerged as the next-generation generative model that improves upon diffusion. Flow matching constructs straighter probability paths, enabling easier training, more efficient sampling, and better data-generation quality. Flow matching has been used to solve classic (non-blind, linear) inverse problems [30, 36, 21]. It has also been applied to strong lensing in other roles, namely amortized posterior inference of lens parameters with simulator feedback [18] and fast emulation of lensed images [43], but not as a plug-and-play image prior for pixel-level source reconstruction, and not for blind inference of the source and the lens together. This is the gap we address, and it matters for efficiently processing the large data volumes expected from modern wide-area astronomical surveys.
In this work, we focus on inversion of galaxy-galaxy lenses and parameterize the light distribution of the source galaxy as a pixelated image and the mass distribution of the deflector as a singular isothermal ellipsoid (SIE) profile [31] with parameters (see Table 3). We consider both the blind and non-blind settings. In the blind setting, given an observed image , we aim to sample from the joint posterior distribution of the source and lens parameters
| Parameter | Symbol | Prior | Unit |
| Deflector mass (SIE) | |||
| Centroid | arcsec | ||
| arcsec | |||
| Axis ratio | |||
| Position angle | rad | ||
| Einstein radius | arcsec |
Table 3. Non-uniform priors on the SIE deflector mass parameters estimated from the modeling results of the Euclid Q1 data [14].
where is the data likelihood assuming Gaussian noise with noise level , and is the lensing forward model. Assuming a known lens , this blind inverse problem reduces to a non-blind inverse problem:
To sample from the posterior in Eq. (2), we leverage a new principled posterior sampler [26] using flow matching as a prior, and extend it to the blind scenario in Eq. (1). We train flow matching models on galaxy images from the IllustrisTNG simulations [34, 38, 35, 3] for the source prior and test our method on simulated strong lensing systems using Euclid’s parameters. We also incorporate non-uniform priors for the deflector mass parameters estimated from real strong lenses discovered in the Euclid Q1 data release [14]. In both source-only reconstruction and joint source-lens reconstruction experiments, we benchmark a variety of diffusion-based and flow-based methods and demonstrate our method’s efficacy and efficiency.
Methods
Non-blind posterior sampling
We apply the FlowSGS sampler [26] to sample from the posterior in Eq. (2) for the strong gravitational lensing problem. FlowSGS follows the plug-and-play [54, 7] split Gibbs sampling (SGS) framework [55], extending the diffusion-based PnP-DM [56] to flow matching. FlowSGS alternates between a likelihood step and a prior step, sharing a similar “divide-and-conquer” spirit with HQS [8, 15] and ADMM [5, 33] (see Algorithm 2). SGS avoids most approximations used in
Algorithm 1 Blind (joint source and lens parameter) posterior sampling with Blind-FlowSGS.
Require: measurement , forward model , lens parameter prior , whitening map with Jacobian , measurement noise level , velocity network pretrained with interpolant schedule , diffusion coefficient , number of iterations , coupling parameters , Langevin step size and inner steps .
▷ Initialization.
for do
▷ Source likelihood step.
is affine in , so this Gaussian is sampled exactly by randomize-then-optimize.
▷ Compute time corresponding to noise level .
▷ Scale to match noise level at .
▷ Source prior step.
where the SDE is defined by ,
and .
for do ▷ Lens mass step.
end for
end for
return
likelihood-gradient guidance or gradient-free vector-field steering [9, 30, 36, 21], so it offers a principled way to incorporate measurement likelihood and produce a more accurate posterior (see Table 1 and Figure 2). This method relies on a generative prior for source galaxy images; see Figure 6 for samples from our flow prior and § 3.1 for training details to ensure a high-quality prior.

Figure 2. Results on source-only (non-blind) reconstruction. FlowSGS provides better image quality (PSNR, SSIM) than previous posterior samplers.
| Method | PSNR (↑) | SSIM (↑) | NFE | Time (s) |
| DPS [9] | 29.06±1.16 | 0.885±0.013 | 1000 | 23.8 |
| PnP-DM [56] | 34.64±0.65 | 0.925±0.007 | 1619 | 16.1 |
| DAPS [57] | 33.15±0.56 | 0.851±0.005 | 1000 | 122.1 |
| PnP-Flow [30] | 26.01±2.27 | 0.776±0.025 | 100 | 1.7 |
| FlowChef [36] | 33.74±0.64 | 0.900±0.007 | 100 | 1.7 |
| FlowDPS [21] | 31.15±0.64 | 0.877±0.012 | 100 | 2.9 |
| FlowSGS [26] | 35.19±0.66 | 0.929±0.006 | 881 | 9.7 |
| FlowSGS (MFM) [26] | 35.43±0.67 | 0.932±0.006 | 212 | 3.9 |
Table 1. Quantitative evaluation on source-only (non-blind) reconstruction. All methods draw 8 posterior samples, and the reported metrics are computed on the posterior mean source galaxy image, with standard deviations across the 100 test lenses.

Figure 6. Samples from the flow matching model trained on IllustrisTNG TNG50-1 data [34, 38, 35, 3].
Blind posterior sampling
Following PRISM [19], we extend FlowSGS into a blind posterior solver, which we call Blind-FlowSGS (see Figure 1). Specifically, we target the joint posterior in Eq. (1) with a Gibbs sweep that alternates between sampling the source and the parameters , applying split Gibbs sampling in the source block. With fixed, the source block is exactly the non-blind sampler of § 2.1: a likelihood step followed by a prior step that integrates the reverse-time SDE with the pretrained flow matching prior. With fixed, the parameter block is a projected Langevin chain targeting under the Euclid Q1 priors (see Table 3 and Figure 5). We sample in whitened coordinates, in which every parameter carries unit prior scale, so that a single step size serves all 5 parameters despite their prior scales differing by about an order of magnitude. We define the whitening map and the projection in Section A. The pseudocode of FlowSGS is shown in Algorithm 2, with our novel extension to the blind setting in Algorithm 1. We also use Meta Flow Maps (MFM) [40] to accelerate both FlowSGS and Blind-FlowSGS, referred to as “FlowSGS (MFM)” and “Blind-FlowSGS (MFM)” [56, 26, 19] for details on the SGS variable splitting, mathematical approximations, convergence guarantees, and derivations.

Figure 1. A high-level overview of Blind-FlowSGS, a principled blind posterior sampler using flow matching as a plug-and-play prior. Our method iterates between a source image likelihood step, a source image prior step, and a lens mass step. Here is the auxiliary variable of the source image split. We show sampling trajectories of the source galaxy (right). See pseudocode of Blind-FlowSGS in Algorithm 1. Adapted from [26].

Figure 5. SIE lens mass parameters estimated from Euclid Q1 modeling results [14]. We show both the histograms from the Euclid modeling results and the fitted prior distributions.
Experiments
Dataset and generative models
To train our flow matching prior, as well as a diffusion prior for baseline comparisons, we generate simulated data matching Euclid’s observational parameters. Our simulated data enables access to noise-free ground truth and is based on synthetic images of galaxies from the IllustrisTNG TNG50-1 run [34, 38, 35, 3], which are resampled to the pixel scale of Euclid’s VIS instrument (0.1 arcsec) at pixels. Among these processed galaxy images, we randomly select 10,000 to train the generative priors and 100 to simulate strong gravitational lens systems. Importantly, we find that normalized flux images (99th percentile pixel set to 1.0) stabilize generative model training, compared to physical values. We also simulate measurements assuming normalized source images. We train flow and diffusion models using the NCSN++ architecture [49] for fair comparisons, and use the Variance Preserving (VP) [48, 49] SDE as the diffusion schedule and the linear interpolant [29] for flow matching. Both models are trained for 1,000 epochs using the Adam optimizer with a learning rate of . We show several unconditional samples from the pretrained flow model in Figure 6. We estimate the distributions of the lens parameters from real strong lenses in the Euclid Q1 data release [14] (see Table 3), which we use for data generation and the lens prior in Eq. (1). We use Caustics [50] to simulate lensed images and add i.i.d. Gaussian noise with to obtain the observed images; we do not include the telescope PSF.
Source-only (non-blind) reconstruction
We test FlowSGS on 100 simulated strong gravitational lenses whose source images are not used during training and report the image quality metrics in Table 1. Figure 2 shows a visual comparison between all considered methods, where FlowSGS provides the best image quality, followed by PnP-DM [56], a principled diffusion posterior sampler using a similar SGS framework. To further demonstrate efficiency, we compare FlowSGS (purple) with PnP-DM (blue) and vary the number of SDE discretization steps in the prior step, shown in Figure 3. We report the runtime of drawing a batch of 8 posterior samples on a single NVIDIA RTX A6000 GPU and the number of function evaluations (NFE). FlowSGS outperforms all other methods and is much more robust to few-step sampling in the prior step, enabling efficient sampling with minimal sacrifice in accuracy. By default, FlowSGS uses only 32 SDE discretization steps (marked with a purple star) while PnP-DM requires 100. This demonstrates a significant efficiency advantage thanks to flow matching’s straighter probability paths and is beneficial for processing large amounts of data from sky surveys.

Figure 3. Time-performance trade-offs on source-only (non-blind) reconstruction.
Joint reconstruction of source and lens (blind)
We apply our Blind-FlowSGS sampler to jointly reconstruct the source and lens. In Figure 4a, we show the mean and standard deviations of the source galaxy image, the estimated observations, and the observation residuals. Because sampling a large number of source images is computationally expensive, we follow [4] and draw 128 joint source and lens samples, and then use the unadjusted Langevin algorithm (ULA) [41] to sample 7 more lens samples per source sample from the conditional . This gives us 128 source samples and 1,024 lens samples in total. We use the same procedure for all blind samplers in Table 2. In Figure 4b, we show the corner plots of the 5 lens mass
| Method | PSNR (↑) | SSIM (↑) | NFE | Time (s) | |||||
| GibbsDDRM [32, 4] | 28.59 ±0.75 | 0.874 ±0.011 | 0.0178 ±0.0031 | 0.0173 ±0.0028 | 0.033 ±0.004 | 0.127 ±0.025 | 0.0475 ±0.0123 | 400 + 400† | 146 |
| PRISM [19] | 30.36 ±0.78 | 0.887 ±0.012 | 0.0153 ±0.0027 | 0.0141 ±0.0026 | 0.024 ±0.004 | 0.078 ±0.017 | 0.0288 ±0.0095 | 2739 | 285 |
| Blind-FlowSGS | 30.36 ±0.85 | 0.887 ±0.013 | 0.0149 ±0.0028 | 0.0130 ±0.0025 | 0.021 ±0.003 | 0.087 ±0.018 | 0.0299 ±0.0109 | 1628 | 219 |
| Blind-FlowSGS (MFM) | 31.21 ±0.78 | 0.920 ±0.009 | 0.0153 ±0.0029 | 0.0136 ±0.0024 | 0.022 ±0.003 | 0.090 ±0.019 | 0.0287 ±0.0148 | 211 | 133 |
Table 2. Quantitative evaluation on joint source and lens (blind) reconstruction. All results are computed across 128 source samples and 1,024 lens samples, with standard deviations across the 100 test lenses. The mean absolute error (MAE) is per lens mass parameter, in arcsec for , , and in rad for . †Note that GibbsDDRM [32, 4] also backpropagates through the denoiser at every evaluation, adding 400 backward passes.

Figure 4. Results on joint source and lens (blind) reconstruction. (a) Source galaxy image, measurement, and measurement residuals, shown in mean, posterior samples, and standard deviations. (b) Corner plots for 5 SIE lens mass parameters computed from 1,024 posterior samples. Red dashed lines on the 1D marginals show the lens parameter priors of Table 3.
parameters (see results on more lensing systems in Appendix § 8). We benchmark Blind-FlowSGS against existing blind posterior samplers in Table 2. We find that our method accurately estimates both the source galaxy image and the lens mass parameters .
Discussion and Conclusion
In this work, we introduce Blind-FlowSGS, a principled posterior sampler for probabilistic inversion of strong gravitational lenses. With the incorporation of a flow matching prior trained from IllustrisTNG data, our method can sample from the posterior distribution more efficiently than existing diffusion-based methods without loss of accuracy. For future work, we plan to apply our method to real lenses in the Euclid Q1 data release [14] and compare our modeling results with the provided catalog, as our current test sources come from the same simulation pipeline that trains our prior and our test lens parameters are drawn from the same prior used at inference, so the present results represent a best case. Moving to more expressive parameterizations of the lens mass, such as an elliptical power law (EPL) with external shear or subhalo substructure, is also a natural next step. Another direction is to train the flow matching prior on realistic galaxy images, which might suffer from non-ideal effects like noise and PSF blurring [25] but provide a more accurate prior than simulated data. On the methodology side, future directions include learning a lens-parameter regressor [13] for initialization, accounting for unknown source amplitude and lens light effects, and increasing scalability with more efficient flow network architectures [27]. Our metrics measure reconstruction accuracy rather than posterior correctness, so we also plan to evaluate Blind-FlowSGS with uncertainty calibration tests such as TARP [23] and study theoretical guarantees.
Acknowledgments and Disclosure of Funding
We gratefully acknowledge the support of the NSF-Simons AI Institute for the Sky (SkAI) via grants NSF AST-2421845 and Simons Foundation MPS-AI-00010513. This material is based upon work supported by the U.S. National Science Foundation under Award No. 2542022. This research used the Delta advanced computing and data resource, which is supported by the National Science Foundation (award OAC 2005572) and the State of Illinois. Delta is a joint effort of the University of Illinois Urbana-Champaign and its National Center for Supercomputing Applications. This work was produced by Fermi Forward Discovery Group, LLC under Contract No. 89243024CSC000002 with the U.S. Department of Energy, Office of Science, Office of High Energy Physics. Publisher acknowledges the U.S. Government license to provide public access under the DOE Public Access Plan (http://energy.gov/downloads/doe-public-access-plan). The authors would like to thank Yu Sun for helpful discussions and 4 anonymous reviewers for helpful feedback.
Lens parameter priors
We model the deflector mass as a singular isothermal ellipsoid (SIE, 5 parameters) and estimate prior distributions for these 5 parameters from the modeling results in the Euclid Q1 data release [14] (see Table 3 and Figure 5). We use a uniform distribution, two normal distributions, and two truncated normal distributions depending on the properties of different parameters.
Whitening map and projection. The parameter block of Algorithm 1 operates on whitened coordinates rather than on directly. We take to be the coordinate-wise affine standardization of the priors in Table 3,
where are the mean and standard deviation of the (untruncated) Gaussian prior for , , , and , and the midpoint and half-width of the support for the uniform prior on , i.e. . In these coordinates the centroid priors become (e.g. ), the priors on and become standard normals truncated to the whitened support , and the prior on becomes . Every coordinate therefore carries a prior scale of order one, so a single Langevin step size serves all 5 parameters even though their prior scales differ by about an order of magnitude, from 0.1 for the centroid to for . Because is affine and coordinate-wise, its Jacobian is constant, , and likelihood gradients are pulled back as . The Langevin step in Algorithm 1 uses the exact prior score in whitened coordinates: for the centroid and, within their truncated support, for and , since truncation changes only the normalizing constant, and for , whose whitened prior is uniform. Sampling the lens parameters directly rather than through an auxiliary split therefore avoids the Gaussian approximation that a conjugate prior step would require, at no extra cost, because the lens priors are cheap to evaluate in closed form. The projection maps the bounded coordinates and back into by reflection at the boundaries, followed by a clamp to the same interval as a numerical safeguard. Because is -periodic, instead wraps its whitened coordinate into , i.e. modulo , so that position angles near 0 and are treated as neighbors. The centroid coordinates are unbounded and left unchanged.
Implementation details
We show the pseudocode for FlowSGS in Algorithm 2 and Blind-FlowSGS in Algorithm 1.
Algorithm 2 Non-blind (source-only) posterior sampling with FlowSGS.
Require: measurement , forward model , lens parameter , measurement noise level , velocity network pretrained with interpolant schedule , diffusion coefficient , number of iterations , coupling parameters
▷ Initialization.
for do
▷ Likelihood step.
is affine in , so this Gaussian is sampled exactly by randomize-then-optimize.
▷ Compute time corresponding to noise level .
▷ Scale to match noise level at .
▷ Solve SDE with timestep correction.
where the SDE is defined by
and .
end for
return
Additional results
We show unconditional samples from our pretrained flow matching prior in Figure 6. We show additional results on joint reconstruction of the source and the lens mass parameters in Figure 7.

Figure 7. Additional results on joint source and lens (blind) reconstruction with full corner plots. (a) Source galaxy image, measurement, and measurement residuals, shown in mean, posterior samples, and standard deviations. (b) Corner plots for 5 SIE lens mass parameters computed from 1,024 posterior samples. Red dashed lines on the 1D marginals show the lens parameter priors of Table 3.
References
- [1]Alexandre Adam, Adam Coogan, Nikolay Malkin, Ronan Legin, Laurence Perrault-L e v a s s e u r, Yashar Hezaveh, and Yoshua Bengio. Posterior samples of source galaxies in strong gravitational lenses with score-based priors. In Machine Learning and the Physical Sciences Workshop, page arXiv:2211.03812, January 2022.arxiv.org/abs/2211.03812
- [2]Michael Samuel Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. In The Eleventh International Conference on Learning Representations, 2023.arxiv.org/abs/2209.15571
- [3]Maarten Baes, Andrea Gebek, Ana Trčka, Peter Camps, Arjen van der Wel, Abdurro’uf, Nick Andreadis, Sena Bokona Tulu, Abdissa Tassama Emana, Jacopo Fritzi, Raymond Kelly, Inja Kovačić, Antonio La Marca, Marco Martorano, Aleksandr Mosenkov, Angelos Nersesian, Vicente Rodriguez-Gomez, Crescenzo Tortora, Bert Vander Meulen, and Lingyu Wang. The TNG50-SKIRT Atlas: Post-processing methodology and first data release. A&A, 683:A181, March 2024.arxiv.org/abs/2401.04224
- [4]Gabriel M. Barco, Ronan Legin, Connor Stone, Yashar Hezaveh, and Laurence Perrault-Le vasseur. Blind strong gravitational lensing inversion: Joint inference of source and lens mass with score-based models. arXiv preprint arXiv:2511.04792, 2025.arxiv.org/abs/2511.04792
- [5]Stephen Boyd and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004.
- [6]Brendon J Brewer and Geraint F Lewis. Strong gravitational lens inversion: a Bayesian approach. The Astrophysical Journal, 637(2):608–619, 2006.DOI
- [7]Stanley H Chan, Xiran Wang, and Omar A Elgendy. Plug-and-play ADMM for image restoration: Fixed-point convergence and applications. IEEE Transactions on Computational Imaging, 3(1):84–98, 2016.arxiv.org/abs/1605.01710
- [8]Pierre Charbonnier, Laure Blanc-Feraud, Gilles Aubert, and Michel Barlaud. Two deterministic half-quadratic regularization algorithms for computed imaging. In Proceedings of 1st international conference on image processing, volume 2, pages 168–172. IEEE, 1994.
- [9]Hyungjin Chung, Jeongsŏl Kim, Michael Thompson Mccann, Marc Louis Klasky, and Jong Chul Ye. Diffusion posterior sampling for general noisy inverse problems. In The Eleventh International Conference on Learning Representations, 2023.arxiv.org/abs/2209.14687
- [10]Thomas E. Collett. The population of galaxy–galaxy strong lenses in forthcoming optical imaging surveys. The Astrophysical Journal, 811(1):20, September 2015.DOI
- [11]Albert B. Einstein. Lens-like action of a star by the deviation of light in the gravitational field. Science, 84 2188:506–7, 1936.pubmed.ncbi.nlm.nih.gov/17769014
- [12]Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman, Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Shajib, and Padma and Venkatraman. Lens modeling of strides strongly lensed quasars using neural posterior estimation. The Astronomical Journal, 170(1):44, June 2025.DOI
- [13]Euclid Collaboration. Euclid Quick Data Release (Q1) XXXI. LEMON–LENS Modelling with Neural networks. Automated and fast modelling of Euclid gravitational lenses with singular isothermal ellipsoid mass profile. Astronomy & Astrophysics, 711:A31, 2026.DOI
- [14]Euclid Collaboration, Walmsley, M., Holloway, P., Lines, N. E. P., Rojas, K., Collett, T. E., Verma, A., Li, T., Nightingale, J. W., Despali, G., Schuldt, S., Gavazzi, R., Melo, A., Metcalf, R. B., Andika, I. T., Leuzzi, L., Manjón-García, A., Pearce-Casey, R., Vincken, S. H., Wilde, J., Busold, V., Tortora, C., Acevedo Barroso, J. A., Dole, H., Ecker, L. R., Pearson, J., Marshall, P. J., More, A., Saifollahi, T., Gracia-Carpio, J., Baeten, E., Cornen, C., Johnson, L. C., Macmillan, C., Kruk, S., Remmelgass, K. A., Clément, B., Degau denzi, H., Courbin, F., Bovy, J., Casas, S., Dannerbauer, H., Diego, J. M., Finner, K., Galan, A., Giocoli, C., Hogg, N. B., Jahnke, K., Katona, I., Kovács, A., De Leo, C., Mahler, G., Millon, M., Nagam, B. C., Nugent, P., Sainz de Murieta, A., O’Riordan, C. M., Sluse, D., Sonnenfeld, A., Spinello, C., Serjeant, S., Thai, T. T., Ulivi, L., Walth, G. L., Weisenbach, L., Zumalacarregui, M., Aghanim, N., Altieri, B., Amara, A., Andreon, S., Aurricchio, N., Aussel, H., Baccigalupi, C., Baldi, M., Balestra, A., Bardelli, S., Battaglia, P., Bernardeau, F., Biviano, A., Bonchi, A., Bonino, D., Branchini, E., Brescia, M., Brinchmann, J., Camera, S., Cañ as-Herrera, G., Capobianco, V., Carbone, C., Cardone, V. F., Carretero, J., Castander, F. J., Castellano, M., Castignani, G., Cavouti, S., Chambers, K. C., Cimatti, A., Colodro-Conde, C., Congedo, G., Cons elice, C. J., Conversi, L., Copin, Y., Corcione, L., Courtois, H. M., Cropper, M., Da Silva, A., De Lucia, G., Di Giorgio, A. M., Dolding, C., Dubath, F., Duncan, C. A. J., Dupac, X., Ealet, A., Escoffier, S., Fabricius, M., Farina, M., Farinelli, R., Faustini, F., F otopoulou, S., Frailis, M., Franceschi, E., Fumana, M., Galeotta, S., George, K., Gillard, W., Gillis, B., Gómez-Alvarez, P., Granett, B. R., Grazian, A., Grupp, F., Guzzo, L., Gwyn, S., Haugan, S. V. H., Hoekstra, H., Holmes, W., Hook, I. M., Hormuth, F., Hornstrup, A., Hudelot, P., Jhabvala, M., Joachimi, B., Keihänen, E., Kermiche, S., Kiessling, A., Kubik, B., Kümmel, M., Kunz, M., Kurki-Suonio, H., Lahav, O., Le Boulc’h, Q., Le Brun, A. M. C., Le Mignant, D., Ligori, S., Lilje, P. B., Lindholm, V., Lloro, I., Mainetti, G., Maino, D., Maiorano, E., Mansutti, O., Marcin, S., Marggraf, O., Martinelli, M., Martinet, N., Marulli, F., Massey, R., Maurogordato, S., McCracken, H. J., Medinaceli, E., Mei, S., Mellier, Y., Meneghetti, M., Merlin, E., Meylan, G., Mora, A., Moresco, M., Moscardini, L., Nakajima, R., Neissner, C., Nichol, R. C., Niemi, S.-M., Padilla, C., Paltani, S., Pasian, F., Pedersen, K., Percival, W. J., Pettorino, V., Pires, S., Polenta, G., Poncent, M., Popa, L. A., Pozzetti, L., Raison, F., Rebolo, R., Renzi, A., Rhodes, J., Riccio, G., Romelli, E., Roncarelli, M., Saglia, R., Sakr, Z., Sánchez, A. G., Sapone, D., Sartoris, B., Schwtchenko, J. A., Schirmer, M., Schneider, P., Schrabback, T., Secroun, A., Seidel, G., Seiffert, M., Serrano, S., Simon, P., Sirignano, C., Sirri, G., Spurio Mancini, A., Stanco, L., Steinwagner, J., Tallada-Crespí, P., Taylor, A. N., Tereno, I., Tessore, N., Toft, S., Toledo-Moreo, R., Torradeflot, F., Tutusaus, I., Valentijn, E. A., Valenziano, L., Valiviita, J., Vassallo, T., Verdoes Kleijn, G., Veropalumbo, A., Wang, Y., Weller, J., Zacchei, A., Zamorani, G., Zerbi, F. M., Zucca, E., Allevato, V., Ballardini, M., Bolzonella, M., Bozzo, E., Burigana, C., Cabanac, R., Cappi, A., Di Ferdinando, D., Escartin V igo, J. A., Gabarra, L., Huertas-Company, M., Martín-Fleitas, J., Matthews, S., Mauri, N., Pezzotta, A., Pöntinen, M., Porciani, C., Risso, I., Scottez, V., Sereno, M., Tenti, M., Viel, M., W iesmann, M., Akrami, Y., Anselmi, S., Archidiacono, M., Atrio-Barandela, F., Benoist, C., Benson, K., Bergamini, P., Bertacca, D., Bethermin, M., Blot, L., Borgani, S., Brown, M. L., Bruton, S., Calabro, A., Camacho Quevedo, B., Caro, F., Carvalho, C. S., Castro, T., Charles, Y., Cogato, F., Cooray, A. R., Cucciati, O., Davini, S., De Paolis, F., Desprez, G., Díaz-Sánchez, A., Diaz, J. J., Di Domizio, S., Enia, A., Fang, Y., Ferrari, A. G., Finoguenov, A., Fontana, A., Franco, A., Ganga, K., García-Bellido, J., Gasparetto, T., Gautard, V., Gaztanaga, E., Giacomini, F., Gozaliasl, G., Guidi, M., Gutierrez, C. M., Hall, A., Hartley, W. G., Hemmati, S., Hernández-Monteagudo, C., Hildebrandt, H., Hjorth, J., Kajava, J. J. E., Kang, Y., Kansal, V., Karagiannis, D., Kiiveri, K., Kirkpatrick, C. C., Le Graet, J., Legrand, L., Lembo, M., Lepori, F., Leroy, G., Lesci, G. F., Lesgourgues, J., Liaudat, T. I., Loureiro, A., Macias-Perez, J., Maggio, G., Magliocchetti, M., Magnier, E. A., Mannucci, F., Maoli, R., Martins, C. J. A. P., Maurin, L., Miluzio, M., Monaco, P., Moretti, C., Morgante, G., Murray, C., Nadathur, S., Naidoo, K., Navarro-Alsina, A., Nesseris, S., Passalacqua, F., Paterson, K., Patrizii, L., Pisani, A., Potter, D., Quai, S., Radovich, M., Rocci, P.-F., Sacquegna, S., Sahlén, M., Sanders, D. B., Sarpa, E., Scarlata, C., Schaye, J., Schneider, A., Sciotti, D., Sellentin, E., Shankar, F., Smith, L. C., Tanidis, K., Testera, G., Teyssier, R., Tosi, S., Troja, A., Tucci, M., Valieri, C., Venhola, A., Vergani, D., Vernardos, G., Verza, G., Vielzeuf, P., Walton, N. A., and Scott, D. Euclid Quick Data Release (Q1) – XXVI. The Strong Lensing Discovery Engine A – System overview and first lens sample. A&A, 711:A26, 2026.
- [15]Donald Geman and Chengda Yang. Nonlinear image recovery with half-quadratic regularization. IEEE transactions on Image Processing, 4(7):932–946, 1995.pubmed.ncbi.nlm.nih.gov/18290044
- [16]Yashar D. Hezaveh, Laurence Perreault Levasseur, and Philip J. Marshall. Fast automated analysis of strong gravitational lenses with convolutional neural networks. Nature, 548(7669):555–557, August 2017.DOI
- [17]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020.arxiv.org/abs/2006.11239
- [18]Benjamin Holzschuh and Nils Thurey. Flow matching for posterior inference with simulator feedback. arXiv preprint arXiv:2410.22573, 2024.arxiv.org/abs/2410.22573
- [19]Yuanyuan Hu, Evan Bell, Guijin Wang, and Yu Sun. Prism: Probabilistic and robust inverse solver with measurement-conditioned diffusion prior for blind inverse problems. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 11432–11436. IEEE, 2026.arxiv.org/abs/2509.16106
- [20]Konstantin Karchev, Noemi Anau Montel, Adam Coogan, and Christoph Weniger. Strong-lensing source reconstruction with denoising diffusion restoration models. arXiv preprint arXiv:2211.04365, 2022.arxiv.org/abs/2211.04365
- [21]Jeongsol Kim, Bryan Sangwoo Kim, and Jong Chul Ye. Flowdps: Flow-driven posterior sampling for inverse problems. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 12328–12337, 2025.arxiv.org/abs/2503.08136
- [22]Ronan Legin, Yashar Hezaveh, Laurence Perreault Levasseur, and Benjamin Wandelt. Simulation-Based Inference of Strong Gravitational Lensing Parameters. arXiv preprint arXiv:2112.05278, 2021.arxiv.org/abs/2112.05278
- [23]Pablo Lemos, Adam Coogan, Yashar Hezaveh, and Laurence Perreault-Levasseur. Sampling-based accuracy testing of posterior estimators for general inference. In International Conference on Machine Learning, pages 19256–19273. PMLR, 2023.arxiv.org/abs/2302.03026
- [24]Tian Li, Thomas E Collett, Coleman M Krawczyk, and Wolfgang Enzi. Cosmology from large populations of galaxy–galaxy strong gravitational lenses. Monthly Notices of the Royal Astronomical Society, 527(3):5311–5323, January 2024.arxiv.org/abs/2307.09271
- [25]Tianao Li and Emma Alexander. Galaxy image deconvolution for weak gravitational lensing with unrolled plug-and-play ADMM. Monthly Notices of the Royal Astronomical Society: Letters, 522(1):L31–L35, 2023.DOI
- [26]Tianao Li, Xinhui Qian, and Emma Alexander. Flowss: Improving flow priors for inverse imaging with stochastic interpolants. arXiv preprint arXiv:2609.20769, 2026.arxiv.org/abs/2609.20769
- [27]Tianao Li, Tjitske Starkenburg, Yu Sun, and Emma Alexander. ShuffleFlow: Scalable posterior inference for Bayesian inverse imaging. In IEEE International Conference on Computational Photography (ICCP). IEEE, 2026.arxiv.org/abs/2606.21099
- [28]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023.arxiv.org/abs/2210.02747
- [29]Xingchao Liu, Chengyue Gong, and qiang liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In The Eleventh International Conference on Learning Representations, 2023.arxiv.org/abs/2209.03003
- [30]Ségolène Tiffany Martin, Anne Gagneux, Paul Hagemann, and Gabriele Steidl. Pnp-flow: Plug-and-play image restoration with flow matching. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2410.02423
- [31]Georges Meylan, Philippe Jetzer, Pierre North, Peter Schneider, Christopher S. Kochanek, and Joachim Wambsganss, editors. Gravitational Lensing: Strong, Weak and Micro, January 2006.
- [32]Naoki Murata, Koichi Saito, Chieh-Hsin Lai, Yuhta Takida, Toshimitsu Uesaka, Yuki Mitsufuji, and Stefano Ermon. GibbsDDRM: A partially collapsed Gibbs sampler for solving blind inverse problems with denoising diffusion restoration. In International conference on machine learning, pages 25501–25522. PMLR, 2023.arxiv.org/abs/2301.12686
- [33]Parikh Neal, Chu Eric, Peleato Borja, and Eckstein Jonathan. Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends® in Machine learning, 3(1):1–122, 2011.DOI
- [34]Dylan Nelson, Annalisa Pillepich, Volker Springel, Rüdiger Pakmor, Rainer Weinberger, Shy Genel, Paul Torrey, Mark Vogelsberger, Federico Marinacci, and Lars Hernquist. First results from the TNG50 simulation: galactic outflows driven by supernovae and black hole feedback. Monthly Notices of the Royal Astronomical Society, 490(3):3234–3261, 2019.DOI
- [35]Dylan Nelson, Volker Springel, Annalisa Pillepich, Vicente Rodriguez-Gomez, Paul Torrey, Shy Genel, Mark Vogelsberger, Rüdiger Pakmor, Federico Marinacci, Rainer Weinberger, Luke Kelley, Mark Lovell, Benedikt Diemer, and Lars Hernquist. The IllustrisTNG simulations: public data release. Computational Astrophysics and Cosmology, 6(1):2, May 2019.arxiv.org/abs/1812.05609
- [36]Maitreya Patel, Song Wen, Dimitris N Metaxas, and Yezhou Yang. Flowchef: Steering of rectified flow models for controlled generations. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 15308–15318, 2025.DOI
- [37]James Pearson, Jacob Maresca, Nan Li, and Simon Dye. Strong lens modelling: comparing and combining Bayesian neural networks and parametric profile fitting. Monthly Notices of the Royal Astronomical Society, 505(3):4362–4382, May 2021.DOI
- [38]Annalisa Pillepich, Dylan Nelson, Volker Springel, Rüdiger Pakmor, Paul Torrey, Rainer Weinberger, Mark Vogelsberger, Federico Marinacci, Shy Genel, Arjen van der Wel, et al. First results from the TNG50 simulation: the evolution of stellar and gaseous discs across cosmic time. Monthly Notices of the Royal Astronomical Society, 490(3):3196–3233, 2019.DOI
- [39]Jason Poh, Ashwin Samudre, Aleksandrá Čiprijanović, Joshua Frieman, Gourav Khullar, and Brian D. Nord. Deep inference of simulated strong lenses in ground-based surveys. Journal of Cosmology and Astroparticle Physics, 2025(05):053, May 2025.
- [40]Peter Potapchik, Adhi Saravanan, Abbas Mammado v, Alvaro Prat, Michael Samuel Albergo, and Yee Whye Teh. Meta flow maps enable scalable reward alignment. In Forty-third International Conference on Machine Learning, 2026.
- [41]Gareth O. Roberts and Richard L. Tweedie. Exponential convergence of Langevin distributions and their discrete approximations. Bernoulli, 2(4):341–363, 1996.DOI
- [42]Yash Sanghvi, Yiheng Chi, and Stanley H Chan. Kernel diffusion: An alternate approach to blind deconvolution. In European Conference on Computer Vision, pages 1–20. Springer, 2024.arxiv.org/abs/2312.02319
- [43]Hamees Sayed, Pranath Reddy, Michael Toomey, and Sergei Gleyzer. Flowlensing: Simulating gravitational lensing with flow matching. arXiv preprint arXiv:2510.07878, 2025.arxiv.org/abs/2510.07878
- [44]S. Schuldt, R. Cañameras, Y. Shu, S. H. Suyu, S. Taubenberger, T. Meinhardt, and L. Leal-Taixé. Holismakes: Ix, neural network inference of strong-lens parameters and uncertainties from ground-based images. Astronomy & Astrophysics, 671:A147, March 2023.DOI
- [45]A J Shajib, S Birrer, T Treu, A Agnello, E J Buckley-Geer, J H H Chan, L Christensen, C Lemon, H Lin, M Millon, J Poh, C E Rusu, D Sluse, C Spiniello, G C-F Chen, T Collett, F Courbin, C D Fassnacht, J Frieman, A Galan, D Gilman, A More, T Anguita, M W Auger, V Bonvin, R McMahon, G Meylan, K C Wong, T M C Abbott, J Annis, S Avila, K Bechtol, D Brooks, D Brout, D L Burke, A Carnero Rosell, M Carrasco Kind, J Carretero, F J Castander, M Costanzi, L N da Costa, J De Vicente, S Desai, J P Dietrich, P Doel, A Dlsica-Wagner, A E Evrard, D A Finley, B Flaugher, P Fosalba, J García-Bellido, D W Gerdes, D Gruen, R A Gruendl, J Gschwend, G Gutierrez, D L Hollowood, K Honscheid, D Huterer, D J James, T Jeltema, E Krause, N Kuropatkin, T S Li, M Lima, N MacCrann, M A G Maia, J L Marshall, P Melchior, R Miquel, R L C Ogando, A Palmese, F Paz-Chinchón, A A Plazas, A K Romer, A Roodman, M Sako, E Sanchez, B Santiago, V Scarpine, M Schubnell, D Scolnic, S Serrano, I Sevilla-Noarbe, M Smith, M Soares-Santos, E Suchyta, G Tarle, D Thomas, A R Walker, and Y Zhang. STRIDES: a 3.9 per cent measurement of the Hubble constant from the strong lens system DES J0408−5354. Monthly Notices of the Royal Astronomical Society, 494(4):6072–6102, March 2020.DOI
- [46]A. J. Shajib, G. Vernardos, T. E. Collett, V. Motta, D. Sluse, L. L. R. Williams, P. Saha, S. Birrer, C. Spiniello, and T. Treu. Strong lensing by galaxies. Space Science Reviews, 220(8), November 2024.DOI
- [47]Anowar J. Shajib†, Graham P. Smith, Simon Birrer, Aprajita Verma, Nikki Arendse, Thomas E. Collett, Tansu Daylan, and Stephen Serjeant. Strong gravitational lenses from the Vera C. Rubin Observatory. Phil. Trans. Roy. Soc. Lond. A, 383(2295):20240117, 2025.DOI
- [48]Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019.arxiv.org/abs/1907.05600
- [49]Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
- [50]Connor Stone, Alexandre Adam, Adam Coogan, M. Yantovski-Barth, Andreas Filipp, Landung Setiawan, Cordero Core, Ronan Legin, Charles Wilson, Gabriel Barco, Yashar Hezaveh, and Laurence Perreault-Levasseur. Caustics: A Python Package for Accelerated Strong Gravitational Lensing Simulations. The Journal of Open Source Software, 9(103):7081, November 2024.
- [51]Tommaso Treu. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125, 2010.
- [52]Tommaso Treu, Sherry H. Suyu, and Philip J. Marshall. Strong lensing time-delay cosmography in the 2020s. The Astronomy and Astrophysics Review, 30(1), November 2022.DOI
- [53]S. Vegetti, S. Birrer, G. Despali, C. D. Fassnacht, D. Gilman, Y. Hezaveh, L. Perreault Levasseur, J. P. McKean, D. M. Powell, C. M. O’Riordan, and G. Vernardos. Strong gravitational lensing as a probe of dark matter, 2023.
- [54]Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for model based reconstruction. In 2013 IEEE global conference on signal and information processing, pages 945–948. IEEE, 2013.DOI
- [55]Maxime Vono, Nicolas Dobigeon, and Pierre Chainais. Split-and-augmented Gibbs sampler—Application to large-scale inference problems. IEEE Transactions on Signal Processing, 67(6):1648–1661, 2019.DOI
- [56]Zihui Wu, Yu Sun, Yifan Chen, Bingliang Zhang, Yisong Yue, and Katherine L Bouman. Principled probabilistic imaging using diffusion models as plug-and-play priors. Advances in Neural Information Processing Systems, 37:118389–118427, 2024.arxiv.org/abs/2405.18782
- [57]Bingliang Zhang, Wenda Chu, Julius Berner, Chenlin Meng, Anima Anandkumar, and Yang Song. Improving diffusion inverse problem solving with decoupled noise annealing. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 20895–20905, 2025.DOI