GRIT-VLP:用于有效视觉和语言预训练的分组小批量采样
GRIT-VLP: Grouped Mini-batch Sampling for Efficient Vision and Language Pre-training
摘要:
目前大多数视觉和语言预训练(VLP)方法主要集中在如何提取和对齐视觉和文本特征。与主流的VLP方法相比,我们强调了预训练期间的两个常规应用步骤对预训练模型的性能具有至关重要的影响:用于图像-文本匹配(ITM)的批量硬负采样和为掩码语言建模(MLM)分配大掩码概率。在经验上显示了上述两个步骤的意想不到的效果后,我们系统地设计了我们的GRIT-VLP,它自适应地对小批量进行采样,以便更有效地挖掘ITM的硬阴性样本,同时保持预训练的计算成本。我们的方法由三个部分组成:1)分组的mall-baTch采样(GRIT)策略,收集类似的例子在一个小批量,2)ITC一致性损失,以提高挖掘能力,和3)MLM扩大掩蔽概率。因此,我们展示了我们的GRIT-VLP在各种下游任务上以更少的计算成本实现了新的最先进的性能。此外,我们证明了我们的模型基本上是与ALBEF,以前的国家的最先进的,只有三分之一的训练时期相同的训练数据。代码可在https://github.com/jaeseokbyun/GRIT-VLP上获得。
英文摘要:
Most of the currently existing vision and language pre-training (VLP) methods have mainly focused on how to extract and align vision and text features. In contrast to the mainstream VLP methods, we highlight that two routinely applied steps during pre-training have crucial impact on the performance of the pre-trained model: in-batch hard negative sampling for image-text matching (ITM) and assigning the large masking probability for the masked language modeling (MLM). After empirically showing the unexpected effectiveness of above two steps, we systematically devise our GRIT-VLP, which adaptively samples mini-batches for more effective mining of hard negative samples for ITM while maintaining the computational cost for pre-training. Our method consists of three components: 1) GRouped mIni-baTch sampling (GRIT) strategy that collects similar examples in a mini-batch, 2) ITC consistency loss for improving the mining ability, and 3) enlarged masking probability for MLM. Consequently, we show our GRIT-VLP achieves a new state-of-the-art performance on various downstream tasks with much less computational cost. Furthermore, we demonstrate that our model is essentially in par with ALBEF, the previous state-of-the-art, only with one-third of training epochs on the same training data. Code is available at https://github.com/jaeseokbyun/GRIT-VLP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。