arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.02077cs.CVcs.AIcs.LGcs.MM
收藏

通过跨模态梯度协调来缩放多模态预训练

Scaling Multimodal Pre-Training via Cross-Modality Gradient Harmonization

Texas A&M University(德州农工大学);Google Research(谷歌研究院);University of Texas at Austin(德克萨斯大学奥斯汀分校);Celonis Inc.(赛洛尼斯公司);CeloAI

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

摘要:

自监督预训练最近在大规模多模态数据上取得了成功,而最先进的对比学习方法通常会从跨模态输入(如视频/音频或视频/文本对)中加强特征一致性。尽管其方便制定和杠杆作用在实践中,这种跨模态对齐(CMA)只是一个弱的和嘈杂的监督,因为两个模态可以语义错位,即使他们是暂时对齐。例如,即使在通常采用的教学视频中,说话者有时也会提到当前帧中没有视觉呈现的东西;而对于来自互联网的原始视频,语义错位只会更加不可预测。我们推测这可能会导致模态之间的冲突和偏见,因此可能会阻止CMA扩展到更大和更异构的数据的训练。本文首先通过观察验证了我们的猜想,即使在最新的VATT预训练中,仅使用教学视频,在相同的视频,音频,文本三元组中,不同的CMA损失之间存在强烈的梯度冲突,表明它们是监督的噪声源。然后,我们提出通过两种技术来协调这样的梯度:(i)跨模态梯度重新对齐:修改每个样本三元组的不同CMA损失梯度,使得它们的梯度方向更加对齐;以及(ii)基于梯度的课程学习:利用样本噪声指标上的梯度冲突信息,开发课程学习策略,以优先考虑噪声较小的样本三元组的训练。将这些技术应用于HowTo 100 M数据集上的VATT预训练,我们不断提高其在不同下游任务上的性能。此外,我们能够将VATT预训练扩展到更复杂的非叙事Youtube 8 M数据集,以进一步提高最先进的水平。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑