Source-linked AI summary

Deforming Videos to Masks: Flow Matching for Referring Video Segmentation

Zanyi Wang, Dengyang Jiang, Liuzhuozheng Li, Sizhe Dang, Chengzu Li, Harry Yang, Guang Dai, Mengmeng Wang, Jingdong Wang

arXiv:2510.06139v2cs.CV

TL;DR

RVOS must map language to fine-grained object pixels across dynamic video, while locate-then-segment approaches can bottleneck semantics and temporal consistency. FlowRVS learns a text-conditioned continuous deformation from video to mask, reporting state-of-the-art results with J&F gains on MeViS and zero-shot DAVIS 2017.

  • Problem

    RVOS must anchor abstract linguistic descriptions to fine-grained pixels over time, and locate-then-segment pipelines can bottleneck semantics and temporal consistency.

    Source: §1 · p. 2
  • Method

    FlowRVS learns a direct, language-guided continuous flow that deforms a video's spatio-temporal representation into its target mask.

    Source: §1 · p. 2
  • Results

    FlowRVS reports state-of-the-art results, with J&F gains of 1.6% on MeViS and 2.7% on zero-shot DAVIS 2017.

    Source: §1 · p. 3
  • Takeaways & Limitations

    The findings support principled adaptation of T2V models to align their generative strengths with RVOS's discriminative demands.

    Source: §5 · p. 9

Abstract

from arXiv · show

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.

1 INTRODUCTION

RVOS must connect language to fine-grained pixels across changing video, while locate-then-segment pipelines can bottleneck semantics and temporal consistency. FlowRVS instead learns a unified, language-guided video-to-mask flow and reports state-of-the-art benchmark gains.

  • RVOS requires anchoring natural-language concepts to dynamic, fine-grained pixels, but instance-centric pipelines can bottleneck semantics and temporal consistency.The cited work includes query-based methods such as ReferFormer and VLM-based methods such as LISA.Source: §1 · p. 2
  • The framework combines pretrained T2V models' pixel-level synthesis, text-conditioned alignment, and video-native spatio-temporal reasoning.Source: §1 · p. 2
  • FlowRVS treats RVOS as a convergent flow from a high-entropy video to one mask, with the text query selecting the target.Its proposed adaptations include boundary-biased sampling, direct video injection, and task-specific VAE adaptation with start-point augmentation.Source: §1 · p. 2
  • FlowRVS learns a direct, language-guided deformation from a video's spatio-temporal representation to its target mask.Source: §1 · p. 2
  • The paper presents principled techniques for transferring text-to-video generative models to video understanding.Source: §1 · p. 3
  • FlowRVS reports new state-of-the-art results, improving J&F by 1.6% on MeViS and by 2.7% on zero-shot DAVIS 2017.Source: §1 · p. 3

2 RELATED WORK

Prior RVOS work includes multi-stage localization and segmentation, query-based methods, and generative-model approaches. FlowRVS instead adapts the full text-to-video generative process as a language-conditioned video-to-mask flow.

  • RVOS methods often localize a text-described region before a separate framewise segmentation stage, while early approaches added temporal linking to image segmentation.Source: §2 · p. 3
  • The locate-then-segment family includes query-based architectures, multimodal localization followed by mask decoders, VLM+SAM systems, and VD-IT's T2V feature extraction.The passage notes that intermediate object queries or features can bottleneck holistic video-to-mask optimization.Source: §2 · p. 3
  • FlowRVS fine-tunes the full generative process to learn a direct video-to-mask deformation flow, rather than extracting features or making a static one-step prediction.It also differs from noise-to-image conditional generation by starting from the video source; the text query conditions the ODE path.Source: §2 · p. 3
  • Figure 2 depicts FlowRVS learning a velocity field and using an ODE solver to deform video latents into target-mask latents.The caption characterizes this video-to-mask paradigm as superior to noise-based or one-step prediction approaches.Source: Figure 2 · p. 4

3 METHOD

The method reframes RVOS as a text-conditioned continuous flow from video latent to mask latent. It adapts a pretrained T2V model with start-focused strategies and compares that flow with alternative formulations.

3.1 PROBLEM REFORMULATION: RVOS AS A CONTINUOUS FLOW

  • RVOS is reformulated as learning a velocity field that gradually deforms a video representation into the target mask under text guidance.The ODE trajectory starts at video latent z0 and ends at mask latent z1, replacing a single global mapping with a local velocity field.Source: §3.1 · p. 4
  • The video-to-mask task is a convergent transformation from a complex video latent to one correct mask, making the initial text-guided flow direction critical.The passage warns that an initial-step error is irrecoverable.Source: §3.1 · p. 4

3.2 TRANSFERRING TEXT-TO-VIDEO MODEL TO RVOS

  • Boundary-Biased Sampling oversamples timestep t = 0 so training focuses on the high-influence initial text-guided velocity.The passage reports that this strategy stabilizes training and turns a failing baseline into an effective model.Source: §3.2 · p. 5
  • Start-Point Augmentation stochastically encodes and normalizes the initial video latent to expose the model to nearby starting points and regularize its flow.Source: §3.2 · p. 5
  • Direct Video Injection concatenates the original video latent with the evolving state at each ODE step, keeping source context available to each update.The passage says this helps prevent trajectory drift and improves fine-grained accuracy with negligible computational overhead.Source: §3.2 · p. 5

3.3 ANALYSIS OF ALTERNATIVE PARADIGMS

  • Direct mask prediction is described as an ill-posed information collapse, while noise-to-mask flow demotes the video to a conditional signal rather than refining its structure.Source: §3.3 · p. 6
  • One-step velocity prediction outperforms direct mask prediction and noise-to-mask flow, but is limited by computing the full deformation in one pass.The authors attribute its limitation to missing the gradual iterative refinements of a multi-step process.Source: §3.3 · p. 6
  • The analysis concludes that multi-step video-to-mask flow is the most effective tested paradigm when paired with start-point-focused adaptations.Source: §3.3 · p. 6

4 EXPERIMENTS

Experiments evaluate FlowRVS on three RVOS benchmarks and compare it with prior approaches. The reported results include strong MeViS performance, zero-shot Ref-DAVIS17 transfer, and gains from adaptations to the video-to-mask flow.

4.1 BENCHMARK AND METRICS

  • The evaluation covers MeViS, Ref-YouTube-VOS, and Ref-DAVIS17, with J, F, and their average J &F as primary metrics.MeViS emphasizes complex motion; Ref-YouTube-VOS tests generalization across objects and scenes; Ref-DAVIS17 emphasizes precision and temporal consistency.Source: §4.1 · p. 6

4.2 IMPLEMENTATION DETAILS

  • FlowRVS uses Wan 2.1, freezing its text encoder and VAE encoder while fine-tuning the DiT; the VAE decoder is tuned separately for masks.Training differs by dataset: Ref-YouTube-VOS uses static-image pretraining followed by video fine-tuning, whereas MeViS training uses no static-image pretraining.Source: §4.2 · pp. 6–7

4.3 MAIN RESULTS

  • FlowRVS exceeds VISA-13B by 7.0 points and ReferDINO by 1.4 points on MeViS, and qualitative examples show stronger temporal and language grounding.The figure contrasts FlowRVS with VD-IT's unstable masks and ReferDINO's difficulty with long-range descriptions.Source: §4.3 · p. 7, Figure 4 · p. 8
  • 73.3 J &F on Ref-DAVIS17 is reported zero-shot, while FlowRVS scores 50.7 J &F on MeViS, 1.2 points above SAMWISE.The Ref-DAVIS17 model was trained on Ref-YouTube-VOS without DAVIS fine-tuning.Source: §4.3 · pp. 7–8

4.4 ABLATION STUDIES

  • Noise-to-Mask Flow performs poorly at 32.3 J &F, while Onestep Mask Prediction reaches 36.2 J &F; shifting from state to velocity prediction yields a +14.6 J &F gain.Source: §4.4 · pp. 8–9
  • Boundary-Biased Sampling at p = 0.5 gains 10.0 J &F over the base flow, while Direct Video Injection adds 2.0 J &F.A stronger p = 0.75 bias scores 56.5 J &F, still above the baseline; the authors describe DVI as a persistent context anchor that prevents drift.Source: §4.4 · p. 9
  • Removing Wan weight initialization collapses performance to 21.1 J &F, underscoring the role of pretrained T2V weights in this framework.Source: §4.4 · p. 9
  • With a fixed flow model, fine-tuning the VAE decoder improves performance by 0.9 J &F over the frozen decoder's 60.0 J &F.The adaptation is intended to bridge the domain gap between continuous video latents and binary masks.Source: §4.4 · p. 9, Table 3 · p. 9

5 CONCLUSION AND FUTURE WORK

FlowRVS reformulates RVOS as continuous, text-conditioned flow from video to mask, using start-point-focused adaptations to align T2V models with the task. The authors see conditional deformation as a potential paradigm beyond RVOS.

5 CONCLUSION AND FUTURE WORK

  • FlowRVS combines a continuous, text-conditioned video-to-mask flow with BBS, SPA, and DVI adaptations, and reports state-of-the-art performance.The conclusion describes the adaptations as start-point focused and says they align T2V generative strengths with the task’s discriminative demands.Source: §5 · p. 9
  • The paper frames principled adaptation of T2V models as a way to bridge generative processes and discriminative objectives.The conclusion specifically points to fortifying the flow’s structured starting point.Source: §5 · p. 9
  • The authors identify conditional deformation processes as a potentially useful paradigm beyond RVOS.They suggest start-point stabilization may inform future applications of larger foundation models to video-understanding tasks.Source: §5 · p. 10

ETHICS STATEMENT

The manuscript reports no ethics-related topics or experiments.

ETHICS STATEMENT

REPRODUCIBILITY STATEMENT

The reproducibility statement says implementation details and hyperparameter settings are provided, and that code release depends on acceptance.

REPRODUCIBILITY STATEMENT

A HYPERPARAMETERS SETTINGS

The appendix identifies AdamW as the optimizer and points to Table 4 for key training hyperparameters across three training stages.

A HYPERPARAMETERS SETTINGS

  • AdamW is used for all models, with key hyperparameters for Ref-YouTube-VOS and MeViS main experiments listed in Table 4.Source: A HYPERPARAMETERS SETTINGS · p. 13
  • Table 4 covers settings for 2D pre-training, video-dataset DiT fine-tuning, and separate VAE decoder adaptation.Source: Table 4 · p. 13

B MORE QUALITATIVE RESULTS

Qualitative examples show FlowRVS handling challenging video-text pairs, especially significant occlusion and nuanced descriptions in dynamic scenes.

B MORE QUALITATIVE RESULTS

  • FlowRVS handles challenging video-text pairs, particularly scenes with significant occlusion and nuanced textual descriptions.These examples are presented as additional qualitative results.Source: B MORE QUALITATIVE RESULTS · p. 13

C COMPREHENSIVE RESULTS

FlowRVS segments an unseen action phrase in a complex motion example, while failure cases reveal difficulty with intricate interactions and temporal ordering among similar objects.

C COMPREHENSIVE RESULTS

  • For fine-grained relational actions, FlowRVS may identify the subject but fail to isolate which horse performs the described interaction.The example involves the phrase “swings its tail and strikes the head.”Source: C COMPREHENSIVE RESULTS · p. 13
  • Among similar objects with temporal ordering cues such as “the second bird,” FlowRVS may segment the first bird that moves.The passage describes this as a difficulty with counting and ordering logic in dense scenes.Source: C COMPREHENSIVE RESULTS · p. 13
  • FlowRVS segments the unseen phrase “the dog somersaulting” throughout complex nonrigid motion.The phrase was absent from training data.Source: C COMPREHENSIVE RESULTS · p. 13
  • Figures 5 and 6 show FlowRVS visualization examples on MeViS-Valid-u and MeViS-Valid, respectively.Source: Figure 5 · p. 14, Figure 6 · p. 14

D.1 BOUNDARY-BIASED SAMPLING (BBS)

The appendix describes three techniques for adapting FlowRVS: boundary-biased timestep sampling, start-point augmentation, and direct video injection.

D.1 BOUNDARY-BIASED SAMPLING (BBS)

D.2 START-POINT AUGMENTATION (SPA)

  • SPA samples and normalizes a start latent from the video VAE posterior, exposing training to nearby latents to learn a smoother, more generalizable velocity field.Source: §D.2 · p. 15

D.3 DIRECT VIDEO INJECTION (DVI)

  • DVI concatenates the current state with the initial video latent, doubling the DiT’s input channels while leaving subsequent layers unchanged.Source: §D.3 · pp. 15–16
Loading 2510.06139v2…