Abstract
With the emergence of social media, voluminous video clips are uploaded every day, and retrieving the most relevant visual content with a language query becomes critical. Most approaches aim to learn a joint embedding space for plain textual and visual contents without adequately exploiting their intra-modality structures and inter-modality correlations. This paper proposes a novel transformer that explicitly disentangles the text and video into semantic roles of objects, spatial contexts and temporal contexts with an attention scheme to learn the intra- and inter-role correlations among the three roles to discover discriminative features for matching at different levels. The preliminary results on popular YouCook2 indicate that our approach surpasses a current state-of-the-art method, with a high margin in all metrics. It also overpasses two SOTA methods in terms of two metrics.
Introduction
The "semantic gap" remains a significant challenge in video retrieval. Effective retrieval requires a system to understand not just individual words in a query, but the complex relationships between them—for instance, distinguishing between "adding yogurt to a bowl" and "adding a bowl to yogurt." Most existing models attempt to map entire videos and sentences into a single joint embedding space. While effective for general topics, this "flat" approach often loses the fine-grained details necessary for complex, multi-step queries.
Previous attempts to bridge this gap often treated video as a simple sequence of frames or ignored the nuanced interactions between different visual contexts, such as how an object's appearance relates to its action over time.
Methodology: Semantic Role Aware Correlation Transformer
The researchers propose a novel architecture that "disentangles" both text and video into three hierarchical levels: objects, spatial contexts, and temporal contexts.
Textual and Visual Encoding
The model uses Semantic Role Labeling (SRL) to parse captions into a graph structure, separating global sentence context from specific verbs (actions) and nouns (objects). These are processed via Graph Convolutional Networks (GCNs). Simultaneously, the visual modality is encoded into three distinct feature sets:
- Spatial (2D): Captures the "where" and "what" using ResNet-152.
- Temporal (3D): Captures the "how" of actions using ResNeXt-101.
- Object (RoI): Detects specific regions of interest using Faster R-CNN.
The Correlation Transformer
The core innovation is the Correlation Transformer, which employs two types of attention:
- Self-Attention: Identifies discriminative features within a single modality.
- Cross-Modal Attention: Discovers "complementary" features by examining how one modality's context (e.g., temporal video data) can clarify another's (e.g., object text data).
Final similarity scores are calculated by averaging the matches across all three levels (Object, Spatial, and Temporal).
Experimental Setup
The model was evaluated on the YouCook2 dataset, which contains approximately 14,000 video clips of diverse cooking styles with imperative English captions. Due to the lack of public test set annotations, the authors conducted their evaluation on the validation set (~3.5k clips).
Results and Discussion
The proposed model was compared against several state-of-the-art (SOTA) methods, including HGR, HGLMM, and Miech et al.
Without large-scale pre-training, the model achieved an R@1 of 5.3 and R@5 of 14.5, notably surpassing the strong HGR baseline. An ablation study further confirmed that the combination of 2D, 3D, and RoI features provides a significant performance boost over using 2D features alone, validating the multi-level encoding strategy.
Key Insights
- Disentanglement is Crucial: Breaking complex scenes into "Object, Action, and Scene" allows for more precise matching of sentence components to visual elements.
- Cross-Modal Synergy: Inter-modal correlation via cross-modal attention proved more effective than simple feature concatenation, allowing the model to leverage information that might be clearer in one modality than the other.
Conclusion and Future Work
While the model demonstrates superior performance in R@1 and R@5, it faces limitations. Currently, it falls slightly behind some competitors in R@10 and Median Rank (MedR), and the extraction of three distinct visual feature types increases computational costs. Furthermore, many top-performing SOTA models (like MIL-NCE) benefit from massive pre-training on datasets like HowTo100M. Future work will focus on incorporating these pre-trained backbones into the Semantic Role Aware architecture to further bridge the semantic gap in video retrieval.
Summary updated