Enabling Dark Energy Science with Deep Generative Models of Galaxy Images

Siamak Ravanbakhsh, François Lanusse, Rachel Mandelbaum, Jeff G. Schneider, Barnabás Póczos

Abstract

Understanding the nature of dark energy, the mysterious force driving the accelerated expansion of the Universe, is a major challenge of modern cosmology. The next generation of cosmological surveys, specifically designed to address this issue, rely on accurate measurements of the apparent shapes of distant galaxies. However, shape measurement methods suffer from various unavoidable biases and therefore will rely on a precise calibration to meet the accuracy requirements of the science analysis. This calibration process remains an open challenge as it requires large sets of high quality galaxy images. To this end, we study the application of deep conditional generative models in generating realistic galaxy images. In particular we consider variations on conditional variational autoencoder and introduce a new adversarial objective for training of conditional generative networks. Our results suggest a reliable alternative to the acquisition of expensive high quality observations for generating the calibration data needed by the next generation of cosmological surveys.

The "Data Hunger" in Modern Cosmology

We live in an accelerating universe, a phenomenon attributed to "dark energy." To study it, upcoming flagship projects like the Vera C. Rubin Observatory (LSST) and the Euclid mission rely on weak gravitational lensing. This effect occurs when the gravity of massive structures, such as dark matter, slightly bends the light from distant galaxies, subtly "shearing" their observed shapes.

The complex path of light from distant galaxies to a detector, illustrating the various sources of distortion and noise that complicate shape measurement.

The challenge is that this lensing signal is incredibly tiny—much smaller than the distortions caused by Earth’s atmosphere, telescope optics, and sensor noise. To extract the real signal, scientists need shape-measurement algorithms that are perfectly calibrated. Calibration requires millions of high-resolution galaxy images where the "true" shape is known. Currently, the community relies on the Hubble Space Telescope (specifically the COSMOS survey) for this data. However, Hubble's field of view is small, and its data is a scarce resource. We simply lack enough real, high-quality images to calibrate the next generation of billion-dollar surveys.

Deep Generative Solutions

To address this data scarcity, researchers at Carnegie Mellon University propose using deep generative models to "augment" the supply of high-quality galaxy images. They explored two primary architectures:

1. Conditional Variational Autoencoder (C-VAE)

The C-VAE learns a compressed "latent space" representation of galaxies. By conditioning the model on physical parameters like size, brightness, and redshift, the model can be forced to generate a galaxy with specific properties.

  • Innovation: The authors introduced a cross-correlation penalty to ensure the latent variables (random features) are truly independent of the conditional physical parameters. This prevents the model from "cheating" and makes the generation process more controllable.

2. Conditional GAN (C-GAN)

Standard Generative Adversarial Networks (GANs) use a "Discriminator" to distinguish real from fake.

  • Innovation: Standard GANs proved unstable for continuous physical variables. The authors introduced a Predictor-based objective. Instead of a binary real/fake check, they use a "Predictor" network that attempts to guess the galaxy's physical parameters from the image. The Generator succeeds if it creates an image that allows the Predictor to accurately recover the intended parameters.

Validating the "Physics Turing Test"

For a generated galaxy image to be scientifically useful, it must do more than just look real to a human; it must match the statistical distributions of "second moments" (ellipticity and size) used by astronomers.

Comparison between real galaxy images from the COSMOS survey and images generated by the deep learning models, showing high visual and morphological fidelity.

The results demonstrate high statistical fidelity. The generated galaxies' distributions of ellipticity and size closely matched the real COSMOS data, suggesting the models are learning the underlying physics of galaxy shapes rather than just memorizing images.

Interestingly, the C-VAE naturally produces "clean," noiseless images. While this might look "fake" to the eye, it is actually a feature for astronomers. They can take these clean "ideal" galaxies and then deterministically add atmospheric blur and sensor noise using existing simulation tools like GalSim to create perfectly controlled training sets.

Future Outlook

While these models show great promise, challenges remain. Like many VAE-based approaches, images can be slightly blurry, and GANs still face "mode collapse," where the model might repeat a few "safe" patterns. Future work will focus on verifying higher-order morphological features (like "clumpiness") and learning the complex noise patterns of specific telescopes directly. Nonetheless, these deep generative models provide a reliable path toward the precise calibration needed to unlock the secrets of dark energy.

Summary updated

BibTeX
@inproceedings{ravanbakhsh2017enabling,
  author = {Siamak Ravanbakhsh and François Lanusse and Rachel Mandelbaum and Jeff G. Schneider and Barnabás Póczos},
  title = {{Enabling Dark Energy Science with Deep Generative Models of Galaxy Images}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10755},
}
Figure