deep21: a Deep Learning Method for 21cm Foreground Removal

T. Lucas Makinen, Lachlan Lancaster, Francisco Villaescusa-Navarro, Peter Melchior, Shirley Ho, Laurence Perreault Levasseur, David N. SpergelarXiv 2020 · DOI

Abstract

We seek to remove foreground contaminants from 21cm intensity mapping observations. We demonstrate that a deep convolutional neural network (CNN) with a UNet architecture and three-dimensional convolutions, trained on simulated observations, can effectively separate frequency and spatial patterns of the cosmic neutral hydrogen (HI) signal from foregrounds in the presence of noise. Cleaned maps recover cosmological clustering statistics within 10% at all relevant angular scales and frequencies. This amounts to a reduction in prediction variance of over an order of magnitude on small angular scales ($\ell > 300$), and improved accuracy for small radial scales ($k_{\parallel} > 0.17\ \rm h\ Mpc^{-1}$) compared to standard Principal Component Analysis (PCA) methods. We estimate posterior confidence intervals for the network's prediction by training an ensemble of UNets. Our approach demonstrates the feasibility of analyzing 21cm intensity maps, as opposed to derived summary statistics, for upcoming radio experiments, as long as the simulated foreground model is sufficiently realistic.

Introduction

Cosmologists aim to map the distribution of neutral hydrogen (HI) across the universe using the "21cm line." This technique, known as intensity mapping, allows researchers to trace the large-scale structure of the cosmos and study the Epoch of Reionization. However, the signal is obscured by "foreground" noise from our own galaxy and other extragalactic sources, which are three to four orders of magnitude brighter than the cosmological signal. Standard removal methods like Principal Component Analysis (PCA) often struggle to distinguish between the smooth foregrounds and the faint, fluctuating HI signal, frequently distorting the very patterns researchers seek to measure.

Methods

The researchers developed deep21, a deep learning approach utilizing a 3D UNet. Unlike standard 2D image processing, a 3D UNet can simultaneously analyze patterns across two spatial dimensions (the sky) and one frequency dimension (corresponding to cosmic depth or redshift).

Key technical components include:

  • PCA Preprocessing: The top three principal components (PCA-3) are removed to center the data and scale amplitudes for the neural network.
  • Log-Cosh Loss: A robust loss function used to handle outliers more effectively than standard Mean Squared Error (MSE).
  • Ensemble Learning: An ensemble of nine independent UNets was trained to quantify "epistemic uncertainty," providing a reliable confidence interval for the model's predictions.

Datasets and Simulations

The study utilized the CRIME (Cosmological Realizations for Intensity Mapping Experiments) simulation suite. The researchers generated 100 full-sky simulations, incorporating the cosmological HI signal, frequency-dependent Gaussian noise, and various foreground components such as Galactic synchrotron and point sources.

Table 1: Foreground components and parameters used in the CRIME simulation suite to train the deep21 model.

The data was organized using the HEALPix scheme and sliced into $64^3$ voxels for processing. The dataset was split into 80 simulations for training, 10 for validation, and 10 for final testing.

Key Results and Insights

The deep21 model demonstrated significant improvements over traditional statistical techniques. By leveraging spatial context through convolutions, the network successfully distinguished the "clumpy" nature of the cosmic web from diffuse foreground patterns.

Visual comparison of foreground-contaminated input maps (left, scale in tens of thousands of mK) versus the recovered 21cm signal (right, scale in mK) across three frequency slices.

Major findings include:

  • Accuracy and Phase Recovery: deep21 recovered cosmological clustering amplitude and phase within 20% accuracy across all relevant scales, preserving the "peaks and valleys" of the hydrogen distribution better than PCA.
  • Variance Reduction: The method achieved over an order of magnitude reduction in prediction variance on small angular scales compared to PCA.
  • Denoising: The network learned to marginalize additive observational noise, producing cleaner outputs than traditional methods which often leave residual "grainy" noise.
  • Distribution Fidelity: The model correctly recovered the asymmetric, non-Gaussian temperature distribution of the HI signal, a feat where PCA typically fails by forcing results into a symmetric Gaussian shape.

Conclusion and Future Work

While deep21 shows immense promise, its performance is currently dependent on the realism of the training simulations. Testing on unseen foreground parameters showed performance drops, highlighting the need for highly accurate physical models. Future work will focus on incorporating more sophisticated 3D Milky Way magnetic field models to address polarized foregrounds and applying the model to real-world data from experiments like the Square Kilometer Array (SKA).

Summary updated

BibTeX
@misc{makinen2020deep,
  author = {T. Lucas Makinen and Lachlan Lancaster and Francisco Villaescusa-Navarro and Peter Melchior and Shirley Ho and Laurence Perreault Levasseur and David N. Spergel},
  title = {{deep21: a Deep Learning Method for 21cm Foreground Removal}},
  year = {2020},
  eprint = {2010.15843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.15843},
}
Figure