NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VideoMatch: Matching Based Video Object Segmentation

Yuan-Ting Hu, Jia-Bin Huang, Alexander G. Schwing

Introduction

Semi-supervised video object segmentation (VOS) involves tracking and delineating a specific object throughout a video sequence, given only the ground truth mask for the initial frame. Historically, this task was approached as a pixel-wise classification problem, often requiring "online fine-tuning"—a process where a pre-trained network is retrained on the first frame of each new video to "memorize" the target object's appearance. While effective, fine-tuning is computationally expensive, often taking minutes per video and precluding real-time use.

VideoMatch addresses this bottleneck by reframing VOS as a matching problem. Instead of updating network weights at test time, the model learns a universal feature space where pixels in a target frame can be matched against a template from the first frame. This approach achieves competitive accuracy while running significantly faster than traditional fine-tuning methods.

Methods

The VideoMatch architecture utilizes a Siamese-style network designed to compare features across frames without requiring weight updates during inference.

The overall architecture of VideoMatch, illustrating the Siamese feature extraction and the matching process between template and target frames.

Feature Extraction

The model employs a ResNet-101 backbone to extract high-level feature tensors from both the first frame (the template, $I_1$) and the current target frame ($I_t$). These features, denoted as $\mathbf{x}_1$ and $\mathbf{x}_t$, provide the basis for the subsequent matching stage.

Soft Matching Layer

The core innovation of VideoMatch is the Soft Matching Layer. For every pixel in the target frame, the model calculates the cosine similarity against foreground ($m_F$) and background ($m_B$) feature sets derived from the template frame.

Detailed view of the Soft Matching Layer, showing the computation of the similarity matrix and the averaging of Top K scores to produce a matching score.

Rather than matching a target pixel to a single "best" pixel in the template—which can be susceptible to noise—the model uses "Soft Matching." It averages the Top K (specifically K=20) similarity scores. This allows the system to account for the diverse textures and appearance variations of an object while maintaining high discriminative power.

Temporal Consistency and Online Updates

To maintain temporal stability, VideoMatch incorporates an outlier removal step. It "extrudes" (dilates) the prediction from the previous frame to create a search region; predictions falling outside this region are discarded. Furthermore, the model handles appearance changes (e.g., rotation or lighting shifts) by appending high-confidence features from the current frame to the foreground and background memory sets. This update mechanism is computationally efficient, requiring no backpropagation.

Key Results

VideoMatch was evaluated on several benchmarks, including DAVIS-16, DAVIS-17, YouTube-Objects, and JumpCut.

  • Efficiency: The primary advantage of VideoMatch is its speed. It processes frames at approximately 0.32 seconds per frame, making it 10x to 100x faster than fine-tuning-based competitors like OSVOS or OnAVOS.
  • Accuracy: On the DAVIS-16 benchmark, the model achieved an 81.03% mIoU. While slightly lower than the top fine-tuning methods, it significantly outperformed other non-fine-tuning baselines of its time.
  • Generalization: The matching-based approach allows the model to generalize across diverse datasets without category-specific retraining, demonstrating its robustness as a "universal matcher."

Conclusion

VideoMatch demonstrates that framing video object segmentation as a feature matching problem offers a compelling alternative to the slow process of online fine-tuning. By utilizing a soft matching layer and efficient memory updates, the model bridges the gap between high-speed processing and high-accuracy segmentation. Future work may involve integrating temporal cues like optical flow or more advanced memory management to further refine performance on complex scenes and small objects.

Summary updated

BibTeX
@inproceedings{hu2018videomatch,
  author = {Yuan-Ting Hu and Jia-Bin Huang and Alexander G. Schwing},
  title = {{VideoMatch: Matching Based Video Object Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01237-3\_4},
}
Figure