Autoencoding Galaxy Spectra I: Architecture

Peter Melchior, Yan Liang, ChangHoon Hahn, Andy Goulding
11/15/2022
astro-ph.IMastro-ph.GA

Official code: pmelchior/spender (53 stars, Python, MIT, last commit 2026-10-20).

Abstract

We introduce the neural network architecture SPENDER as a core differentiable building block for analyzing, representing, and creating galaxy spectra. It combines a convolutional encoder, which pays attention to up to 256 spectral features and compresses them into a low-dimensional latent space, with a decoder that generates a restframe representation, whose spectral range and resolution exceeds that of the observing instrument.

Show full abstract

The decoder is followed by explicit redshift, resampling, and convolution transformations to match the observations. The architecture takes galaxy spectra at arbitrary redshifts and is robust to glitches like residuals of the skyline subtraction, so that spectra from a large survey can be ingested directly without additional preprocessing. We demonstrate the performance of SPENDER by training on the entire spectroscopic galaxy sample of SDSS-II; show its ability to create highly accurate reconstructions with substantially reduced noise; perform deconvolution and oversampling for a super-resolution model that resolves the [OII] doublet; introduce a novel method to interpret attention weights as proxies for important spectral features; and infer the main degrees of freedom represented in the latent space. We conclude with a discussion of future improvements and applications.

View on arXivView PDF

Code Implementations(1)

pmelchior/spenderOfficial100%
MIT

Spectrum encoder and decoder

5318Python, Jupyter NotebookOct 25, 20211 months agoMIT
astronomyautoencoderspectroscopy

Similar Papers

Cite this paper

@article{melchior2022autoencoding,
  title  = {Autoencoding Galaxy Spectra I: Architecture},
  author = {Peter Melchior and Yan Liang and ChangHoon Hahn and Andy Goulding},
  year   = {2022},
  eprint = {2211.07890},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.07890}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.07890.svg)](https://codeofpaper.com/paper/2211.07890)

Discussion