Bayesian classification of astronomical spectra with class uncertainties
Simon Barton, Martin Sahlén, Andreas Korn, Christian Glaser
Key points
From the paper's conclusion- Developed a probabilistic machine learning method for classifying astronomical spectra with class uncertainties.
- Trained a CNN with 20,000 parameters achieving 91.5-92.8% accuracy on SDSS and 4MOST mock data.
- Monte Carlo dropout on a CNN was found to be the most suitable method for providing uncertainty estimates.
Abstract
Context: We developed a probabilistic machine learning method with the aim of performing the O(10)-way classification of low- and high-resolution spectra of stellar and extragalactic targets for the upcoming 4MOST survey. In fulfilment of the survey requirements, this method should be able to express uncertainty in the input data as well as uncertainty introduced in its prediction. Aims: Four different methods are explored: (1) convolutional neural networks (CNNs), (2) the Dirichlet distribution, (3) Monte Carlo dropout (MCD), (4) Bayesian neural Networks (BNNs) + variational inference (VI). Training and validation was performed using labelled spectra from the SDSS database and a custom 4MOST mock dataset. All the methods were compared in terms of the same metrics: accuracy, area under the curve (AUC), expected calibration error (ECE), Shannon entropy, negative log-likelihood (NLL), Brier score, training time, and inference time. Methods: A CNN with simple architecture and about 20,000 parameters was trained to achieve classification accuracies of 91.5% on SDSS data and 92.8% on 4MOST mock data. The direct Dirichlet prediction and VI models tested provide uncertainties on class membership probabilities, but they confuse classes more often. The MCD on a CNN is found to be the most suitable; it boosts the point-estimate accuracies to 92.6% and 93.9%, while still providing fast training and sufficiently fast inference. Compared to a standard CNN, the method additionally provides well-calibrated uncertainties at marginal extra cost.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Developed a probabilistic machine learning method for classifying astronomical spectra with class uncertainties.
- Trained a CNN with 20,000 parameters achieving 91.5-92.8% accuracy on SDSS and 4MOST mock data.
- Monte Carlo dropout on a CNN was found to be the most suitable method for providing uncertainty estimates.
Readers' thoughts
No reader thoughts yet.
Related papers
- GalSpecCNN: Deep Learning Estimates of Fiber Stellar Mass and Specific Star Formation Rate with Uncertainty for LAMOST GalaxiesUniverse · 2026
- Multi-Method Machine Learning Classification of Astronomical Sources with Rubin Data Previews: a Spectroscopy-Free Approach with DP1 and DP2arXiv · 2026
- Object-independent evaluation of small-data astronomical image classifiers: architecture, representation, and acquisition shortcutsarXiv · 2026
- Uncertainty-Aware Machine Learning for Photometric Redshift EstimationProceedings of the International Astronomical Union · 2026
- Distribution-Shift-Aware Conformal Prediction for Meteorite and Asteroid Reflectance Spectroscopy: Finite-Sample Class Guarantees from the Laboratory to the TelescopeACS Earth and Space Chemistry · 2026
- Machine Learning versus Spectral Energy Distribution Fitting: A Comparative Analysis of Accuracy in Stellar Mass EstimationThe Astrophysical Journal · 2026