arXiv Science⌕ Search

arXiv subjects

Carolina Cuesta-Lazaro

Publications and source records attributed to Carolina Cuesta-Lazaro.

At least 19 recordsLinked to original sources

ContrAst: Factorized Representation Learning for Multimodal Astronomical Data

ContrAst is a self-supervised framework for multimodal astronomical survey data that uses information-theoretic principles and astronomy-aware augmentations to factorize the latent space into shared and non-shared components with respect to the input modalities. We demonstrate the potential advantages of the factorized ContrAst embeddings compared to those from the multimodal astrophysics foundation model AION-1 on several downstream tasks using galaxy images & spectra. For morphology classification, using ContrAst private image embeddings and shared spectrum embeddings improve k-NN accuracy over AION-1, while linear probe and MLP performance is comparable. For redshift estimation, using ContrAst shared image embeddings improves k-NN and MLP performance while matching linear probe performance, and the spectrum embeddings match the near-saturated AION-1 baseline. These results suggest that shaping how information is organized across different modalities can make task-relevant information more accessible. More work is needed to understand when using the ContrAst factorized embeddings leads to the greatest performance gains.

astro-ph.IM↗

Learning to Jet: A Surrogate Subgrid Model for AGN Feedback in Cosmological Simulations

Cosmological simulations demonstrate the importance of active galactic nuclei (AGN) in quenching star formation and shaping the long-term evolution of galaxies. However, their limited resolution prevents them from directly capturing many important physical processes, including interactions between AGN jets and the surrounding interstellar medium (ISM). Here, we introduce a novel method for modeling AGN jet feedback: a generative flow-matching model with a 3D U-Net architecture, trained to predict AGN jet evolution. Our model is trained on pairs of coarse-grained, high-resolution AGN jet simulations that resolve the turbulent ISM within the central 1 kpc of the host galaxy. The model reproduces the spatial distribution of five key physical quantities and recovers the total energy with a median error of 13.5% over held-out validation simulations. During model rollout, or repeated application of the model to its own outputs, it remains stable over several steps, with final total-energy errors below 10% in the best-performing regimes. At around three orders of magnitude faster than direct simulation, our model functions as a viable subgrid prescription for AGN jet feedback in cosmological simulations.

astro-ph.GA↗

Beyond Nested Sampling: Amortized Bayesian Model Comparison for Exoplanet Atmospheres

The search for life on other planets hinges on a single number: the statistical significance of a biosignature gas detection. Quantifying it robustly is hard: signals may sit close to the noise level, different molecules overlap in wavelength, and the Bayesian analysis needed to account for every plausible absorber becomes intractable as the number of free parameters grows, with nested sampling, the standard tool, becoming impractical beyond roughly 30 parameters. In practice, simpler models are used instead, at the risk of spurious detections. Here, we introduce a scalable machine learning alternative to nested sampling for Bayesian model comparison in exoplanet atmosphere retrieval: a Savage-Dickey density ratio (SDDR) method based on Neural Ratio Estimation (NRE). A single network returns both the marginalized posterior of a given molecule and the Bayes factor $K$ for its presence, even when marginalizing over many other parameters. We compare it to three alternative neural estimators, Flow Matching, Evidence Networks, and SDDR with Neural Posterior Estimation (NPE), and find it to be significantly more accurate. In a controlled three-parameter scenario where the true Bayes factor is known, SDDR-NRE has the lowest error and stays calibrated up to $\ln K = 10$, while the alternatives break down at or before $\ln K \approx 5$. It then scales to a twenty-one-parameter atmosphere, where it reproduces the nested sampling posteriors and recovers $\ln K$ with an RMSE of $0.99$ nats in about 5 ms per spectrum, against a nested sampling reference whose own runs disagree by $0.61$ nats and take 2.5-11 hours per spectrum. This method is a step towards detection significances that account for every plausible absorber, and for the robust detection of life on other planets.

astro-ph.EP↗

$w_0$ Is All You Need: Field-Level Matching of General Dark Energy Models to $w_0$CDM Simulations

We show that clustering in general dynamical dark energy models $w(z)$ can be predicted with constant dark energy $w_0\text{CDM}$ models at the field level via spectral equivalence. The prescription of this method requires equating comoving distances to the last scattering surface between predictor and target models, which is equivalent to requiring equal recent background expansion history averages. Dark energy models with the same distance thus form approximate equivalence classes, with nearly identical matter fields. To test the precision of spectral equivalence beyond the CPL parametrization, we run $N$-body simulations with various dynamical dark energy models, including spline-based $w(z)$, all matched to a single $w_0\text{CDM}$ run. Our measurements show that the power spectra of all matched dark energies agree with the predictor within $0.2\%$ up to $k = 0.5\,h\,{\rm Mpc}^{-1}$ and within $0.6\%$ up to $k = 1\,h\,{\rm Mpc}^{-1}$. We also compare the non-Gaussian information contained in the simulated fields. Bispectra differ by at most $0.26\%$ across all runs up to $k = 0.5\,h\,{\rm Mpc}^{-1}$ and $1.75\%$ up to $k = 1\,h\,{\rm Mpc}^{-1}$, while wavelet scattering transform coefficients are all within $0.05\%$. The decorrelation, $1 - r^2$, between each matched field and the predictor stays below $0.006\%$ up to $k = 1\,h\,{\rm Mpc}^{-1}$. We run a toy power spectrum analysis in the CPL parametrization demonstrating that a $w_0$-only emulator could produce the same posterior without any knowledge of the full $w_0w_a$ model. This matching prescription thus offers a new tool to constrain dynamical dark energy models with arbitrary equations of state at the field level, without running additional simulation suites.

astro-ph.CO↗

Neural Compression for Scientific Particle Data: Perspectives on How Learning Can Help

As particle-based simulations grow in scale, efficient compression of scientific data becomes critical. Neural point cloud compression (PCC) methods excel on computer vision (CV) benchmarks, but do they transfer to scientific particle data? We highlight that scientific particles differ from CV point clouds in fractal dimension: CV point clouds are locally planar, but particles are not. This key difference limits the effectiveness of the octree data structure that underpins most PCC methods. Neural codecs achieve only marginal bitrate reductions over the traditional G-PCC baseline on scientific data, revealing a significant performance gap. Supported by an evaluation spanning domains of cosmology, molecular dynamics, and plasma physics, we outline where the structure of scientific data limits current neural approaches and where learning can help in the future.

cs.CV↗

Learning What's Real: Disentangling Signal and Measurement Artifacts in Multi-Sensor Data, with Applications to Astrophysics

Data collected from the physical world is always a combination of multiple sources: an underlying signal from the physical process of interest and a signal from measurement-dependent artifacts from the sensor or instrument. This secondary signal acts as a confounding factor, limiting our ability to extract information about the physics underlying the phenomena we observe. Furthermore, it complicates the combination of observations in heterogeneous or multi-instrument settings. We propose a deep learning framework that leverages overlapping observations, a dual-encoder architecture, and a counterfactual generation objective to disentangle these factors of variation. The resulting representations explicitly separate intrinsic signals from sensor-specific distortions and noise, and can be used for counterfactual view generation, parameter inference unconfounded by measurement distortions, and instrument-independent similarity search. We demonstrate the effectiveness of our approach on astrophysical galaxy images from the DESI Legacy Imaging Survey (Legacy) and the Hyper Suprime-Cam (HSC) Survey as a representative multi-instrument setting. This framework provides a general recipe for scientific and multi-modal self-supervised pretraining: construct training pairs from overlapping observations of the same physical system, treat sensor- or modality-specific effects as augmentations, and learn invariant representations through counterfactual generation.

astro-ph.IM↗

ENFR: Evidence Networks with Flow-Matched References for Amortized Simulation-Based Model Inference

The evidence, $\mathcal{Z} = p(x | \mathcal{M})$, of a data-generating model $\mathcal{M}$ is a powerful tool in Bayesian frameworks: it enables model inference, model misspecification tests, and goodness-of-fit assessment as an alternative to standard discrepancy statistics, e.g. $χ^2$. While versatile, the evidence is notoriously difficult to compute, even when the likelihood is available. In both likelihood-based and simulation-based inference, estimating $\mathcal{Z}$ provides an immediate solution to high-dimensional goodness-of-fit or model misspecification tests: using $\mathcal{Z}(x)$ as the test statistic induces a minimum-volume level-$α$ test. Such tests are essential to assess model fidelity, which is necessary to trust simulation-based parameter inference. Existing learned approaches largely target Bayes factors, which only measure evidence ratios. Instead, we provide accurate, fast, and amortized estimates of the absolute evidence. We present ENFR: Evidence Networks with Flow-matched References. Building on the Evidence Network framework of Jeffrey & Wandelt (2024), the proposed method first learns Bayes factors with respect to a flow-matched reference, from which the absolute evidence is recovered. We show improvement in estimation of $\mathcal{Z}$ over the flow-based baseline in all applications considered and the best performance of all density estimation methods considered in our benchmarks. We furthermore introduce and provide the proof for an architecture that jointly learns the individual evidences of a set of models $\{\mathcal{M}_i\}$. We demonstrate the performance and scaling behavior of these approaches on data from a variety of scientific applications.

stat.ML↗

Feedback-Conditional 3D Reconstruction of Cosmic Baryons with Flow Matching

The complex relationship between galaxies and diffuse gas at large scales depends strongly on astrophysical feedback and cosmology. The dispersion measure (DM) of Fast Radio Bursts (FRBs) is a column of cosmic baryon density and is dominated by the intergalactic medium, which is not necessarily captured by traditional halo model prescriptions. We introduce a generative model to reconstruct 3D gas density fields from galaxy surveys, including redshift space distortions. The probabilistic model is trained on the CAMELS50 simulation suite (IllustrisTNG) and learns to predict the posterior distribution of gas fields conditioned on stellar mass-weighted galaxy density, cosmological parameters, the minimum stellar mass threshold for the galaxy sample, and the baryon suppression power spectrum as a measure of baryonic feedback. Our method uses the 3D gas reconstruction to estimate per-sightline FRB DMs and their posteriors. We validate the model on test boxes by showing agreement between predicted and true DM across individual lines of sight and the overall DM distribution. The model generalizes to a box size $\sim$\,4$^3$ times larger in volume than the training boxes and can cover the volumes spanned by cosmological FRB sightlines. The model's 3D gas density predictions vary with input power spectrum and feedback scenarios, offering an inference path to constrain feedback models from FRBs and other probes such as X-rays, the SZ effect, and weak lensing.

astro-ph.CO↗

From starlight to dark matter: a stochastic interpolation approach to map dark matter from stellar density

The dark matter halo profile in galaxies holds key information about the nature of dark matter and galaxy formation. Constraining the dark matter profile of galaxies beyond the Milky Way traditionally requires expensive spectroscopic observations for kinematic information. In this paper, we explore a conditional generative model framework to map the dark matter profile of Milky Way-mass galaxies from stellar density profiles, more easily obtainable through large photometric imaging surveys. As a proof of concept, we train the model to learn a stochastic bridge between instrument systematics-free baryonic stellar distributions and underlying dark matter density maps from the DREAMS hydrodynamics simulation suite. We recover 2D dark matter density profiles with a typical accuracy of $\sim0.1$ dex ($\sim1.5$% of the truth in log scale). The stochastic sampling procedure provides uncertainty estimates of the predicted dark matter map, with typical values $\sim0.1$ dex. Out-of-domain tests with Milky Way-mass galaxies from IllustrisTNG and FIRE simulations show that, while the model can qualitatively be generalized to TNG50 galaxies from IllustrisTNG, the model is sensitive to the galaxy formation model, with $\sim0.2$-$0.4$ dex over-prediction for the inner profiles ($r\lesssim5$ kpc) of the FIRE test galaxies. Future work will explore training with additional suites of simulations and/or conditioning on additional information, such as multi-band images. Our results are a first step towards using generative models as a flexible, uncertainty-aware framework for turning forthcoming data from large imaging surveys into spatially resolved dark matter maps.

astro-ph.GA↗

Unknown Unknowns: Model Misspecification in Machine Learning for Physics

Machine learning is now a central tool for solving inverse problems in particle physics and astronomy. Models are trained on simulation and deployed on real data, raising the question not just of whether they fit, but of whether they are wrong in ways we did not anticipate: the unknown unknowns. This challenge of model misspecification is not unique to machine learning. In physics, misspecification is sometimes exactly what we want to find: new discoveries appear as failures of existing models. At other times, we want such effects absorbed into the analysis without biasing the measurement. A robust analysis is one that absorbs the misspecifications we are not interested in, while preserving sensitivity to the ones we are. Machine learning can both amplify misspecification and provide new tools to address it. We discuss the challenges of model misspecification, diagnostics for detecting it, and strategies for mitigation. No single diagnostic can confirm that a model is correctly specified: detection and mitigation are two halves of an iterative loop, in which a battery of complementary diagnostics is applied, the model is updated, and the process repeated. Robustness against unknown unknowns is ultimately less about any single technique than about a disposition: a willingness to suspect one's own model, and to design analyses that can survive being wrong in ways one did not anticipate.

physics.data-an↗

A Parameter-Masked Mock Data Challenge for Beyond-Two-Point Galaxy Clustering Statistics

The last few years have seen the emergence of a wide array of novel techniques for analyzing high-precision data from upcoming galaxy surveys, which aim to extend the statistical analysis of galaxy clustering data beyond the linear regime and the canonical two-point (2pt) statistics. We test and benchmark some of these new techniques in a community data challenge "Beyond-2pt", initiated during the Aspen 2022 Summer Program "Large-Scale Structure Cosmology beyond 2-Point Statistics," whose first round of results we present here. The challenge dataset consists of high-precision mock galaxy catalogs for clustering in real space, redshift space, and on a light cone. Participants in the challenge have developed end-to-end pipelines to analyze mock catalogs and extract unknown ("masked") cosmological parameters of the underlying $Λ$CDM models with their methods. The methods represented are density-split clustering, nearest neighbor statistics, BACCO power spectrum emulator, void statistics, LEFTfield field-level inference using effective field theory (EFT), and joint power spectrum and bispectrum analyses using both EFT and simulation-based inference. In this work, we review the results of the challenge, focusing on problems solved, lessons learned, and future research needed to perfect the emerging beyond-2pt approaches. The unbiased parameter recovery demonstrated in this challenge by multiple statistics and the associated modeling and inference frameworks supports the credibility of cosmology constraints from these methods. The challenge data set is publicly available and we welcome future submissions from methods that are not yet represented.

astro-ph.CO↗

BaryonBridge: Stochastic Interpolant Model for Fast Hydrodynamical Simulations

Constructing a general-purpose framework for mapping between dark matter simulations and observable hydrodynamical simulation outputs is a long-standing problem in modern astrophysics. In this work, we present a new approach utilizing stochastic interpolants to map between cheap fast particle mesh simulations and baryonic quantities in three dimensions, requiring a total of 7 GPU minutes per 256^3 grid size simulation. Using the CAMELS multifield dataset, we are able to condition our mapping on both cosmological and astrophysical properties. We focus this work on hydrodynamical quantities suitable for Lya observables finding excellent agreement up to small spatial scales, k ~ 10.0 (h^(-1) Mpc) at z=2.0, for Lya flux statistics. Our approach is fully convolutional, allowing training on comparatively small volumes and application to larger volumes, which was tested on TNG50.

astro-ph.CO↗

Hierarchical Simulation-Based Inference of Supernova Power Sources and their Physical Properties

Time domain surveys such as the Vera C. Rubin Observatory are projected to annually discover millions of astronomical transients. This and complementary programs demand fast, automated methods to constrain the physical properties of the most interesting objects for spectroscopic follow up. Traditional approaches to likelihood-based inference are computationally expensive and ignore the multi-component energy sources powering astrophysical phenomena. In this work, we present a hierarchical simulation-based inference model for multi-band light curves that 1) identifies the energy sources powering an event of interest, 2) infers the physical properties of each subclass, and 3) separates physical anomalies in the learned embedding space. Our architecture consists of a transformer-based light curve summarizer coupled to a flow-matching regression module and a categorical classifier for the physical components. We train and test our model on $\sim$150k synthetic light curves generated with $\texttt{MOSFiT}$. Our network achieves a 90% classification accuracy at identifying energy sources, yields well-calibrated posteriors for all active components, and detects rare anomalies such as tidal disruption events (TDEs) through the learned latent space. This work demonstrates a scalable joint framework for population studies of known transients and the discovery of novel populations in the era of Rubin.

astro-ph.IM↗

Detecting Model Misspecification in Cosmology with Scale-Dependent Normalizing Flows

Current and upcoming cosmological surveys will produce unprecedented amounts of high-dimensional data, which require complex high-fidelity forward simulations to accurately model both physical processes and systematic effects which describe the data generation process. However, validating whether our theoretical models accurately describe the observed datasets remains a fundamental challenge. An additional complexity to this task comes from choosing appropriate representations of the data which retain all the relevant cosmological information, while reducing the dimensionality of the original dataset. In this work we present a novel framework combining scale-dependent neural summary statistics with normalizing flows to detect model misspecification in cosmological simulations through Bayesian evidence estimation. By conditioning our neural network models for data compression and evidence estimation on the smoothing scale, we systematically identify where theoretical models break down in a data-driven manner. We demonstrate a first application to our approach using matter and gas density fields from three CAMELS simulation suites with different subgrid physics implementations.

astro-ph.CO↗

CosmoFlow: Scale-Aware Representation Learning for Cosmology with Flow Matching

Generative machine learning models have been demonstrated to be able to learn low dimensional representations of data that preserve information required for downstream tasks. In this work, we demonstrate that flow matching based generative models can learn compact, semantically rich latent representations of field level cold dark matter (CDM) simulation data without supervision. Our model, CosmoFlow, learns representations 32x smaller than the raw field data, usable for field level reconstruction, synthetic data generation, and parameter inference. Our model also learns interpretable representations, in which different latent channels correspond to features at different cosmological scales.

astro-ph.CO↗

A theoretical approach to density-split clustering

We present an analytical model for density-split correlation functions, that probe galaxy clustering in different density environments. Specifically, we focus on the cross-correlation between density-split regions and the tracer density field. We show that these correlation functions can be expressed in terms of the two-point probability density function (PDF) of the density field. We derive analytical predictions using three levels of approximation for the two-point PDF: a bivariate Gaussian distribution, a bivariate shifted log-normal distribution, and a prediction based on the Large Deviation Theory (LDT) framework. For count-in-cell densities, obtained through spherical top-hat smoothing, one can leverage spherical collapse dynamics and LDT to predict the density two-point PDF in the large-separation regime relative to the smoothing radius. We validate our model against dark matter N-body simulations in real space, incorporating Poisson shot noise and galaxy bias. Our results show that the LDT prediction outperforms the log-normal approximation, and agrees with simulations on large scales within the cosmic variance of a typical DESI DR1 sample, despite relying on only one degree of freedom.

astro-ph.CO↗

Cosmological constraints from the Minkowski functionals of the BOSS CMASS galaxy sample

For the first time, we develop a simulation-based model for the Minkowski functionals (MFs) of large-scale structure, which allows us to extract the full information available from the MFs (including both the Gaussian and non-Gaussian part), and apply it to the BOSS DR12 CMASS galaxy sample. Our model is based on high-fidelity mock galaxy catalogs constructed from the \textsc{Abacus}\textsc{Summit} simulations using the halo occupation distribution (HOD) framework, which include the redshift-space distortions and Alcock-Paczynski distortions, incorporate survey realism, including survey geometry and veto masks, and account for angular plus radial selection effects. The cosmological and HOD parameter dependence of the MFs is captured with a neural network emulator trained from the galaxy mocks with various cosmological and HOD parameters. To benchmark the constraining power of the MFs, we also train an emulator for the galaxy 2-point correlation function (2PCF) using the same pipeline. Having validated our approach through successful parameter recovery tests on both internal and external mocks, including non-HOD forward models of the halo-galaxy connection, we apply our forward model to analyze the CMASS data in the redshift range $0.45<z<0.58$. We find the MFs provide stronger constraints on the cosmological parameters than the 2PCF. The combination of the two gives $ω_{\rm cdm}=0.1172^{+0.0020}_{-0.0023}$, $σ_8=0.783\pm 0.026$, and $n_s=0.966^{+0.019}_{-0.015}$, which are tighter by a factor of 2.0, 1.9, and 1.6 than the 2PCF alone. The derived constraint $fσ_8=0.453 \pm 0.016$ is also improved by a factor of 1.9, compared to the 2PCF, and agrees well with Planck 2018 predictions and other results from a series of studies in the literature.

astro-ph.CO↗

High-redshift Millennium and Astrid galaxies in effective field theory at the field level

Effective Field Theory (EFT) modeling is expected to be a useful tool in the era of future higher-redshift galaxy surveys such as DESI-II and Spec-S5 due to its robust description of various large-scale structure tracers. However, large values of EFT bias parameters of higher-redshift galaxies could jeopardize the convergence of the perturbative expansion. In this paper we measure the bias parameters and other EFT coefficients from samples of two types of star-forming galaxies in the state-of-the-art MilleniumTNG and Astrid hydrodynamical simulations. Our measurements are based on the field-level EFT forward model that allows for precision EFT parameter measurements by virtue of cosmic variance cancellation. Specifically, we consider approximately representative samples of Lyman-break galaxies (LBGs) and Lyman-alpha emitters (LAEs) that are consistent with the observed (angular) clustering and number density of these galaxies at $z=3$. Reproducing the linear biases and number densities observed from existing LAE and LBG data, we find quadratic bias parameters that are roughly consistent with those predicted from the halo model coupled with a simple halo occupation distribution model. We also find non-perturbative velocity contributions (Fingers of God) of a similar size for LBGs to the familiar case of Luminous Red Galaxies. However, these contributions are quite small for LAEs despite their large satellite fraction values of up to $\sim 30\%$. Our results indicate that the effective momentum reach $k_{\rm{Max}}$ at $z=3$ for LAEs (LBGs) will be in the range $0.3-0.6 ~h\rm{Mpc}^{-1}$ ($0.2-0.8~h\rm{Mpc}^{-1}$), suggesting that EFT will perform well for high redshift galaxy clustering. This work provides the first step toward obtaining realistic simulation-based priors on EFT parameters for LAEs and LBGs.

astro-ph.CO↗