Skip to content
advancedvideo

Long-RVOS Referring Descriptions for Video Objects

Video tracking with SAM 2 mask propagation and three referring descriptions per object, from the Long-RVOS protocol. Sample clips are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/video/segmentation/long-rvos-referring-descriptions
potato start config.yaml

About this dataset

Long-RVOS is a benchmark for referring video object segmentation in long videos, built by Tianming Liang, Haichao Jiang, Yuting Yang, Chaolei Tan, Shuai Li, Wei-Shi Zheng, and Jian-Fang Hu and published at CVPR 2026. The authors report 2,193 videos with 6,703 objects and 24,689 descriptions, drawn from existing long-video datasets that supply sparse bounding boxes.

The text stage has annotators watch a video with the target objects highlighted by boxes and write three descriptions per object. A static description covers appearance, relative position, and environmental context, a dynamic description covers motion and interactions, and a hybrid description combines both. Every description must single out the target from other objects, and a description type can be skipped when no wording of that type singles out the target. The mask stage tracks each object with SAM 2 from a first-frame box, then runs a check-correct loop in which annotators refine masks and remove masks from frames where the object is absent. From Potato 2.15.0, the pre_annotation export format writes the answers of one stage as the predictions_file of the next stage; answers of the video_annotation schemes are left out.

The design combines both stages for one annotator. A video_annotation scheme in tracking mode holds box, polygon, and mask tracks, with three text attributes per track for the descriptions. The propagation block asks SAM 2 on the server to carry a drawn object forward, and frames where the model reports the object hidden stay empty for the annotator to review. Propagation runs on the server and needs potato download-models sam2_video_tiny, so the in-browser demo cannot run propagation. The three description prompts are Potato's own wording, and the expert validation stage is not reproduced. The three sample clips are CC0 footage from Wikimedia Commons, cut to at most 12 seconds, and none is a Long-RVOS video.

Videos
2,193
Objects
6,703
Descriptions
24,689
Description types
3 (static, dynamic, hybrid)
Text annotators
20 college students

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# Dataset: Long-RVOS, Liang et al., CVPR 2026, pp. 39497-39507.
#   @InProceedings{Liang_2026_CVPR,
#     author = {Liang, Tianming and Jiang, Haichao and Yang, Yuting and Tan, Chaolei and Li, Shuai and Zheng, Wei-Shi and Hu, Jian-Fang},
#     title = {Long-RVOS: A Comprehensive Benchmark for Long-term Referring Video Object Segmentation},
#     booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
#     month = {June}, year = {2026}, pages = {39497-39507}}
# DOI: 10.48550/arXiv.2505.12702 (the arXiv preprint; the CVF proceedings page carries no DOI)
# arXiv: https://arxiv.org/abs/2505.12702
# Paper: https://openaccess.thecvf.com/content/CVPR2026/html/Liang_Long-RVOS_A_Comprehensive_Benchmark_for_Long-term_Referring_Video_Object_Segmentation_CVPR_2026_paper.html
# Project: https://isee-laboratory.github.io/Long-RVOS/ ; code (MIT): https://github.com/iSEE-Laboratory/Long_RVOS
# Dataset: https://huggingface.co/datasets/iSEE-Laboratory/Long-RVOS (apache-2.0 on the dataset card;
# the source videos carry their own licenses). Nothing from Long-RVOS is shipped.
# Sample clips: three CC0 videos from Wikimedia Commons (Jeromi Mikhael, Samson Ssemakadde), not Long-RVOS
# videos; see media/LICENSE-media.txt. The clips are cut to at most 12 seconds and stored in media/ because server-side
# propagation reads frames from a file on the server. Items are illustrative.
#
# Protocol (paper section 3.2, "Text Annotation"): annotators watch a video "with all
# target objects highlighted by bounding boxes" and write three descriptions per object.
# "Static type includes appearance (e.g., colors and shapes), relative position
# (e.g., 'the left cat'), and environmental context". "Dynamic type includes
# motions, changes over time ... and interactions with other entities". "Hybrid type
# integrates both static and dynamic attributes". "every single description,
# regardless of type, must clearly distinguish the target object from others", and a
# type may be skipped when it cannot do so. The paper's "Mask Annotation" stage tracks each
# object with SAM2 from a first-frame box, then runs a check-correct loop in which annotators
# refine masks with point or box prompts and remove masks from object-absent frames.
#
# Adaptations: the three description wordings under 'attributes' are Potato's own prompts (the paper
# quotes only the type definitions). The paper highlights boxes it already holds; here the annotator
# draws the target once and writes the descriptions on that track. The mask stage is reproduced in
# outline. A track can hold boxes, polygons and masks. Boxes and polygons are interpolated between
# keyframes. Masks come from the `propagation` block, which asks SAM 2 on the server to carry the
# object forward from a drawn keyframe, leaves frames where the model reports the object hidden
# empty, and lets the annotator scrub through and correct the result. The paper's point prompts
# and the three-expert validation stage are not reproduced.
#
# Running the mask track. SAM 2 propagation runs on the server, not in the browser, and the
# in-browser demo cannot run it. Before the first run:
#   potato download-models sam2_video_tiny
# Server-side propagation also needs onnxruntime and ffmpeg. Draw the target on a frame,
# then use the track-forward control. `max_frames` bounds how many frames one request covers.
#
# Multi-stage protocol. The paper's pipeline has separate stages (text description, SAM2 mask
# tracking, expert validation). Potato can chain stages across annotators with
# `data_files[].filter_by_prior_annotation`, `pre_annotation`, `assignment_strategy: model_review`
# and `adjudication`. This design reproduces the description-and-track stage for one annotator only.
# From Potato 2.15.0, the pre_annotation export format (python -m potato.export --format pre_annotation)
# writes stage 1's answers as the next stage's predictions_file. Answers of the video_annotation schemes are
# left out with a warning.

annotation_task_name: "Referring descriptions for objects in long videos"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
port: 8000

# Local clips are served from media/ at /media/<file>.
media_directory: media

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: video_url

annotation_instructions: |
  Draw a box on the object you will describe, at the first frame where it is visible.
  Track it through the clip with the track-forward control (SAM 2, on the server) or by drawing
  polygons at later keyframes, and correct frames that look wrong. Then write a static, a
  dynamic and a hybrid description. Each description must single out the target from every other
  object in the video. Leave a type empty when it cannot do that.

annotation_schemes:
  - annotation_type: video_annotation
    name: target_objects
    description: "Track each target object, then describe it in three ways."
    source_field: video_url
    mode: tracking
    labels:
      - name: target
        color: "#FF6B6B"
    tracking_options:
      interpolation: linear
      auto_advance_frames: 10
    # Model-assisted tracking. Runs on the server; needs `potato download-models sam2_video_tiny`.
    propagation:
      max_frames: 120
    attributes:
      - name: static_description
        type: text
        description: "Appearance, relative position or setting, for example 'the left cat on the grass'"
      - name: dynamic_description
        type: text
        description: "Motion, change over time or interaction, for example 'the cat chasing a mouse'"
      - name: hybrid_description
        type: text
        description: "Static and dynamic cues together"
    video_fps: 15
    show_timecode: true
    frame_stepping: true

user_config:
  allow_all_users: true
  users: []

Sample Data

json
[
  {
    "id": "rvos_001",
    "video_url": "/media/cat_pigeon.mp4"
  },
  {
    "id": "rvos_002",
    "video_url": "/media/football_mawogola.mp4"
  }
]

// ... and 1 more items

Dataset & paper

Liang et al., CVPR 2026

Paper DOI
10.48550/arXiv.2505.12702

Citation (BibTeX)

bibtex
@InProceedings{Liang_2026_CVPR,
  author = {Liang, Tianming and Jiang, Haichao and Yang, Yuting and Tan, Chaolei and Li, Shuai and Zheng, Wei-Shi and Hu, Jian-Fang},
  title = {Long-RVOS: A Comprehensive Benchmark for Long-term Referring Video Object Segmentation},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  month = {June},
  year = {2026},
  pages = {39497--39507}
}

Details

Annotation Types

video_annotation

Domain

Computer VisionVideo UnderstandingSegmentation

Use Cases

Referring Expression AnnotationObject TrackingMask Propagation

Tags

long-rvosvideoreferring-video-object-segmentationsam2mask-propagationtrackingcvpr

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)