All models

SelfReformer

Transformer-based salient object detection network with a global-context branch and Pixel Shuffle outputs.

Segmentation · 1,686 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 (67 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
91.6M
Operations
1,686
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Multimedia (arXiv 2022)
Cited by
37 (as of 29 October 2026)
Authors
Yi Ke Yun, Weisi Lin
License
BSD-3-Clause
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
m20335
Graph hash
f0aff8ed47398259981f5d0c790c527572261df42769f392e1c4355020aba109
Skeleton hash
aff19ec3536b5d0f123920e37fc4cf3c783985dff546a2a0b6b23c611ff582ad
Architecture hash
4d76339156d25672a6dbd0a4e67030e22de7658023ff82de14a536f592d55ea9
Diagram SHA-256
60621b8dca39fa8812636b8ce7f605050d955dd279d9cb462f6beec41c847233
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

SelfReformer is a Transformer-based network for salient object detection, named for the way it guides and corrects itself from the global and local context it generates. The paper names two problems in conventional approaches: high-level CNN-based encoder features cannot effectively catch long-range dependencies, and downsampling the ground truth to fit the size of the predictions introduces inaccuracy.

For the first problem, one branch of the network is given a supervised task of its own so that it learns global context information explicitly. For the second, Pixel Shuffle, taken from super-resolution, reshapes the predictions back to the size of the ground truth instead of the reverse. A two-stage Context Refinement Module (CRM) then fuses the global context and locates and refines the local details in the predictions.

The paper reports experiments and evaluation results on five benchmark datasets. The repository offers a pre-trained model trained on DUTS-TR for testing on DUTS-TE. Its README notes that the default batch size of 16 requires 24GB of GPU memory.

Key idea. SelfReformer combines a Transformer-based network with a supervised global-context branch, Pixel Shuffle reshaping of predictions and a two-stage Context Refinement Module for salient object detection.

  • SelfReformer
  • Self-Refined Transformer
  • salient object detection
  • SOD
  • saliency
  • saliency map
  • Context Refinement Module
  • pixel shuffle

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

Cite the paper

@misc{yun2022selfreformerselfrefinednetworktransformer,
      title={SelfReformer: Self-Refined Network with Transformer for Salient Object Detection}, 
      author={Yi Ke Yun and Weisi Lin},
      year={2022},
      eprint={2205.11283},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2205.11283}, 
}