Deforming Videos to Masks: Flow Matching for Referring Video Segmentation

Zanyi Wang, Dengyang Jiang, Liuzhuozheng Li, Sizhe Dang, Chengzu Li +4 more
10/7/2025
cs.CV

No official code found. Best implementation: xmz111/FlowRVS (103 stars, MIT, last commit 2026-03-07). 1 more below.

Abstract

Referring Video Object Segmentation (RVOS) requires segmenting specific objects in a video guided by a natural language description. The core challenge of RVOS is to anchor abstract linguistic concepts onto a specific set of pixels and continuously segment them through the complex dynamics of a video. Faced with this difficulty, prior work has often decomposed the task into a pragmatic `locate-then-segment' pipeline. However, this cascaded design creates an information bottleneck by simplifying semantics into coarse geometric prompts (e.g, point), and struggles to maintain temporal consistency as the segmenting process is often decoupled from the initial language grounding. To overcome these fundamental limitations, we propose FlowRVS, a novel framework that reconceptualizes RVOS as a conditional continuous flow problem. This allows us to harness the inherent strengths of pretrained T2V models, fine-grained pixel control, text-video semantic alignment, and temporal coherence. Instead of conventional generating from noise to mask or directly predicting mask, we reformulate the task by learning a direct, language-guided deformation from a video's holistic representation to its target mask. Our one-stage, generative approach achieves new state-of-the-art results across all major RVOS benchmarks. Specifically, achieving a J&F of 51.1 in MeViS (+1.6 over prior SOTA) and 73.3 in the zero shot Ref-DAVIS17 (+2.7), demonstrating the significant potential of modeling video understanding tasks as continuous deformation processes.

View on arXivView PDF

Code Implementations(2)

xmz111/FlowRVSCommunity69%
MIT

[ICLR 2026] Deforming Videos to Masks: Flow Matching for Referring Video Segmentation (FlowRVS)

1036PythonOct 3, 20257 months agoMIT
MIT

FlowRVS,Deforming Videos to Masks: Flow Matching for Referring Video Segmentation,you can use it in comfyUI when use this node.

82PythonOct 30, 20257 months agoMIT

Similar Papers

Cite this paper

@article{wang2025deforming,
  title  = {Deforming Videos to Masks: Flow Matching for Referring Video Segmentation},
  author = {Zanyi Wang and Dengyang Jiang and Liuzhuozheng Li and Sizhe Dang and Chengzu Li and Harry Yang and Guang Dai and Mengmeng Wang and Jingdong Wang},
  year   = {2025},
  eprint = {2510.06139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06139v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.06139.svg)](https://codeofpaper.com/paper/2510.06139)

Discussion