Accelerated Bayesian SED Modeling using Amortized Neural Posterior Estimation

ChangHoon Hahn, Peter Melchior
3/14/2022
astro-ph.GAastro-ph.COstat.ML
bayesian

Official code: changhoonhahn/SEDflow (25 stars, Jupyter Notebook, MIT, last commit 2025-12-11).

Abstract

State-of-the-art spectral energy distribution (SED) analyses use a Bayesian framework to infer the physical properties of galaxies from observed photometry or spectra. They require sampling from a high-dimensional space of SED model parameters and take $>10-100$ CPU hours per galaxy, which renders them practically infeasible for analyzing the $billions$ of galaxies that will be observed by upcoming galaxy surveys ($e.g.$ DESI, PFS, Rubin, Webb, and Roman).

Show full abstract

In this work, we present an alternative scalable approach to rigorous Bayesian inference using Amortized Neural Posterior Estimation (ANPE). ANPE is a simulation-based inference method that employs neural networks to estimate the posterior probability distribution over the full range of observations. Once trained, it requires no additional model evaluations to estimate the posterior. We present, and publicly release, ${\rm SED}{flow}$, an ANPE method to produce posteriors of the recent Hahn et al. (2022) SED model from optical photometry. ${\rm SED}{flow}$ takes ${\sim}1$ $second~per~galaxy$ to obtain the posterior distributions of 12 model parameters, all of which are in excellent agreement with traditional Markov Chain Monte Carlo sampling results. We also apply ${\rm SED}{flow}$ to 33,884 galaxies in the NASA-Sloan Atlas and publicly release their posteriors: see https://changhoonhahn.github.io/SEDflow.

View on arXivView PDF

Code Implementations(1)

MIT

Accelerated Bayesian SED modeling using Amortized Neural Posterior Estimation

250Jupyter Notebook, PythonDec 3, 202111 months agoMIT

Similar Papers

Cite this paper

@article{hahn2022accelerated,
  title  = {Accelerated Bayesian SED Modeling using Amortized Neural Posterior Estimation},
  author = {ChangHoon Hahn and Peter Melchior},
  year   = {2022},
  eprint = {2203.07391},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.07391}
}

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/2203.07391.svg)](https://codeofpaper.com/paper/2203.07391)

Discussion