[Paper Review] From Dark Matter to Galaxies with Convolutional Neural Networks
This paper proposes a two-stage convolutional neural network (CNN) cascade that maps dark matter distributions from N-body simulations to galaxy number density fields in full hydrodynamical simulations. By combining a binary classification head to identify galaxy-rich regions with a regression head to predict galaxy counts, the model achieves significantly better accuracy than the Halo Occupation Distribution (HOD) method, especially on small-scale non-Gaussian statistics like the bispectrum.
Cosmological simulations play an important role in the interpretation of astronomical data, in particular in comparing observed data to our theoretical expectations. However, to compare data with these simulations, the simulations in principle need to include gravity, magneto-hydrodyanmics, radiative transfer, etc. These ideal large-volume simulations (gravo-magneto-hydrodynamical) are incredibly computationally expensive which can cost tens of millions of CPU hours to run. In this paper, we propose a deep learning approach to map from the dark-matter-only simulation (computationally cheaper) to the galaxy distribution (from the much costlier cosmological simulation). The main challenge of this task is the high sparsity in the target galaxy distribution: space is mainly empty. We propose a cascade architecture composed of a classification filter followed by a regression procedure. We show that our result outperforms a state-of-the-art model used in the astronomical community, and provides a good trade-off between computational cost and prediction accuracy.
Motivation & Objective
- To develop a computationally efficient method for predicting galaxy distributions from dark matter fields in cosmological simulations.
- To overcome the extreme sparsity of galaxy distributions (0.15% non-empty voxels) that hinders standard deep learning models.
- To improve upon the Halo Occupation Distribution (HOD) model, which relies on simplified assumptions about halo mass and galaxy formation.
- To enable faster, high-fidelity simulation-based inference by learning complex, non-linear mappings from gravity-only to full physics simulations.
Proposed method
- The input is a 3D dark matter mass density field gridded into 1024³ voxels, with sub-cubes of 32³ voxels used as training samples.
- The model uses a two-phase cascade: first, an Inception-based CNN classifies each voxel as likely to contain at least one galaxy (binary classification) using weighted cross-entropy loss.
- Second, a regression head predicts the continuous number of galaxies per voxel, trained with mean squared error loss.
- The classification head reduces false negatives by focusing on sparse galaxy regions, improving overall prediction fidelity.
- The model is trained on 32³ sub-cube pairs from the TNG300-1 (hydrodynamical) and TNG300-1-Dark (dark matter-only) simulations at z=0.
- Hyperparameters are tuned on a validation set, and the final model is evaluated on a coherent 115.3 Mpc/h³ test volume.
Experimental results
Research questions
- RQ1Can a deep learning model accurately predict galaxy distributions from dark matter fields without full hydrodynamical simulation costs?
- RQ2How does a CNN-based approach compare to the standard HOD model in capturing small-scale clustering and non-Gaussian features?
- RQ3Can a two-stage cascade architecture effectively handle the extreme sparsity of galaxy distributions in cosmological fields?
- RQ4Does the model learn more complex environmental dependencies beyond halo mass, such as local dark matter structure?
Key findings
- The model reduces the mean relative residual in the power spectrum to 26.9%, compared to 246.6% for the HOD model, showing superior performance across all scales.
- On small scales (k > 0.3 h/Mpc), the model outperforms HOD significantly, with a 0.79% mean relative residual in the bispectrum versus 435% for HOD.
- Visual inspection confirms that the model captures small-scale galaxy clustering and filamentary structures, while HOD predicts only spherical distributions within halos.
- The model achieves high fidelity in predicting non-Gaussian features like the bispectrum, indicating better modeling of non-linear structure formation.
- The cascade architecture effectively mitigates the challenge of extreme sparsity (0.15% galaxy voxels) by first identifying likely regions before regressing counts.
- The model generalizes well across scales and shows promise for transfer learning across different simulation resolutions and volumes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.