A multi-task deep learning approach for automatic classification and redshift measurement of astronomical spectra

Abstract To address the demand for processing massive astronomical spectral data generated by large-scale sky survey projects, as well as the issues of existing methods—such as ambiguous classification boundaries in feature-overlapping scenarios and insufficient measurement accuracy under low SNR or high redshift conditions—this study proposes SpecCZ-Net, a deep learning model integrating multi-module collaborative feature extraction. Based on a 1D-CNN, the model incorporates Gabor filters and the SE attention mechanism and realizes the simultaneous output of celestial object types and redshift values through a main classification branch and a multi-sub-branch parallel structure. To verify the model performance, two datasets were constructed: a simulated dataset generated based on galaxy templates (covering four types: S0, Sa, Sb, Sc) and an empirical dataset from the SDSS DR17 (including five categories: Star, Galaxy_AGN, Galaxy_STARBURST, Galaxy_STARFORMING, and QSO_BROADLINE). The results demonstrate that on the empirical dataset, SpecCZ-Net achieves an average classification accuracy of 95.40%—with the F1-score of the QSO_BROADLINE category reaching as high as 99.40%, and those of Galaxy_AGN and Galaxy_STARBURST being 94.28% and 94.01%, respectively. In terms of redshift measurement, $R^2$ can reach up to 99.83%, the NMAE is as low as 0.0015, and the GF remains stable within the range of 93% to 95%. Specifically, for QSO_BROADLINE, the NMAE is 0.0169 and the GF is 93.03%. Overall, its performance is comprehensively superior to that of the other five comparative baseline models. Five independent repeated experiments confirm the model’s excellent stability and reproducibility. Finally, model visualization analysis verifies that its attention weight distribution is highly consistent with the positions of characteristic spectral lines (e.g., [O ii], [O iii], Mg ii) provided by SDSS for the same spectrum. SpecCZ-Net provides a new approach for the automated and high-precision processing of massive astronomical spectral data.

Authors

Institutions

Publication Details

Journal
Publications of the Astronomical Society of Japan
Published
2026-03-24
DOI
https://doi.org/10.1093/pasj/psag032
Primary Topic
Astronomical Observations and Instrumentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A multi-task deep learning approach for automatic classification and redshift measurement of astronomical spectra

Liangping Tu, Yu Mao, Mingyu Zheng, Y. F. Jiang et al.
Publications of the Astronomical Society of Japan
Astronomical Observations and Instrumentation
article

A multi-task deep learning approach for automatic classification and redshift measurement of astronomical spectra

Liangping Tu, Yu Mao, Mingyu Zheng, Y. F. Jiang, Zhenyang Xu, Yuanbao Lu, Yan Wang
article en

Abstract

Abstract To address the demand for processing massive astronomical spectral data generated by large-scale sky survey projects, as well as the issues of existing methods—such as ambiguous classification boundaries in feature-overlapping scenarios and insufficient measurement accuracy under low SNR or high redshift conditions—this study proposes SpecCZ-Net, a deep learning model integrating multi-module collaborative feature extraction. Based on a 1D-CNN, the model incorporates Gabor filters and the SE attention mechanism and realizes the simultaneous output of celestial object types and redshift values through a main classification branch and a multi-sub-branch parallel structure. To verify the model performance, two datasets were constructed: a simulated dataset generated based on galaxy templates (covering four types: S0, Sa, Sb, Sc) and an empirical dataset from the SDSS DR17 (including five categories: Star, Galaxy_AGN, Galaxy_STARBURST, Galaxy_STARFORMING, and QSO_BROADLINE). The results demonstrate that on the empirical dataset, SpecCZ-Net achieves an average classification accuracy of 95.40%—with the F1-score of the QSO_BROADLINE category reaching as high as 99.40%, and those of Galaxy_AGN and Galaxy_STARBURST being 94.28% and 94.01%, respectively. In terms of redshift measurement, $R^2$ can reach up to 99.83%, the NMAE is as low as 0.0015, and the GF remains stable within the range of 93% to 95%. Specifically, for QSO_BROADLINE, the NMAE is 0.0169 and the GF is 93.03%. Overall, its performance is comprehensively superior to that of the other five comparative baseline models. Five independent repeated experiments confirm the model’s excellent stability and reproducibility. Finally, model visualization analysis verifies that its attention weight distribution is highly consistent with the positions of characteristic spectral lines (e.g., [O ii], [O iii], Mg ii) provided by SDSS for the same spectrum. SpecCZ-Net provides a new approach for the automated and high-precision processing of massive astronomical spectral data.

Publications of the Astronomical Society of Japan
University of Science and Technology Liaoning (CN)
Openalex Percentile: Top 8%
Astronomical Observations and Instrumentation
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.