All models

BASNet

A predict-refine network that segments the salient object in an image with attention to clean boundaries.

Segmentation · 302 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 (407 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
87.1M
Operations
302
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
1,684 (as of 29 October 2026)
Authors
Xuebin Qin, Zichen Zhang, Chenyang Huang and others
License
MIT
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
m14812
Graph hash
62d7caa3f3eb00c3e9c969b17e7403e6abb983c6fa1e77a3922fb1f5ae6ae1b0
Skeleton hash
b36f8af0944e36d4cbc2e364d7b27f774863a09e49acbd84033812ae913713ea
Architecture hash
891c979a72c970cad3cab4ac316b0c21a592b862d51bb818eb4150f7d23cbc25
Diagram SHA-256
22fb15595bccd10b484a7c90ebfb87cce9cc4c1592c93c21dedbec774c7643d8
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

BASNet is a network for salient object detection that pairs a predict-refine architecture with a new hybrid loss. The paper's starting point is that most earlier work focused on region accuracy and not on the quality of the boundary.

The architecture has two parts: a densely supervised encoder-decoder network that predicts the saliency map, and a residual refinement module that refines it. The hybrid loss fuses binary cross entropy (BCE), structural similarity (SSIM) and intersection-over-union (IoU) losses, which the authors describe as a hierarchy of pixel, patch and map levels. In the released code the SSIM loss is adapted from pytorch-ssim.

The paper reports that on six public datasets the method outperformed the methods it was compared with, in both regional and boundary evaluation measures. It also reports a speed of over 25 fps on a single GPU.

Key idea. BASNet combines a densely supervised encoder-decoder, a residual refinement module and a hybrid BCE, SSIM and IoU loss to predict salient objects with clear boundaries.

  • basnet
  • boundary-aware salient object detection
  • salient object detection
  • sod
  • saliency map
  • boundary-aware segmentation network
  • predict-refine
  • hybrid loss

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

Cite the paper

@inproceedings{Qin_2019, title={BASNet: Boundary-Aware Salient Object Detection}, url={http://dx.doi.org/10.1109/CVPR.2019.00766}, DOI={10.1109/cvpr.2019.00766}, booktitle={2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, publisher={IEEE}, author={Qin, Xuebin and Zhang, Zichen and Huang, Chenyang and Gao, Chao and Dehghan, Masood and Jagersand, Martin}, year={2019}, month=June, pages={7471–7481} }