Detecting Modeling Bias with Continuous Time Flow Models on Weak Lensing Maps
arXiv:2505.00632 · doi:10.1088/1475-7516/2025/08/004
Abstract
Simulation-based inference provides a powerful framework for extracting rich information from nonlinear scales in current and upcoming cosmological surveys, and ensuring its robustness requires stringent validation of forward models. In this work, we recast forward model validation as an out-of-distribution (OoD) detection problem within the framework of machine learning (ML)-based simulation-based inference (SBI). We employ probability density as the metric for OoD detection, and compare various density estimation techniques, demonstrating that field-level probability density estimation via continuous time flow models (CTFM) significantly outperforms feature-level approaches that combine scattering transform (ST) or convolutional neural networks (CNN) with normalizing flows (NFs), as well as NF-based field-level estimators, as quantified by the area under the receiver operating characteristic curve (AUROC). Our analysis shows that CTFM not only excels in detecting OoD samples but also provides a robust metric for model selection. Additionally, we verified CTFM maintains consistent efficacy across different cosmologies while mitigating the inductive biases inherent in NF architectures. Although our proof-of-concept study employs simplified forward modeling and noise settings, our framework establishes a promising pathway for identifying unknown systematics in the cosmology datasets.
24 pages, 8 figures, 2 tables, comments welcome
References in corpus (46)
- The cosmological simulation code GADGET-2
- LSST: from Science Drivers to Reference Design and Anticipated Data Products
- Deep Unsupervised Learning using Nonequilibrium Thermodynamics
- Score-Based Generative Modeling through Stochastic Differential Equations
- Wide-Field InfrarRed Survey Telescope-Astrophysics Focused Telescope Assets WFIRST-AFTA 2015 Report
- KiDS-450: Cosmological parameter constraints from tomographic weak gravitational lensing
- KiDS-1000 Cosmology: Cosmic shear constraints and comparison between two point statistics
- Cosmology from cosmic shear power spectra with Subaru Hyper Suprime-Cam first-year data
- Cosmology with cosmic shear observations: a review
- Dark Energy Survey Year 3 Results: Cosmology from Cosmic Shear and Robustness to Modeling Uncertainty
- Cosmological constraints from cosmic shear two-point correlation functions with HSC survey first-year data
- CFHTLenS revisited: assessing concordance with Planck including astrophysical systematics
- CFHTLenS: Cosmological constraints from a combination of cosmic shear two-point and three-point correlations
- Rejuvenating the matter power spectrum: restoring information with a logarithmic density mapping
- Three-Point Correlations in Weak Lensing Surveys: Model Predictions and Applications
- A new approach to observational cosmology using the scattering transform
- Probing Cosmology with Weak Lensing Peak Counts
- Non-Gaussian information from weak lensing data via deep learning
- Probing Cosmology with Weak Lensing Minkowski Functionals
- Towards an Optimal Estimation of Cosmological Parameters with the Wavelet Scattering Transform
- Modeling baryonic physics in future weak lensing surveys
- Automatic physical inference with information maximising neural networks
- Weak lensing from space: first cosmological constraints from three-point shear statistics
- Modelling the large scale structure of the Universe as a function of cosmology and baryonic physics
- New Interpretable Statistics for Large Scale Structure Analysis and Generation
- A marked correlation function for constraining modified gravity models
- The Limits of Cosmic Shear
- LensExtractor: A Convolutional Neural Network in Search of Strong Gravitational Lenses
- On the incompleteness of the moment and correlation function hierarchy as probes of the lognormal field
- Translation and Rotation Equivariant Normalizing Flow (TRENF) for Optimal Cosmological Analysis
- Cosmic voids: a novel probe to shed light on our Universe
- normflows: A PyTorch Package for Normalizing Flows
- Higher-order moments of the lensing shear and other spin two fields
- Deep Learning improves identification of Radio Frequency Interference
- Improving and generalizing flow-based generative models with minibatch optimal transport
- Cosmological constraints from HSC survey first-year data using deep learning
- The Impact of Baryons on Cosmological Inference from Weak Lensing Statistics
- HIFlow: Generating Diverse HI Maps and Inferring Cosmology while Marginalizing over Astrophysics using Normalizing Flows
- How to quantify fields or textures? A guide to the scattering transform
- Multifield Cosmology with Artificial Intelligence
- A comparative study of cosmological constraints from weak lensing using Convolutional Neural Networks
- Kymatio: Scattering Transforms in Python
- Diffusion-HMC: Parameter Inference with Diffusion-model-driven Hamiltonian Monte Carlo
- Hybrid Summary Statistics
- Tackling the Problem of Distributional Shifts: Correcting Misspecified, High-Dimensional Data-Driven Priors for Inverse Problems
- Stochastic Super-resolution of Cosmological Simulations with Denoising Diffusion Models