Skip to main content
QUICK REVIEW

[Paper Review] Expectation-Maximization Contrastive Learning for Compact Video-and-Language Representations

Peng Jin, Jinfa Huang|arXiv (Cornell University)|Nov 21, 2022
Multimodal Machine Learning ApplicationsComputer Science35 citations
TL;DR

The paper introduces EMCL, an Expectation-Maximization based contrastive learning framework that learns compact, semantically aligned video-and-language representations, achieving state-of-the-art results on MSR-VTT, ActivityNet, and LSMDC, and can plug into existing methods either during training or inference.

ABSTRACT

Most video-and-language representation learning approaches employ contrastive learning, e.g., CLIP, to project the video and text features into a common latent space according to the semantic similarities of text-video pairs. However, such learned shared latent spaces are not often optimal, and the modality gap between visual and textual representation can not be fully eliminated. In this paper, we propose Expectation-Maximization Contrastive Learning (EMCL) to learn compact video-and-language representations. Specifically, we use the Expectation-Maximization algorithm to find a compact set of bases for the latent space, where the features could be concisely represented as the linear combinations of these bases. Such feature decomposition of video-and-language representations reduces the rank of the latent space, resulting in increased representing power for the semantics. Extensive experiments on three benchmark text-video retrieval datasets prove that our EMCL can learn more discriminative video-and-language representations than previous methods, and significantly outperform previous state-of-the-art methods across all metrics. More encouragingly, the proposed method can be applied to boost the performance of existing approaches either as a jointly training layer or an out-of-the-box inference module with no extra training, making it easy to be incorporated into any existing methods.

Motivation & Objective

  • Identify limitations of standard contrastive learning for text-video retrieval due to modality gap and redundant semantic dimensions.
  • Propose EMCL to learn a low-rank, semantically relevant subspace for video and text representations.
  • Develop EMCL-Net with a parameter initialization strategy to stabilize EM iterations and enable joint or plug-and-play use.
  • Demonstrate state-of-the-art retrieval performance on MSR-VTT, ActivityNet, and LSMDC and show compatibility as an add-on to existing baselines.

Proposed method

  • Formulate cross-modal contrastive learning as an Expectation-Maximization (EM) process to find K latent subspaces that jointly represent video and text features.
  • Use a Gaussian kernel in a capped EM setup to compute soft assignments of feature components to subspaces (E-step) and update subspace bases (M-step).
  • Represent features in K low-dimensional subspaces via reconstruction, reducing intra-class variance and increasing inter-class variance across modalities.
  • Introduce Maximum Probability Projection and Feature Reconstruction steps to obtain compact subspace representations shared by video and text.
  • Incorporate EMCL into EMCL-Net with an Initial Value Maintenance (M) that transfers cross-batch information and a reconstruction fusion with a scaling parameter beta.
  • Train with InfoNCE loss on cosine similarities between reconstructed video-text embeddings.

Experimental results

Research questions

  • RQ1Can a low-rank, shared subspace decomposition bridge the visual-textual modality gap more effectively than standard contrastive learning?
  • RQ2Does integrating an EM-based subspace projection improve semantic clustering of same-class cross-modal pairs while separating different classes?
  • RQ3Is EMCL broadly compatible as a plug-in or inference-only module to boost existing text-video retrieval models?
  • RQ4What are the impacts of initialization strategy, number of subspaces K, and EM iterations on performance and stability?

Key findings

  • EMCL yields more discriminative video-and-language representations with tighter intra-class and larger inter-class separation compared to standard contrastive baselines.
  • EMCL-Net with proper parameter initialization consistently improves baseline models on MSR-VTT, ActivityNet, and LSMDC across text-to-video and video-to-text retrieval tasks.
  • In ablations, EMCL outperforms PCA, transformers, fully connected layers, and sparse autoencoders in using similar complexity, underscoring the advantage of semantically aligned subspace representations.
  • Plugging EMCL into strong baselines (MMT, CLIP4Clip, DCR) provides notable gains, including up to 3.5% absolute improvement in R@1 for text-to-video and substantial gains in video-to-text retrieval.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.