Simulation-Based Inference for Probabilistic Galaxy Detection and Deblending

Ismael Mendoza, Derek L. Hansen, Runjing Liu, Zhe Zhao, Ziteng Pang, Axel Guinot, Camille Avestruz, Jeffrey RegierThe Open Journal of Astrophysics 2026 · DOI

TL;DR

This paper introduces BLISS, a novel probabilistic framework for detecting and deblending overlapping galaxies in astronomical images. By leveraging simulation-based inference and deep learning, BLISS provides uncertainty-aware measurements that significantly improve flux recovery for faint and blended objects, crucial for next-generation cosmological surveys like LSST.

What Problem Does This Paper Address?

Future dark energy surveys, such as the Vera C. Rubin Observatory's Legacy Survey of Space and Time (LSST), will image an unprecedented number of galaxies. A major challenge is "blending," where light from multiple galaxies overlaps in an image, making it difficult to accurately detect, measure, and separate individual galaxies. This blending introduces significant systematic errors in astronomical measurements, particularly for weak lensing studies that rely on precise galaxy shape and flux information. Existing methods often struggle to quantify the uncertainty associated with these measurements, especially for faint or heavily blended sources.

Methods

BLISS employs a simulation-based inference (SBI) approach using convolutional neural networks (CNNs) to tackle galaxy detection and deblending. The core of BLISS is a tiling mechanism where large images are split into smaller, overlapping "padded tiles." These tiles are then processed by three main neural network components:

  • Detection Encoder: Outputs probabilistic distributions for the number of sources and their centroid locations within a tile.
  • Classification Encoder: Determines the probability of a detected source being a galaxy or a star.
  • Deblending Encoder: A denoising autoencoder that reconstructs unblended galaxy profiles, providing a deterministic latent representation of galaxy morphology and flux.

Crucially, BLISS is "amortized," meaning a single set of neural networks is trained to handle any tile, making inference fast. The detection and classification encoders are trained using variational inference to approximate posterior distributions, capturing uncertainty. The deblending encoder, while deterministic, is used in conjunction with the probabilistic outputs of the detection encoder to generate per-object flux posteriors.

Datasets

  • Simulated Images: The paper uses simulated single-band (i-band) images representative of year-10 LSST coadds.
  • dataset-single: Individual galaxies for training the autoencoder.
  • dataset-blend: Blends of galaxies and stars for training and evaluating detection and classification.
  • dataset-tiles: Used to train the deblending encoder.
  • dataset-central: A simplified dataset with only galaxies, used to evaluate joint detection and deblending performance.

These datasets are generated using the GALSIM Python package, with galaxy properties drawn from the CATSIM catalog and star properties from LSST DESC DC2 simulation catalogs.

Key Insights and Ideas

  • Probabilistic Approach is Key: The core innovation is moving beyond deterministic deblending to a probabilistic framework. This allows BLISS to quantify the uncertainty in detections and measurements, which is essential for robust cosmological analyses.
  • Tiling for Scalability: Splitting images into overlapping tiles is a clever way to make the inference process scalable to the massive datasets expected from surveys like LSST, while still allowing neural networks to learn local source properties.
  • Deblending Improves Flux Recovery: The most significant finding is that by combining probabilistic detection with deblending, BLISS can achieve substantial improvements in aperture flux residuals, especially for highly blended and faint objects. This directly addresses a major source of systematic error.
  • Uncertainty-Aware Measurements: The "Samples" approach, where BLISS draws multiple detection samples to estimate flux posteriors, significantly outperforms deterministic methods, particularly at high blendedness.

Key Results

  • Improved Flux Recovery: The "Samples" approach using BLISS shows significantly reduced median flux residuals compared to deterministic methods (MAP and SEP), with residuals jumping from ~16% to ~160% for MAP and ~400% for SEP at high blendedness.
  • Detection Performance: BLISS's detection encoder shows comparable precision to SEP but achieves higher recall, especially for low SNR sources.
  • Classification Accuracy: The classification encoder achieves F1 scores exceeding 70% for stars with SNR > 12 and over 95% for galaxies with SNR > 10.
  • Fast Inference: Once trained, BLISS can process megapixel images in seconds on a GPU.

Limitations and Future Work

  • Tiling Artifacts: The tiling scheme can lead to detection probabilities that artificially drop near tile boundaries, especially for sources close to these boundaries. Future work will explore overlapping tiles or modifying the variational distribution to account for inter-tile dependencies.
  • Deterministic Deblender: The deblending encoder itself is deterministic, meaning it doesn't inherently capture the full uncertainty of the deblended galaxy properties. The authors plan to replace it with a Variational Autoencoder (VAE) in future work.
  • Parametric Galaxy Models: The current autoencoder is trained on parametric galaxy models, which could introduce biases when applied to real, more complex galaxy morphologies. Future work will involve training on more realistic galaxy models and potentially using deep generative models like GANs or VAEs.
  • Multi-band Data: The current study uses single-band images. Future work will extend BLISS to handle multi-band data, which is crucial for applications like photometric redshift estimation.
  • Real Data Validation: The current evaluation is on simulated data. Future work will focus on preparing BLISS for real astronomical data and validating its performance on actual survey images.

Summary updated

Abstract

Stage-IV dark energy wide-field surveys, such as the Vera C. Rubin Observatory Legacy Survey of Space and Time (LSST), will observe an unprecedented number density of galaxies. As a result, the majority of imaged galaxies will visually overlap, a phenomenon known as blending. Blending is expected to be a leading source of systematic error in astronomical measurements. To mitigate this systematic, we propose a new probabilistic method for detecting, deblending, and measuring the properties of galaxies, called the Bayesian Light Source Separator (BLISS). Given an astronomical survey image, BLISS uses convolutional neural networks to produce a probabilistic astronomical catalog by approximating the posterior distribution over the number of light sources, their centroids’ locations, and their types (galaxy vs. star). BLISS additionally includes a denoising autoencoder to reconstruct unblended galaxy profiles. As a first step towards demonstrating the feasibility of BLISS for cosmological applications, we apply our method to simulated single-band images whose properties are representative of year-10 LSST coadds. First, we study each BLISS component independently and examine its probabilistic output as a function of SNR and degree of blending. Then, by propagating the probabilistic detections from BLISS to its deblender, we produce per-object flux posteriors. Using these posteriors yields a substantial improvement in aperture flux residuals relative to deterministic detections alone, particularly for highly blended and faint objects. These results highlight the potential of BLISS as a scalable, uncertainty-aware tool for mitigating blending-induced systematics in next-generation cosmological surveys.
BibTeX
@article{mendoza2026simulation,
  author = {Ismael Mendoza and Derek L. Hansen and Runjing Liu and Zhe Zhao and Ziteng Pang and Axel Guinot and Camille Avestruz and Jeffrey Regier},
  title = {{Simulation-Based Inference for Probabilistic Galaxy Detection and Deblending}},
  journal = {The Open Journal of Astrophysics},
  year = {2026},
  doi = {10.33232/001c.158908},
}
Figure