All models

STCN

Video object segmentation network that matches frames directly and votes over memory with L2 similarity.

Segmentation · 723 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 (447 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
54.4M
Operations
723
Framework
PyTorch
Recurrent
Yes
Published
NeurIPS 2021
Cited by
221 (as of 29 October 2026)
Authors
Ho Kei Cheng, Yu-Wing Tai, Chi-Keung Tang
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
m20173
Graph hash
83a9ed630fd9e1e2e1d0ac6da7d23f6871b30ae77f936b9de4bdc544931edd12
Skeleton hash
2e863658c067a765059da09b1f238dc46a601adf6c32e979b445d5a490bab4fa
Architecture hash
9fcc635cf3da54505acfcfff86074e43e82a7e667068b9a9331af9dd4c5d4fb4
Diagram SHA-256
4f23529f8c0d4bbb6c08f9bb973fc17bb09667ae367c1d9dde553d8ee26fd7e4
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

STCN (Space-Time Correspondence Networks) is a framework for video object segmentation that models space-time correspondences. Unlike most earlier approaches, as the paper describes them, it establishes correspondences directly between frames without re-encoding the mask features for every object. The README puts it this way: affinity is built between images instead of between (image, mask) pairs, so one affinity matrix is computed instead of several.

Each node in the current query frame is inferred by aggregating features from the past, and the authors treat that aggregation as a voting problem. They find that the existing inner-product affinity uses memory poorly, with a small fixed subset of memory nodes dominating the votes regardless of the query. STCN instead computes affinities with the negative squared Euclidean distance, which the README calls L2 similarity.

The paper reports running at 20+ FPS for multiple objects. For the s012 model, the repository lists a J&F of 85.3 on DAVIS 2017 validation and an overall score of 84.3 on YouTubeVOS 18 validation. In the YouTubeVOS 2021 challenge, STCN achieved 1st place accuracy in novel (unknown) classes and 2nd place in overall accuracy.

Key idea. STCN establishes correspondences directly between frames rather than per object, and replaces inner-product affinity with negative squared Euclidean distance so that more memory nodes contribute to the vote.

  • STCN
  • Space-Time Correspondence Networks
  • video object segmentation
  • VOS
  • semi-supervised video object segmentation
  • memory bank
  • L2 similarity
  • DAVIS
  • YouTubeVOS

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

Cite the paper

@misc{cheng2021rethinkingspacetimenetworksimproved,
      title={Rethinking Space-Time Networks with Improved Memory Coverage for Efficient Video Object Segmentation}, 
      author={Ho Kei Cheng and Yu-Wing Tai and Chi-Keung Tang},
      year={2021},
      eprint={2106.05210},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2106.05210}, 
}