Skip to main content
QUICK REVIEW

[Paper Review] Scaling Multimodal Pre-Training via Cross-Modality Gradient Harmonization

Junru Wu, Yi Liang|arXiv (Cornell University)|Nov 3, 2022
Multimodal Machine Learning ApplicationsComputer Science6 citations
TL;DR

This paper proposes cross-modality gradient harmonization to improve multimodal pre-training by mitigating noisy supervision from weak cross-modality alignment (CMA) in large-scale datasets. It introduces gradient realignment and gradient-based curriculum learning to align loss gradients and prioritize less noisy samples, significantly boosting performance on downstream tasks and enabling effective scaling to noisy, non-narrative datasets like YouTube8M, achieving new state-of-the-art results.

ABSTRACT

Self-supervised pre-training recently demonstrates success on large-scale multimodal data, and state-of-the-art contrastive learning methods often enforce the feature consistency from cross-modality inputs, such as video/audio or video/text pairs. Despite its convenience to formulate and leverage in practice, such cross-modality alignment (CMA) is only a weak and noisy supervision, since two modalities can be semantically misaligned even they are temporally aligned. For example, even in the commonly adopted instructional videos, a speaker can sometimes refer to something that is not visually present in the current frame; and the semantic misalignment would only be more unpredictable for the raw videos from the internet. We conjecture that might cause conflicts and biases among modalities, and may hence prohibit CMA from scaling up to training with larger and more heterogeneous data. This paper first verifies our conjecture by observing that, even in the latest VATT pre-training using only instructional videos, there exist strong gradient conflicts between different CMA losses within the same video, audio, text triplet, indicating them as the noisy source of supervision. We then propose to harmonize such gradients, via two techniques: (i) cross-modality gradient realignment: modifying different CMA loss gradients for each sample triplet, so that their gradient directions are more aligned; and (ii) gradient-based curriculum learning: leveraging the gradient conflict information on an indicator of sample noisiness, to develop a curriculum learning strategy to prioritize training on less noisy sample triplets. Applying those techniques to pre-training VATT on the HowTo100M dataset, we consistently improve its performance on different downstream tasks. Moreover, we are able to scale VATT pre-training to more complicated non-narrative Youtube8M dataset to further improve the state-of-the-arts.

Motivation & Objective

  • To investigate the impact of noisy cross-modality alignment (CMA) on multimodal pre-training, especially in uncurated, non-narrative datasets.
  • To identify that conflicting gradients between CMA losses are a key cause of unstable training and modality-specific overfitting.
  • To propose gradient harmonization techniques that improve training stability and performance across diverse downstream tasks.
  • To enable effective scaling of multimodal pre-training to more heterogeneous and noisy datasets like YouTube8M without architectural changes.

Proposed method

  • Introduce cross-modality gradient realignment to align the directions of gradients from different CMA losses (e.g., video-text and video-audio) within the same sample triplet.
  • Formulate gradient realignment as a learnable transformation that minimizes the angle between gradient vectors, using a projection-based method to reduce conflict.
  • Propose gradient-based curriculum learning that uses the magnitude of gradient conflict as a proxy for sample noisiness to prioritize training on cleaner samples.
  • Apply both techniques in a plug-and-play manner to the modality-agnostic VATT framework, without modifying the backbone architecture.
  • Use cosine similarity between gradient vectors as a measure of conflict, and only realign gradients when the angle exceeds a threshold.
  • Train with a curriculum schedule that dynamically adjusts sampling based on real-time gradient conflict scores to improve generalization.

Experimental results

Research questions

  • RQ1To what extent do conflicting gradients between cross-modality contrastive losses undermine multimodal pre-training in real-world datasets?
  • RQ2Can gradient realignment reduce conflicts between CMA losses and improve representation learning in a modality-agnostic setting?
  • RQ3Can gradient conflict serve as a reliable indicator of sample noisiness for curriculum learning in multimodal pre-training?
  • RQ4Does gradient harmonization enable effective pre-training on noisy, non-narrative datasets like YouTube8M?
  • RQ5How does gradient harmonization affect modality-specific and cross-modality downstream performance?

Key findings

  • Applying gradient realignment and curriculum learning to VATT pre-training on HowTo100M significantly improves performance across all downstream tasks, including video action classification, text-video retrieval, and audio classification.
  • On the UCF101 dataset, the method achieves 89.70% Top-1 accuracy, a new state-of-the-art result in the modality-agnostic setting.
  • On HMDB51, the model reaches 92.15% Top-5 accuracy, and on Kinetics400, it achieves 80.01% Top-1 accuracy, demonstrating strong generalization.
  • On ESC50, the model achieves 85.00% Top-1 accuracy, showing improved robustness in audio classification despite noisy supervision.
  • Feature visualization confirms that gradient harmonization leads to better disentanglement of video and text representations, enhancing model discriminability.
  • The method successfully enables scaling VATT pre-training to YouTube8M, overcoming performance degradation seen in the baseline due to data noise.

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.