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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liang, Jun-Chao, Li, Yin-Bi, Luo, A-Li, Zuo, Fang, Du, Bing, Li, Shuo, Ma, Xiao-Xiao, Ma, Shu-Guo, Lu, Hai-Ling, Wu, Ke-Fei, Zhong, Zhi-Hua, Hou, Wen, Kong, Xiao, Ye, Shuo, Wang, Li-Li, Jones, Hugh R. A.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911347989544960
author Liang, Jun-Chao
Li, Yin-Bi
Luo, A-Li
Zuo, Fang
Du, Bing
Li, Shuo
Ma, Xiao-Xiao
Ma, Shu-Guo
Lu, Hai-Ling
Wu, Ke-Fei
Zhong, Zhi-Hua
Hou, Wen
Kong, Xiao
Ye, Shuo
Wang, Li-Li
Jones, Hugh R. A.
author_facet Liang, Jun-Chao
Li, Yin-Bi
Luo, A-Li
Zuo, Fang
Du, Bing
Li, Shuo
Ma, Xiao-Xiao
Ma, Shu-Guo
Lu, Hai-Ling
Wu, Ke-Fei
Zhong, Zhi-Hua
Hou, Wen
Kong, Xiao
Ye, Shuo
Wang, Li-Li
Jones, Hugh R. A.
contents 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 \dataset[DOI: 10.12149/101679]{https://doi.org/10.12149/101679} and \dataset[DOI: 10.12149/101675]{https://doi.org/10.12149/101675}, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2512_24840
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Scalable Stellar Parameter Inference Using Python-based LASP: From CPU Optimization to GPU Acceleration
Liang, Jun-Chao
Li, Yin-Bi
Luo, A-Li
Zuo, Fang
Du, Bing
Li, Shuo
Ma, Xiao-Xiao
Ma, Shu-Guo
Lu, Hai-Ling
Wu, Ke-Fei
Zhong, Zhi-Hua
Hou, Wen
Kong, Xiao
Ye, Shuo
Wang, Li-Li
Jones, Hugh R. A.
Astrophysics of Galaxies
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 \dataset[DOI: 10.12149/101679]{https://doi.org/10.12149/101679} and \dataset[DOI: 10.12149/101675]{https://doi.org/10.12149/101675}, respectively.
title Scalable Stellar Parameter Inference Using Python-based LASP: From CPU Optimization to GPU Acceleration
topic Astrophysics of Galaxies
url https://arxiv.org/abs/2512.24840