Skip to main content
QUICK REVIEW

[Paper Review] Probabilistic segmentation of overlapping galaxies for large cosmological surveys

Bretonnière Hubert, A. Boucaud|arXiv (Cornell University)|Nov 30, 2021
Machine Learning and Data ClassificationComputer Science5 citations
TL;DR

This paper proposes a probabilistic U-Net model adapted for galaxy deblending in large photometric surveys, using a weighted Dice loss and latent space sampling to produce pixel-wise uncertainty estimates despite training on single ground truth annotations. The method achieves high completeness (87.3%) and purity (93.6%) for blended galaxies while generating physically meaningful uncertainty maps that increase with magnitude, enabling robust error propagation in precision cosmology.

ABSTRACT

Encoder-Decoder networks such as U-Nets have been applied successfully in a wide range of computer vision tasks, especially for image segmentation of different flavours across different fields. Nevertheless, most applications lack of a satisfying quantification of the uncertainty of the prediction. Yet, a well calibrated segmentation uncertainty can be a key element for scientific applications such as precision cosmology. In this on-going work, we explore the use of the probabilistic version of the U-Net, recently proposed by Kohl et al (2018), and adapt it to automate the segmentation of galaxies for large photometric surveys. We focus especially on the probabilistic segmentation of overlapping galaxies, also known as blending. We show that, even when training with a single ground truth per input sample, the model manages to properly capture a pixel-wise uncertainty on the segmentation map. Such uncertainty can then be propagated further down the analysis of the galaxy properties. To our knowledge, this is the first time such an experiment is applied for galaxy deblending in astrophysics.

Motivation & Objective

  • To address the challenge of overlapping galaxies (blending) in upcoming large-scale cosmological surveys such as Euclid and LSST.
  • To provide a calibrated, pixel-wise uncertainty estimate for galaxy segmentation to support error budgeting in precision cosmology.
  • To adapt the probabilistic U-Net architecture to astronomical image segmentation, particularly for unbalanced, low signal-to-noise data.
  • To demonstrate that uncertainty can be meaningfully captured even when training on a single ground truth per image.
  • To enable robust deblending of truncated and faint galaxies in simulated photometric fields.

Proposed method

  • Adapts the probabilistic U-Net (PUnet) architecture by replacing the standard reconstruction loss with a weighted Dice loss to handle class imbalance in galaxy segmentation.
  • Uses a dual-encoder setup: one for the input image and one for the ground truth segmentation, both mapping to a Gaussian latent space to regularize uncertainty modeling.
  • Performs stochastic sampling from the latent space during inference to generate 50 realizations of the segmentation map, enabling pixel-wise variance estimation.
  • Applies thresholding to the final softmax output to produce binary segmentation maps, with overlapping regions assigned value 2.
  • Trains the model using a loss function combining the weighted Dice loss and Kullback–Leibler divergence between latent distributions.
  • Processes 128×128 image stamps extracted from simulated galaxy fields with Sersic profiles and added noise, using ternary segmentation maps (0: background, 1: isolated galaxy, 2: overlapping region).

Experimental results

Research questions

  • RQ1Can a probabilistic deep learning model generate meaningful, physically motivated uncertainty estimates for galaxy segmentation in large photometric surveys?
  • RQ2Does the model maintain high segmentation performance (completeness and purity) when trained on a single ground truth per image, despite the lack of multiple expert annotations?
  • RQ3Can the model accurately segment truncated galaxies and distinguish them from background noise in image stamps?
  • RQ4How does the predicted uncertainty correlate with signal-to-noise and magnitude, and does it reflect expected physical behavior?
  • RQ5Is the uncertainty map informative for overlapping regions, particularly where segmentation is ambiguous?

Key findings

  • The model achieves 99.1% completeness and 98.5% purity for isolated galaxies, with IoU above 0.8 across all magnitudes.
  • For blended galaxies, the model reaches 87.3% completeness and 93.6% purity, with IoU exceeding 0.55 even for faint objects (magnitude >24).
  • The predicted uncertainty (standard deviation across 50 realizations) increases with magnitude, reflecting higher uncertainty for fainter sources, and is highest at galaxy borders where flux is low.
  • The model successfully identifies and segments overlapping galaxies with informative uncertainty in the overlapping region, as shown in qualitative examples.
  • The model correctly predicts background-only stamps without over-segmentation, outperforming prior models that failed on such cases.
  • The uncertainty map is spatially coherent, showing higher variance at galaxy edges and lower variance at centers, indicating sensitivity to segmentation difficulty.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.