GIGA-Lens: Fast Bayesian Inference for Strong Gravitational Lens Modeling

A. Gu, X. Huang, W. Sheu, G. Aldering, A. S. Bolton +10 more
2/15/2022
astro-ph.IMastro-ph.COstat.AP
bayesian

Official code: giga-lens/gigalens (14 stars, Jupyter Notebook, MIT, JAX, last commit 2026-07-15).

Abstract

We present GIGA-Lens: a gradient-informed, GPU-accelerated Bayesian framework for modeling strong gravitational lensing systems, implemented in TensorFlow and JAX. The three components, optimization using multi-start gradient descent, posterior covariance estimation with variational inference, and sampling via Hamiltonian Monte Carlo, all take advantage of gradient information through automatic differentiation and massive parallelization on graphics processing units (GPUs).

Show full abstract

We test our pipeline on a large set of simulated systems and demonstrate in detail its high level of performance. The average time to model a single system on four Nvidia A100 GPUs is 105 seconds. The robustness, speed, and scalability offered by this framework make it possible to model the large number of strong lenses found in current surveys and present a very promising prospect for the modeling of $\mathcal{O}(10^5)$ lensing systems expected to be discovered in the era of the Vera C. Rubin Observatory, Euclid, and the Nancy Grace Roman Space Telescope.

View on arXivView PDF

Code Implementations(1)

giga-lens/gigalensOfficial100%
JAXMIT

Gradient Informed, GPU Accelerated Lens modelling (GIGALens) -- a package for fast Bayesian inference on strong gravitational lenses.

147Jupyter Notebook, TeXNov 4, 20214 months agoMIT
bayesianbayesian-inferencegpu-accelerationgravitational-lensesgravitational-lensing+2 more

Similar Papers

Cite this paper

@article{gu2022gigalens,
  title  = {GIGA-Lens: Fast Bayesian Inference for Strong Gravitational Lens Modeling},
  author = {A. Gu and X. Huang and W. Sheu and G. Aldering and A. S. Bolton and K. Boone and A. Dey and A. Filipp and E. Jullo and S. Perlmutter and D. Rubin and E. F. Schlafly and D. J. Schlegel and Y. Shu and S. H. Suyu},
  year   = {2022},
  eprint = {2202.07663},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07663}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.07663.svg)](https://codeofpaper.com/paper/2202.07663)

Discussion