Introduction
Video captioning—the task of automatically generating a natural language description for a video clip—is a complex multi-modal challenge. To succeed, a model must align visual information (what is happening) with linguistic semantics (how to describe it). While many existing approaches rely on standard features like S3D or ResNet, these often lack the deep semantic alignment between images and text required for nuanced captioning. Furthermore, many videos contain subtitles that provide vital context, yet this information is frequently underutilized in captioning pipelines.
CLIP4Caption++ is a high-performance video captioning framework designed to bridge these gaps. By leveraging multiple pre-trained CLIP models for visual features, integrating video subtitles, and employing a sophisticated two-tier ensemble strategy, the authors achieved state-of-the-art results, winning the 2021 VALUE Challenge.
Methodology
The authors built CLIP4Caption++ on the X-Linear/X-Transformer architecture. Their approach features four primary improvements:
- Multi-CLIP Feature Extraction: Instead of a single visual backbone, they used three distinct pre-trained CLIP models—CLIP(RN50x16), CLIP(ViT-B/32), and CLIP(ViT-B/16)—to extract appearance features. They also used SlowFast (ResNet-50) to capture motion-specific features.
- TSN Sampling: During training, they used Temporal Segment Networks (TSN) sampling. This divides a video into $K$ segments and randomly samples one frame from each, acting as a form of data augmentation that increases sample randomness.
- Bimodal Feature Fusion with Subtitles: The model doesn't just "look" at the video; it "reads" it. Video subtitles are tokenized and embedded alongside the visual features. To help the model distinguish between the two, they introduced a token type embedding (assigning '0' to video features and '1' to subtitle text).
- Two-Tier Ensemble Strategy:
- Word-level: During the generation process, the model averages the softmax outputs of multiple models at each step to choose the most probable next word.
- Sentence-level: They generate multiple complete captions and use the CIDEr metric as an "importance score" to select the best overall sentence.
Experimental Setup
The model was evaluated on three major video captioning datasets:
- VATEX: A large-scale multilingual dataset.
- YC2C (YouCook2-Caption): Focused on cooking procedures.
- TVC (TV Show Captioning): Part of the TVR dataset, which includes video-subtitle pairs from popular TV shows.
Key Insights and Results
The proposed solution won the championship in the VALUE Challenge 2021 captioning task. Several key insights emerged from the development process:
- The Power of CLIP: The authors found that CLIP's pre-training on 400 million image-text pairs gives it a "natural ability" to align visual features with language, making it far superior to standard ImageNet-trained models for captioning tasks.
- Subtitles are Semantic Goldmines: In datasets like TVC, subtitles provide rich context that visual pixels alone cannot convey. Integrating them via a bimodal fusion layer significantly boosted performance.
- Self-Critical Sequence Training (SCST): Moving from standard cross-entropy loss to SCST (which optimizes directly for the CIDEr metric) provided a massive jump in performance.
- Diversity in Ensembles: By training multiple models with different hyperparameters and frame lengths, the ensemble strategy was able to mitigate the "incorrect word" impact that often plagues single-model generation.
Quantitative highlights show consistent improvements from the ensemble approach across all tested datasets, particularly in the CIDEr metric, which is highly sensitive to caption quality and relevance.
Limitations and Future Work
While the paper demonstrates a winning strategy, there are a few inherent limitations:
- Computational Cost: Running three different CLIP models plus a SlowFast backbone, followed by a multi-model ensemble, is computationally expensive and may not be suitable for real-time applications.
- Dependency on Subtitles: The performance boost is most significant when subtitles are available. For "in-the-wild" videos without metadata or speech-to-text, the model would rely solely on visual features.
- Pre-training: The authors explicitly noted they did not use additional pre-training on the target datasets. Future work could explore how task-specific pre-training might further enhance these "Multi-CLIP" features.
Summary updated