Rethinking Video-Text Understanding: Retrieval from Counterfactually Augmented Data

Wufei Ma, Kai Li, Zhongshi Jiang, Moustafa Meshry, Qihao Liu, Huiyu Wang, Christian Häne, Alan L. Yuille

Abstract

Recent video-text foundation models have demonstrated strong performance on a wide variety of downstream video understanding tasks. Can these video-text models genuinely understand the contents of natural videos? Standard video-text evaluations could be misleading as many questions can be inferred merely from the objects and contexts in a single frame or biases inherent in the datasets. In this paper, we aim to better assess the capabilities of current video-text models and understand their limitations. We propose a novel evaluation task for video-text understanding, namely retrieval from counterfactually augmented data (RCAD), and a new Feint6K dataset. To succeed on our new evaluation task, models must derive a comprehensive understanding of the video from cross-frame reasoning. Analyses show that previous video-text foundation models can be easily fooled by counterfactually augmented data and are far behind human-level performance. In order to narrow the gap between video-text models and human performance on RCAD, we identify a key limitation of current contrastive approaches on video-text data and introduce LLM-teacher, a more effective approach to learn action semantics by leveraging knowledge obtained from a pretrained large language model. Experiments and analyses show that our approach successfully learn more discriminative action embeddings and improves results on Feint6K when applied to multiple video-text models. Our Feint6K dataset and project page is available at https://feint6k.github.io.

Introduction: The "Shortcut" Problem

Despite impressive scores on standard video-text benchmarks, researchers have long suspected that these models don't "understand" video in the way humans do. Standard retrieval tasks are often too easy: if a model sees a "kayak" in one frame, it can easily retrieve a caption about "kayaking" because no other candidate captions mention a kayak. This is called shortcut learning.

True video understanding requires cross-frame reasoning—distinguishing between a person picking up a rock versus throwing a rock. Current evaluations fail to measure this because the "negative" examples are usually captions from completely different videos. As shown in the figure below, models often correctly identify objects but fail on the specific action verbs, leading to a significant performance drop on the RCAD task compared to standard benchmarks.

Current models often fail to distinguish between similar actions (left) and show a significant performance drop on the RCAD task compared to standard benchmarks (right).

Retrieval from Counterfactually Augmented Data (RCAD)

To address these limitations, we introduce RCAD (Retrieval from Counterfactually Augmented Data). In this new evaluation paradigm, for a given video, the model must choose the correct caption from a set of "hard negatives." These negatives share the same objects and context as the original caption but describe a different, plausible action.

The RCAD framework uses a human-in-the-loop system to generate counterfactual captions (e.g., changing "kicking" to "throwing" or "catching") to test a model's temporal reasoning.

Accompanying this task is the Feint6K dataset, which consists of 6,243 videos (sourced from MSR-VTT and VATEX) with human-annotated counterfactual captions. Each video has one positive caption and five "hard" negative captions that describe plausible but incorrect actions.

Improving Action Semantics with LLM-teacher

To improve model training, we propose LLM-teacher, a method that leverages Large Language Models to generate hard negative captions automatically. This forces models to focus on verbs and temporal changes rather than just nouns. We utilize two primary generation methods: Mask Filling (using models like XLM-RoBERTa) and LLM Chatbots (using in-context learning).

The models are trained using a contrastive loss that includes these LLM-generated negatives. We also experiment with "soft logits," where the model is trained to match semantic similarity scores provided by an LLM, preventing the model from over-penalizing captions that are semantically close to the truth.

Key Results

Our analysis reveals a significant performance gap between humans and state-of-the-art models. While humans achieve ~96% accuracy on Feint6K, models like InternVideo drop significantly compared to their performance on standard benchmarks. Specifically, the SOTA model InternVideo achieves 87.9% R@1 on standard VATEX retrieval but plummets to 58.2% on the Feint6K benchmark. Applying the LLM-teacher method to InternVideo improved its R@1 on Feint6K to 65.6%, demonstrating that training with counterfactuals successfully builds more discriminative action representations.

Conclusion

Current video-text models are disproportionately reliant on static visual cues rather than temporal dynamics. By introducing the RCAD task and the LLM-teacher training approach, we provide both a more rigorous evaluation metric and a path forward for developing models with genuine temporal understanding. Future work may involve extending these concepts to visual counterfactuals generated by video diffusion models.

Summary updated

BibTeX
@inproceedings{ma2024rethinking,
  author = {Wufei Ma and Kai Li and Zhongshi Jiang and Moustafa Meshry and Qihao Liu and Huiyu Wang and Christian Häne and Alan L. Yuille},
  title = {{Rethinking Video-Text Understanding: Retrieval from Counterfactually Augmented Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72624-8\_15},
}
Figure