The cosmic microwave background power spectra are a primary window into the early universe. However, achieving interpretable, likelihood-compatible compression and fast inference under weak model assumptions remains challenging. We propose a parameter-conditioned variational autoencoder (CVAE) that aligns a data-driven latent representation with cosmological parameters while remaining compatible with standard likelihood analyses. The model achieves high-fidelity compression of the , , and spectra into just 5 latent dimensions, with reconstruction accuracy exceeding within Planck uncertainties. It reliably reconstructs spectra for beyond-CDM scenarios, even under parameter extrapolation, and enables rapid inference, reducing the computation time from 40 hours to 2 minutes while maintaining posterior consistency. The learned latent space demonstrates a physically meaningful structure, capturing a distributed representation that mirrors known cosmological parameters and their degeneracies. Moreover, it supports highly effective unsupervised discrimination among cosmological models, achieving performance competitive with supervised approaches. Overall, this physics-informed CVAE enables anomaly detection beyond CDM and points to physically meaningful directions for refinement.

生成讲解博客的中文版本

生成AI智能校验的中文版本