All models

rvm_mobilenetv3

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

Segmentation · 333 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
3.7M
Operations
333
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
m8981
Graph hash
1b74eba4702cd85af83cc0544f942925dd7b3ef06340722091218a2271a7f61f
Skeleton hash
c5c0b89943518b68a58cd0a4e59ba0ba82b222c46dc925a4fbd4fe9fc41e7030
Architecture hash
6d7873158769bd8909414c266f6f5ff5987005adaa07f42150a0ca7674ce0288
Diagram SHA-256
9bbf8ec41f0ccf4eccb3731f0db48640cdb5fd87506dd130665972f705942529
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 MobileNetv3 backbone variant, recommended for most use cases.

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}, 
}