A point cloud approach to generative modeling for galaxy surveys at the field level

Carolina Cuesta-Lazaro, Siddharth Mishra-SharmaarXiv 2023

TL;DR

Researchers have introduced a diffusion-based generative model that treats the distribution of galaxies as a point cloud rather than a pixelated grid. By modeling 3D coordinates and attributes (like mass and velocity) directly, this approach avoids information loss from binning and enables both the generation of realistic cosmic structures and the calculation of conditional likelihoods for cosmological parameters.

What Problem Does This Paper Address?

In cosmology, the "holy grail" is to obtain a reliable likelihood of an observed galaxy configuration given a set of physical parameters. Traditionally, scientists rely on summary statistics like the two-point correlation function (2PCF). However, these statistics are "insufficient"—they don't capture all the information present in the complex, non-linear cosmic web, especially at small scales.

To use modern machine learning, researchers often "voxelize" data, turning point-like galaxies into 3D pixels. This introduces arbitrary scale cuts and hyperparameter choices that can smudge out important details. This paper proposes a "field-level" approach that works directly with the raw point data, preserving the full spatial information of the galaxy distribution.

Methods

The authors adapt Diffusion Models—the same technology behind DALL-E and Midjourney—to the unique requirements of cosmological data.

  1. Point Cloud Representation: Instead of an image, the data is a set of $N$ points, each with features like $(x, y, z)$ coordinates, velocities, and masses.
  2. Diffusion Process:
    • Forward: Gradually adds Gaussian noise to the galaxy positions until they become a featureless cloud.
  3. Reverse (Denoising): A neural network is trained to reverse this process, starting from random noise and iteratively "cleaning" it to recover a realistic galaxy distribution.
  4. Backbones: They test two neural architectures to drive the denoising:
  5. Graph Neural Networks (GNNs): These build a local $k$-nearest neighbors graph, making them naturally suited for irregular point distributions.
  6. Transformers: Specifically, a decoder-only transformer that treats the galaxies as a set, ensuring the model doesn't care about the order in which galaxies are listed (permutation equivariance).
  7. Conditioning: The model is conditioned on cosmological parameters (like matter density $\Omega_m$ and the amplitude of fluctuations $\sigma_8$), allowing it to learn how these physical constants change the resulting "look" of the Universe.
Figure 1. A schematic overview of the point cloud diffusion model, showing samples from the diffusion process at different diffusion times. During training, noise is added to a data sample x using the diffusion kernel q(zt | x) and a denoising distribution pφ (zt−1 | zt) is learned. To generate samples, we simulate the reverse process – we sample noise from a standard Gaussian distribution and denoise it iteratively using the learned denoising distribution. 6

Datasets

The model was trained and evaluated using the Quijote simulation suite, a massive set of N-body simulations designed for machine learning applications in cosmology.

  • Training Data: 1,800 simulations from a "Latin Hypercube" set where five cosmological parameters are varied simultaneously.
  • Focus: The heaviest 5,000 dark matter halos per simulation box (1 $h^{-1}$ Gpc on a side).
  • Parameters: The model focuses on varying $\Omega_m$ (matter density) and $\sigma_8$ (fluctuation amplitude), while implicitly marginalizing over others like the Hubble constant ($h$).

Key Insights and Ideas

  • Likelihood Estimation: Unlike many generative models (like GANs), diffusion models can provide an approximate log-likelihood (via the Evidence Lower Bound, or ELBO). This is critical for scientific inference, as it allows researchers to ask, "How likely is our actual Universe given this specific theory?"
  • Attribute Joint Modeling: The model doesn't just place points; it learns the complex relationship between where a halo is, how fast it's moving, and how heavy it is.
  • Permutation Equivariance: By using GNNs and Transformers without positional encodings, the model inherently understands that the "labels" of galaxies are arbitrary, which is a fundamental symmetry of the problem.
Figure 2. Examples of point clouds generated from the trained position-only diffusion model (top row) and those from the test set (bottom row), with each column corresponding to the same set of cosmological parameters, indicated. The generated point clouds are drawn from the same random seeds. 6

Key Results

  • Statistical Fidelity: The model successfully reproduces standard clustering metrics like the 2PCF and $k$-nearest neighbor distributions across different cosmologies.
  • Joint Distributions: When trained on positions, velocities, and masses, the model faithfully captures the mean pairwise velocity and the halo mass function.
  • Inference: The authors demonstrated that the model could recover the "true" cosmological parameters from a held-out test sample by maximizing the calculated likelihood.
Figure 3. Example of a point cloud generated from the diffusion model trained on positions, velocities, and masses (top row) and those from the test set (bottom row). Grey arrows correspond to the position and relative magnitude of velocities, and the the size of the individual points is proportional to the masses of the galaxies. 6

Limitations and Future Work

  • Calibration: While the likelihood profiles peak at the correct values, they are currently "overconfident" (poorly calibrated). The authors attribute this to the relatively small training set (1,800 samples).
  • Large-Scale Correlations: The model struggles to perfectly capture very large-scale features, like the Baryon Acoustic Oscillation (BAO) peak. Future work might involve hierarchical diffusion to handle multiple scales more effectively.
  • Physical Symmetries: Currently, symmetries like rotation and translation are handled via data augmentation. "Baking" these symmetries directly into the architecture (using equivariant GNNs) could make the model much more data-efficient.
  • Periodic Boundaries: The current diffusion process doesn't explicitly "know" the box is periodic, though the GNN neighbor search does. Integrating periodic boundary conditions into the diffusion kernel itself is a noted area for improvement.

Summary updated

BibTeX
@misc{cuestalazaro2023point,
  author = {Carolina Cuesta-Lazaro and Siddharth Mishra-Sharma},
  title = {{A point cloud approach to generative modeling for galaxy surveys at the field level}},
  year = {2023},
  eprint = {2311.17141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.17141},
}
Figure