Abstract
Analysis of galaxy--galaxy strong lensing systems is strongly dependent on any prior assumptions made about the appearance of the source. Here we present a method of imposing a data-driven prior / regularisation for source galaxies based on denoising diffusion probabilistic models (DDPMs). We use a pre-trained model for galaxy images, AstroDDPM, and a chain of conditional reconstruction steps called denoising diffusion reconstruction model (DDRM) to obtain samples consistent both with the noisy observation and with the distribution of training data for AstroDDPM. We show that these samples have the qualitative properties associated with the posterior for the source model: in a low-to-medium noise scenario they closely resemble the observation, while reconstructions from uncertain data show greater variability, consistent with the distribution encoded in the generative model used as prior.
1. Introduction
Gravitational lensing occurs when a massive foreground object, such as a galaxy cluster, bends the light from a more distant source galaxy. This phenomenon creates distorted arcs and rings that provide a unique window into the distant universe and the distribution of dark matter. However, extracting the original appearance of the source galaxy—a process known as source reconstruction—is a challenging "ill-posed" inverse problem. Because observations are inherently noisy and the lensing geometry can be complex, many different source images could potentially explain the same observed data. Traditional methods often rely on simplistic mathematical models like Sérsic profiles or generic smoothing, which fail to capture the complex, clumpy structures of real galaxies.
2. Methodology
The authors address this challenge by introducing Denoising Diffusion Restoration Models (DDRM) as a data-driven prior. The approach leverages AstroDDPM, a generative model pre-trained on the PROBES dataset (comprising 1,962 high-resolution images of late-type galaxies) to learn the distribution of realistic galaxy morphologies.
The lensing process is modeled as a linear operation $y = Hx + z$, where $H$ represents the lensing matrix, $x$ is the source, and $z$ is Gaussian noise. Instead of retraining the diffusion model for every specific lens, the DDRM framework adapts the pre-trained AstroDDPM by performing a Singular Value Decomposition (SVD) on the lensing matrix. This allows the model to perform conditional sampling: in regions where the data is well-constrained, the reconstruction remains faithful to the observation; in "dead zones" or noisy regions, the diffusion model fills in the gaps with plausible galactic structures based on its learned prior.
3. Results and Discussion
The proposed method demonstrates high fidelity in reconstructing sources from mock observations. In medium-noise scenarios, the true source is accurately recovered from a limited number of image pixels. A key advantage of this approach is its ability to explore the posterior distribution. Rather than providing a single point estimate, the model generates multiple samples that reflect the inherent uncertainty of the reconstruction.
As shown in Figure 1, the mean reconstruction captures the primary features of the source, while the standard deviation map highlights areas of higher uncertainty. The individual samples (middle rows) exhibit realistic morphological variations that are all statistically consistent with the observed data. The residuals follow a unit normal distribution, indicating an absence of significant bias. Furthermore, the method is computationally efficient, generating 100 posterior samples in approximately 10 minutes on a single NVIDIA A-100 GPU—a significant improvement over traditional Markov Chain Monte Carlo (MCMC) methods.
4. Conclusion and Future Work
While the results are promising, the authors note several areas for future development. The current model is trained on relatively nearby galaxies, which may not fully represent the high-redshift sources typically found in strong lenses. Additionally, the study assumes the lens mass (the $H$ matrix) is perfectly known. Future work aims to integrate lens-mass inference with the DDRM framework and to account for more complex, non-i.i.d. noise patterns found in real astronomical data.
Summary updated