Optimal neural summarization for full-field weak lensing cosmological implicit inference
Context. Traditionally, weak lensing cosmological surveys have been analyzed using summary statistics that were either motivated by their analytically tractable likelihoods (e.g., power spectrum) or by their ability to access some higher-order information (e.g., peak counts), but at the cost of requiring a simulation-based inference approach. In both cases, even if the statistics can be very informative, they are not designed nor guaranteed to be statistically sufficient (i.e., to capture all the cosmological information content of the data). With the rise of deep learning, however, it has becomes possible to create summary statistics that are specifically optimized to extract the full cosmological information content of the data. Yet, a fairly wide range of loss functions have been used in practice in the weak lensing literature to train such neural networks, leading to the natural question of whether a given loss should be preferred and whether sufficient statistics can be achieved in theory and in practice under these different choices. Aims. We compare different neural summarization strategies that have been proposed in the literature to identify the loss function that leads to theoretically optimal summary statistics for performing full-field cosmological inference. In doing so, we aim to provide guidelines and insights to the community to help guide future neural network-based cosmological inference analyses. Methods. We designed an experimental setup that allows us to isolate the specific impact of the loss function used to train neural summary statistics on weak lensing data at fixed neural architecture and simulation-based inference pipeline. To achieve this, we developed the sbi_lens JAX package, which implements an automatically differentiable lognormal weak lensing simulator and the tools needed to perform explicit full-field inference with a Hamiltonian Monte Carlo (HMC) sampler over this model. Using sbi_lens , we simulated a w CDM LSST Year 10 weak lensing analysis scenario in which the full-field posterior obtained by HMC sampling gives us a ground truth that can be compared to different neural summarization strategies. Results. We provide theoretical insight into the different loss functions being used in the literature, including mean squared error (MSE) regression, and show that some do not necessarily lead to sufficient statistics, while those motivated by information theory, in particular variational mutual information maximization (VMIM), can in principle lead to sufficient statistics. Our numerical experiments confirm these insights, and we show on our simulated w CDM scenario that the figure of merit (FoM) of an analysis using neural summary statistics optimized under VMIM achieves 100% of the reference Ω c − σ 8 full-field FoM, while an analysis using summary statistics trained under simple MSE achieves only 81% of the same reference FoM.
Authors
- A. Boucaud (ORCID: https://orcid.org/0000-0001-7387-2633)
- Jean‐Luc Starck (ORCID: https://orcid.org/0000-0003-2177-7794)
- François Lanusse (ORCID: https://orcid.org/0000-0001-7956-0542)
- Justine Zeghal
- T. Lucas Makinen (ORCID: https://orcid.org/0000-0002-3795-6933)
- Denise Lanzieri (ORCID: https://orcid.org/0000-0003-2787-1634)
Institutions
- Centre National de la Recherche Scientifique (FR)
- Université Paris Cité (FR)
- Commissariat à l'Énergie Atomique et aux Énergies Alternatives (FR)
- Université Paris-Saclay (FR)
- Laboratoire AstroParticule et Cosmologie (FR)
- Astrophysique, Instrumentation et Modélisation (FR)
- Centro Ricerche Enrico Fermi (IT)
- CEA Paris-Saclay (FR)
- Centre for Research in Astrophysics of Québec (CA)
- Flatiron Health (United States) (US)
- Mila - Quebec Artificial Intelligence Institute (CA)
- Flatiron Institute (US)
- Imperial College London (GB)
- Université de Montréal (CA)
- Foundation for Research and Technology Hellas (GR)
Publication Details
- Journal
- Astronomy and Astrophysics
- Published
- 2025-03-28
- DOI
- https://doi.org/10.1051/0004-6361/202451535
- Citations
- 7
- Primary Topic
- Image Processing Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 7.95
Funders
- European Commission
- Deutsche Forschungsgemeinschaft
- Agence Nationale de la Recherche
- Grand Équipement National De Calcul Intensif
- Université de Paris
- HORIZON EUROPE Framework Programme