TL;DR
VideoComp introduces a new benchmark and training framework designed to evaluate and improve how vision-language models handle fine-grained temporal compositionality in multi-event videos. By introducing subtle text disruptions like temporal reordering and action word replacement, the authors demonstrate that current models often fail to understand sequential coherence. To address this, they propose a hierarchical preference loss and a data-stacking pretraining strategy that significantly boosts a model's temporal awareness.
What Problem Does This Paper Address?
While Vision-Language Models (VLMs) excel at matching static images to text descriptions, extending this capability to video introduces the complex dimension of time. Current video-text models often suffer from a "bag-of-words" or "bag-of-frames" phenomenon—they can identify objects and actions within a video but struggle to comprehend the precise chronological order or the relationships between sequential events.
Existing benchmarks typically evaluate models on short, isolated, single-event clips (e.g., "a person slicing an apple"). Real-world video understanding requires tracking continuous, multi-event narratives. This paper addresses the lack of benchmarks and training methodologies geared toward fine-grained temporal compositionality in extended, cohesive video sequences.
Methods
The authors tackle this problem from two angles: dataset curation for evaluation, and novel training objectives for model improvement.
1. Dataset Disruption Generation
Starting with chronologically ordered, dense video captions concatenated into a single paragraph, the authors use Gemini-1.5-Pro to generate challenging negative text samples via three distinct disruptions:
- Temporal Reordering (
temp-reorder): Shuffling the chronological order of sentences while using an LLM to maintain linguistic flow. - Action Word Replacement (
action-replace): Swapping key verbs with contextually plausible alternatives that change the video's meaning. - Segment-Level Mismatch (
seg-mismatch): Pairing partial video crops with mismatched text segments from the same video.
To ensure the quality of these automated disruptions, an automatic validation step filters out any LLM outputs where word-level precision or recall drops below 80% compared to the original text.
2. Hierarchical Pairwise Preference Loss (CompLoss)
Instead of treating all negative samples equally, the authors introduce a ranking loss. CompLoss forces the model to assign the highest similarity score to the true positive pair, a slightly lower score to mild disruptions (like temporal reordering), and the lowest scores to severe or multiple disruptions.
3. Pretraining via Video Stacking (CompPretrain)
Densely annotated multi-event video datasets are exceptionally rare. To circumvent this data scarcity, the authors introduce a clever pretraining trick: they concatenate multiple independent short video-text pairs from standard datasets into a single "stacked" sequence, simulating a long-form, multi-event video.
Datasets
The framework leverages several datasets for training and benchmarking:
- ActivityNet-Captions and YouCook2: Used as the foundation to build the new compositionality benchmarks, ActivityNet-Comp and YouCook2-Comp (containing ~17,000 and ~4,500 video-text triplets, respectively).
- VideoCC3M: A short-form video dataset utilized for the
CompPretrainstacking strategy. - MSR-VTT: Used alongside ActivityNet to verify that the proposed methods do not degrade standard zero-shot video-text retrieval performance.
Key Insights and Ideas
- Foundational models are temporally blind: Standard dual-encoder models like VideoCoCa and VideoPrism perform barely better than random guessing (50-60% accuracy) when tasked with identifying whether a caption's sentences have been chronologically shuffled.
- LMMs understand semantics but miss sequence: Large Multimodal Models (LMMs) like Gemini-1.5-Pro are highly proficient at spotting action word replacements (achieving over 84% accuracy). However, their performance drops significantly on purely temporal tasks like reordering and segment mismatch.
- Synthetic complexity bridges the data gap: Stacking unrelated short video clips during pretraining successfully teaches models long-form temporal compositionality, proving that expensive, manual long-video annotation isn't strictly necessary to learn time-based sequence logic.
Key Results
The models were evaluated using a strict Comprehensive Accuracy metric, which requires a model to correctly solve all disruption types simultaneously (random baseline is $1/2^3 = 12.5\%$).
- Baseline vs. Proposed: On the ActivityNet-Comp benchmark, the baseline
VidCLIP-basemodel scored a low 18.9% comprehensive accuracy. IntegratingCompLossboosted this to 31.2%, and addingCompPretrainpushed it to 35.0%. - Outperforming Specialized Foundations: The final model (
VidCLIP-final, ~500M parameters) outperformed much larger foundation models like VideoCoCa (~2B parameters, 20.1% accuracy) and VideoPrism (22.2% accuracy). - Rivaling LMMs:
VidCLIP-finalachieved comparable performance to Gemini-1.5-Flash-8B (35.9%), despite being significantly smaller and cheaper to run.
Limitations and Future Work
While the proposed methods yield substantial gains, the absolute scores highlight that fine-grained temporal compositionality remains an open challenge; even the powerful Gemini-1.5-Pro maxes out at 43.9% comprehensive accuracy.
Additionally, the benchmark relies on LLMs to generate negative text samples and apply temporal smoothing. This introduces a risk of subtle linguistic artifacts that models might exploit rather than truly understanding the video dynamics. Future work will likely focus on scaling these compositionality-aware losses directly into massive autoregressive LMMs rather than relying solely on dual-encoder architectures.
Summary updated