Bayesian Inference of Primordial Magnetic Field Parameters from CMB with Spherical Graph Neural Networks
Juan Alejandro Pinto Castro, Héctor J. Hortúa, Jorge Enrique García-Farieta, Roger Anderson Hurtado
TL;DR
This work introduces a Bayesian graph deep-learning framework that extends the spherical CNN DeepSphere with Bayesian neural network components to infer five cosmological parameters, including PMF-related ones, from simulated full-sky CMB maps. By training on maps that incorporate PMF effects through passive and vector modes, the model achieves near $R^{2}=0.9$ on key parameters and provides predictive distributions via DenseFlipout and a MultivariateNormalTriL output. Post-hoc uncertainty calibration using Variance Scaling and GPNormal yields well-calibrated predictive intervals, addressing over/underconfidence in the Bayesian estimates. The approach preserves the spherical geometry of the data, demonstrates robust generalization, and offers a scalable, uncertainty-aware tool for PMF-enabled cosmological inference in the era of precision CMB observations.
Abstract
Deep learning has emerged as a transformative methodology in modern cosmology, providing powerful tools to extract meaningful physical information from complex astronomical datasets. This paper implements a novel Bayesian graph deep learning framework for estimating key cosmological parameters in a primordial magnetic field (PMF) cosmology directly from simulated Cosmic Microwave Background (CMB) maps. Our methodology utilizes DeepSphere, a spherical convolutional neural network architecture specifically designed to respect the spherical geometry of CMB data through HEALPix pixelization. To advance beyond deterministic point estimates and enable robust uncertainty quantification, we integrate Bayesian Neural Networks (BNNs) into the framework, capturing aleatoric and epistemic uncertainties that reflect the model confidence in its predictions. The proposed approach demonstrates exceptional performance, achieving $R^{2}$ scores exceeding 0.89 for the magnetic parameter estimation. We further obtain well-calibrated uncertainty estimates through post-hoc training techniques including Variance Scaling and GPNormal. This integrated DeepSphere-BNNs framework not only delivers accurate parameter estimation from CMB maps with PMF contributions but also provides reliable uncertainty quantification, providing the necessary tools for robust cosmological inference in the era of precision cosmology.
