JEOS RP ISSN02 | 页面 133

128
J. Eur. Opt. Society-Rapid Publ. 21, 43( 2025)
Fig. 5. Pseudocolor images( left) and the corresponding ground-truth maps( right) of five real hyperspectral datasets.( a) Meadow;( b) Holly;( c) Cement Street;( d) Jungle-I;( e) Jungle-II.
Table 1. CSATM and SAE parameter settings.
Optimizer
Learning rate
Batch size
Loss
CSATM
ADAM
5 10 �4
3000
BCE
SAE
ADAM
–
2000
MSE
the total number of target pixels in the image. N f represents the number of detected false alarm pixels, which belong to the background but are considered targets by the detector. N b represents the total number of background pixels in the image.
AUC quantitatively describes the degree of deviation of the ROC curve to the upper left, which is the area formed by the ROC curve surrounded by the horizontal axis. The values are as follows:
AUC ¼
Z 1
0
ROCðxÞdx: ð12Þ
The greater the offset of the ROC curve to the upper left, the larger the area below the curve line, and the larger the AUC, indicating better detection performance. The flatter the ROC curve, the smaller the area below the curve, and the smaller the AUC, the worse the detection effect.
4.3 Hyperparameter analysis
The framework proposed in this article has some pre-set hyperparameters. This section will analyze the impact of hyperparameters on the framework through ablation experiments and select appropriate hyperparameters to achieve optimal detection performance.
4.3.1 The impact of dual-window size on the model
Set the range of the outer window size win out to [ 3, 5, 7 ] and the range of the inner window size win in to [ 1, 3, 5 ]. Different win in and win out will be combined into six sets of dualwindow parameters. In this section of the experiment, the heads( number of self-attention) of CASTM are set to 1, and the depth( number of encoder blocks) is set to 5. The experiment will be conducted on the remaining four datasets, with AUC values as the evaluation metric. Table 2 shows the detection results for different dual-window sizes. On each dataset, the difference between the highest and lowest AUC is less than 0.01, indicating that changes in the dual-window parameter group have a very small impact on the detection performance of the model. Based on this conclusion, when win out is fixed, the influence of the thickness( th = win out � win in � 1) of the double window on the detection results can be ignored. Figure 6 shows the detection results for each dataset at th = 1 for different dual-window. Holly and Jungle-I showed mild performance, while Cement Street and Jungle-II changed when the dual-window reached( 9, 11), but the overall change was not significant. We take the dual-window parameter group( 9, 11) with the highest average AUC value from the four datasets as the optimal parameter.
4.3.2 The impact of the number of heads and depths on the model
The number of heads affects the model’ s ability to capture differences across the entire spectral band, and an appropriate number of heads should be considered. The depth of the model represents the number of encoder blocks, which affects the model’ s ability to extract features based on the difference between pixels in the dual-window and the center pixel. In this section of the experiment, we set the dual-windows to( 9, 11). Figure 7 shows the detection results of each dataset under different numbers of heads