Skip to main content
QUICK REVIEW

[Paper Review] Machine learning astrophysics from 21 cm lightcones: impact of network architectures and signal contamination

David Prelogović, Andrei Mesinger|arXiv (Cornell University)|Jun 30, 2021
Radio Astronomy Observations and TechnologyPhysics and Astronomy5 citations
TL;DR

This paper introduces recurrent neural networks (RNNs), particularly LSTM-based architectures, to improve parameter estimation from 21 cm lightcone simulations of the cosmic dawn and epoch of reionization. It demonstrates that a simple RNN outperforms traditional CNNs by a factor of >2 in mean squared error (MSE) on clean signals and up to a factor of 8 better than prior CNN work, with robust performance even under realistic SKA-like noise and foreground contamination.

ABSTRACT

Imaging the cosmic 21 cm signal will map out the first billion years of our Universe. The resulting 3D lightcone (LC) will encode the properties of the unseen first galaxies and physical cosmology. Here, we build on previous work using neural networks (NNs) to infer astrophysical parameters directly from 21 cm LC images. We introduce recurrent neural networks (RNNs), capable of efficiently characterizing the evolution along the redshift axis of 21 cm LC images. Using a large database of simulated cosmic 21 cm LCs, we compare the relative performance in parameter estimation of different network architectures. These including two types of RNNs, which differ in their complexity, as well as a more traditional convolutional neural network (CNN). For the ideal case of no instrumental effects, our simplest and easiest to train RNN performs the best, with a mean squared parameter estimation error (MSE) that is lower by a factor of $\ge 2$ compared with the other architectures studied here, and a factor of $\ge 8$ lower than the previously-studied CNN. We also corrupt the cosmic signal by adding noise expected from a 1000 h integration with the Square Kilometre Array, as well as excising a foreground-contaminated 'horizon wedge'. Parameter prediction errors increase when the NNs are trained on these contaminated LC images, though recovery is still good even in the most pessimistic case (with $R^2 \ge 0.5-0.95$). However, we find no notable differences in performance between network architectures on the contaminated images. We argue this is due to the size of our data set, highlighting the need for larger data sets and/or better data augmentation in order to maximize the potential of NNs in 21 cm parameter estimation.

Motivation & Objective

  • To improve astrophysical parameter estimation from 21 cm lightcone simulations using deep learning.
  • To investigate whether RNNs, which model redshift evolution along the frequency axis, outperform standard CNNs in capturing temporal correlations in 21 cm data.
  • To evaluate the impact of instrumental noise and foreground contamination (via horizon wedge excision) on neural network performance.
  • To assess whether architectural differences significantly affect performance under realistic signal degradation.
  • To explore the role of dataset size in limiting performance gains from advanced architectures under contamination.

Proposed method

  • Train multiple neural network architectures—including two RNN variants (LSTM-based) and a 2D CNN—on a large database of simulated 21 cm lightcones.
  • Use a hybrid architecture: 2D CNNs process sky-plane correlations, while RNNs model redshift evolution along the frequency axis.
  • Train models via mean squared error (MSE) minimization to predict four key astrophysical parameters: ionizing efficiency (ζ), virial temperature (Tvir), X-ray luminosity per star formation rate (LX/SFR), and X-ray spectral index (E0).
  • Apply three contamination levels: (i) clean signal (mean-removed), (ii) +SKA1-Low-like noise, (iii) +foreground wedge excision.
  • Use gradient saliency maps to interpret model attention and validate physical relevance of learned features.
  • Evaluate performance using coefficient of determination (R²) and MSE across test sets.

Experimental results

Research questions

  • RQ1Can RNNs outperform standard CNNs in estimating astrophysical parameters from 21 cm lightcones, particularly by leveraging redshift evolution?
  • RQ2How does the addition of realistic instrumental noise and foreground contamination affect the performance of different neural network architectures?
  • RQ3Does architectural complexity (e.g., deeper RNNs vs. simpler RNNs) significantly impact parameter estimation accuracy under contamination?
  • RQ4Are the learned representations from neural networks physically interpretable, and do they focus on relevant astrophysical epochs?
  • RQ5To what extent does dataset size limit the performance gains of advanced architectures under signal contamination?

Key findings

  • The simplest RNN architecture, SummaryRNN, achieves a mean squared error (MSE) that is a factor of ∼2 lower than a comparable-depth CNN and up to a factor of ∼8 lower than a shallower CNN used in prior work (Gillet et al. 2019) on the same clean signal database.
  • Even under the most pessimistic contamination scenario—SKA-like noise and horizon wedge excision—parameter prediction remains reasonably accurate, with R² values ranging from 0.53 to 0.97 across parameters.
  • No significant performance differences were observed between network architectures when trained on contaminated data, suggesting architectural choice is less critical under contamination.
  • The lack of architectural performance differences on contaminated data is attributed to the limited size of the training dataset, indicating a need for larger datasets or better data augmentation.
  • Gradient saliency maps confirm that the networks learn physically relevant features, focusing on the correct redshift epochs (e.g., EoR and EoH) for each parameter, validating model interpretability.
  • The study demonstrates that RNNs are well-suited for 21 cm lightcone analysis due to their ability to efficiently model sequential correlations along the redshift axis, outperforming standard CNNs in the ideal case.

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.