Abstract
The analysis of optical images of galaxy-galaxy strong gravitational lensing systems can provide important information about the distribution of dark matter at small scales. However, the modeling and statistical analysis of these images is extraordinarily complex, bringing together source image and main lens reconstruction, hyper-parameter optimization, and the marginalization over small-scale structure realizations. We present here a new analysis pipeline that tackles these diverse challenges by bringing together many recent machine learning developments in one coherent approach, including variational inference, Gaussian processes, differentiable probabilistic programming, and neural likelihood-to-evidence ratio estimation. Our pipeline enables: (a) fast reconstruction of the source image and lens mass distribution, (b) variational estimation of uncertainties, (c) efficient optimization of source regularization and other hyperparameters, and (d) marginalization over stochastic model components like the distribution of substructure. We present here preliminary results that demonstrate the validity of our approach.
Introduction
In the standard model of cosmology ($\Lambda$CDM), dark matter is hypothesized to be "cold," implying the existence of millions of small, invisible clumps known as subhalos within galactic halos. Detecting these subhalos is a fundamental challenge in astrophysics; a discrepancy between observed and predicted subhalo counts could indicate that dark matter is "warm" or possesses non-gravitational self-interactions.
Strong gravitational lensing provides a powerful tool for this search. When a massive foreground galaxy (the lens) aligns with a background galaxy (the source), the lens's gravity bends the source's light into rings or arcs. Dark matter subhalos within the lens galaxy create minute, sub-percent gravitational distortions in these images. However, identifying these signals requires marginalizing over the unknown source morphology and main lens parameters—a task that is computationally prohibitive for traditional Bayesian methods.
Methodology: Differentiable Physics and Targeted Inference
The researchers developed a two-stage Targeted Likelihood-Free Inference (LFI) pipeline to address these complexities.
1. Variational Inference and Gaussian Processes
The first stage involves reconstructing the background source galaxy and the main lens mass distribution. Instead of using rigid parametric models, the source is modeled using a multi-layer Gaussian Process (GP). This allows for highly flexible, non-parametric representations of "blobby" galaxy shapes by capturing both broad structure and fine-grained details. The pipeline is built using PyTorch and Pyro, making the entire physics engine differentiable. By utilizing pykeops for fast kernel operations, the system enables efficient optimization via gradient descent and the use of Variational Inference (VI) to estimate uncertainties and optimize hyperparameters like source regularization.
2. Targeted Likelihood-Free Inference
Once a "best fit" for the source and lens is established, the pipeline performs Targeted LFI. The team generates approximately 10,000 simulations that are constrained to be similar to the specific observation but vary in subhalo properties. A neural network is then trained on this small, targeted dataset to estimate the likelihood-to-evidence ratio. This approach avoids the need for massive, general-purpose training sets and focuses computational resources on the relevant parameter space.
Key Results
The pipeline was tested using synthetic data designed to mimic the capabilities of the upcoming Extremely Large Telescope (ELT). The study focused on a single subhalo with a mass of $\sim 10^9 M_\odot$.
- Parameter Recovery: The main lens parameters were recovered with high precision, showing errors between only 0.1% and 5%.
- Subhalo Localization: The pipeline successfully identified the subhalo's position, with true coordinates falling within the 68% confidence region of the model's prediction.
- Mass Estimation: As shown in the posterior density plots, the inferred mass was centered near the true value, though the authors note the distribution remains relatively broad.
- Efficiency: A major breakthrough is the pipeline's speed. The entire process—from raw image to subhalo posterior—takes only a few hours on a single Nvidia GTX TitanX GPU, a massive improvement over traditional grid-based sampling.
Discussion and Future Work
While these preliminary results are promising, several challenges remain for real-world application. The current mock observations omit the light from the foreground lens galaxy, which must be subtracted in practice. Additionally, real galaxies contain hundreds of subhalos and line-of-sight structures, whereas this study focused on a single subhalo. To maintain computational tractability for the $O(10^5)$ source parameters, the authors currently assume a diagonal covariance matrix in the VI step, which neglects some anti-correlations between nearby pixels.
Future work will involve extending the model to infer the "subhalo mass function"—the statistical distribution of many subhalos—rather than individual detections. By combining differentiable physics with targeted machine learning, this pipeline represents a significant step toward mapping the dark matter substructure of the universe.
Summary updated