TY - JOUR
T1 - As Simple as Possible but No Simpler
T2 - Optimizing the Performance of Neural Net Emulators for Galaxy SED Fitting
AU - Mathews, Elijah P.
AU - Leja, Joel
AU - Speagle, Joshua S.
AU - Johnson, Benjamin D.
AU - Gibson, Justus
AU - Nelson, Erica J.
AU - Suess, Katherine A.
AU - Tacchella, Sandro
AU - Whitaker, Katherine E.
AU - Wang, Bingjie
N1 - Publisher Copyright:
© 2023. The Author(s). Published by the American Astronomical Society.
PY - 2023/9/1
Y1 - 2023/9/1
N2 - Artificial neural network emulators have been demonstrated to be a very computationally efficient method to rapidly generate galaxy spectral energy distributions, for parameter inference or otherwise. Using a highly flexible and fast mathematical structure, they can learn the nontrivial relationship between input galaxy parameters and output observables. However, they do so imperfectly, and small errors in flux prediction can yield large differences in recovered parameters. In this work, we investigate the relationship between an emulator’s execution time, uncertainties, correlated errors, and ability to recover accurate posteriors. We show that emulators can recover consistent results to traditional fits, with a precision of 25%-40% in posterior medians for stellar mass, stellar metallicity, star formation rate, and stellar age. We find that emulation uncertainties scale with an emulator’s width N as ∝N −1, while execution time scales as ∝N 2, resulting in an inherent tradeoff between execution time and emulation uncertainties. We also find that emulators with uncertainties smaller than observational uncertainties are able to recover accurate posteriors for most parameters without a significant increase in catastrophic outliers. Furthermore, we demonstrate that small architectures can produce flux residuals that have significant correlations, which can create dangerous systematic errors in colors. Finally, we show that the distributions chosen for generating training sets can have a large effect on an emulator’s ability to accurately fit rare objects. Selecting the optimal architecture and training set for an emulator will minimize the computational requirements for fitting near-future large-scale galaxy surveys. We release our emulators on GitHub (http://github.com/elijahmathews/MathewsEtAl2023).
AB - Artificial neural network emulators have been demonstrated to be a very computationally efficient method to rapidly generate galaxy spectral energy distributions, for parameter inference or otherwise. Using a highly flexible and fast mathematical structure, they can learn the nontrivial relationship between input galaxy parameters and output observables. However, they do so imperfectly, and small errors in flux prediction can yield large differences in recovered parameters. In this work, we investigate the relationship between an emulator’s execution time, uncertainties, correlated errors, and ability to recover accurate posteriors. We show that emulators can recover consistent results to traditional fits, with a precision of 25%-40% in posterior medians for stellar mass, stellar metallicity, star formation rate, and stellar age. We find that emulation uncertainties scale with an emulator’s width N as ∝N −1, while execution time scales as ∝N 2, resulting in an inherent tradeoff between execution time and emulation uncertainties. We also find that emulators with uncertainties smaller than observational uncertainties are able to recover accurate posteriors for most parameters without a significant increase in catastrophic outliers. Furthermore, we demonstrate that small architectures can produce flux residuals that have significant correlations, which can create dangerous systematic errors in colors. Finally, we show that the distributions chosen for generating training sets can have a large effect on an emulator’s ability to accurately fit rare objects. Selecting the optimal architecture and training set for an emulator will minimize the computational requirements for fitting near-future large-scale galaxy surveys. We release our emulators on GitHub (http://github.com/elijahmathews/MathewsEtAl2023).
UR - http://www.scopus.com/inward/record.url?scp=85170059155&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85170059155&partnerID=8YFLogxK
U2 - 10.3847/1538-4357/ace720
DO - 10.3847/1538-4357/ace720
M3 - Article
AN - SCOPUS:85170059155
SN - 0004-637X
VL - 954
JO - Astrophysical Journal
JF - Astrophysical Journal
IS - 2
M1 - 132
ER -