[Paper Review] Multifield Cosmology with Artificial Intelligence
This paper introduces a deep learning framework that uses convolutional neural networks trained on 2,000 hydrodynamic simulations from the CAMELS project to extract cosmological parameters from multifield cosmological maps—spanning dark matter, gas, and stellar properties—while simultaneously marginalizing over uncertain astrophysical effects. The method achieves few-percent-level precision in inferring Ωₘ and σ₈ across multiple fields and outperforms traditional N-body simulations when using multifield inputs.
Astrophysical processes such as feedback from supernovae and active galactic nuclei modify the properties and spatial distribution of dark matter, gas, and galaxies in a poorly understood way. This uncertainty is one of the main theoretical obstacles to extract information from cosmological surveys. We use 2,000 state-of-the-art hydrodynamic simulations from the CAMELS project spanning a wide variety of cosmological and astrophysical models and generate hundreds of thousands of 2-dimensional maps for 13 different fields: from dark matter to gas and stellar properties. We use these maps to train convolutional neural networks to extract the maximum amount of cosmological information while marginalizing over astrophysical effects at the field level. Although our maps only cover a small area of $(25~h^{-1}{ m Mpc})^2$, and the different fields are contaminated by astrophysical effects in very different ways, our networks can infer the values of $Ω_{ m m}$ and $σ_8$ with a few percent level precision for most of the fields. We find that the marginalization performed by the network retains a wealth of cosmological information compared to a model trained on maps from gravity-only N-body simulations that are not contaminated by astrophysical effects. Finally, we train our networks on multifields -- 2D maps that contain several fields as different colors or channels -- and find that not only they can infer the value of all parameters with higher accuracy than networks trained on individual fields, but they can constrain the value of $Ω_{ m m}$ with higher accuracy than the maps from the N-body simulations.
Motivation & Objective
- To overcome the challenge of extracting cosmological information from cosmological surveys due to uncertainties in astrophysical processes like supernova and AGN feedback.
- To develop a machine learning framework capable of learning cosmological parameters directly from raw, multifield data maps that include contamination from complex astrophysical processes.
- To demonstrate that neural networks trained on diverse hydrodynamic simulations can outperform traditional methods based on gravity-only simulations by effectively marginalizing over astrophysical uncertainties.
- To show that combining multiple fields into a single multifield input enhances cosmological parameter inference beyond what is possible with individual fields or N-body simulations.
Proposed method
- Trained on 2,000 hydrodynamic simulations from the CAMELS project, covering a wide range of cosmological and astrophysical parameters, to generate 2D maps of 13 different fields including dark matter, gas, and stellar properties.
- Used a convolutional neural network (CNN) architecture with batch normalization and LeakyReLU activations, followed by fully connected layers to predict the mean and variance of marginal posterior distributions for six parameters: Ωₘ, σ₈, and four feedback amplitude parameters (A_SN1, A_SN2, A_AGN1, A_AGN2).
- Employed a custom loss function based on moment networks that minimizes the log of the sum of squared errors for both mean and variance predictions, ensuring balanced gradient updates across all parameters.
- Applied a cyclical learning rate scheduler with the AdamW optimizer and hyperparameter tuning via Optuna to optimize network performance.
- Trained on both single-field maps and multifield maps (where multiple fields are stacked as channels), enabling joint inference across different physical components.
- Validated performance using a held-out test set of maps and compared results to those from gravity-only N-body simulations to assess marginalization effectiveness.
Experimental results
Research questions
- RQ1Can deep neural networks extract cosmological parameters from multifield cosmological maps that are contaminated by uncertain astrophysical processes?
- RQ2To what extent does joint inference across multiple fields improve cosmological parameter constraints compared to single-field analysis?
- RQ3Can a neural network trained on hydrodynamic simulations effectively marginalize over astrophysical uncertainties while preserving cosmological information?
- RQ4How does the performance of multifield inference compare to that of traditional N-body simulations that exclude astrophysical feedback?
- RQ5What is the precision of cosmological parameter estimation (Ωₘ, σ₈) when using multifield maps with neural networks trained on diverse simulations?
Key findings
- The neural network achieves few-percent-level precision in estimating Ωₘ and σ₈ across most of the 13 fields, including those heavily contaminated by astrophysical feedback.
- Even with only a 25 h⁻¹ Mpc² field of view, the method retains significant cosmological information, outperforming models trained on gravity-only N-body simulations in terms of parameter precision.
- Multifield networks—trained on maps combining multiple physical fields as channels—constrain Ωₘ with higher accuracy than networks trained on any single field or on N-body maps.
- The network's ability to marginalize over astrophysical parameters (e.g., SN and AGN feedback amplitudes) preserves cosmological information that would otherwise be lost in conventional analyses.
- The loss function design, which uses logarithmic sums of squared errors for mean and variance, enables stable training by balancing gradients across parameters with varying prediction difficulty.
- The method demonstrates that deep learning can extract high-precision cosmological constraints directly from complex, realistic data fields without requiring explicit modeling of astrophysical systematics.
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.