Autoencoding Galaxy Spectra. II. Redshift Invariance and Outlier Detection
Abstract
We present an unsupervised outlier detection method for galaxy spectra based on the spectrum autoencoder architecture SPENDER, which reliably captures spectral features and provides highly realistic reconstructions for SDSS galaxy spectra. We interpret the sample density in the autoencoder latent space as a probability distribution, and identify outliers as low-probability objects with a normalizing flow. However, we found that the latent-space position is not, as expected from the architecture, redshift invariant, which introduces stochasticity into the latent space and the outlier detection method. We solve this problem by adding two novel loss terms during training, which explicitly link latent-space distances to data-space distances, preserving locality in the autoencoding process. Minimizing the additional losses leads to a redshift-invariant, nondegenerate latent-space distribution with clear separations between common and anomalous data. We inspect the spectra with the lowest probability and find them to include blends with foreground stars, extremely reddened galaxies, galaxy pairs and triples, and stars that are misclassified as galaxies. We release the newly trained SPENDER model and the latent-space probability for the entire SDSS-I galaxy sample to aid further investigations.
- Publication:
-
The Astronomical Journal
- Pub Date:
- August 2023
- DOI:
- 10.3847/1538-3881/ace100
- arXiv:
- arXiv:2302.02496
- Bibcode:
- 2023AJ....166...75L
- Keywords:
-
- Galaxies;
- Spectroscopy;
- Astrostatistics;
- 573;
- 1558;
- 1882;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Astrophysics - Astrophysics of Galaxies
- E-Print:
- 12 pages, 7 figures, submitted to AJ. Code available at https://github.com/pmelchior/spender