AstroSpecLM links astronomical spectra with language model answers
AstroSpecLM: A Spectrum-Language Model for Evidence-Grounded Astronomical Spectral Analysis
Artificial Intelligence
Summary
Astronomical spectra contain detailed clues about celestial objects, but understanding them usually needs expert knowledge. The authors created AstroSpecLM, a model that reads these spectra and answers questions in natural language, explaining its reasoning based on specific features it sees. They trained it to first extract important facts from the spectral data before generating answers and explanations. This approach performs well compared to specialized methods and makes the analysis more accessible.
What this means in practice
- •For astronomical data analysts: Automatically classify celestial objects and estimate redshifts with explanations linked to spectral features.
- •For medical imaging analysts: Develop models that explain image-based diagnoses by grounding predictions in extracted feature facts, inspired by spectral evidence grounding.
Authors
Jinghang Shi, Yanxia Zhang, Ali Luo, Changhua Li, Xiao Kong
Abstract
Astronomical spectra encode rich physical information, but drawing scientific conclusions from spectral features typically requires expert interpretation. This paper presents AstroSpecLM, a spectrum-language model that connects one-dimensional DESI spectra with Qwen3-4B to answer questions and provide explanations grounded in spectral evidence. Instead of generating question-answer pairs directly from templates or raw catalog fields, we first distill each spectrum into a compact set of catalog- and spectrum-derived facts, then use these facts as references to generate instruction-following conversations. The resulting model is competitive with specialist supervised baselines on classification and redshift estimation, while additionally producing natural-language explanations that reference specific spectral features. Our results indicate that grounding a language model in one-dimensional scientific spectra is feasible, and that fact-mediated instruction data yields a model capable of both prediction and explanation.