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

OnlineRefer: A Simple Online Baseline for Referring Video Object Segmentation

Dongming Wu, Tiancai Wang, Yuang Zhang, Xiangyu Zhang, Jianbing Shen

TL;DR

OnlineRefer challenges the prevailing belief that offline models are superior for Referring Video Object Segmentation (RVOS). By introducing a simple yet powerful query propagation mechanism, this online framework achieves state-of-the-art results across major benchmarks, proving that explicit temporal linking is more effective than complex clip-level modeling.

What Problem Does This Paper Address?

Referring Video Object Segmentation (RVOS) is the task of identifying and segmenting a specific object in a video based on a natural language description (e.g., "the panda on the left").

Currently, the field is dominated by offline methods. These models divide a video into non-overlapping clips and process each clip independently. While effective, they suffer from two main drawbacks:

  1. Weak Temporal Association: They often struggle to maintain consistency between different clips, especially when objects are occluded or move significantly.
  2. Computational Complexity: Processing entire clips at once is memory-intensive and unsuitable for long or streaming video applications.

The authors of OnlineRefer argue that the "offline is better" intuition is flawed. They set out to build a streamlined online model that processes video frame-by-frame while maintaining a strong "memory" of the target object.

Methods

OnlineRefer is built upon the Deformable DETR architecture, modified for cross-modal tasks. Its core innovation is a two-part cycle:

  1. Query-based Referring Segmentation: For each frame, the model uses a set of "queries" (learned vectors representing potential object locations and features) to predict the target object's mask, bounding box, and category, guided by the text prompt.
  2. Cross-frame Query Propagation: Instead of starting fresh for every frame, the model takes the "best" query from the previous frame (the one with the highest confidence score) and passes its information forward.
Figure 1: Conceptual comparison on current methods: (a) the mask-propagation method [11, 27], (b) the offline method [9, 1, 32], and (c) our query-propagation method.

Specifically, the model propagates three cues: the predicted box (providing a spatial prior), the output embedding (carrying semantic information), and the position embedding. This ensures the model "looks" in the right place and remembers what the object looks like as it moves through time.

The overall architecture of OnlineRefer, showing the frame-by-frame propagation cycle.

The authors also introduce a semi-online extension to make the framework compatible with powerful video-based backbones (like Video Swin Transformer), allowing for clip-by-clip processing with inter-clip propagation.

Datasets

The model was evaluated on four major RVOS benchmarks:

  • Refer-Youtube-VOS: A large-scale dataset with nearly 28,000 expressions.
  • Refer-DAVIS17: A high-quality dataset used to test the model's generalization ability.
  • A2D-Sentences: Focused on actor and action segmentation.
  • JHMDB-Sentences: A smaller dataset for actor-action segmentation.

Key Insights and Ideas

  • Spatial Priors are Key: Explicitly passing the bounding box from the previous frame acts as a powerful regional prior. This helps the model stay locked onto the target even in cluttered scenes.
  • One Query is Enough: Ablation studies showed that propagating just the single highest-scoring query is sufficient for strong inter-frame association, keeping the model lightweight.
  • Challenging the Offline Belief: The success of OnlineRefer suggests that the field's shift toward offline clip-level processing may have overlooked the efficiency and effectiveness of simple, explicit temporal linking.
  • Heuristic-Free Training: Unlike other online tracking models that require complex rules for "matching" objects between frames, OnlineRefer's propagation is naturally integrated into the transformer's query mechanism.
Visualization showing how OnlineRefer (b) maintains accurate reference points compared to standard query-sharing methods (a).

Key Results

OnlineRefer achieved impressive performance, outperforming all existing offline methods:

  • Refer-Youtube-VOS: Achieved 63.5 J&F using a Swin-L backbone.
  • Refer-DAVIS17: Reached 64.8 J&F, surpassing the previous best offline method (ReferFormer) by a significant margin.
  • A2D-Sentences: Set a new state-of-the-art with 79.6 Overall IoU.

Qualitatively, the model demonstrates robust performance in challenging scenarios, such as when the referred object is occluded or temporarily exits the frame.

Limitations and Future Work

  • First-Frame Dependency: If the referred object is not present in the very first frame, the model initially generates an "empty query." While the authors show the model can still recover when the object enters later, the initial frames are critical.
  • Single-Object Focus: The current architecture is optimized for segmenting a single referred object. Extending this to multi-object referring tasks (where one sentence might describe multiple targets) is a potential future direction.
  • Heuristic Selection: The choice to propagate the query with the highest class score is a heuristic. Future work could explore more sophisticated ways to aggregate or select queries for propagation.

Summary updated

BibTeX
@inproceedings{wu2023onlinerefer,
  author = {Dongming Wu and Tiancai Wang and Yuang Zhang and Xiangyu Zhang and Jianbing Shen},
  title = {{OnlineRefer: A Simple Online Baseline for Referring Video Object Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure