Effectively using unsupervised machine learning in next generation astronomical surveys

Itamar Reis, Michael Rotman, Dovi Poznanski, J. Xavier Prochaska, Lior Wolf · DOI

Abstract

As astronomical surveys enter the "Big Data" era, the volume of spectral data exceeds the capacity for manual human inspection. Unsupervised machine learning (ML) offers a potential solution for automated anomaly detection, yet these models often exhibit significant "brittleness," where different algorithms identify largely non-overlapping sets of outliers. This paper presents a comparative study of four anomaly detection methods applied to 150,000 SDSS galaxy spectra. We find a striking lack of consensus among models, with typical overlaps of only ~4% in their top-ranked anomalies. We propose shifting the role of unsupervised ML from an automated "judge" to an "interactive lens," using dimensionality reduction on spectral subspaces to create interpretable 2D maps for human exploration. This approach successfully identified rare phenomena such as gas outflows, infalling gas, and misclassified supernovae.

Introduction

The transition to "Big Data" in astronomy, exemplified by the Sloan Digital Sky Survey (SDSS) and upcoming projects like DESI, necessitates a shift away from traditional visual inspection. While unsupervised ML is often touted as the key to discovering rare objects, its application is complicated by the high dimensionality of astronomical data and the lack of ground truth for what constitutes an "anomaly."

The Challenge of Model Consensus

A core finding of this research is the inherent instability of unsupervised anomaly detection. When comparing methods such as PCA reconstruction error, Unsupervised Random Forests (URF), Fisher Vectors, and Isolation Forests, there is remarkably little agreement on which objects are the most anomalous.

Figure 1: Conceptual illustration of the lack of consensus between different ML models. While random subgroups of data show high overlap (top), different ML algorithms or even variations of the same algorithm (bottom) flag largely distinct sets of objects as anomalies.

As illustrated in Figure 1, the overlap between the "top 500" anomalies of any two methods is typically only around 20 objects. This suggests that any single algorithm captures only a small fraction of the total anomalous population, estimated to be roughly 6% of the SDSS dataset. This "brittleness" means that relying on a single model's top-ranked list is likely to miss the vast majority of interesting objects.

Methods and Interactive Visualization

To address this, the authors developed an interactive portal that utilizes UMAP (Uniform Manifold Approximation and Projection) to project high-dimensional spectra into 2D maps. Rather than analyzing the entire spectrum at once, the tool focuses on specific "subspaces"—limited wavelength ranges corresponding to known physical features. This allows the ML to act as a "lens," organizing the data into clusters that are physically meaningful to human researchers.

Qualitative Discoveries

Using this "lens" approach on 150,000 high-SNR galaxy spectra from SDSS DR14, several rare astrophysical phenomena were identified. The spectra cover a wavelength range of 3700Å to 8000Å, providing a rich dataset for exploration.

Figure 6: A typical SDSS galaxy spectrum with key emission and absorption lines identified. By focusing on specific subspaces like the NaI D absorption lines, the interactive portal allows researchers to identify rare features such as gas outflows or misclassified objects.

For instance, by examining maps focused on the NaI D lines (visible in Figure 6), researchers identified galaxies with strongly blueshifted absorption, indicating outflowing gas. The tool also revealed redshifted lines (infalling gas) and even Type Ia Supernovae that had been misclassified as galaxies by standard automated pipelines. Users can also "stack" spectra along a path in the 2D map to observe how physical properties, such as the transition from star formation to AGN activity, change continuously across the population.

Conclusion and Future Work

The future of discovery in large-scale surveys lies not in finding a single "perfect" algorithm, but in leveraging an ensemble of ML models to provide multiple perspectives on the data. While the current portal requires human-in-the-loop inspection, it significantly accelerates the discovery process. Future work will focus on scaling these tools to the tens of millions of spectra expected from DESI and SDSS-V, potentially integrating citizen science platforms to help vet the anomalies identified by the ML lenses.

Summary updated

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