Effectively using unsupervised machine learning in next generation\n astronomical surveys

Itamar Reis, Michael Rotman, D. Poznanski, J. X. Prochaska, Lior Wolf · DOI

TL;DR

Unsupervised machine learning is a powerful tool for finding rare objects in massive astronomical datasets, but different algorithms rarely agree on what is "unusual." This paper argues that instead of searching for a single "optimal" model, astronomers should use interactive visualization portals to explore multiple machine-learned perspectives of the data, leading to more robust and diverse scientific discoveries.

What Problem Does This Paper Address?

Astronomy is entering the era of "Big Data." While the Sloan Digital Sky Survey (SDSS) collected spectra for about 3 million galaxies over two decades, next-generation surveys like DESI will collect 10 times that amount in a fraction of the time. Human experts can no longer visually inspect every data point.

Unsupervised Machine Learning (ML)—specifically anomaly detection and dimensionality reduction—is the natural solution to help prioritize what to look at. However, these methods are notoriously "brittle." A small change in a hyperparameter or the choice between two different algorithms (like PCA vs. Isolation Forest) can result in completely different lists of "anomalous" objects. In high-dimensional space, there are many "right" answers, and picking just one risks missing 95% of the interesting phenomena.

Methods

The authors tackle this inconsistency by shifting the goal from "finding the best model" to "facilitating human exploration." Their approach involves:

  1. Anomaly Detection Benchmarking: They compared four popular methods: PCA reconstruction error, Unsupervised Random Forest (URF), Fisher Vector-based detection, and Isolation Forest.
  2. Statistical Overlap Analysis: By looking at how much different algorithms agree, they developed a method to estimate the total number of anomalies in a dataset.
  3. Dimensionality Reduction via UMAP: They used Uniform Manifold Approximation and Projection (UMAP) to project complex spectra into intuitive 2D maps.
  4. Subspace Exploration: Instead of running ML on the entire spectrum at once, they applied it to specific wavelength "subspaces" (e.g., regions containing specific chemical lines). This prevents subtle features from being washed out by the overall shape of the spectrum.
  5. Interactive Visualization: They built a web-based portal (galaxyportal.space) using the Bokeh library, allowing users to click through maps, stack spectra, and identify trends in real-time.

Datasets

The study utilizes a sample of 150,000 high-quality galaxy spectra from the Sloan Digital Sky Survey (SDSS) Data Release 14 (DR14). These spectra cover a wavelength range of 3700Å to 8000Å and represent the highest signal-to-noise ratio (SNR) objects in the catalog.

Key Insights and Ideas

  • The Diversity of "Weird": The authors found that the top 500 anomalies identified by two different algorithms might only overlap by ~20 objects. This suggests that any single ML method is just a "sample" of the possible discoveries.
  • The 5% Problem: Based on their overlap statistics, they estimate the SDSS sample contains roughly 10,000 "true" anomalies. However, any single optimized algorithm only catches about 5% of them.
  • Subspaces are Lenses: By focusing UMAP on a specific wavelength region (like the NaI D doublet), the algorithm acts as a specialized lens. It can group galaxies by physical properties—like gas outflows or infalls—that are invisible when looking at the "global" spectrum.
  • Human-in-the-Loop: The paper emphasizes that ML shouldn't replace the astronomer but should act as a sophisticated "sorting hat" that brings the most interesting data to the surface for human intuition to interpret.

Key Results

  • Discovery of Rare Phenomena: Using their portal, the authors quickly identified several classes of rare objects, including:
  • Extreme Outflows: Galaxies with massive blueshifted NaI D lines, indicating gas being blown out of the galaxy.
  • Hidden Supernovae: Type Ia supernova signatures "hidden" within otherwise normal-looking galaxy spectra.
  • Misclassifications: White dwarfs and quasars that the standard SDSS pipeline had incorrectly labeled as galaxies.
  • Trend Detection: The interactive maps allowed the authors to "stack" (average) spectra along specific geometric paths in the 2D projection, revealing smooth physical transitions in line widths and ratios that weren't obvious in the raw catalog data.

Limitations and Future Work

  • Manual Subspace Selection: Currently, the wavelength regions (subspaces) are defined manually by the researchers based on known physics. Future work could involve automated "interesting" subspace detection.
  • Scalability: While the portal works well for 150,000 objects, scaling to the 30 million+ spectra expected from surveys like DESI or LSST will require significant backend optimization and more efficient data handling.
  • Subjectivity: "Anomaly" remains a subjective term. What is an anomaly to a cosmologist might be "noise" to a stellar chemist. The authors suggest that future portals should allow users to define their own "distance metrics" for similarity.

Summary updated

BibTeX
@article{reis2021effectively,
  author = {Itamar Reis and Michael Rotman and D. Poznanski and J. X. Prochaska and Lior Wolf},
  title = {{Effectively using unsupervised machine learning in next generation\textbackslash\{\}n astronomical surveys}},
  journal = {Astron. Comput.},
  year = {2021},
  doi = {10.1016/j.ascom.2020.100437},
}
Figure