Domain Adaptation in Multi-View Embedding for Cross-Modal Video Retrieval

Jonathan Munro, Michael Wray, Diane Larlus, Gabriela Csurka, Dima DamenarXiv 2021

Abstract

Given a gallery of uncaptioned video sequences, this paper considers the task of retrieving videos based on their relevance to an unseen text query. To compensate for the lack of annotations, we rely instead on a related video gallery composed of video-caption pairs, termed the source gallery, albeit with a domain gap between its videos and those in the target gallery. We thus introduce the problem of Unsupervised Domain Adaptation for Cross-modal Video Retrieval, along with a new benchmark on fine-grained actions. We propose a novel iterative domain alignment method by means of pseudo-labelling target videos and cross-domain (i.e. source-target) ranking. Our approach adapts the embedding space to the target gallery, consistently outperforming source-only as well as marginal and conditional alignment methods.

1. Introduction

Cross-modal video retrieval aims to project text queries and video sequences into a shared embedding space where semantic similarity corresponds to mathematical proximity. While large-scale annotated datasets have enabled significant progress, models often struggle when applied to a "target" domain that differs from the "source" training data—a phenomenon known as the domain gap. For instance, a model trained on professional cooking videos may underperform on egocentric home kitchen footage due to variations in lighting, perspective, and background clutter.

Overview of the cross-modal video retrieval task and the domain gap.

This work introduces the first framework for Unsupervised Domain Adaptation (UDA) in text-to-video retrieval. Unlike standard domain adaptation tasks like classification, retrieval requires aligning a target gallery where no captions are available at all, making the task significantly more challenging.

2. Proposed Method

The authors propose an iterative alignment strategy to bridge the domain gap without needing target-side labels. The method is built on four key components:

2.1 Multi-View Embeddings

Building on the JPoSE architecture, captions are disentangled into parts of speech (verbs and nouns). Separate embedding spaces are trained for these semantic components, allowing the model to specialize in different aspects of an action before combining them into a joint representation.

2.2 Iterative Pseudo-Labeling and Prototype Confidence

To handle uncaptioned target videos, the model generates "pseudo-labels" by identifying the nearest source video in the embedding space. To improve robustness, the authors introduce Prototype Confidence (PC). Instead of relying on a single neighbor, they measure the distance to a "prototype"—the average representation of an action class—providing a more stable signal for alignment.

The proposed iterative alignment framework including pseudo-labeling and ranking losses.

2.3 Prototype-Based Sampling (PBS)

To mitigate the impact of noisy pseudo-labels, the model employs a sampling strategy that selects only the top $x\%$ most confident target videos for each action. This ensures that the model learns from a diverse yet reliable set of examples, preventing it from being biased toward only the "easiest" samples while avoiding the errors inherent in low-confidence guesses.

2.4 Cross-Domain Ranking

A novel loss function is introduced to enforce cross-domain ranking. This forces the model to rank relevant target videos highly for source queries and vice versa, effectively pulling the source and target visual domains into a unified semantic space.

3. Experiments and Results

The method was evaluated on a new UDA benchmark derived from the EPIC-KITCHENS-100 dataset, featuring a significant domain shift between recording environments and timeframes.

3.1 Quantitative Performance

The proposed method consistently outperformed "Source-Only" baselines and standard UDA techniques like Maximum Mean Discrepancy (MMD) and Gradient Reversal Layers (GRL). On the test set, the method achieved an nDCG of 38.21, a notable improvement over the 35.25 achieved by the Source-Only model.

3.2 Key Insights

  • Conditional Alignment: The results demonstrate that simply aligning the overall distributions (marginal alignment) is insufficient for retrieval. Effective performance requires conditional alignment—ensuring specific actions (e.g., "cutting a tomato") are aligned across domains.
  • Diversity vs. Quality: Ablation studies revealed that using approximately 60% of the most confident target data yields optimal performance. Using all target data introduces too much noise, while using too little reduces the model's exposure to the diversity of actions in the target domain.

4. Conclusion

This paper presents a robust framework for bridging the domain gap in video retrieval through iterative pseudo-labeling and cross-domain ranking. By focusing on prototype-based confidence and selective sampling, the approach successfully adapts to uncaptioned target galleries. Future work may explore the integration of vision-language transformers and self-supervised pre-training to further enhance retrieval accuracy in open-set scenarios where the target domain contains entirely new actions.

Munro, J., Wray, M., Larlus, D., Csurka, G., & Damen, D. (2021). Domain Adaptation in Multi-View Embedding for Cross-Modal Video Retrieval. arXiv preprint arXiv:2110.12812.

Summary updated

BibTeX
@misc{munro2021domain,
  author = {Jonathan Munro and Michael Wray and Diane Larlus and Gabriela Csurka and Dima Damen},
  title = {{Domain Adaptation in Multi-View Embedding for Cross-Modal Video Retrieval}},
  year = {2021},
  eprint = {2110.12812},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.12812},
}
Figure