All models

FarSeg

A segmentation network for remote sensing images that models the foreground explicitly.

Segmentation · 274 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

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

Parameters
33.4M
Operations
274
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
363 (as of 26 October 2026)
Authors
Zhuo Zheng, Yanfei Zhong, Junjue Wang, Ailong Ma
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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16630
Graph hash
22221526701cdbfb2032fc275de254af821ac10641c3d85da33c252459a76e3a
Skeleton hash
d123d2d18224f30686a515672f05a8b67fb5f88d23d51a23c71f38f1fec892c4
Architecture hash
59f05501e9855103b45425f93800e7cfa9719124b76e303002d48e1f6fa546f3
Diagram SHA-256
63054f6cf9d1918741c43dfdce99fb5b468b08787608a4ac57b64c6b40ca945a
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

FarSeg, a foreground-aware relation network, segments geospatial objects in high spatial resolution remote sensing imagery. The paper argues that general semantic segmentation methods ignore two problems of such imagery: false alarms and the imbalance between foreground and background.

The network has a multi-branch encoder: a foreground branch based on the feature pyramid network (FPN) and a scene embedding branch, both on a shared backbone. A foreground-scene relation module uses the relation between the scene and the foreground to enhance foreground features, which reduces false alarms. A light-weight decoder then recovers the spatial resolution of the features. During training, foreground-aware optimization suppresses the many easy background examples so that the model concentrates on the foreground.

All of the paper's experiments use a ResNet-50 backbone pretrained on ImageNet, with images cropped to a fixed size of 896 by 896. Accuracy is measured as mean intersection over union (mIoU) on the iSAID validation set. With a focusing factor of 2, the paper reports its best result, 63.71% mIoU. The authors' repository records that a follow-up, FarSeg++, was accepted by IEEE TPAMI in 2023/07.

Key idea. FarSeg adds explicit foreground modeling to remote sensing segmentation through two components, a foreground-scene relation module and a foreground-aware optimization.

  • farseg
  • foreground-aware relation network
  • geospatial object segmentation
  • remote sensing segmentation
  • high spatial resolution imagery
  • semantic segmentation
  • isaid
  • foreground-scene relation
  • aerial image segmentation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zheng2020foregroundawarerelationnetworkgeospatial,
      title={Foreground-Aware Relation Network for Geospatial Object Segmentation in High Spatial Resolution Remote Sensing Imagery}, 
      author={Zhuo Zheng and Yanfei Zhong and Junjue Wang and Ailong Ma},
      year={2020},
      eprint={2011.09766},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2011.09766}, 
}