All models

rvm_resnet50

Recurrent human video matting that needs no trimap or background and runs HD and 4K in real time.

Segmentation · 315 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 (24 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

Family
RVM
Parameters
26.9M
Operations
315
Framework
PyTorch
Recurrent
No
Published
WACV (arXiv 2021)
Cited by
183 (as of 18 October 2026)
Authors
Shanchuan Lin, Linjie Yang, Imran Saleemi, Soumyadip Sengupta
License
GPL-3.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
m8982
Graph hash
c89dbb2222e7bc8ad1fc99455595ccaf89a9f4cdea4d0909260816eb84675eed
Skeleton hash
4991de0f416b72120607c6fbb83fc9d49acf79074da754e5c2297be13e2f33e4
Architecture hash
8123c0762128cb2ebf17bff1204c1460266df3e24974687e259494bc6ebb5615
Diagram SHA-256
b03281381e4733f3907d69a953adb44c43b79941db94d5b57ddb21ad7801ff4d
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

The ResNet50 backbone variant, the larger model with small performance improvements.

About this model's family

Robust Video Matting (RVM) is a real-time, high-resolution human video matting method. Matting predicts the alpha matte and foreground color of each frame so the subject can be composited onto a new background. Unlike methods that treat frames as independent images, RVM uses a recurrent architecture to exploit temporal information in the video. It needs no auxiliary inputs such as a trimap or a pre-captured background image.

The network has an encoder that extracts per-frame features, a recurrent decoder that aggregates temporal information, and a Deep Guided Filter module for high-resolution upsampling. The encoder is MobileNetV3-Large followed by the LR-ASPP module, and the decoder applies ConvGRU at multiple scales to half of the channels. The output block projects the features to a 1-channel alpha prediction, a 3-channel foreground prediction and a segmentation channel used only as a training objective. For high-resolution video the frame is downsampled by a factor before the encoder-decoder and the Deep Guided Filter restores full resolution. Training enforces both matting and segmentation objectives, which improves robustness.

The captured members are the MobileNetv3 and ResNet50 variants; the ResNet50 models are the larger variant with small performance improvements. A forward pass returns the foreground, the alpha and four recurrent states that are cycled into the next call.

Key idea. A recurrent ConvGRU decoder that carries temporal memory across frames, trained jointly on matting and segmentation, giving auxiliary-free high-resolution video matting in real time.

  • robust video matting
  • alpha matte
  • ConvGRU
  • MobileNetV3
  • Deep Guided Filter
  • temporal guidance

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

Cite the paper

@misc{lin2021robusthighresolutionvideomatting,
      title={Robust High-Resolution Video Matting with Temporal Guidance}, 
      author={Shanchuan Lin and Linjie Yang and Imran Saleemi and Soumyadip Sengupta},
      year={2021},
      eprint={2108.11515},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2108.11515}, 
}