BIT change detector
A transformer module on a ResNet18 backbone that detects changes between two remote sensing images.
Segmentation · 596 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
- 12.4M
- Operations
- 596
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- IEEE Transactions on Geoscience and Remote Sensing (arXiv 2021)
- Cited by
- 1,471 (as of 28 October 2026)
- Authors
- Hao Chen, Zipeng Qi, Zhenwei Shi
- Source
- GitHub: justchenhao/BIT_CD
- 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
- m14845
- Graph hash
- 4f5604b185a7fc08fcb3ce30c789b7987998977c4542cb466d04b04cd3059457
- Skeleton hash
- 257d7965632280a2abb46df70def6d0686d87ca3cb7cee9099eb021d6c995232
- Architecture hash
- 9c8792f9fe2ad6ef5e6e1f18e8321cf4698aeb08bc138ed519cbfc603ddf5c05
- Diagram SHA-256
- f00c29508bc7e6c9c3d608286bf330d3e7138aaf6a7d8b5dd89238ead05ad3ea
- 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
BIT, the bitemporal image transformer, is built for change detection in remote sensing: comparing two images of the same region taken at different times and labeling every pixel as change or no change. The paper argues that pipelines using pure convolutions have trouble relating long-range concepts in space-time, while non-local self-attention over pixels is computationally inefficient.
Its idea is that the high-level concepts of the change of interest can be represented by a few visual words, called semantic tokens. A CNN backbone (ResNet) extracts high-level semantic features from the input image pair. Spatial attention then converts each feature map into a compact set of semantic tokens, and a transformer encoder models the context within the two token sets. A Siamese transformer decoder projects the context-rich tokens back to pixel space to enhance the original pixel-level features. Finally, feature difference images are computed from the two refined feature maps and fed into a shallow CNN that produces pixel-level change predictions.
In experiments on three change detection datasets, the paper reports that the BIT-based model outperforms the purely convolutional baseline using only 3 times lower computational costs and model parameters. The model is built by replacing the last convolutional stage of ResNet18 with BIT.
Key idea. The paper represents a pair of remote sensing images as a few semantic tokens and models their context with a transformer encoder and decoder for change detection.
- BIT
- BIT-CD
- Bitemporal Image Transformer
- change detection
- remote sensing change detection
- bitemporal images
- semantic tokens
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2021remotesensingimagechange,
title={Remote Sensing Image Change Detection with Transformers},
author={Hao Chen and Zipeng Qi and Zhenwei Shi},
year={2021},
eprint={2103.00208},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1109/TGRS.2021.3095166},
url={https://arxiv.org/abs/2103.00208},
}