Scalable Stellar Parameter Inference Using Python-based LASP: From CPU Optimization to GPU Acceleration

Abstract To enhance the efficiency, scalability, and cross-survey applicability of stellar parameter inference in large spectroscopic datasets, we present a modular, parallelized Python framework with automated error estimation, built on the LAMOST Atmospheric Parameter Pipeline (LASP) originally implemented in IDL. Rather than a direct code translation, this framework refactors LASP with two complementary modules: LASP-CurveFit, a new implementation of the LASP fitting procedure that runs on a CPU, preserving legacy logic while improving data I/O and multithreaded execution efficiency; and LASP-Adam-GPU, a GPU-accelerated method that introduces grouped optimization by constructing a joint residual function over multiple observed and model spectra, enabling high-throughput parameter inference across tens of millions of spectra. Applied to 10 million LAMOST spectra, the framework reduces runtime from 84 to 48 hr on the same CPU platform and to 7 hr on an NVIDIA A100 GPU, while producing results consistent with those from the original pipeline. The inferred errors agree well with the parameter variations from repeat observations of the same target (excluding radial velocities), while the official empirical errors used in LASP are more conservative. When applied to DESI DR1, our effective temperatures and surface gravities agree better with APOGEE than those from the DESI pipeline, particularly for cool giants, while the latter performs slightly better in radial velocity and metallicity. These results suggest that the framework delivers reliable accuracy, efficiency, and transferability, offering a practical approach to parameter inference in large spectroscopic surveys. The code and DESI-based catalog are available via DOI: 10.12149/101679 and DOI: 10.12149/101675 , respectively.

Authors

Publication Details

Journal
The Astrophysical Journal
Published
2025-12-31
DOI
https://doi.org/10.3847/1538-4357/ae1446
Primary Topic
Stellar, planetary, and galactic studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scalable Stellar Parameter Inference Using Python-based LASP: From CPU Optimization to GPU Acceleration

A-Li Luo, Bing Du, Yin-bi Li, WU Ke-fei et al.
The Astrophysical Journal
Stellar, planetary, and galactic studies
article

Scalable Stellar Parameter Inference Using Python-based LASP: From CPU Optimization to GPU Acceleration

A-Li Luo, Bing Du, Yin-bi Li, WU Ke-fei, H. R. A. Jones, Shuo Ye, Liang Jun-chao, Zhong Zhihua, Xiao-Xiao Ma, Wen Hou, Li-Li Wang, Fang Zuo, Xiao Kong, Shu-Guo Ma, Shuo Li, Hai-Ling Lu
article en

Abstract

Abstract To enhance the efficiency, scalability, and cross-survey applicability of stellar parameter inference in large spectroscopic datasets, we present a modular, parallelized Python framework with automated error estimation, built on the LAMOST Atmospheric Parameter Pipeline (LASP) originally implemented in IDL. Rather than a direct code translation, this framework refactors LASP with two complementary modules: LASP-CurveFit, a new implementation of the LASP fitting procedure that runs on a CPU, preserving legacy logic while improving data I/O and multithreaded execution efficiency; and LASP-Adam-GPU, a GPU-accelerated method that introduces grouped optimization by constructing a joint residual function over multiple observed and model spectra, enabling high-throughput parameter inference across tens of millions of spectra. Applied to 10 million LAMOST spectra, the framework reduces runtime from 84 to 48 hr on the same CPU platform and to 7 hr on an NVIDIA A100 GPU, while producing results consistent with those from the original pipeline. The inferred errors agree well with the parameter variations from repeat observations of the same target (excluding radial velocities), while the official empirical errors used in LASP are more conservative. When applied to DESI DR1, our effective temperatures and surface gravities agree better with APOGEE than those from the DESI pipeline, particularly for cool giants, while the latter performs slightly better in radial velocity and metallicity. These results suggest that the framework delivers reliable accuracy, efficiency, and transferability, offering a practical approach to parameter inference in large spectroscopic surveys. The code and DESI-based catalog are available via DOI: 10.12149/101679 and DOI: 10.12149/101675 , respectively.

The Astrophysical JournalVol. 996(1)
National Science Foundation, Smithsonian Institution, U.S. Department of Energy, Alfred P. Sloan Foundation, Gordon and Betty Moore Foundation, Yale University, Carnegie Institution of Washington, Vanderbilt University, Ohio State University, University of Utah, University of Washington, Johns Hopkins University, Carnegie Mellon University, University of Notre Dame, University of Portsmouth, New Mexico State University, York University, University of Oxford, National Natural Science Foundation of China, Chinese Academy of Sciences, Ministério da Ciência, Tecnologia e Inovação, Ministerio de Ciencia e Innovación, Universidad Nacional Autónoma de México, Commissariat à l'Énergie Atomique et aux Énergies Alternatives, National Development and Reform Commission, Max-Planck-Institut für Astrophysik, Max-Planck-Institut für Astronomie, Instituto de Astrofísica de Canarias, Office of Science, University of Colorado Boulder, Science and Technology Facilities Council, Leibniz-Gemeinschaft, National Astronomical Observatories, Chinese Academy of Sciences, Division of Astronomical Sciences, Lawrence Berkeley National Laboratory
Openalex Percentile: Top 28%
Stellar, planetary, and galactic studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.