BGRem: A background noise remover for astronomical images based on a diffusion model

Context: Astronomical imaging aims to maximize signal capture while minimizing noise. It is difficult and expensive to enhance the signal-to-noise ratio directly on detectors, which has led to extensive research into advanced post-processing techniques. Aims: Removing background noise from images is a valuable preprocessing step for catalog-building tasks. We introduce BGRem, a machine-learning (ML)-based tool to remove background noise from astronomical images. Our aim is to improve image quality and enhance the performance of the subsequent analysis pipeline, from detecting faint sources to performing source characterization tasks. Methods: The BGRem tool uses a diffusion-based model with an attention U-Net as backbone, trained on simulated images for optical and gamma $(γ)$-ray data from the MeerLICHT and Fermi-LAT telescopes. The tool learns to denoise astronomical images in a supervised manner over several diffusion steps. We performed preprocessing and postprocessing techniques, including normalization and median subtraction, on these images to make them suitable for the analysis pipeline. Results: We compared the performance of BGRem with SourceExtractor (SExtractor), a widely used tool for cataloging astronomical sources. The number of true positive sources using SExtractor increased by about 7% for MeerLICHT data when we used BGRem as a preprocessing step. We also show the generalizability of BGRem by testing it with optical images from different telescopes and on simulated γ-ray data representative of the Fermi-LAT telescope. In both cases, BGRem improves the source detection efficiency. Conclusions: The BGRem tool improves the source detection accuracy of traditional pixel-based methods by removing complex background noise. Using zero-shot approach, BGRem generalizes well to a wide range of optical images. The successful application of BGRem to simulated γ-ray images, alongside optical data, demonstrates its adaptability to distinct noise characteristics and observational domains. This cross-wavelength performance highlights its potential as a general-purpose background removal framework for multiwavelength astronomical surveys.

Authors

Publication Details

Journal
Astronomy and Astrophysics
Published
2026-04-28
DOI
https://doi.org/10.1051/0004-6361/202557715
Primary Topic
Galaxies: Formation, Evolution, Phenomena
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BGRem: A background noise remover for astronomical images based on a diffusion model

Fiorenzo Stoppa, A. J. Levan, P. Groot, Roberto Ruiz de Austri et al.
Astronomy and Astrophysics
Galaxies: Formation, Evolution, Phenomena
article

BGRem: A background noise remover for astronomical images based on a diffusion model

Fiorenzo Stoppa, A. J. Levan, P. Groot, Roberto Ruiz de Austri, Saptashwa Bhattacharyya, S. Caron, Rodney Nicolaas
article en

Abstract

Context: Astronomical imaging aims to maximize signal capture while minimizing noise. It is difficult and expensive to enhance the signal-to-noise ratio directly on detectors, which has led to extensive research into advanced post-processing techniques. Aims: Removing background noise from images is a valuable preprocessing step for catalog-building tasks. We introduce BGRem, a machine-learning (ML)-based tool to remove background noise from astronomical images. Our aim is to improve image quality and enhance the performance of the subsequent analysis pipeline, from detecting faint sources to performing source characterization tasks. Methods: The BGRem tool uses a diffusion-based model with an attention U-Net as backbone, trained on simulated images for optical and gamma $(γ)$-ray data from the MeerLICHT and Fermi-LAT telescopes. The tool learns to denoise astronomical images in a supervised manner over several diffusion steps. We performed preprocessing and postprocessing techniques, including normalization and median subtraction, on these images to make them suitable for the analysis pipeline. Results: We compared the performance of BGRem with SourceExtractor (SExtractor), a widely used tool for cataloging astronomical sources. The number of true positive sources using SExtractor increased by about 7% for MeerLICHT data when we used BGRem as a preprocessing step. We also show the generalizability of BGRem by testing it with optical images from different telescopes and on simulated γ-ray data representative of the Fermi-LAT telescope. In both cases, BGRem improves the source detection efficiency. Conclusions: The BGRem tool improves the source detection accuracy of traditional pixel-based methods by removing complex background noise. Using zero-shot approach, BGRem generalizes well to a wide range of optical images. The successful application of BGRem to simulated γ-ray images, alongside optical data, demonstrates its adaptability to distinct noise characteristics and observational domains. This cross-wavelength performance highlights its potential as a general-purpose background removal framework for multiwavelength astronomical surveys.

Astronomy and Astrophysics
National Science Foundation, U.S. Department of Energy, Science and Technology Facilities Council, Lawrence Berkeley National Laboratory
Openalex Percentile: Top 99%
Galaxies: Formation, Evolution, Phenomena
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.