Learning Linguistic Association Towards Efficient Text-Video Retrieval

Sheng Fang, Shuhui Wang, Junbao Zhuo, Xinzhe Han, Qingming Huang

Introduction

Text-video retrieval aims to bridge the gap between visual content and natural language descriptions by mapping them into a shared embedding space. A significant challenge in this field is the information imbalance: while a video contains a high-entropy stream of visual details—including multiple actions, objects, and background elements—a single human-written caption is typically a sparse, abstract summary.

Furthermore, different annotators often focus on different aspects of the same video, leading to a variety of valid but incomplete descriptions. This semantic gap makes it difficult for models to align a single query caption with the rich visual information of a video. To address this, we introduce LINAS (LINguistic ASsociation), a training framework that leverages the complementarity of multiple captions to improve retrieval performance without increasing inference-time complexity.

Figure 1: Multiple captions provide a more complete linguistic picture of a video's rich visual content.

The LINAS Framework

LINAS is designed as a teacher-student distillation framework. The core idea is to use a "teacher" that has access to multiple descriptions of a video during training, and then transfer that enriched knowledge to a "student" model that only sees a single caption, mimicking real-world deployment scenarios.

1. The Teacher Model: Linguistic Association

During the training phase, for every video-caption pair, the teacher model identifies a "support set" of other captions describing the same video. An Attentional Aggregation module is employed to fuse these captions into a single, comprehensive text representation. By aggregating these diverse perspectives, the teacher creates a "super-caption" that more accurately reflects the video's high-entropy content.

2. Knowledge Distillation to the Student

Because inference typically involves a single query caption, the multi-caption teacher is impractical for deployment. LINAS uses knowledge distillation to train a student model. The student takes only one caption as input but is optimized to produce embeddings and similarity scores that match the high-quality outputs of the teacher.

Figure 2: The LINAS architecture featuring the Teacher Model with Attentional Aggregation and the Student Model for efficient inference.

3. Adaptive Distillation Strategy

Aggregating multiple captions can sometimes introduce noise or "spurious correlations" if certain captions in the support set are less relevant. To mitigate this, LINAS incorporates an Adaptive Distillation strategy. Using an EM-like algorithm, the model learns a mask that adaptively weights relations in the similarity matrix. This ensures the student focuses on the most reliable linguistic associations and ignores potential noise introduced by the teacher's aggregation process.

Experimental Evaluation

Datasets

The framework was evaluated on three standard benchmarks:

  • MSR-VTT: A large-scale dataset where each video is paired with 20 captions.
  • MSVD: Contains approximately 120,000 captions for 2,000 video clips.
  • VATEX: A large-scale multilingual retrieval dataset.

For datasets where only one caption per video is available, the authors proposed a "Generalized LINAS" approach that uses a pre-trained model to find "pseudo-support sets" from semantically similar videos.

Key Results

  • State-of-the-Art Performance: On MSR-VTT, applying LINAS to the "CE+" baseline improved the Text-to-Video R@1 from 14.4 to 15.2. It also improved the performance of massive pre-trained models like CLIP4Clip, pushing its R@1 on MSVD from 46.2 to 46.7.
  • Efficiency Gains: A "Base" student model trained via LINAS (using simple biGRU and mean pooling) outperformed significantly heavier baseline models. This approach achieved a 3x speed-up during inference while maintaining competitive accuracy.
  • Model-Agnosticism: LINAS is a training framework rather than a specific architecture, making it compatible with various baselines, including Dual Encoding, Hybrid Space, and transformer-based models.

Conclusion

LINAS effectively addresses the information imbalance in text-video retrieval by treating multiple captions as complementary rather than redundant. By shifting the computational complexity of multi-caption aggregation to the training phase via distillation, LINAS provides a significant performance boost for single-caption retrieval tasks at no additional cost during inference. Future work will focus on refining support set construction in scenarios where ground-truth associations are entirely absent.

Summary updated

BibTeX
@inproceedings{fang2022learning,
  author = {Sheng Fang and Shuhui Wang and Junbao Zhuo and Xinzhe Han and Qingming Huang},
  title = {{Learning Linguistic Association Towards Efficient Text-Video Retrieval}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20059-5\_15},
}
Figure