Predicate-First Synthesis of Motion Referring Expressions for Video Segmentation

Models that segment an object in a video from a sentence such as "the bird that flies away first" need training sentences that can only be resolved by watching motion. Such sentences are expensive to collect. The usual shortcut is to have a large vision-language model watch frames, write descriptions, and then run further models to discard the descriptions that are wrong. Most of the cost goes into generating text that is later thrown away. We propose to reverse the order. First, turn each video into a compact log of object tracks: per-frame boxes and masks, with camera motion subtracted. Second, search that log with cheap executable motion predicates, such as "moves left faster than every other bird after frame 40." Keep a predicate only if it picks out exactly the intended objects and cannot be satisfied from appearance alone. Only then ask a small text-only language model to turn the surviving predicate into natural language.

Rejection happens before any language model is called, and correctness is checked by running code rather than by a second foundation model. The yield is a training sentence whose meaning is verified against the tracks by construction. The note tests two things. The first is whether this pipeline gives more segmentation accuracy per dollar and per GPU-hour on the MeViS benchmark than caption-then-filter pipelines. The second is how much of the gain comes from predicate-first selection and how much from the language model's phrasing.

Why this gap exists

Referring video object segmentation means segmenting the object that a sentence describes, across every frame of a clip. MeViS showed that older benchmarks let models cheat from a single frame ("red car"). It built 28,570 expressions that were filtered so that no single frame suffices. On this set, prior methods fell from roughly 60% J&F to between 27% and 31%. J&F is the average of mask overlap and boundary accuracy. The strongest current result in the file is training-free. PARSE-VOS has Llama 3 8B parse the query into structured commands. It then builds candidate tracks with GroundingDINO and SAM2, subtracts camera motion, and reasons over serialized trajectory coordinates, reaching 52.4% J&F on MeViS.

PARSE-VOS is the key motivating fact for us. It shows that serialized, camera-compensated trajectories are enough for a mid-sized text LLM to resolve motion expressions. The cost is paid at every query, through a heavy detector-plus-tracker cascade, and nothing is distilled into a deployable model. We move that same symbolic trajectory reasoning from inference time to data-generation time.

On the data side, InterRVOS is the closest existing work. It synthesizes 127,236 mask-text pairs over 8,738 videos with a four-stage GPT-4o and LLaMA-3 pipeline that reads visual content, and uses them to train a segmentation-token MLLM. InstructDET and RIS-CQ do the analogous thing for static images. They generate instructions with LLaVA, LLaMA, or GPT-3.5 and then filter with CLIP or with humans, and RIS-CQ names video as future work. All three generate first and verify afterwards with learned models or people, and none checks motion necessity. Our pipeline verifies with executable predicates before generation, and it targets motion-only expressions specifically.

Two text-domain results supply the method. CLIPPER compressed books into outlines before prompting. That cut claim error from 73.1% to 16.7% and cost from $0.07 to $0.05 per claim, which suggests that an intermediate structured representation beats prompting on raw long inputs. Our track log plays the role of CLIPPER's outline. DISCO trained on 75,000 teacher-filtered counterfactuals and beat training on over a million unfiltered ones. It still paid for every GPT-3 generation it discarded. We keep DISCO's lesson that minimal contrasts are valuable, and remove its waste.

Core Claim

For motion-conditioned video grounding, the dominant cost in synthetic data is verification and rejection, not generation. Moving verification into symbolic predicates over tracked trajectories, before any language model is invoked, should do two things. It should cut the cost per retained, correct training pair by an order of magnitude relative to MLLM caption-then-filter pipelines. It should also give equal or higher MeViS accuracy for a trained student, because every retained pair is motion-necessary and correct against the tracks.

Research Program

Track logs. For source videos we use two sources. The first is videos with ground-truth masks from the Ref-YouTube-VOS and MeViS training splits. The second is unlabeled clips, which we track with SAM2. SAM2 tracks on unlabeled video can drift or swap identities, so we keep only tracks that pass a forward-backward consistency test. This borrows the bidirectional verification of reversible flows, where a mask propagated forward must return to its source. Each surviving video becomes a log of object class, per-frame box, centroid, area, and visibility. Global camera motion is estimated and subtracted, following PARSE-VOS's observation that apparent motion from panning confuses motion reasoning.

Predicate grammar. We define a small typed language over the log. Its primitives cover direction, speed, acceleration, start and stop events, occlusion and reappearance, relative motion between two objects (approach, follow, overtake), ordering ("first to leave"), and area change as a proxy for approaching the camera or state change. Each predicate is executed on the log and returns the set of track IDs that satisfy it.

Selection before generation. We sample predicates, preferring hard cases in which the target set shares its class with at least one distractor. A predicate is kept only if two conditions hold. First, it selects a non-empty target set. Second, a motion-necessity test passes: an appearance-only baseline cannot separate targets from same-class distractors when given any single frame. We implement that baseline as a CLIP-based ranking over per-frame crops, which mirrors the MeViS single-frame filter in code. We also generate DISCO-style minimal contrasts: pairs of predicates that differ in one primitive and select different objects in the same video.

Verbalization and back-check. Llama 3 8B, text only, receives the predicate and the class names and writes two to four paraphrases. A second cheap pass re-parses each paraphrase into the grammar, using the same model in the PARSE-VOS decomposition style. The paraphrase is kept only if the re-parsed predicate executes to the same target set. Because the language model never sees pixels, it cannot hallucinate visual content. The failure mode left is paraphrase drift, and the round-trip check catches it.

Students. We train two models on MeViS training data plus our synthetic pairs. The first is the compact LMPM model from MeViS. The second is a SAM2-decoder segmentation-token MLLM of the ReVIOSa type. Throughout, we log GPU-hours, API dollars, the number of LLM calls, the discard ratio at each stage, and human-audited correctness on 500 sampled pairs.

Baselines

The naive reference point trains each student on the MeViS training split alone, with the same schedule and compute. For LMPM, MeViS reports 37.2% J&F on MeViS.

The strongest existing method on the benchmark is PARSE-VOS, which reports 52.4% J&F on MeViS. It is training-free, so the fair comparison is a two-axis one. We compare J&F and per-query inference latency, and we run it on the same hardware as our students. Beating it outright with a compact student is not the success criterion. Success is recovering most of its accuracy at a small fraction of its inference cost. If the MLLM student exceeds 52.4%, that is a clear win.

The strongest data-synthesis competitor is an InterRVOS-style caption-then-filter pipeline. A multimodal model sees sampled frames and writes motion expressions. Masks are assigned through grounding, and a CLIP filter in the style of InstructDET removes mismatches. We re-implement it on exactly our source videos. We match it to our pipeline in two ways: equal count of retained pairs, and equal generation budget in GPU-hours and dollars. For the frontier-API variant, the cost is measured, not estimated. InterRVOS's own MeViS numbers are cut off in our file, so we cite no figure for it.

We also include a template baseline. It verbalizes each surviving predicate with deterministic templates and uses no LLM, so it isolates the verbalizer's contribution. It is also the cheapest possible version of our idea.

Finally, we run an ablation that keeps the whole pipeline but drops the motion-necessity test. This isolates the ingredient we believe matters most.

Our method beats the synthesis competitor if it matches or exceeds that competitor's student J&F on MeViS at equal retained-pair count, while costing at least five times less per retained pair. It also must show no regression on Ref-YouTube-VOS and Ref-DAVIS17.

Why not just…?

Why not just have GPT-4o watch the video and write expressions, as InterRVOS does? This works, and it is our main competitor. It carries two costs we can measure. Every frame goes through a frontier model. And a second learned verifier is needed because the generator can hallucinate motion. Nothing in that pipeline enforces motion necessity, and MeViS showed that without enforcement, expressions drift toward static attributes. The matched-count and matched-budget comparison settles this. If caption-then-filter wins at equal budget, our central claim is false.

Why not just use templates over the predicates and skip the LLM? This is a real threat. Templates are free and correct by construction. Their weakness may be that a text encoder overfits to template phrasing and fails on MeViS's human wording, but we do not know that it will. The template baseline decides the question. If templates match LLM verbalization, we report that the value lies entirely in predicate-first selection and recommend the cheaper pipeline. That would be a smaller but still useful result about where synthetic-data cost should go.

Why not just run PARSE-VOS at inference and skip training altogether? PARSE-VOS already gets 52.4% J&F. However, it runs GroundingDINO and SAM2 over every video for every query. Our proposal amortizes that trajectory reasoning into training data once. The latency-versus-J&F comparison shows whether the distilled students give a better operating point. If they lose too much accuracy, the honest conclusion is that per-query reasoning is worth its cost.

Why not just collect more human motion expressions? Human annotation is the gold standard. CLIPPER's comparison of $1.70 per human claim against $0.05 per synthetic claim indicates the scale of the cost gap in a related setting. We estimate the human-equivalent cost of our retained pairs from the audit, and we report J&F against dollars for both routes.

Proposed Experiments and Decisive Checks

The primary evaluation is MeViS validation J&F for both students, run at 25k, 50k, 100k, and 200k synthetic pairs. Ref-YouTube-VOS and Ref-DAVIS17 serve as regression checks. ReVOS is an out-of-distribution probe for the MLLM student; the file gives no VISA figure on ReVOS, so we report our own reproduction. Cost is reported as dollars and GPU-hours per retained correct pair, and as the discard ratio at each stage.

There are three decisive checks. The first compares predicate-first against caption-then-filter at equal budget; this confirms or refutes the core claim. The second is the ablation without the motion-necessity test. We expect a measurable MeViS drop with little change on Ref-YouTube-VOS, which would mirror the static-bias finding of MeViS. The third is the scaling curve. Following the code-agent finding that volume without diversity plateaus early, we compare scaling by count against scaling by number of distinct predicate structures at fixed count. If gains track structural diversity rather than volume, predicate-level sampling is the lever to control. A human audit of 500 pairs per pipeline checks the premise that symbolic verification actually produces fewer wrong pairs. If our audited error rate is not lower than the CLIP-filtered pipeline's, the savings claim stands but the quality claim fails.