HANet
Siamese network with hierarchical attention modules for change detection in remote sensing image pairs.
Segmentation · 364 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
- 3M
- Operations
- 364
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2023, IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing
- Cited by
- 264 (as of 28 October 2026)
- Authors
- Chengxi Han, Chen Wu, Haonan Guo and others
- Source
- GitHub: ChengxiHAN/HANet-CD
- License
- Apache-2.0
- 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
- m17213
- Graph hash
- 5fa72d3c388f894fc6b562175c24a66f8722482c39e15fbe0b4b348ff4e653da
- Skeleton hash
- 2d1013c255352c8b31345d2ab153ef494d16aae2af1ecfcf1cf2ab0f764be432
- Architecture hash
- 75bf0fc68ba6c970f81f93d4b0a37b089077627f9b8db0daa1b2cf568a3c3c2d
- Diagram SHA-256
- 080c456bade0e3d210c68ec7626f85a0cf1bacdea49cd30a278b196b8310a62e
- 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
HANet (hierarchical attention network) is a Siamese network for change detection (CD) that integrates multiscale features and refines detailed features. A CD method of this kind takes two images from different times (T1 and T2) as input and produces one prediction image. The paper targets the imbalance between changed and unchanged pixels, which it says hinders existing deep-learning-based CD methods.
The architecture uses a weight-shared feature extractor and has two parts: a multi-scale feature extractor and the HAN module. The HAN module, which the paper describes as a lightweight self-attention mechanism, consists of a parallel convolution structure (PCS) and a spatial-spectral axial attention that contains both Column and Row Attention. Its input first passes through PCS for multi-scale feature fusion, then through a Channel Attention Module (CAM) and the column and row attention at the same time, and the two results are added together. The network extracts building features at four scales, and the paper uses input pairs of size 256 × 256 × 3.
Training also uses a progressive foreground-balanced sampling strategy, proposed to help the model learn the features of the changed pixels during the early training process. The authors' repository notes that HANet can also be run in the open-cd repository.
Key idea. HANet is a Siamese change detection network whose HAN module, a lightweight self-attention mechanism, integrates multiscale features and refines detailed features.
- HANet
- HANet-CD
- Hierarchical Attention Network
- change detection
- remote sensing change detection
- bitemporal images
- HAN module
- progressive foreground-balanced sampling
- very-high-resolution imagery
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{han2024hanethierarchicalattentionnetwork,
title={HANet: A Hierarchical Attention Network for Change Detection With Bitemporal Very-High-Resolution Remote Sensing Images},
author={Chengxi Han and Chen Wu and Haonan Guo and Meiqi Hu and Hongruixuan Chen},
year={2024},
eprint={2404.09178},
archivePrefix={arXiv},
primaryClass={cs.CV},
doi={https://doi.org/10.1109/JSTARS.2023.3264802},
url={https://arxiv.org/abs/2404.09178},
}