CosmoBench: A Multiscale, Multiview, Multitask Cosmology Benchmark for Geometric Deep Learning

Ningyuan Teresa Huang, Richard Stiskalek, Jun-Young Lee, Adrian E. Bayer, Charles Margossian, Christian Kragh Jespersen, Lucia A. Perez, Lawrence K. Saul, Francisco Villaescusa-NavarroNeurIPS 2025 · DOI

Introduction

CosmoBench is a massive new benchmark dataset designed to bridge the gap between cosmology and geometric deep learning. By providing over 34,000 point clouds and 25,000 directed graphs (merger trees) from state-of-the-art simulations, it challenges the machine learning community to tackle key cosmological tasks. Modern cosmology relies heavily on computational simulations that generate petabytes of data, naturally structured as point clouds (3D spatial distribution of galaxies) and directed trees (merger histories).

Datasets and Modalities

CosmoBench is curated from three state-of-the-art simulation suites (Quijote, CAMELS-SAM, and CAMELS) that required over 41 million core-hours. The benchmark includes:

  • Point Clouds: 34,000 graphs representing dark matter halos or galaxies across three spatial scales (1,000 Mpc/h to 25 Mpc/h).
  • Directed Trees (CS-Trees): 25,000 "merger trees" tracking the formation history of dark matter halos over time.
Evolution of the cosmic web across three modalities: density fields, point clouds, and merger trees.

The benchmark formalizes three primary tasks: predicting cosmological parameters ($\Omega_m$ and $\sigma_8$), predicting 3D galaxy velocities, and reconstructing missing nodes in merger trees (graph super-resolution).

Methods and Baselines

The paper establishes a wide spectrum of baselines to evaluate how different approaches stack up:

  • Traditional Cosmology Baselines: Statistical methods like the Two-Point Correlation Function (2PCF) and Linear Theory.
  • Simple Machine Learning: Linear Least Squares (LLS) using symmetry-constrained features, such as empirical distributions of pairwise distances.
  • Deep Learning: DeepSets and Graph Neural Networks (GNNs) utilizing message-passing schemes, including variants operating on higher-order combinatorial complexes.

Key Insights

A surprising finding is that simplicity scales beautifully. On large spatial scales (Quijote), simple LLS models using invariant pairwise-distance features performed as well as or better than complex GNNs. This is because the universe's structure at massive scales is relatively linear, making heavy parameterization unnecessary. However, deep learning shines in the non-linear regime. As the datasets zoom in on smaller, denser regions (CAMELS), GNNs pull ahead by capturing complex local interactions.

Key Results

The performance metrics reveal a stark contrast in efficiency. On the Quijote point clouds, the lightweight LLS model predicted $\Omega_m$ with an $R^2$ of 0.83 in just 24 seconds. In contrast, the GNN achieved an $R^2$ of 0.80 but required a full day of training.

Performance comparison ($R^2$) and training efficiency across different datasets and models.

In velocity prediction on CAMELS-SAM, GNNs (0.2865 $R^2$) outperformed both LLS (0.2107) and the linear theory "oracle" (0.2372). For merger tree reconstruction, GNNs and k-NN models vastly outperformed the traditional physics-based EPS algorithm (63% and 61% accuracy vs 53%).

Limitations and Future Work

While Quijote is large, high-resolution datasets like CAMELS contain only 1,000 graphs, posing overfitting risks for large models. Furthermore, there is a "sim-to-real" gap; real observations include noise and complex survey geometries not yet present in CosmoBench. Future work aims to incorporate "survey realism" and hybrid models that bake physical laws directly into neural architectures.

Summary updated

BibTeX
@misc{huang2025cosmobench,
  author = {Ningyuan Teresa Huang and Richard Stiskalek and Jun-Young Lee and Adrian E. Bayer and Charles Margossian and Christian Kragh Jespersen and Lucia A. Perez and Lawrence K. Saul and Francisco Villaescusa-Navarro},
  title = {{CosmoBench: A Multiscale, Multiview, Multitask Cosmology Benchmark for Geometric Deep Learning}},
  year = {2025},
  eprint = {2507.03707},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.03707},
}
Figure