Abstract:The classification of stars has always been a hot topic in recent astronomical research. The classification of stellar subtypes is significant for exploring stellar evolution and identifying rare celestial bodies. This paper designs the SSTransformer (Stellar Spectrum Transformer) classification model for the LAMOST spectral subtype classification problem. The model mainly comprises three parts, including the input module, the embedding module, and the SST encoding module. In the input module, the spectral data is processed into blocks, which are mapped to vectors through a linear projection layer. In the embedding module, in order to extract useful data features, the output of the linear projection layer is added to a learnable category embedding block. In order to preserve the position information, a position embedding block is added, and then these data feature vectors are sent to the SST encoding module. Finally, the data features are extracted in the SST coding module, and the stellar spectrum is classified using the multilayer perceptron combined with the new features. In this paper,the spectral data of type A, F, G, K, and M starsis all from the one-dimensional low-resolution spectra in LAMOST DR8, 35256 pieces of one-dimensional spectral data are used for training the SSTransformer model, and 8 815 pieces of one-dimensional spectral data are used for testing the SSTransformer model. In order to speed up the convergence of the model, Z-Score normalization is used for the data. Because this is a multi-classification problem, the experiment adopts five evaluation indicators: accuracy rate, precision rate, recall rate, F1-Score, and Kappa coefficient. The experimental results show that the SSTransformer model can effectively screen and classify one-dimensional stellar spectral data, and the classification accuracy reaches 98.36%, which is higher than the support vector machine (SVM) algorithm, eXtreme Gradient Boosting (XGBoost) algorithm, and convolutional neural networks (CNN).
范雅雯,刘艳萍,邱 波,姜 霞,王林倩,王 坤. 基于SSTransformer的恒星亚型光谱分类方法研究[J]. 光谱学与光谱分析, 2023, 43(08): 2523-2528.
FAN Ya-wen, LIU Yan-ping, QIU Bo, JIANG Xia, WANG Lin-qian, WANG Kun. Research on Spectral Classification of Stellar Subtypes Based on
SSTransformer. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2023, 43(08): 2523-2528.
[1] Hou Wen, Luo Ali, Li Yinbi, et al. The Astronomical Journal, 2020, 159(2): 43.
[2] Wang Jiangtao, Fu Jianning, Zong Weikai, et al. The Astrophysical Journal Supplement Series, 2020, 251(2): 27.
[3] Liu Zhongbao, Zhou Fangxiao, Qin Zhentao, et al. Astrophysics and Space Science, 2018, 363(7): 140.
[4] Yue Lili, Yi Zhenping, Pan Jingchang, et al. Optik, 2021, 225: 165535.
[5] JIANG Bin, ZHAO Zi-liang, WANG Shu-ting, et al(姜 斌,赵梓良,王淑婷,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2020, 40(9): 2913.
[6] Wang K, Guo P, Luo A L. Monthly Notices of the Royal Astronomical Society, 2017, 465(4): 4311.
[7] Liu W, Zhu M, Dai C, et al. Monthly Notices of the Royal Astronomical Society, 2019, 483(4): 4774.
[8] DU Li-ting, HONG Li-hua, YANG Jin-tao, et al(杜利婷,洪丽华,杨锦涛,等). Acta Astronomica Sinica(天文学报), 2021, 62(1): 90.
[9] Lu Yakun, Qiu Bo, Luo Ali, et al. Monthly Notices of the Royal Astronomical Society, 2021, 507(3): 4095.
[10] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, et al. International Conference on Learning Representations, 2020.
[11] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, et al. European Conference on Computer Vision, 2020: 213.
[12] Zheng Sixiao, Lu Jiachen, Zhao Hengshuang, et al. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021: 6877.
[13] Bu Yude, Chen Fuqiang, Pan Jingchang. New Astronomy, 2014, 28: 35.
[14] Chen T Q, Guestrin C. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016: 785.