SearcharxivSearch

arXiv subjects

Marco Bonici

Publications and source records attributed to Marco Bonici.

At least 19 recordsLinked to original sources

Blast.jl: Differentiable Non-Limber Power Spectra for Joint Clustering, Shear, and CMB lensing Analyses

Upcoming large-scale structure surveys require accurate theoretical predictions for angular power spectra on the largest angular scales, where the commonly used Limber approximation breaks down and multiple relativistic and observational effects become relevant. At the same time, modern cosmological analyses increasingly rely on gradient-based inference techniques, motivating the development of fast, fully differentiable algorithms. In this work, we present a major extension of Blast.jl, a numerical toolkit for the efficient computation of non-Limber angular power spectra. Building on the Chebyshev-polynomial decomposition of the original framework, the updated algorithm incorporates redshift-space distortions, magnification bias, primordial non-Gaussianity, intrinsic alignments, CMB lensing, and the integrated Sachs-Wolfe effect, while remaining fully differentiable through custom automatic differentiation rules. Despite the increased physical complexity, the algorithm retains favorable scaling by precomputing all cosmology-independent quantities. We validate the expanded framework against brute-force integration and established cosmological codes, and provide a detailed analysis of the trade-off between computational speed and precision as a function of the algorithm hyperparameters. We demonstrate the readiness of Blast.jl for gradient-based inference through a simulated likelihood analysis with LSST Y10-like mock data, recovering unbiased cosmological and nuisance parameter constraints from a 35-parameter model using gradient-based samplers.

astro-ph.CO

Alleviating prior dependencies for DESI DR1 clustering fits through reparameterization

Bayesian analyses of the full-shape clustering of Dark Energy Spectroscopic Instrument (DESI) Data Release 1 (DR1) exhibit prior-volume projection effects, whereby weakly constrained nuisance parameters of the Effective Field Theory of Large Scale Structure (EFTofLSS) shift marginalized cosmological posteriors away from the posterior maximum. We reanalyze DESI DR1 power spectrum multipoles using two complementary mitigation strategies: (i) nonlinear orthogonalization to decorrelate nuisance and cosmological parameter priors, and (ii) a fully reparameterization-invariant Jeffreys prior over all EFTofLSS coefficients, evaluated on-the-fly via closed-form Jacobians. Including data from DESI, Big-Bang Nuclesynthesis and a constraint on $n_{\mathrm{s}}$, baseline priors lead to multi-$\sigma$ projection in the Hubble parameter $H_{0}$ and dark energy equation of state parameters $w_{0}$ and $w_{a}$; the Jeffreys prior successfully recenters these posteriors to enclose the maximum a posteriori estimate within the 68\% credible regions, demonstrating clear mitigation of projection effects for these late-time expansion parameters. A hybrid Jeffreys+baseline-Gaussian configuration controls residual over-broad tails in the physical cold dark matter density $\omega_{\mathrm{c}}$ while preserving the volume correction, and is our favoured approach. We compare the credible intervals derived using our methodology to those obtained using Halo Occupation Distribution (HOD)-informed priors and to confidence intervals derived using frequentist profile likelihood analyses, finding agreement in both central values and degeneracy directions in the $w_{0}$--$w_{a}$ plane. This demonstrates that, once projection effects are properly controlled, we can make robust inferences about the late-time cosmological expansion independent of the statistical framework adopted.

astro-ph.CO

cloelib: A Flexible Python Library for Computing Cosmological Observables in the Euclid Era

cloelib is a Python library developed to compute cosmological observables within the Cosmology Likelihood for Observables in Euclid (CLOE) ecosystem (cloe-org). As cosmology enters a precision era driven by galaxy survey missions such as Euclid, there is a growing need for flexible, efficient, and differentiable software capable of supporting next-generation inference pipelines. cloelib addresses these demands through a modular architecture that interfaces seamlessly with established Boltzmann solvers whilst incorporating JAX-based automatic differentiation to enable gradient-based methods. The library defines consistent protocols for background evolution, perturbations, and non-linear structure formation, and supports a wide range of observables, including photometric and spectroscopic large-scale structure probes, as well as cross-correlations with the Cosmic Microwave Background and galaxy clusters. In its finalised form, cloelib is intended to serve as the reference theory computation infrastructure for Euclid's first cosmological release, bridging traditional numerical cosmology with modern optimisation techniques and emerging machine learning approaches to inference.

astro-ph.CO

cloelike: A Python Library for Cosmological Likelihood Inference in the Euclid Era

cloelike is a Python package providing modular, composable Gaussian likelihood classes for the main cosmological large-scale structure observables targeted by the ESA Euclid space mission. It is a core component of the CLOE (Cosmology Likelihood for Observables in Euclid) ecosystem and interfaces directly with cloelib for theoretical predictions and euclidlib for reading official Euclid data products. The package implements Gaussian likelihoods covering harmonic angular power spectra and real-space two-point correlation functions for weak lensing (WL), photometric galaxy clustering (GCph), and Galaxy-Galaxy Lensing (GGL) in all joint probe combinations (3x2pt, 2x2pt), as well as spectroscopic full-shape power spectrum multipoles, and baryonic Acoustic oscillations (BAO). cloelike is actively used in internal Euclid Consortium analyses and is openly released to support community validation and reproducibility.

astro-ph.CO

Constraining primordial non-Gaussianity from DESI DR1 quasars and Planck PR4 CMB Lensing

We present the first measurement of local-type primordial non-Gaussianity from the cross-correlation between $1.2$ million spectroscopically confirmed quasars from the first data release (DR1) of the Dark Energy Spectroscopic Instrument (DESI) and the Planck PR4 CMB lensing reconstructions. The analysis is performed in three tomographic redshift bins covering $0.8 < z < 3.5$, covering a sky fraction of $\sim 20\%$. We adopt a catalog-based pseudo-$C_\ell$ estimator and apply linear imaging weights validated on noiseless mocks. Compared to previous analyses using photometric quasar samples, our results benefit from the high purity of the DESI spectroscopic sample, the reduced noise of PR4 lensing, and the absence of excess large-scale power in the spectroscopic quasar auto-correlation. Fitting simultaneously for the non-Gaussianity parameter $f_{\mathrm{NL}}$ and the linear bias amplitude in each redshift bin, we obtain $f_{\mathrm{NL}} = 2^{+28}_{-34}$ for a response parameter $p=1.6$, and $f_{\mathrm{NL}} = 6^{+20}_{-24}$ for $p=1.0$. These results improve the constraints on $f_{\mathrm{NL}}$ by $\sim 35\%$ compared to the previous analysis based on the Legacy Imaging Survey DR9. Additionally, we derive an optimal weighting scheme to maximize the constraining power. In this case, and assuming $p=1.6$, we obtain $f_\mathrm{NL}=19^{+25}_{-31}$. Our results demonstrate the statistical power of DESI quasars for probing inflationary physics, and highlight the promise of future DESI data releases.

astro-ph.CO

A measurement of $H_0$ from DESI DR1 using energy densities

We present a new measurement of the Hubble constant, independent of standard rulers and robust to pre-recombination modifications such as Early Dark Energy (EDE), obtained by calibrating the total energy density of the Universe. We start using the present-day photon density as an anchor, and use the baryon-to-photon ratio from Big Bang Nucleosynthesis based measurements and the baryon-to-matter ratio from the baryons' imprint on galaxy clustering to translate to a physical matter density at present day. We then compare this to measurements of the ratio of the matter density to the critical density ($\Omega_{\mathrm{m}}$), calculated using the relative positions of the baryon acoustic oscillations, to measure the critical density of the universe and hence $H_0$. The important measurements of the evolution of the energy density all happen at low redshift, so we consider this a low-redshift measurement. We validate our method both on a suite of $N$-body mocks and on noiseless theory vectors generated across a wide range of Hubble parameters in both $\Lambda$CDM and EDE cosmologies. Using DESI DR1 data combined with the angular CMB acoustic scale and the latest BBN constraints, we find $H_0 = 69.0 \pm 2.5$ km s$^{-1}$ Mpc$^{-1}$, consistent with existing early and late-time determinations of the Hubble constant. We consider the impact of non-standard dark energy evolution on our measurement. Future data, including that from further iterations of DESI and from Euclid, will add to these results providing a powerful test of the Hubble tension.

astro-ph.CO

Baryon fraction from the BAO amplitude: a consistent approach to parameterizing perturbation growth

Galaxy clustering constrains the baryon fraction Omega_b/Omega_m through the amplitude of baryon acoustic oscillations and the suppression of perturbations entering the horizon before recombination. This produces a different pre-recombination distribution of baryons and dark matter. After recombination, the gravitational potential responds to both components in proportion to their mass, allowing robust measurement of the baryon fraction. This is independent of new-physics scenarios altering the recombination background (e.g. Early Dark Energy). The accuracy of such measurements does, however, depend on how baryons and CDM are modeled in the power spectrum. Previous template-based splitting relied on approximate transfer functions that neglected part of information. We present a new method that embeds an extra parameter controlling the balance between baryons and dark matter in the growth terms of the perturbation equations in the CAMB Boltzmann solver. This approach captures the baryonic suppression of CDM prior to recombination, avoids inconsistencies, and yields a clean parametrization of the baryon fraction in the linear power spectrum, separating out the simple physics of growth due to the combined matter potential. We implement this framework in an analysis pipeline using Effective Field Theory of Large-Scale Structure with HOD-informed priors and validate it against noiseless LCDM and EDE cosmologies with DESI-like errors. The new scheme achieves comparable precision to previous splitting while reducing systematic biases, providing a more robust way to baryon-fraction measurements. In combination with BBN constraints on the baryon density and Alcock-Paczynski estimates of the matter density, these results strengthen the use of baryon fraction measurements to derive a Hubble constant from energy densities, with future DESI and Euclid data expected to deliver competitive constraints.

astro-ph.CO

Flinch: A Differentiable Framework for Field-Level Inference of Cosmological parameters from curved sky data

We present Flinch, a fully differentiable and high-performance framework for field-level inference on angular maps, developed to improve the flexibility and scalability of current methodologies. Flinch is integrated with differentiable cosmology tools, allowing gradients to propagate from individual map pixels directly to the underlying cosmological parameters. This architecture allows cosmological inference to be carried out directly from the map itself, bypassing the need to specify a likelihood for intermediate summary statistics. Using simulated, masked CMB temperature maps, we validate our pipeline by reconstructing both maps and angular power spectra, and we perform cosmological parameter inference with competitive precision. In comparison with the standard pseudo-$C_\ell$ approach, Flinch delivers substantially tighter constraints, with error bars reduced by up to 40%. Among the gradient-based samplers routinely employed in field-level analyses, we further show that MicroCanonical Langevin Monte Carlo provides orders-of-magnitude improvements in sampling efficiency over currently employed Hamiltonian Monte Carlo samplers, greatly reducing computational expense.

astro-ph.CO

Frequentist Cosmological Constraints from Full-Shape Clustering Measurements in DESI DR1

We present a frequentist analysis of clustering measurements from Data Release 1 of the Dark Energy Spectroscopic Instrument (DESI) using the standard profile likelihood method. While Bayesian inferences for effective field theory models of galaxy clustering can be highly sensitive to prior choices for extended cosmological models, frequentist inferences are not susceptible to such effects. We compare frequentist and Bayesian constraints for the parameter set $\{\sigma_8, H_0, \Omega_{\rm{m}}, w_0, w_a\}$ using the full-shape power spectrum multipoles, post-reconstruction baryon acoustic oscillation (BAO) measurements, and external datasets from the CMB and type Ia supernovae measurements. The frequentist confidence intervals are significantly shifted relative to the Bayesian credible intervals for the $w_0w_a$CDM model, unless supernovae data are included. When DESI full-shape and BAO data are fit jointly, we obtain the following $1\sigma$ frequentist confidence intervals for $\Lambda$CDM ($w_0w_a$CDM): $\sigma_8 = 0.863^{+0.048}_{-0.040} , \ H_0 = 68.96^{+0.81}_{-0.80} \ \rm{km \ s^{-1}Mpc^{-1}} , \ \Omega_{\rm{m}} = 0.3034\pm0.0110$ ($\sigma_8 = 0.782^{+0.060}_{-0.036} , \ H_0 = 63.7^{+4.2}_{-2.0} \ \rm{km \ s^{-1}Mpc^{-1}} , \ \Omega_{\rm{m}} = 0.378^{+0.024}_{-0.047} , \ w_0 = -0.16^{+0.10}_{-0.50} , \ w_a = -3.0^{+1.7}_{}$), corresponding to 0.8$\sigma$, 0.3$\sigma$, 0.7$\sigma$ (2.1$\sigma$, 4.1$\sigma$, 6.5$\sigma$, 6.3$\sigma$, 6.6$\sigma$) shifts between the maximum likelihood estimate and the Bayesian posterior mean for $\Lambda$CDM ($w_0w_a$CDM) respectively.

astro-ph.CO

Attention-based Neural Network Emulators for Multi-Probe Data Vectors Part III: Modeling The Next Generation Surveys

Machine learning can accelerate cosmological inferences that involve many sequential evaluations of computationally expensive data vectors. Previous works in this series have examined how machine learning architectures impact emulator accuracy and training time for optical shear and galaxy clustering 2-point function. In this final manuscript, we explore neural network performance when emulating Cosmic Microwave Background temperature and polarization power spectra. We maximize the volume of applicability in the parameter space of our emulators within the standard $\Lambda$-cold-dark-matter model while ensuring that errors are below cosmic variance. Relative to standard multi-layer perceptron architectures, we find the dot-product-attention mechanism reduces the number of outliers among testing cosmologies, defined as the fraction of testing points with $\Delta \chi^2 > 0.2$ relative to \textsc{CAMB} outputs, for a wide range of training set sizes. Such precision enables attention-based emulators to be directly applied to real data without requiring any additional correction via importance sampling. Combined with pre-processing techniques and optimized activation and loss functions, attention-based models can meet the precision criteria set by current and future CMB and lensing experiments. For each of Planck, Simons Observatory, CMB S4, and CMB HD, we find the fraction of outlier points to be less than $10\%$ with around $2\times10^5$ to $4\times10^5$ training data vectors. We further explore the applications of these methods to supernova distance, weak lensing, and galaxy clustering, as well as alternative architectures and pre-processing techniques.

astro-ph.CO

Enhancing DESI DR1 Full-Shape analyses using HOD-informed priors

We present an analysis of DESI Data Release 1 (DR1) that incorporates Halo Occupation Distribution (HOD)-informed priors into Full-Shape (FS) modeling of the power spectrum based on cosmological perturbation theory (PT). By leveraging physical insights from the galaxy-halo connection, these HOD-informed priors on nuisance parameters substantially mitigate projection effects in extended cosmological models that allow for dynamical dark energy. The resulting credible intervals now encompass the posterior maximum from the baseline analysis using gaussian priors, eliminating a significant posterior shift observed in baseline studies. In the $\Lambda$CDM framework, a combined DESI DR1 FS information and constraints from the DESI DR1 baryon acoustic oscillations (BAO)-including Big Bang Nucleosynthesis (BBN) constraints and a weak prior on the scalar spectral index-yields $\Omega_{\rm m} = 0.2994\pm 0.0090$ and $\sigma_8 = 0.836^{+0.024}_{-0.027}$, representing improvements of approximately 4% and 23% over the baseline analysis, respectively. For the $w_0w_a$CDM model, our results from various data combinations are highly consistent, with all configurations converging to a region with $w_0 > -1$ and $w_a < 0$. This convergence not only suggests intriguing hints of dynamical dark energy but also underscores the robustness of our HOD-informed prior approach in delivering reliable cosmological constraints.

astro-ph.CO

Selecting samples of galaxies with fewer Fingers-of-God

The radial positions of galaxies inferred from their measured redshift appear distorted due to their peculiar velocities. We argue that the contribution from stochastic velocities -- which gives rise to Fingers-of-God (FoG) anisotropy in the inferred maps -- does not lend itself to perturbative modelling already on scales targeted by current experiments. To get around this limitation, we propose to remove FoG using data-driven indicators of their abundance that are local in nature and thus avoid selection biases. In particular, we show that the scale where the measured power spectrum quadrupole changes sign is tightly anti-correlated with both the satellite fraction and the velocity dispersion, and can thus be used to select galaxy samples with fewer FoG. In addition, we show that excluding galaxies in haloes more massive than a given mass threshold can help to discard many of the most problematic galaxies. Such selection could be achieved in practice using maps of the thermal Sunyaev-Zeldovich distortion of the cosmic microwave background frequency spectrum. These techniques could potentially improve reconstructions of the large-scale velocity and displacement fields from the redshift-space positions of galaxies. They may also extend the reach of perturbative models for galaxy clustering, though in practice we find only marginal gains when fitting one-loop EFTofLSS models to simulations with mitigated FoG due to the relevance of other effects entering at two-loop order.

astro-ph.CO

Effort: a fast and differentiable emulator for the Effective Field Theory of the Large Scale Structure of the Universe

We present the official release of the EFfective Field theORy surrogaTe (Effort), a novel and efficient emulator designed for the Effective Field Theory of Large-Scale Structure (EFTofLSS). This tool combines state-of-the-art numerical methods and clever preprocessing strategies to achieve exceptional computational performance without sacrificing accuracy. To validate the emulator reliability, we compare Bayesian posteriors sampled using Effort via Hamiltonian MonteCarlo methods to the ones sampled using the widely-used pybird code, via the Metropolis-Hastings sampler. On a large-volume set of simulations, and on the BOSS dataset, the comparison confirms excellent agreement, with deviations compatible with MonteCarlo noise. Looking ahead, Effort is poised to analyze next-generation cosmological datasets and to support joint analyses with complementary tools.

astro-ph.CO

LOO-PIT: A sensitive posterior test

With the advent of the next generation of astrophysics experiments, the volume of data available to researchers will be greater than ever. As these projects will significantly drive down statistical uncertainties in measurements, it is crucial to develop novel tools to assess the ability of our models to fit these data within the specified errors. We introduce to astronomy the Leave One Out-Probability Integral Transform (LOO-PIT) technique. This first estimates the LOO posterior predictive distributions based on the model and likelihood distribution specified, then evaluates the quality of the match between the model and data by applying the PIT to each estimated distribution and data point, outputting a LOO-PIT distribution. Deviations between this output distribution and that expected can be characterised visually and with a standard Kolmogorov--Smirnov distribution test. We compare LOO-PIT and the more common $\chi^2$ test using both a simplified model and a more realistic astrophysics problem, where we consider fitting Baryon Acoustic Oscillations in galaxy survey data with contamination from emission line interlopers. LOO-PIT and $\chi^2$ tend to find different signals from the contaminants, and using these tests in conjunction increases the statistical power compared to using either test alone. We also show that LOO-PIT outperforms $\chi^2$ in certain realistic test cases.

astro-ph.CO

BLAST: Beyond Limber Angular power Spectra Toolkit. A fast and efficient algorithm for 3x2 pt analysis

The advent of next-generation photometric and spectroscopic surveys is approaching, bringing more data with tighter error bars. As a result, theoretical models will become more complex, incorporating additional parameters, which will increase the dimensionality of the parameter space and make posteriors more challenging to explore. Consequently, the need to improve and speed up our current analysis pipelines will grow. In this work, we focus on the 3x2pt statistics, a summary statistic that has become increasingly popular in recent years due to its great constraining power. These statistics involve calculating angular two-point correlation functions for the auto- and cross-correlations between galaxy clustering and weak lensing. The corresponding model is determined by integrating the product of the power spectrum and two highly-oscillating Bessel functions over three dimensions, which makes the evaluation particularly challenging. Typically, this difficulty is circumvented by employing the so-called Limber approximation, which is an important source of error. We present BLAST, an innovative and efficient algorithm for calculating angular power spectra without employing the Limber approximation or assuming a scale-dependent growth rate, based on the use of Chebyshev polynomials. The algorithm is compared with the publicly available beyond-Limber codes, whose performances were recently tested by the Rubin Observatory Legacy Survey of Space and Time Dark Energy Science Collaboration. At similar accuracy, BLAST is $\approx 10$-$15 \times$ faster than the winning method of the challenge, also showing excellent scaling with respect to various hyper-parameters. BLAST is publicly available on GitHub, and we release a repository where we explain how to use the code.

astro-ph.CO

HOD-informed prior for EFT-based full-shape analyses of LSS

To improve the performance of full-shape analyses of large-scale structure, we consider using a halo occupation distribution (HOD)-informed prior for the effective field theory (EFT) nuisance parameters. We generate 320 000 mock galaxy catalogs using 10 000 sets of HOD parameters across 32 simulation boxes with different cosmologies. We measure and fit the redshift-space power spectra using a fast emulator of the EFT model, and the resulting best-fit EFT parameter distributions are used to create the prior. This prior effectively constrains the EFT nuisance parameter space, limiting it to the space of HOD-mocks that can be well fit by a EFT model. We have tested the stability of the prior under different configurations, including the effect of varying the HOD sample distribution and the inclusion of the hexadecapole moment. We find that our HOD-informed prior and the cosmological parameter constraints derived using it are robust. While cosmological fits using the standard EFT prior suffer from prior effects, sometimes failing to recover the true cosmology within Bayesian credible intervals, the HOD-informed prior mitigates these issues and significantly improves cosmological parameter recovery for $\Lambda$CDM and beyond. This work lays the foundation for better full-shape large-scale structure analyses in current and upcoming galaxy surveys, making it a valuable tool for addressing key questions in cosmology.

astro-ph.CO

Cosmological forecasts from the combination of Stage-IV photometric galaxy surveys and the magnification from forthcoming GW observatories

In this work we have investigated the synergy between Stage-IV galaxy surveys and future GW observatories for constraining the underlying cosmological model of the Universe, focussing on photometric galaxy clustering, cosmic shear and GW magnification as cosmological probes. We have implemented a Fisher matrix approach for the evaluation of the full $6\times2$pt statistics composed by the angular power spectra of the single probes together with their combination. For our analysis, we have in particular considered dynamical dark energy and massive neutrino scenarios. We have found that the improvement to galaxy survey performance is below 1\%, in the case $\ell^{\rm GW}_{\rm max}=100$ and a luminosity distance error of $\sigma_{d_L}/d_L=10\%$. However, when extending the analysis to $\ell^{\rm GW}_{\rm max}=1000$, we find that the GW magnification improves the galaxy survey performance on all the cosmological parameters, reducing their errors by $3\%$-$5\%$, when $\sigma_{d_L}/d_L=10\%$, and by $10\%$-$18\%$ when $\sigma_{d_L}/d_L=1\%$, especially for $M_\nu$, $w_0$ and $w_a$. However, here our analysis is unavoidably optimistic: a much more detailed and realistic approach will be needed, especially by including systematic effects. But we can conclude that, in the case of future gravitational wave observatories the inclusion of the gravitational wave magnification can improve Stage-IV galaxy surveys performance on constraining the underlying cosmological model of the Universe.

astro-ph.CO

Capse.jl: efficient and auto-differentiable CMB power spectra emulation

We present Capse.jl, a novel neural network-based emulator designed for rapid and accurate prediction of Cosmic Microwave Background (CMB) temperature, polarization, and lensing angular power spectra. The emulator computes predictions in just a few microseconds with emulation errors below $0.1σ$ for all the scales relevant for the upcoming CMB-S4 survey. Capse.jl can also be trained in an hour's time on a 8-cores CPU. We test Capse.jl on Planck 2018, ACT DR4, and 2018 SPT-3G data and demonstrate its capability to derive cosmological constraints comparable to those obtained by traditional methods, but with a computational efficiency that is three to six orders of magnitude higher. We take advantage of the differentiability of our emulators to use gradient-based methods, such as Pathfinder and Hamiltonian Monte Carlo (HMC), which speed up the convergence and increase sampling efficiency. Together, these features make Capse.jl a powerful tool for studying the CMB and its implications for cosmology. When using the fastest combination of our likelihoods, emulators, and analysis algorithm, we are able to perform a Plancky TT + TE + EE analysis in less than a second. To ensure full reproducibility, we provide open access to the codes and data required to reproduce all the results of this work.

astro-ph.CO