TL;DR
This paper introduces COST, a novel video captioning framework that leverages three specialized Transformer branches to jointly model visual-linguistic interactions at different granularities: global video content, detected objects, and actions. By employing a cross-granularity attention mechanism, COST effectively aligns these diverse interactions, leading to more accurate and discriminative caption generation, particularly for subject, predicate, and object components.
What Problem Does This Paper Address?
Generating natural, relevant, and semantically coherent video descriptions is a significant challenge. Existing methods often struggle with the "domain gap" between different visual modalities and linguistic representations. While Transformers have shown promise, they typically concatenate features or use self-attention without explicitly addressing how different levels of visual detail (global appearance, specific objects, actions) contribute to understanding and describing a video. This paper aims to bridge this gap by explicitly modeling and aligning these distinct visual granularities for improved video captioning.
Methods
The core of the proposed method is the Collaborative Three-Stream Transformers (COST) architecture. It comprises three parallel Transformer branches, each focusing on a specific visual-linguistic interaction:
- Video-Text Transformer: Models interactions between global video appearances and text.
- Detection-Text Transformer: Focuses on aligning detected objects (Subjects and Objects) with text.
- Action-Text Transformer: Captures interactions related to actions and relations (Predicates) between objects and text.
A key innovation is the cross-granularity attention module. This module allows the three branches to "talk" to each other, aligning their learned interactions. It computes an affinity matrix to inject information from one branch into another, enabling them to complement and enhance each other. This is crucial for exploiting the most discriminative semantic information across different granularities. The model is trained end-to-end with specific optimization objectives for each branch to ensure semantic alignment.
Datasets
The authors evaluated their method on three widely used datasets:
- YouCookII: Features long, untrimmed videos describing cooking recipes.
- ActivityNet Captions: A large-scale dataset with diverse human activities.
- MSVD: A dataset of short video clips from YouTube.
Key Insights and Ideas
- Granularity Matters: Explicitly modeling and aligning visual information at different granularities (global video, objects, actions) is crucial for accurate video captioning, rather than simply concatenating features.
- Cross-Granularity Synergy: The proposed cross-granularity attention mechanism effectively allows specialized branches to inform and enhance each other, leading to a more comprehensive understanding of video content.
- Subject, Predicate, Object Focus: By dedicating specific branches to object detection and action recognition, the model is better equipped to generate captions that accurately describe these critical sentence components.
- Importance of Detection Features: The study highlights that incorporating object detection features significantly improves captioning performance, a factor often overlooked in previous Transformer-based approaches.
Key Results
COST achieved competitive results on the YouCookII and ActivityNet Captions datasets, often surpassing or matching state-of-the-art methods. For instance, on the YouCookII validation set, COST achieved a CIDEr score of 45.54% without using external pre-trained features (COOT), and 60.78% when using COOT features. The paper also demonstrates that the cross-granularity attention module is essential, with its removal leading to a significant drop in performance (CIDEr from 45.54% to 30.32%). Qualitative results showed COST generating more accurate and natural captions, correctly identifying actions and objects where other methods failed.
Limitations and Future Work
The authors acknowledge that their model has a larger parameter count and slower processing speed compared to some single-stream methods like MART. Additionally, the method requires additional data processing steps for extracting region features, which adds to the pre-processing time. Future work includes exploring pre-training on larger-scale datasets to further enhance performance and potentially improving efficiency.
Summary updated