Papers
Topics
Authors
Recent
Search
2000 character limit reached

BACCO Emulator for Cosmological Analysis

Updated 27 April 2026
  • The BACCO emulator is a neural-network framework that accurately predicts two-point clustering statistics of matter and galaxies using hybrid Lagrangian bias expansions.
  • It combines high-resolution N-body simulations with cosmology rescaling and machine learning to achieve sub-percent precision across an 8-dimensional cosmological parameter space.
  • The emulator integrates theoretical models with rapid neural predictions to support full-shape power spectrum analyses in modern galaxy surveys, including baryonic and redshift-space effects.

The BACCO emulator is a neural-network-based framework for rapidly predicting two-point clustering statistics—most notably the power spectrum—of matter and biased tracers (e.g., galaxies) in both real and redshift space, as a function of cosmology, redshift, galaxy bias, and astrophysical parameters. Designed by the BACCO Simulation Project, it combines the flexibility of perturbative Lagrangian bias expansions with the accuracy of high-resolution N-body dynamics, utilizing cosmology-rescaling, machine learning, and hybridization of theory and simulation. BACCO achieves high-precision predictions across an extended cosmological parameter space, including massive neutrinos and evolving dark energy, and is validated for scales extending well into the quasi-linear and mildly nonlinear regime relevant to modern galaxy surveys (Ibáñez et al., 2024, Pellejero-Ibanez et al., 2022, Zennaro et al., 2021).

1. Theoretical Foundations: Hybrid Lagrangian Bias Expansion

The BACCO emulator models the galaxy-matter connection via a second-order Lagrangian bias expansion, including a higher-derivative term, up to five basis fields:

  • δL\delta_L (linear overdensity)
  • δL2\delta_L^2 (local quadratic)
  • s2s^2 (tidal shear, sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L)
  • ∇2δL\nabla^2\delta_L (higher-derivative)
  • $1$ (trivial)

The tracer overdensity in Lagrangian space is given by

δg(q)=b1 δL(q)+b2 (δL2(q)−⟨δL2⟩)+bs2(s2(q)−⟨s2⟩)+b∇2∇2δL(q)\delta_g(q) = b_1\,\delta_L(q) + b_2\,(\delta_L^2(q) - \langle\delta_L^2\rangle) + b_{s^2}(s^2(q) - \langle s^2\rangle) + b_{\nabla^2}\nabla^2\delta_L(q)

This expansion is then advected to Eulerian space using the non-linear displacement field ψ(q)\psi(q) measured in N-body simulations:

1+δg(x)=∫d3q F[δL(q)] δD[x−q−ψ(q)]1+\delta_g(x) = \int d^3q\,F[\delta_L(q)]\,\delta_D[x - q - \psi(q)]

Redshift-space distortions (RSD), including the effects of peculiar velocities, are incorporated by shifting the line-of-sight coordinate of each element by its velocity component:

ψ(q)→ψ(q)+v(x)⋅z^aHz^\psi(q) \to \psi(q) + \frac{v(x)\cdot\hat{z}}{aH}\hat{z}

A phenomenological Fingers-of-God (FoG) model convolves the redshift-space density along the line of sight with a mixture of a Dirac delta (centrals) and an exponential (satellites), parameterized by the satellite fraction δL2\delta_L^20 and velocity dispersion scale δL2\delta_L^21 (Ibáñez et al., 2024, Pellejero-Ibanez et al., 2022, Collaboration et al., 28 Jan 2026).

2. Simulation Suite and Cosmology-Rescaling

The emulator is trained on a simulation suite consisting of high-resolution, large-volume gravity-only N-body runs (e.g., δL2\delta_L^22 particles in δL2\delta_L^23Mpc boxes, δL2\delta_L^24), employing fixed-and-paired initial conditions to minimize sample variance (Angulo et al., 2020, Pellejero-Ibanez et al., 2022). Rather than rerunning simulations for every cosmological model, BACCO utilizes the Angulo & White cosmology-rescaling algorithm, extended to massive neutrinos and time-varying dark energy, to remap particle positions, velocities, and halo properties to thousands of target cosmologies. This results in coverage of an 8-dimensional cosmological parameter space:

δL2\delta_L^25

spanning δL2\delta_L^26 the 68% Planck uncertainties (Ibáñez et al., 2024, Angulo et al., 2020). Cross-spectra of Lagrangian basis fields—including all relevant bias and RSD terms—are measured in real and redshift space at each rescaled cosmology.

3. Neural-Network Emulator Design and Workflow

Emulation is performed by feed-forward neural networks. The general structure is:

  • Input: 8 cosmological parameters (optionally 7 baryonic parameters for baryonification).
  • Architecture: 2 hidden layers (200–400 neurons with ReLU activation), 1 output layer (principal-component amplitudes or cross-spectra).
  • Output: Principal component (PC) amplitudes that reconstruct the desired power spectra (monopole δL2\delta_L^27, quadrupole δL2\delta_L^28, hexadecapole δL2\delta_L^29, and cross-spectra s2s^20).

The emulator predicts the nonlinear galaxy power spectrum multipoles in redshift space as:

  1. Neural network predicts the set of 15 cross-spectra s2s^21 as functions of cosmology.
  2. These templates are linearly combined with Lagrangian bias weights to yield s2s^22.
  3. Legendre expansion obtains multipoles s2s^23 (s2s^24).
  4. FoG convolution and shot-noise corrections are applied.
  5. Alcock–Paczynski scaling is performed, and the model is evaluated in likelihood analyses (e.g., MultiNest, emcee) with typical evaluation times s2s^25 s (BOSS) or s2s^2610 ms (Euclid-like applications) (Ibáñez et al., 2024, Pellejero-Ibanez et al., 2022, Collaboration et al., 28 Jan 2026).

Emulator accuracy is at the sub-percent level for the monopole (s2s^270.5%), percent for the quadrupole, and at the 10% level for the hexadecapole, all below current BOSS data errors (Ibáñez et al., 2024).

4. Extensions: Baryonic Effects, Real-Space Tracers, Linear/Nonlinear Matter, and Modular Stacking

BACCO provides emulators for a variety of related observables:

  • Baryonic suppression: A dedicated "baryonification" emulator, trained on gravity-only N-body runs augmented with a baryonic algorithm, delivers s2s^28–s2s^29 precision on the ratio sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L0 across sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L1–sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L2 and sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L3–sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L4, with a 15-dimensional parameter input (8 cosmological, 7 baryonic) (Aricò et al., 2020).
  • Real-space biased tracers: A similar emulator predicts sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L5 and sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L6 for galaxies and matter using 15 cross-spectra and Lagrangian bias parameters, achieving sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L7 accuracy up to sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L8 at sij=∂i∂jÏ•L−13δijδLs_{ij} = \partial_i\partial_j\phi_L - \tfrac13\delta_{ij}\delta_L9 (Zennaro et al., 2021).
  • Linear/nonlinear matter spectra: Additional neural network emulators for ∇2δL\nabla^2\delta_L0 and nonlinear boost factors are included, covering identical parameter volumes, with ∇2δL\nabla^2\delta_L1 accuracy for ∇2δL\nabla^2\delta_L2 and sub-100 ms evaluation times (Angulo et al., 2020, Aricò et al., 2021).
  • Modular stacking: All BACCO emulators share conventions, interface structure, and k-grid, permitting seamless stacking (e.g., ∇2δL\nabla^2\delta_L3 add nonlinear ∇2δL\nabla^2\delta_L4 boost ∇2δL\nabla^2\delta_L5 add baryon correction ∇2δL\nabla^2\delta_L6 model galaxy bias) (Aricò et al., 2021).

5. Validation, Performance Metrics, and Applications

Validation employs mock catalogs (e.g., Nseries, BOSS-like HOD, SHAMe mocks, Euclid Flagship) and comparisons to analytic or other emulator-based predictions:

  • Accuracy: Guaranteed for ∇2δL\nabla^2\delta_L7 in BOSS analyses, ∇2δL\nabla^2\delta_L8 for high-density and mildly nonlinear tests, errors below the data statistical errors in all relevant regimes (Ibáñez et al., 2024, Pellejero-Ibanez et al., 2022).
  • Parameter recovery: Posteriors for ∇2δL\nabla^2\delta_L9 and nuisance parameters are unbiased, with stable errors across tested $1$0; $1$1 constraints from BOSS alone exhibit a $1$2–$1$3 tension with Planck, consistent with lower $1$4 from lensing analyses, but within overall compatibility (Ibáñez et al., 2024).
  • Comparison to PT models: Outperforms Effective Field Theory (EFT) at small scales ($1$5) and matches or surpasses alternatives such as VDG$1$6 up to $1$7 for unbiasedness, although VDG$1$8 provides marginally tighter constraints at higher $1$9 in some configurations (Collaboration et al., 28 Jan 2026).

6. Limitations and Future Development

Several limitations are noted in the literature:

  • Parameter volume: Performance degrades near the edges of training coverage; extension to new physics (e.g., non-flat cosmologies, exotic dark sectors) requires retraining with new simulation anchors (Pellejero-Ibanez et al., 2022).
  • Small-scale reliability: The Lagrangian hybrid expansion may break at δg(q)=b1 δL(q)+b2 (δL2(q)−⟨δL2⟩)+bs2(s2(q)−⟨s2⟩)+b∇2∇2δL(q)\delta_g(q) = b_1\,\delta_L(q) + b_2\,(\delta_L^2(q) - \langle\delta_L^2\rangle) + b_{s^2}(s^2(q) - \langle s^2\rangle) + b_{\nabla^2}\nabla^2\delta_L(q)0 or for highly sparse samples where shot-noise or unmodeled physics dominate (Pellejero-Ibanez et al., 2022).
  • Residual systematics: At high redshift and in the highest-precision hexadecapole, interpolation artifacts may appear; active work focuses on increasing k-bin resolution, anchor simulation density, or modifying neural architectures (Collaboration et al., 28 Jan 2026).
  • Stochastic terms: Shot noise is treated phenomenologically; further modeling of stochasticity or higher-order bias fields may be needed for next-generation data (Pellejero-Ibanez et al., 2022).

7. Software Distribution and Community Usage

The BACCO emulator suite is public and documented, with Python modules, Jupyter notebook examples, command-line interfaces, and support for embedding in standard inference workflows (emcee, MultiNest). Installation is via pip (pip install baccoemu or pip install bacco_emulator for the original version), with code repositories at http://www.dipc.org/bacco (Angulo et al., 2020, Aricò et al., 2021, Aricò et al., 2020, Pellejero-Ibanez et al., 2022). All necessary neural network weights, principal component bases, and reference cosmologies are included. Users are advised to respect the emulator's validated parameter bounds and to combine modules as needed for nonlinear, baryonic, and tracer-specific effects.

The BACCO emulator is used as a workhorse in full-shape power spectrum analyses of state-of-the-art galaxy surveys (e.g., BOSS, Euclid), providing a robust, rapid, and extensible solution for extracting precision cosmology from large-scale structure data (Ibáñez et al., 2024, Collaboration et al., 28 Jan 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to BACCO Emulator.