Probabilistic Inversion of Strong Gravitational Lenses with Flow Matching Priors
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Astrophysics. The day in astrophysics: observations, models and what the data forces.
Vera: We're looking at the paper: "Probabilistic Inversion of Strong Gravitational Lenses with Flow Matching Priors".
Title and authors: Vera: Now we’re talking about the title, "Probabilistic Inversion of Strong Gravitational Lenses with Flow Matching Priors." It’s pretty direct about what they did.
Jocelyn: They are taking a problem where you need to invert the data to find both the source image and the lens parameters, and they are using flow matching as their main prior tool.
Vera: The authors are Li, González, Xu, Katsaggelos, Willett, Ciprijanovic, Starkenburg, and Alexander. They’re coming from a bunch of places including Northwestern University and the NSF Simons AI Institute for the Sky.
Jocelyn: That's a good mix of theoretical work on priors and observational data analysis. It tells you they are trying to make the sampling process more principled with this new flow matching approach.
The paper's summary: Vera: So, what’s the core idea from the summary? They introduce Blind-FlowSGS, which is a method for sampling from that joint posterior distribution of both the source image and the lens parameters.
Jocelyn: It iterates between steps: you do a source likelihood step, then a source image prior step, and then a lens mass step.
Vera: This whole thing is built on flow matching priors instead of just standard diffusion models for the prior steps.
Jocelyn: The key thing they highlight is that flow matching constructs straighter probability paths than diffusion, which makes it easier to train and sample more efficiently.
The paper's improvements: Vera: They point out several improvements over previous methods, especially when comparing it to diffusion-based approaches like PnP-DM.
Jocelyn: One big improvement is that FlowSGS is much more robust to few step sampling in the prior step. While PnP-DM needs a hundred steps, FlowSGS only needs thirty two discretization steps by default.
Vera: That difference means it’s significantly faster when you’re just trying to get a quick sample from the prior distribution.
Jocelyn: They also mention that this flow matching approach leads to better quality data generation compared to other generative models used in these inverse problems.
Conclusion: Vera: So, wrapping up, the paper shows Blind-FlowSGS is a principled blind posterior sampler that works well for both non-blind and blind inversions of strong gravitational lenses.
Jocelyn: It uses flow matching priors to make the process more efficient than diffusion methods without losing accuracy.
Vera: And they show that this method can achieve competitive results when you are trying to find the joint posterior of both the source and lens parameters.
Subrahmanyan: From a theoretical standpoint, using flow matching seems like a smart way to handle these complex, high-dimensional inference problems because those straighter probability paths simplify things for the sampler.
Vera: Exactly. And they’ve also incorporated informative priors from real data, specifically from modeling results in the Euclid Quick Data Release Q1 to estimate the five parameters of the deflector mass.
Jocelyn: That means their prior construction isn't just some abstract guess; it’s based on real observations from Euclid data.
Subrahmanyan: It’s interesting how they scale this up, showing that FlowSGS achieves a runtime much lower than other methods when drawing a batch of eight posterior samples on a single NVIDIA RTX A6000 GPU.
Vera: That efficiency gain is significant when you think about the scale of data we are dealing with in future surveys.
Jocelyn: So, to recap, this paper introduces Blind-FlowSGS as an efficient way to sample from the joint posterior of a source and lens in strong lensing problems using flow matching priors.
Vera: It’s a solid piece of work that moves away from computationally heavy diffusion models toward something faster and more robust for these difficult inverse problems.
Jocelyn: The next step they plan is applying this method to real lenses in the Euclid Q1 data release and comparing their results with the catalog there.
Subrahmanyan: I think training the flow matching prior on realistic galaxy images will be a really valuable direction for them, because that would test how well these models handle noise and PSF blurring in a real astronomical context.
Tianao Li, Jimena González, Xinfeng Xu, Aggelos K. Katsaggelos, Rebecca Willett, ļ Aleksandra Ciprijanovi ļ Starkenburg, Emma Alexander
Northwestern University · University of Chicago · Zhejiang University · Fermi National Accelerator Laboratory · ļNSF-Simons AI Institute for the Sky (SkAI)
astro-ph.IM
Submitted: 2026-11-21
Updated: 2026-11-21
Comments: Accepted to the 9th Annual Workshop for Machine Learning & the Physical Sciences (ML4PS), 2026
Project page: https://nubivlab.github.io/Blind-FlowSGS/Abstract
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 100/100
The gist: Strong gravitational lensing reveals important information about the universe, but reconstructing the source image and lens properties requires solving an illposed inverse imaging…
Key concepts
- Flow Matching Priors
- These are a type of prior used in machine learning that guides the sampling process toward realistic solutions. They are based on flow matching, which models the probability paths between different data states in a way that is smoother and more efficient than traditional diffusion methods. This leads to faster and higher-quality posterior samples.
- Blind Inversion
- This refers to reconstructing both the source image (what is behind the lens) and the lens parameters (the mass distribution of the foreground object) simultaneously when only the lensed image is observed. Blind inversion means solving for both unknowns at once, which is a much harder problem.
- Plug-and-Play Split Gibbs Sampling (SGS)
- This is a sampling framework that alternates between updating different parts of the model—the source parameters and the lens parameters—in an iterative 'plug-and-play' fashion. It shares principles with other methods like HQS and ADMM, allowing for structured exploration of the joint posterior distribution.
- Singular Isothermal Ellipsoid (SIE) Profile
- This is a mathematical model used to describe the mass distribution of the deflector object in strong gravitational lensing. The SIE profile is a specific, simple shape assumed for the lens's mass, allowing researchers to estimate five key parameters that define its size and shape.
Terminology
Summary
Strong gravitational lensing reveals important information about the universe, but reconstructing the source image and lens properties requires solving an illposed inverse imaging problem. p. 0 Katsaggelos1,5
,
Rebecca Willett2,5
, Aleksandra Ciprijanovi ´ c´
2,4,5
, Tjitske Starkenburg1,5
, Emma Alexander1,5
1Northwestern University, 2University of Chicago, 3Zhejiang University,
4Fermi National Accelerator Laboratory, 5NSF-Simons AI Institute for the Sky (SkAI)
https://nubivlab. io/Blind-FlowSGS/
Abstract
Strong gravitational lensing reveals important information about the universe,
but reconstructing the source image and lens properties requires solving an illposed inverse imaging problem. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Methodology of the Sampler
The method applies the FlowSGS sampler to sample from the posterior in Eq. (2) for strong gravitational lensing. p. 0 Katsaggelos1,5
,
Rebecca Willett2,5
, Aleksandra Ciprijanovi ´ c´
2,4,5
, Tjitske Starkenburg1,5
, Emma Alexander1,5
1Northwestern University, 2University of Chicago, 3Zhejiang University,
4Fermi National Accelerator Laboratory, 5NSF-Simons AI Institute for the Sky (SkAI)
https://nubivlab. io/Blind-FlowSGS/
Abstract
Strong gravitational lensing reveals important information about the universe,
but reconstructing the source image and lens properties requires solving an illposed inverse imaging problem. Algorithm 1 Blind (joint source and lens parameter) posterior sampling with Blind-FlowSGS. Require: measurement y, forward model A(·), lens parameter prior p(ψ), whitening map T : ψ 7→
u with Jacobian J(u) = ∂ψ/∂u, measurement noise level σ, velocity network vθ(·, ·) pretrained
with interpolant schedule (αt, σt), diffusion coefficient wt, number of iterations K, coupling
parameters {ρk}
K−1
k=0 , Langevin step size η and inner steps J
1: x
0 ∼ N (0, I), u
0 ∼ p(u), ψ
0 ← T −1
(u
0
) ▷ Initialization. Algorithm 1 Blind (joint source and lens parameter) posterior sampling with Blind-FlowSGS. Require: measurement y, forward model A(·), lens parameter prior p(ψ), whitening map T : ψ 7→
u with Jacobian J(u) = ∂ψ/∂u, measurement noise level σ, velocity network vθ(·, ·) pretrained
with interpolant schedule (αt, σt), diffusion coefficient wt, number of iterations K, coupling
parameters {ρk}
K−1
k=0 , Langevin step size η and inner steps J
1: x
0 ∼ N (0, I), u
0 ∼ p(u), ψ
0 ← T −1
(u
0
) ▷ Initialization. (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 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). We consider both the
blind and non-blind settings. In the blind setting, given an observed image y, we aim to sample from
the joint posterior distribution of the source and lens parameters
x, ψ ∼ p(x, ψ|y) ∝ p(y|x, ψ)p(x)p(ψ), (1)
where p(y|x, ψ) = N (y; A(x; ψ), σ2
I) is the data likelihood assuming Gaussian noise with noise
level σ, and A(·) is the lensing forward model. Algorithm 1 Blind (joint source and lens parameter) posterior sampling with Blind-FlowSGS. Require: measurement y, forward model A(·), lens parameter prior p(ψ), whitening map T : ψ 7→
u with Jacobian J(u) = ∂ψ/∂u, measurement noise level σ, velocity network vθ(·, ·) pretrained
with interpolant schedule (αt, σt), diffusion coefficient wt, number of iterations K, coupling
parameters {ρk}
K−1
k=0 , Langevin step size η and inner steps J
1: x
0 ∼ N (0, I), u
0 ∼ p(u), ψ
0 ← T −1
(u
0
) ▷ Initialization.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Prior Construction and Parameter Scaling
The authors model the deflector mass as a singular isothermal ellipsoid (SIE) profile with five parameters ψ = R 5.<ref:2611.28983#pg4>. They estimate prior distributions for these five parameters from modeling results in the Euclid Q1 data release. p. 9 A Lens parameter priors
We model the deflector mass as a singular isothermal ellipsoid (SIE, 5 parameters) and estimate prior
distributions for these 5 parameters ψ = {x0, y0, q, ϕ, θE} 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 u = T (ψ) rather than on ψ directly. With x fixed, the parameter block is a projected Langevin chain targeting
p(ψ | x, y) ∝ p(y | x, ψ)p(ψ) 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.Where the paper says it
Where the paper says it
Where the paper says it
Performance Benchmarking
The method is benchmarked against various diffusion-based and flow-based methods in both source-only reconstruction and joint reconstruction experiments.<ref:2611.28983#pg4>. In the non-blind setting, FlowSGS outperforms all other methods in terms of image quality metrics like PSNR and SSIM. p. 2 Figure 2: Results on source-only (non-blind) reconstruction. FlowSGS provides better image
quality (PSNR, SSIM) than previous posterior samplers. parameters (see results on more lensing systems in Appendix C). We benchmark Blind-FlowSGS
against existing blind posterior samplers in Table 2. 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)”.Where the paper says it
Where the paper says it
Where the paper says it
Efficiency Gains
The use of flow matching provides a significant efficiency advantage over diffusion methods.<ref:2611.28983#pg4>. FlowSGS is much more robust to few-step sampling in the prior step than PnP-DM. p. 3 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. 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. 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. 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. 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. 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).Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Conclusion and Future Work
The work introduces Blind-FlowSGS, which can sample from the posterior distribution more efficiently than existing diffusion-based methods without loss of accuracy.<ref:2611.28983#pg5,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>. p. 0 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. 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. 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. 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. 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.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Acknowledgments and Disclosure
The authors acknowledge the support of the NSF-Simons AI Institute for the Sky (SkAI) via grants NSF AST-2421845 and Simons Foundation MPS-AI-00010513.<ref:2611.28983#pg6,Acknowledgments and Disclosure of Funding>. p. 5 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. 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. This material is based upon
work supported by the U. National Science Foundation under Award No. This material is based upon
work supported by the U. National Science Foundation under Award No. 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. National Science Foundation under Award No. 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. National Science Foundation under Award No. 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. This work
was produced by Fermi Forward Discovery Group, LLC under Contract No. 89243024CSC000002
with the U. This work
was produced by Fermi Forward Discovery Group, LLC under Contract No. 89243024CSC000002
with the U. 89243024CSC000002
with the U. Department of Energy, Office of Science, Office of High Energy Physics. 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. Department of Energy, Office of Science, Office of High Energy Physics. Department of Energy, Office of Science, Office of High Energy Physics. Publisher
acknowledges the U. Publisher
acknowledges the U. Government license to provide public access under the DOE Public Access
Plan (http://energy. Department of Energy, Office of Science, Office of High Energy Physics. Publisher
acknowledges the U. Publisher
acknowledges the U. Government license to provide public access under the DOE Public Access
Plan (http://energy. The mean absolute error (MAE) is per lens mass parameter, in arcsec for x0, y0, θE
and in rad for ϕ. †Note that GibbsDDRM [32, 4] also backpropagates through the denoiser at every
evaluation, adding 400 backward passes. The mean absolute error (MAE) is per lens mass parameter, in arcsec for x0, y0, θE
and in rad for ϕ. †Note that GibbsDDRM [32, 4] also backpropagates through the denoiser at every
evaluation, adding 400 backward passes. gov/downloads/doe-public-access-plan). The authors would like to
thank Yu Sun for helpful discussions and 4 anonymous reviewers for helpful feedback. gov/downloads/doe-public-access-plan). The authors would like to
thank Yu Sun for helpful discussions and 4 anonymous reviewers for helpful feedback.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
References
[1] Alexandre Adam, Adam Coogan, Nikolay Malkin, Ronan Legin, Laurence Perreault-Levasseur, Yashar Hezaveh, and Yoshua Bengio. Posterior samples of source galaxies in strong gravitational lenses with score-based priors. p. 5 References
[1] Alexandre Adam, Adam Coogan, Nikolay Malkin, Ronan Legin, Laurence Perreault-Levasseur, Yashar
Hezaveh, and Yoshua Bengio. Posterior samples of source galaxies in strong gravitational lenses with
score-based priors. The TNG50-SKIRT Atlas: Post-processing methodology
and first data release. A&A, 683:A181, March 2024. 04792, 2025. [5] Stephen Boyd and Lieven Vandenberghe. [5] Stephen Boyd and Lieven Vandenberghe. Convex optimization. Convex optimization. Cambridge university press, 2004. Cambridge university press, 2004. [6] Brendon J Brewer and Geraint F Lewis. [6] Brendon J Brewer and Geraint F Lewis. Strong gravitational lens inversion: a Bayesian approach. Strong gravitational lens inversion: a Bayesian approach. The
Astrophysical Journal, 637(2):608–619, 2006. The Astronomical Journal,
170(1):44, June 2025. [13] Euclid Collaboration. [13] Euclid Collaboration. Euclid Quick Data Release (Q1) XXXI. Euclid Quick Data Release (Q1) XXXI. LEMON–LEns MOdelling with Neural
networks. 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. [14] Euclid Collaboration, Walmsley, M. p. 5 Astronomy & Astrophysics, 711:A31, 2026. [14] Euclid Collaboration, Walmsley, M. [14] Euclid Collaboration, Walmsley, M. , Holloway, P. (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. , Lines, N. , Rojas, K. , Rojas, K. , Collett, T. , Collett, T. , Verma, A. , Verma, A. , Nightingale, J. , Nightingale, J. , Despali, G. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. , Schuldt, S. , Gavazzi, R. , Gavazzi, R. , Metcalf, R. 22573, 2024. [19] Yuanyun Hu, Evan Bell, Guijin Wang, and Yu Sun. [19] Yuanyun Hu, Evan Bell, Guijin Wang, and Yu Sun. Prism: Probabilistic and robust inverse solver
with measurement-conditioned diffusion prior for blind inverse problems. 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. Strong gravitational lensing as a probe of
dark matter, 2023. [54] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. p. 8 Strong gravitational lensing as a probe of
dark matter, 2023. [54] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Strong gravitational lensing as a probe of
dark matter, 2023. [54] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Strong gravitational lensing as a probe of
dark matter, 2023. [54] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. [54] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for
model based reconstruction. Plug-and-play priors for
model based reconstruction. In 2013 IEEE global conference on signal and information processing, pages
945–948. IEEE Transactions on Signal Processing, 67(6):1648–1661, 2019. [56] Zihui Wu, Yu Sun, Yifan Chen, Bingliang Zhang, Yisong Yue, and Katherine L Bouman. [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. Principled
probabilistic imaging using diffusion models as plug-and-play priors. Advances in Neural Information
Processing Systems, 37:118389–118427, 2024. Advances in Neural Information
Processing Systems, 37:118389–118427, 2024. [57] Bingliang Zhang, Wenda Chu, Julius Berner, Chenlin Meng, Anima Anandkumar, and Yang Song. [57] Bingliang Zhang, Wenda Chu, Julius Berner, Chenlin Meng, Anima Anandkumar, and Yang Song. Improving diffusion inverse problem solving with decoupled noise annealing. Improving diffusion inverse problem solving with decoupled noise annealing. In Proceedings of the
Computer Vision and Pattern Recognition Conference, pages 20895–20905, 2025. Advances in neural
information processing systems, 33:6840–6851, 2020. [18] Benjamin Holzschuh and Nils Thuerey. 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. Flow matching for posterior inference with simulator feedback. arXiv preprint arXiv:2410. arXiv preprint arXiv:2410. 22573, 2024. A, 383(2295):20240117, 2025. [48] Yang Song and Stefano Ermon. [48] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. Generative modeling by estimating gradients of the data distribution. Advances in neural information processing systems, 32, 2019. In International Conference on
Learning Representations, 2021. [50] Connor Stone, Alexandre Adam, Adam Coogan, M. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Spiniello, and T. Strong lensing by galaxies. Spiniello, and T. Strong lensing by galaxies. Spiniello, and T. Strong lensing by galaxies. Spiniello, and T. Strong lensing by galaxies. Spiniello, and T. Strong lensing by galaxies. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. Strong lensing by galaxies. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. In The Thirteenth International Conference on Learning
Representations, 2025. [31] Georges Meylan, Philippe Jetzer, Pierre North, Peter Schneider, Christopher S. [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. [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. [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. [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. Collett,
Tansu Daylan, and Stephen Serjeant. Strong gravitational lenses from the Vera C. Collett,
Tansu Daylan, and Stephen Serjeant. Strong gravitational lenses from the Vera C. Strong gravitational lenses from the Vera C. Rubin Observatory. Strong gravitational lenses from the Vera C. Rubin Observatory. Rubin Observatory. A, 383(2295):20240117, 2025. Rubin Observatory. A, 383(2295):20240117, 2025. Strong lensing by galaxies. Space Science Reviews, 220(8), November 2024. Strong lensing by galaxies. Space Science Reviews, 220(8), November 2024. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. IEEE, 2013. [55] Maxime Vono, Nicolas Dobigeon, and Pierre Chainais. IEEE, 2013. [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. Split-and-augmented Gibbs sampler—Application
to large-scale inference problems. IEEE Transactions on Signal Processing, 67(6):1648–1661, 2019. 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. [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. Foundations and Trends® in Machine learning,
3(1):1–122, 2011. [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. Annual Review of Astronomy and Astrophysics, 48:87–125,
2010. [52] Tommaso Treu, Sherry H. [52] Tommaso Treu, Sherry H. Suyu, and Philip J. Strong lensing time-delay cosmography in the
2020s. The Astronomy and Astrophysics Review, 30(1), November 2022. Foundations and Trends® in Machine learning,
3(1):1–122, 2011. [34] Dylan Nelson, Annalisa Pillepich, Volker Springel, Rüdiger Pakmor, Rainer Weinberger, Shy Genel,
Paul Torrey, Mark Vogelsberger, Federico Marinacci, and Lars Hernquist. The IllustrisTNG simulations: public data release. Computational
Astrophysics and Cosmology, 6(1):2, May 2019. Foundations and Trends® in Machine learning,
3(1):1–122, 2011. [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: the evolution of stellar and gaseous discs across cosmic time. Monthly Notices of the Royal
Astronomical Society, 490(3):3196–3233, 2019. [40] Peter Potaptchik, Adhi Saravanan, Abbas Mammadov, Alvaro Prat, Michael Samuel Albergo, and
Yee Whye Teh. Meta flow maps enable scalable reward alignment. Meta flow maps enable scalable reward alignment. In Forty-third International Conference
on Machine Learning, 2026. In Forty-third International Conference
on Machine Learning, 2026. [41] Gareth O. [41] Gareth O. Roberts and Richard L. Exponential convergence of Langevin distributions and their
discrete approximations. Bernoulli, 2(4):341–363, 1996. A&A, 683:A181, March 2024. [4] Gabriel Missael Barco, Ronan Legin, Connor Stone, Yashar Hezaveh, and Laurence Perreault-Levasseur. A&A, 683:A181, March 2024. [4] Gabriel Missael Barco, Ronan Legin, Connor Stone, Yashar Hezaveh, and Laurence Perreault-Levasseur. A&A, 683:A181, March 2024. [4] Gabriel Missael Barco, Ronan Legin, Connor Stone, Yashar Hezaveh, and Laurence Perreault-Levasseur. A&A, 683:A181, March 2024. [4] Gabriel Missael Barco, Ronan Legin, Connor Stone, 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. Caustics: A Python Package for Accelerated Strong Gravitational Lensing Simulations. The
Journal of Open Source Software, 9(103):7081, November 2024. Caustics: A Python Package for Accelerated Strong Gravitational Lensing Simulations. The
Journal of Open Source Software, 9(103):7081, November 2024. Caustics: A Python Package for Accelerated Strong Gravitational Lensing Simulations. The
Journal of Open Source Software, 9(103):7081, November 2024. The Astronomy and Astrophysics Review, 30(1), November 2022. Vegetti, S. The Astronomy and Astrophysics Review, 30(1), November 2022. Vegetti, S. O’Riordan, and G. Strong gravitational lensing as a probe of
dark matter, 2023. O’Riordan, and G. Strong gravitational lensing as a probe of
dark matter, 2023. Plug-and-play priors for
model based reconstruction. In 2013 IEEE global conference on signal and information processing, pages
945–948. 05278, 2021. [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. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. Science, 84
2188:506–7, 1936. [12] Sydney Erickson, Sebastian Wagner-Carena, Phil Marshall, Martin Millon, Simon Birrer, Aaron Roodman,
Thomas Schmidt, Tommaso Treu, Stefan Schuldt, Anowar J. neural network inference of strong-lens parameters and uncertainties from ground-based
images. Astronomy & Astrophysics, 671:A147, March 2023. neural network inference of strong-lens parameters and uncertainties from ground-based
images. Astronomy & Astrophysics, 671:A147, March 2023. neural network inference of strong-lens parameters and uncertainties from ground-based
images. Astronomy & Astrophysics, 671:A147, March 2023. neural network inference of strong-lens parameters and uncertainties from ground-based
images. Astronomy & Astrophysics, 671:A147, March 2023. IEEE Transactions on Signal Processing, 67(6):1648–1661, 2019. [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. IEEE Transactions on Signal Processing, 67(6):1648–1661, 2019. [56] Zihui Wu, Yu Sun, Yifan Chen, Bingliang Zhang, Yisong Yue, and Katherine L Bouman. Improving diffusion inverse problem solving with decoupled noise annealing. In Proceedings of the
Computer Vision and Pattern Recognition Conference, pages 20895–20905, 2025. Computational
Astrophysics and Cosmology, 6(1):2, May 2019. [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. Advances in neural information processing systems, 32, 2019. [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. In The Eleventh International Conference on Learning Representations, 2023. [30] Ségolène Tiffany Martin, Anne Gagneux, Paul Hagemann, and Gabriele Steidl. Pnp-flow: Plug-andplay image restoration with flow matching. In The Thirteenth International Conference on Learning
Representations, 2025. Springer, 2024. [43] Hamees Sayed, Pranath Reddy, Michael Toomey, and Sergei Gleyzer. Flowlensing: Simulating gravitational
lensing with flow matching. arXiv preprint arXiv:2510. arXiv preprint arXiv:2510. 07878, 2025. Monthly Notices of the Royal
Astronomical Society, 490(3):3196–3233, 2019. [39] Jason Poh, Ashwin Samudre, Aleksandra Ciprijanovi ´ c, Joshua Frieman, Gourav Khullar, and Brian D. Monthly Notices of the Royal
Astronomical Society, 490(3):3196–3233, 2019. [39] Jason Poh, Ashwin Samudre, Aleksandra Ciprijanovi ´ c, Joshua Frieman, Gourav Khullar, and Brian D. Monthly Notices of the Royal
Astronomical Society, 490(3):3196–3233, 2019. [39] Jason Poh, Ashwin Samudre, Aleksandra Ciprijanovi ´ c, Joshua Frieman, Gourav Khullar, and Brian D. Monthly Notices of the Royal
Astronomical Society, 490(3):3196–3233, 2019. [39] Jason Poh, Ashwin Samudre, Aleksandra Ciprijanovi ´ c, Joshua Frieman, Gourav Khullar, and Brian D. Deep inference of simulated strong lenses in ground-based surveys. Journal of Cosmology and
Astroparticle Physics, 2025(05):053, May 2025. Deep inference of simulated strong lenses in ground-based surveys. Journal of Cosmology and
Astroparticle Physics, 2025(05):053, May 2025. Deep inference of simulated strong lenses in ground-based surveys. Journal of Cosmology and
Astroparticle Physics, 2025(05):053, May 2025.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Improved sampling efficiency for inverse problems by replacing computationally costly diffusion models with flow matching priors, which have
easier training, efficient sampling, and better-quality data generation.
This allows forefficient posterior sampling for non-blind and blind inversion of strong gravitational lenses
compared to diffusion-based methods. -
Enhanced joint inference capability by extending the method to the blind setting using BlindFlowSGS, allowing researchers to
sample from the joint posterior distribution of the source and lens parameters x, ψ p(x, ψy) proportional to p(yx, ψ)p(x)p(ψ).
-
Scalability for large-scale surveys by demonstrating superior efficiency in time and function evaluations compared to existing methods; for instance, FlowSGS (MFM) achieves
212
function evaluations versus 881 for FlowSGS, showing asignificant efficiency advantage thanks to flow matching’s straighter probability paths.
-
Accurate parameter estimation by incorporating informative priors from real data; the method uses
non-uniform priors for the deflector mass parameters ψ estimated from 330 real strong lenses discovered in the Euclid Q1 data release [14].
-
Robustness to sampling limitations by showing that FlowSGS is
much more robust to few-step sampling in the prior step, enabling efficient sampling with minimal sacrifice in accuracy,
unlike methods like PnP-DM whichrequires 100
discretization steps.
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.
Sources
- Blind Strong Gravitational Lensing Inversion: Joint Inference of Source and Lens Mass with Score-Based Models
- Flow Matching for Posterior Inference with Simulator Feedback
- Strong-Lensing Source Reconstruction with Denoising Diffusion Restoration Models
- Simulation-Based Inference of Strong Gravitational Lensing Parameters
- FlowSGS: Improving Flow Priors for Inverse Imaging with Stochastic Interpolants
- FlowLensing: Simulating Gravitational Lensing with Flow Matching
Related papers
- RIFT for the O4 era: operating points, calibration marginalization, and cross-code validation
- A Bayesian Approach to Prioritizing the Follow-Up of Near-Earth Objects
- Computing the Wave: Bridging Gravitational Wave and High-Energy-Physics software (with modular ROOT extensions)
- On-sky demonstration of a vector Zernike wavefront sensor in a cascaded adaptive optics system
- Euclid Data Release 1 (DR1): Calibration strategy and observations
- The General Antiparticle Spectrometer (GAPS) Antarctic Balloon Payload