All models

FSPNet

A vision transformer with a shrinking pyramid decoder that segments camouflaged objects in an image.

Segmentation · 1,032 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 (55 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
274.2M
Operations
1,032
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
315 (as of 24 October 2026)
Authors
Zhou Huang, Hang Dai, Tian-Zhu Xiang and others
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
m16599
Graph hash
1c448ff8537562c562362cdb122ddd5fb85f9ca4a41dbe80ebfb1f26feccef09
Skeleton hash
eba961a848b38dc9cba210d0180bedd8e15ab974f4970b82a736df83ae181790
Architecture hash
18ca086cf5f92147fad7a4b4c92ed45dda7786928838a15a10908b0c97fe2ac3
Diagram SHA-256
a4c2ea38c9f6bce7053b727d2e61652710e167d4684894eedf1bc1a38ba19954
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

FSPNet, the Feature Shrinkage Pyramid Network, is a transformer-based model for camouflaged object detection. The task is to segment camouflaged objects in a scene. The paper starts from two limitations it sees in vision transformers for this task: less effective locality modeling and insufficient feature aggregation in decoders.

The model has three components: a ViT-based encoder, a non-local token enhancement module (NL-TEM) and a feature shrinkage decoder (FSD) with adjacent interaction modules (AIM). The encoder is a vanilla vision transformer, in its base version and pretrained by the DeiT strategy. NL-TEM uses the non-local mechanism to let neighboring tokens interact and explores graph-based relations within tokens to enhance local representations. The decoder aggregates adjacent transformer features layer by layer through a shrinkage pyramid of 4 layers and 12 AIMs. During training the output prediction at each decoder layer is supervised with a binary cross-entropy loss.

Input images are resized to 384×384. The paper evaluates on three datasets, CAMO, COD10K and NC4K. On these it reports that the model outperforms the 24 existing methods it is compared with under six evaluation metrics.

Key idea. FSPNet decodes vision transformer features through a feature shrinkage decoder that progressively aggregates adjacent features in a layer-by-layer shrinkage pyramid for camouflaged object detection.

  • FSPNet
  • feature shrinkage pyramid network
  • feature shrinkage pyramid
  • camouflaged object detection
  • COD
  • camouflaged object segmentation
  • feature shrinkage decoder
  • NL-TEM

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

Cite the paper

@misc{huang2023featureshrinkagepyramidcamouflaged,
      title={Feature Shrinkage Pyramid for Camouflaged Object Detection with Transformers}, 
      author={Zhou Huang and Hang Dai and Tian-Zhu Xiang and Shuo Wang and Huai-Xin Chen and Jie Qin and Huan Xiong},
      year={2023},
      eprint={2303.14816},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2303.14816}, 
}