Abstract
Long-term Video Question Answering (VideoQA) is a challenging vision-and-language bridging task focusing on semantic understanding of untrimmed long-term videos and diverse free-form questions. The canonical approaches often rely on off-the-shelf feature extractors, resulting in domain-independent modality-unrelated representations and gradient blocking. We present Multi-granularity Contrastive cross-modal collaborative Generation (MCG), an entirely end-to-end solution. MCG introduces Joint Unimodal Modeling (JUM) and leverages Multi-granularity Contrastive Learning (MCL) to harness semantic correspondences. To alleviate task formulation discrepancy, we propose a Cross-modal Collaborative Generation (CCG) module, reformulating VideoQA as a generative task. Extensive experiments on six datasets underscore the superiority of our proposed method.
Introduction
Answering questions about long-form videos (untrimmed, minutes-long content) is significantly more complex than short-clip QA. Current state-of-the-art (SOTA) models face three major bottlenecks:
- Non-associative Representations: Reliance on "offline" feature extractors (e.g., ResNet, CLIP) results in video features not specifically tuned for the QA task.
- Gradient Blocking: Frozen or separate-stage feature extraction hinders gradient flow between video understanding and cross-modal reasoning.
- Task Disparity: Using classification heads for VideoQA creates a gap between pre-training (generative/matching) and the final task, leading to overfitting.
The MCG model addresses these by reformulating VideoQA as an entirely end-to-end generative task, aligning visual and textual semantics at both global and token levels.
Methodology
The MCG framework is built upon three main pillars designed to enable end-to-end learning and robust cross-modal alignment.
Joint Unimodal Modeling (JUM)
To avoid the limitations of offline features, MCG employs an Intra-Video Module (IVM) based on the TimeSformer architecture and an Intra-Question Module (IQM) based on BERT. This setup allows for end-to-end training where gradients flow through the entire pipeline, ensuring video features are actively shaped by the linguistic context.
Multi-Granularity Contrastive Learning (MCL)
To ensure the video and text modalities are well-aligned, MCG utilizes two levels of contrastive loss:
- Instance-grained (ICL): Aligns the entire video clip with the entire question or caption.
- Token-grained (TCL): Uses an internal memory buffer to align specific video patches with specific words. This ensures the model captures subtle visual cues essential for precise answering.
Cross-modal Collaborative Generation (CCG)
Moving away from traditional classification, MCG reformulates VideoQA as a generative task. It utilizes a Cross-modal Fusor to merge modalities and an Answer Generator to produce free-form text. This approach forces the model to "rationalize" answers, leading to better generalization and reasoning depth.
Experiments and Results
The model was evaluated on six diverse benchmarks, including long-term (ActivityNet-QA), causal/temporal (NExT-QA, CLEVRER), and short-term (MSRVTT-QA, MSVD-QA) datasets.
MCG achieved state-of-the-art performance across multiple benchmarks:
- ActivityNet-QA: Surpassed previous SOTA (ALPRO) by 3.5% in overall accuracy, with a 5.3% improvement in motion-related tasks.
- NExT-QA: Achieved a 7.4% increase in overall accuracy and an 8.7% boost in causal reasoning (Acc@C), demonstrating a superior ability to understand "why" events occur.
- Short-term Videos: Showed significant gains on MSRVTT-QA (8.4%) and MSVD-QA (11.5%), proving the generative approach scales effectively to shorter clips.
Conclusion
The MCG model demonstrates that an end-to-end generative approach, supported by multi-granularity contrastive learning, significantly improves long-term VideoQA. By switching from classification to generation, the model achieves better alignment and reasoning capabilities. While it excels in natural scenes, future work will focus on improving performance in synthetic, object-centric environments and enhancing causal robustness in highly ambiguous scenarios.
Summary updated