SCTransNet: Spatial-channel Cross Transformer Network for Infrared Small Target Detection
Shuai Yuan, Hanlin Qin, Xiang Yan, Naveed AKhtar, Ajmal Mian
TL;DR
SCTransNet addresses infrared small target detection by introducing Spatial-channel Cross Transformer Blocks (SCTB) that fuse multi-level encoder features through SSCA and CFN, connected along long-range skip paths. The SSCA module exchanges local spatial cues with global channel information, while CFN provides multi-scale spatial-channel enhancement to bridge encoder–decoder gaps. Comprehensive experiments on NUDT-SIRST, NUAA-SIRST, and IRSTD-1k demonstrate superior IoU, nIoU, and F-measure with robust ROC behavior and reduced false alarms, supported by extensive ablations showing the contributions of SCTB, SSCA, CFN, and CCA. The work offers a scalable, transformer-based framework for IRSTD with practical impact and will release the code for reproducibility.
Abstract
Infrared small target detection (IRSTD) has recently benefitted greatly from U-shaped neural models. However, largely overlooking effective global information modeling, existing techniques struggle when the target has high similarities with the background. We present a Spatial-channel Cross Transformer Network (SCTransNet) that leverages spatial-channel cross transformer blocks (SCTBs) on top of long-range skip connections to address the aforementioned challenge. In the proposed SCTBs, the outputs of all encoders are interacted with cross transformer to generate mixed features, which are redistributed to all decoders to effectively reinforce semantic differences between the target and clutter at full scales. Specifically, SCTB contains the following two key elements: (a) spatial-embedded single-head channel-cross attention (SSCA) for exchanging local spatial features and full-level global channel information to eliminate ambiguity among the encoders and facilitate high-level semantic associations of the images, and (b) a complementary feed-forward network (CFN) for enhancing the feature discriminability via a multi-scale strategy and cross-spatial-channel information interaction to promote beneficial information transfer. Our SCTransNet effectively encodes the semantic differences between targets and backgrounds to boost its internal representation for detecting small infrared targets accurately. Extensive experiments on three public datasets, NUDT-SIRST, NUAA-SIRST, and IRSTD-1k, demonstrate that the proposed SCTransNet outperforms existing IRSTD methods. Our code will be made public at https://github.com/xdFai.
