Learning an Astronomical Catalog of the Visible Universe through Scalable Bayesian Inference

Jeffrey Regier, Kiran Pamnany, Ryan Giordano, Rollin C. Thomas, David Schlegel, Jon McAuliffe, PrabhatarXiv 2016

Introduction

Mapping the universe is a monumental data challenge. Modern astronomical surveys, such as the Large Synoptic Survey Telescope (LSST), generate over 15 terabytes of imagery daily. Traditionally, astronomers have relied on fast but approximate "heuristic" algorithms to catalog stars and galaxies. While efficient, these methods often struggle with overlapping light sources and fail to provide rigorous uncertainty estimates.

Researchers have addressed this by developing a scalable, parallel version of Celeste, a Bayesian inference tool. By leveraging the Julia programming language and advanced optimization techniques, the team has transformed Bayesian posterior inference—traditionally a computationally expensive process—into a high-performance computing (HPC) powerhouse capable of processing terabytes of data with superior accuracy.

The Celeste Model

Celeste models the physical process of how light from multiple sources reaches individual pixels. Unlike heuristics that may ignore overlapping regions or "co-add" images (losing vital metadata), Celeste uses a probabilistic graphical model to incorporate prior astrophysical knowledge and provide clear confidence intervals.

The probabilistic graphical model of Celeste, illustrating the relationship between light sources, images, and pixels.

Computational Methods

To scale Celeste to handle modern datasets, the authors implemented several key strategies:

  • Variational Inference (VI): Rather than using slow Markov Chain Monte Carlo (MCMC) sampling, the team treated inference as an optimization problem via VI.
  • Newton’s Method with Manual Calculus: To accelerate optimization, the researchers moved away from standard L-BFGS routines. By manually deriving and implementing gradients and Hessians, they achieved machine tolerance in fewer than 50 iterations.
  • The Julia Language: The entire system is written in Julia, proving that a high-level, dynamic language can achieve performance competitive with C++ and Fortran while maintaining readability.
  • Parallel Work Decomposition: The system uses a two-tier parallelism strategy: Dtree for dynamic load balancing of tasks (individual light sources) and a Global Arrays (PGAS) model to distribute massive image data across the memory of thousands of nodes.

Scaling and Performance

The system demonstrated near-perfect scaling up to 64 nodes (2048 cores) and continued to scale effectively up to 256 nodes (8192 cores) on the NERSC Cori supercomputer. However, the researchers identified a significant "Amdahl’s Law" bottleneck: Julia’s serial Garbage Collector (GC). As shown in the performance breakdown, the need for all threads to pause and synchronize for GC limits multi-threading efficiency beyond 4–6 threads per process.

Performance breakdown across nodes, highlighting the impact of garbage collection (GC) time and other overheads on total execution time.

Key Results and Accuracy

Using the Sloan Digital Sky Survey (SDSS) Data Release 12 as a primary dataset, the researchers validated Celeste against "Stripe 82," a region with high-quality ground truth data. Celeste achieved remarkable improvements over the industry-standard "Photo" pipeline:

  • Location Accuracy: Reduced the error rate for locating celestial objects by nearly 30%.
  • Color Precision: Outperformed the baseline by at least 30% across all four astronomical color bands, providing more reliable data for downstream research.

Conclusion and Future Work

This work serves as a major case study for the viability of Julia in supercomputing. It demonstrates that Bayesian models, when properly optimized and parallelized, can outperform traditional heuristics at scale. Future efforts will focus on global optimization of all sources simultaneously and applying Celeste to even deeper surveys, such as the Dark Energy Camera Legacy Survey (DECaLS), to further map the visible universe.

Summary updated

BibTeX
@misc{regier2016learning,
  author = {Jeffrey Regier and Kiran Pamnany and Ryan Giordano and Rollin C. Thomas and David Schlegel and Jon McAuliffe and Prabhat},
  title = {{Learning an Astronomical Catalog of the Visible Universe through Scalable Bayesian Inference}},
  year = {2016},
  eprint = {1611.03404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.03404},
}
Figure