A general polynomial emulator for cosmology via moment projection
Zheng Zhang
TL;DR
MomentEmu introduces a moment-projection based polynomial emulator to rapidly map cosmological theory parameters $\boldsymbol{\theta}$ to observables $\boldsymbol{y}$ with symbolic, interpretable expressions. It constructs moment matrices from training data to fit multivariate polynomials, enabling both forward predictions and inverse parameter inference at low cost and with explicit error control. Applied to CMB physics, PolyCAMB-$D_\ell$ and PolyCAMB-peak achieve sub-percent accuracy over large ranges (up to $\ell\le 4050$) and enable millisecond-scale evaluations, delivering Planck-likelihood-based posteriors with substantial speedups over CAMB. The approach offers a lightweight, portable surrogate with transparent functional forms, diagnostic power, and potential extension to broader forward-modeling tasks in cosmology.
Abstract
We present MomentEmu, a general-purpose polynomial emulator for fast and interpretable mappings between theoretical parameters and observational features. The method constructs moment matrices to project simulation data onto polynomial bases, yielding symbolic expressions that approximate the target mapping. Compared to neural-network-based emulators, MomentEmu offers negligible training cost, millisecond-level evaluation, and transparent functional forms. As a proof-of-concept demonstration, we develop two emulators: PolyCAMB-$D_\ell$, which maps six cosmological parameters to the CMB power spectra (TT, EE, BB, TE), and PolyCAMB-peak, which enables a bidirectional mapping between the cosmological parameters and the acoustic peak features of $D_\ell^{\rm TT}$. PolyCAMB-$D_\ell$ achieves sub-percent accuracy over multipoles $\ell \leq 4050$, while PolyCAMB-peak also attains comparable precision and produces symbolic forms consistent with known analytical approximations. The method is well suited for forward modelling, parameter inference, and uncertainty propagation, particularly when the parameter space is moderate in dimensionality and the mapping is smooth. MomentEmu offers a lightweight and portable alternative to regression-based or black-box emulators in cosmological analysis.
