vix.ing · top · new · best · stats · spec

SpectraFM: Tuning into Stellar Foundation Models

2024/11/07 by Nolan W. Koblischke, Jo Bovy, Koblischke, Nolan +1 · 1 voice · 8 citations
Engineering · Physics and Astronomy · #Astronomical Observations and Instrumentation #Astronomy and Astrophysical Research #Astrophysics of Galaxies (astro-ph.GA) #FOS: Physical sciences #Instrumentation and Methods for Astrophysics (astro-ph.IM) #Solar and Stellar Astrophysics (astro-ph.SR)

paper · pdf · doi:10.48550/arxiv.2411.04750

openalex publication_date 2024/11/07 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

Machine learning models in astrophysics are often limited in scope and cannot adapt to data from new instruments or tasks. We introduce SpectraFM, a Transformer-based foundation model architecture that can be pre-trained on stellar spectra from any wavelength range and instrument. SpectraFM excels in generalization by combining flexibility with knowledge transfer from pre-training, allowing it to outperform traditional machine learning methods, especially in scenarios with limited training data. Our model is pre-trained on approximately 90k examples of synthetic spectra to predict the chemical abundances (Fe, Mg, O), temperature, and specific gravity of stars. We then fine-tune the model on real spectra to adapt it to observational data before fine-tuning it further on a restricted 100-star training set in a different wavelength range to predict iron abundance. Despite a small iron-rich training set of real spectra, transfer learning from the synthetic spectra pre-training enables the model to perform well on iron-poor stars. In contrast, a neural network trained from scratch fails at this task. We investigate the Transformer attention mechanism and find that the wavelengths receiving attention carry physical information about chemical composition. By leveraging the knowledge from pre-training and its ability to handle non-spectra inputs, SpectraFM reduces the need for large training datasets and enables cross-instrument and cross-domain research. Its adaptability makes it well-suited for tackling emerging challenges in astrophysics, like extracting insights from multi-modal datasets.

Cited by

Discussions

Related