Abstract
Video-text retrieval is a class of cross-modal representation learning problems, where the goal is to select the video which corresponds to the text query between a given text query and a pool of candidate videos. The contrastive paradigm of vision-language pretraining has shown promising success with large-scale datasets and unified transformer architecture, and demonstrated the power of a joint latent space. Despite this, the intrinsic divergence between the visual domain and textual domain is still far from being eliminated, and projecting different modalities into a joint latent space might result in the distorting of the information inside the single modality. To overcome the above issue, we present a novel mechanism for learning the translation relationship from a source modality space $\mathcal{S}$ to a target modality space $\mathcal{T}$ without the need for a joint latent space, which bridges the gap between visual and textual domains. Furthermore, to keep cycle consistency between translations, we adopt a cycle loss involving both forward translations from $\mathcal{S}$ to the predicted target space $\mathcal{T'}$, and backward translations from $\mathcal{T'}$ back to $\mathcal{S}$. Extensive experiments conducted on MSR-VTT, MSVD, and DiDeMo datasets demonstrate the superiority and effectiveness of our LaT approach compared with vanilla state-of-the-art methods.
The Modality Gap Problem
In cross-modal AI tasks like video-text retrieval, the standard approach involves projecting both video and text into a shared "joint" latent space. However, this approach faces a fundamental challenge known as the Modality Gap. Visual and textual data are intrinsically different in structure and semantics. Forcing them into a single shared space often leads to "information distortion," where the natural structure of a modality (e.g., the linguistic nuances of text) is sacrificed to achieve alignment with the other.
As shown in Figure 1, the distribution of embeddings reveals a clear separation between domains. When models attempt to close this gap via simple projection, they often fail to preserve the intra-modal integrity, leading to sub-optimal retrieval performance.
The Latent Translation (LaT) Framework
To address the limitations of joint space projection, we propose Latent Translation (LaT). Instead of forcing modalities to meet in the middle, LaT learns to "translate" features from one distinct modality space to another.
Key Components
- Dual Translation Functions: We implement two translation functions: $G$ (Text $\to$ Video) and $F$ (Video $\to$ Text). Retrieval is performed by translating the query into the target domain's space and finding the nearest neighbor.
- Dual Decoder Architecture: Utilizing a transformer-based decoder with learnable "Token Queries," the model extracts and transforms features from the source modality into the target modality. These queries act as different perspectives to capture complex cross-modal relationships.
- Cycle-Consistency Loss: Inspired by CycleGAN, we enforce the constraint that a round-trip translation should return to the original embedding ($v \approx G(F(v))$). This ensures that the translation process is information-preserving and semantically grounded.
- Global & Detailed Interaction: Beyond high-level [CLS] tokens, the model incorporates all tokens to capture fine-grained details, ensuring a comprehensive representation of both video and text.
Experimental Results
LaT was evaluated on major benchmarks including MSR-VTT, MSVD, and DiDeMo, following pretraining on CC3M and WebVid2M.
- State-of-the-Art Performance: LaT achieved a Recall@1 (R@1) of 35.4 for Video-to-Text retrieval on MSR-VTT, outperforming previous methods like HiT. On MSVD, it reached 40.0 R@1 for Text-to-Video retrieval.
- Zero-Shot Capabilities: The model demonstrated significant gains in zero-shot settings. On MSR-VTT, LaT's zero-shot R@1 was 23.4, a substantial improvement over the baseline Frozen model's 18.7.
- Ablation Insights: Studies confirmed that the specific decoder-based translation architecture is significantly more effective than simpler linear or standard transformer blocks.
Conclusion and Future Work
LaT successfully bridges the modality gap by treating cross-modal retrieval as a translation task rather than a projection task. While the addition of dual decoders introduces some computational overhead, the gains in retrieval accuracy and zero-shot performance are substantial. Future work will explore scaling this approach to larger datasets like LAION-5B and investigating ways to maintain performance while using fixed, pre-trained encoders to further reduce training costs.
Summary updated