Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Scaling Multimodal Pre-Training via Cross-Modality Gradient Harmonization

About

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.

Junru Wu, Yi Liang, Feng Han, Hassan Akbari, Zhangyang Wang, Cong Yu• 2022

Related benchmarks

TaskDatasetResultRank
Text-to-Video RetrievalYouCook2
Recall@1031.86
117
Audio ClassificationESC50
Top-1 Acc85
64
Video Action ClassificationKinetics-400
Top-1 Accuracy0.8001
48
Video Action ClassificationHMDB51
Top-1 Accuracy65.77
22
Text-Video RetrievalMSRVTT
Rank45
18
Video Action ClassificationUCF101
Top-1 Acc89.7
18
Showing 6 of 6 rows

Other info

Follow for update