Spectra as Language: Large Language Models for Scalable Stellar Parameter and Abundance Inference

Hai-Ling Lu, Yu-Yang Li, Yin-Bi Li, Cun-Shi Wang, A-Li Luo +2 more
5/21/2026
astro-ph.IMastro-ph.SRcs.LG

No confident code implementation found for this paper.

Abstract

Stellar spectra encode key information on the physical properties and chemical compositions of stars. Accurate stellar parameter determination is essential for addressing major questions such as galaxy and stellar evolution.

Show full abstract

Large-scale spectroscopic surveys have accumulated unprecedented spectral data. Traditional feature extraction or model-fitting approaches struggle with high-dimensional, massive datasets, limited generalization, and computational inefficiency. Recent advances in large language models demonstrate strong generalization and feature-learning in tasks like natural language processing, DNA/RNA sequence analysis, and protein/chemical parsing. Stellar spectra are continuous sequential signals, enabling the transfer of language models to stellar spectroscopy. Here, we propose a two-stage large language model framework for stellar parameter inference, achieving accurate estimation of effective temperature, surface gravity, metallicity, and abundances of ~20 chemical elements. Scaling-law analyses show systematic performance improvements with increasing data, providing a scalable framework for forthcoming large-scale surveys.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2026spectra,
  title  = {Spectra as Language: Large Language Models for Scalable Stellar Parameter and Abundance Inference},
  author = {Hai-Ling Lu and Yu-Yang Li and Yin-Bi Li and Cun-Shi Wang and A-Li Luo and Jun-Chao Liang and Shuo Li},
  year   = {2026},
  eprint = {2605.22162},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22162v3}
}

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

Discussion