Classification of Star Spectrum Based on Multi-Scale Feature Fusion
HAN Bo-chong1, 2, SONG Yi-han1, 2*, ZHAO Yong-heng1, 2
1. National Astronomical Observatories, Chinese Academy of Sciences, Beijing 100101, China
2. University of Chinese Academy of Sciences, Beijing 100049, China
Abstract:In recent years, there has been a significant increase in the number of observed astronomical spectra. This has led to greater demands for automatic classification and analysis of spectra in large-scale spectroscopic surveys. In this study, we introduce a multi-scale feature fusion-based stellar spectral classification model (MSFnet) that leverages the strengths of Convolutional Neural Networks (CNNs) in classification tasks and employs a multi-scale feature fusion module to extract spectral features at various scales for the prediction of stellar spectral types. The proposed MSFnet architecture consists primarily of a multi-scale feature fusion module and a CNN with four convolutional layers, two max-pooling layers, and one fully connected layer. To mitigate overfitting, dropout is incorporated into the model, enhancing its robustness by reducing dependence on specific local features. The dataset employed in this study is derived from the LAMOST DR9 database. Before training, data preprocessing is performed, which includes uniform resampling of spectra and min-max normalization. The experiment uses Python 3.9 and the PyTorch deep learning framework to build the network. The experimental section is divided into two parts: the first part investigates the relationship between the number of layers in the CNN, the number of feature maps, and the classification accuracy; the second part compares the performance of the proposed MSFnet model and the Resnet18 model using evaluation metrics such as precision (P), recall (R), and F1 score. Both models' training, validation, and test sets are split according to a 6∶2∶2 ratio to maintain consistency in training samples. Results demonstrate that the highest accuracy is achieved using a CNN with four convolutional layers and 16 feature maps. Based on this finding, we propose the MSFnet model, which combines the feature fusion module with the CNN. Compared to the 18-layer residual neural network model, the MSFnet model has a more straight forward structure and performs similarly on the evaluation metrics. The performance in the metrics above is on par with that of the Resnet18 model. Furthermore, it demonstrates superior classification efficacy for spectra types A, F, and K, accompanied by enhanced speed. With an accuracy of nearly 97% on the test set, the MSFnet model outperforms traditional CNN and Resnet18 models, indicating its potential to improve the accuracy of automatic spectral classification significantly.
韩博冲,宋轶晗,赵永恒. 基于多尺度特征融合的恒星光谱分类方法[J]. 光谱学与光谱分析, 2024, 44(08): 2284-2288.
HAN Bo-chong, SONG Yi-han, ZHAO Yong-heng. Classification of Star Spectrum Based on Multi-Scale Feature Fusion. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2024, 44(08): 2284-2288.
[1] Zhao Gang, Zhao Yongheng, Chu Yaoquan, et al. RAA(Research in Astronomy and Astrophysics), 2012, 12: 723.
[2] Singh H P, Gulati R K, Gupta R. Monthly Notices of the Royal Astronomical Society, 1998, 295(2): 312.
[3] Daniel S F, Connolly A, Schierscher J, et al. Astronomical Journal, 2011, 142(6): 203.
[4] Schierscher F, Paunzen E. Astronomische Nachrichten, 2011, 332(6): 597.
[5] Liu Chao, Cui Wenyuan, Zhang Bo, et al. Research in Astronomy and Astrophysics, 2015, 15(8): 1137.
[6] Liu W, Zhu M, Dai C, et al. Monthly Notices of the Royal Astronomical Society, 2019, 483(4): 4774.
[7] WANG Nan-nan, QIU Bo, MA Jie, et al(王楠楠,邱 波,马 杰,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2019, 39(10): 3297.
[8] He K, Zhang X, Ren S, et al. Deep Residual Learning for Image Recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 2016, 770.
[9] Tan L, Mei Y, Liu Z, et al. ApJS(The Astrophysical Journal Supplement Series), 2022, 259: 5.
[10] Li Xiangru, Lin Boyu. Monthly Notices of the Royal Astronomical Society, 2023, 521(4): 6354.
[11] Guo Fengyue, Cheng Zhongding, Kong Xiaoming, et al. Astronomical Journal, 2023, 165(2): 40.