scTransNet
U-shaped infrared small target segmenter with spatial-channel cross transformer blocks on its skip connections.
Segmentation · 1,251 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Segmentation
- Parameters
- 11.3M
- Operations
- 1,251
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Transactions on Geoscience and Remote Sensing 2024
- Cited by
- 279 (as of 29 October 2026)
- Authors
- Shuai Yuan, Hanlin Qin, Xiang Yan and others
- Source
- GitHub: xdFai/SCTransNet
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21705
- Graph hash
- 619fa45c67713f258d45bed6011b1fa5e9151bf6836ab582c6ac362073eca6f5
- Skeleton hash
- e7579df83c92566c7700e840962f0b4377b11d65180a086f7ae96df060dcf45c
- Architecture hash
- bd30e384b7b5ab101fda272c909acaff7bc562919a12053a86f2a45b64c9de42
- Diagram SHA-256
- 6f5765582192e1e399c2f90e92a82e41a530dd7b3149475d39e52eddc20c88f9
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SCTransNet, the Spatial-channel Cross Transformer Network, is a U-shaped model for infrared small target detection (IRSTD) with four spatial-channel cross transformer blocks (SCTBs) on its long-range skip connections. The paper starts from the observation that existing U-shaped methods largely overlook global information and struggle when the target closely resembles the background. As the paper notes, learning-based methods approach IRSTD as a semantic segmentation task rather than traditional object detection.
In the SCTBs the outputs of all encoders interact through a cross transformer, and the mixed features are redistributed to all decoders. Each block pairs a spatial-embedded single-head channel-cross attention (SSCA), which takes the four per-level tokens as queries and one concatenated token as key and value, with a complementary feed-forward network (CFN). Training uses multi-scale deep supervision, with a 1 × 1 convolution and a sigmoid on each decoder output to produce a saliency map.
The block is adapted from the channel-wise cross fusion transformer (CCT) of UCTransNet, whose attention computation, positional encoding and pure channel modeling the authors found harmful for targets of only a few pixels. The released model is trained on SIRST3, which combines IRSTD-1K, NUDT-SIRST and SIRST-v1. The repository also apologizes for calling SIRST-v1 by the name NUAA-SIRST in both the article and the code.
Key idea. SCTransNet puts spatial-channel cross transformer blocks on the skip connections of a U-shaped network so that features from all encoder levels are mixed before reaching the decoders.
- SCTransNet
- Spatial-channel Cross Transformer Network
- infrared small target detection
- IRSTD
- SCTB
- infrared segmentation
- channel-cross attention
- thermal small targets
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yuan2024sctransnetspatialchannelcrosstransformer,
title={SCTransNet: Spatial-channel Cross Transformer Network for Infrared Small Target Detection},
author={Shuai Yuan and Hanlin Qin and Xiang Yan and Naveed AKhtar and Ajmal Mian},
year={2024},
eprint={2401.15583},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1109/TGRS.2024.3383649},
url={https://arxiv.org/abs/2401.15583},
}