预训练中词共现频率影响多模态模型组合泛化能力,越少见的搭配准确率越低。
Impact of Pretraining Word Co-occurrence on Compositional Generalization in Multimodal Models
- 用互信息衡量词共现,分离单个词频与组合频的影响
- 共现互信息越高,零样本准确率越高,顶尖与底端差距达14%
- 该现象在自然图像和基于CLIP的多模态模型中均成立
CLIP及大型多模态模型(LMM)在训练数据中高频出现的概念上表现更好。然而,概念组合在训练数据中的分布如何影响组合泛化尚不明确——例如,当一个常见物体与另一个不常见物体配对时,准确率如何变化?本文研究预训练数据中词共现统计(视觉概念共现的代理指标)对CLIP/LMM性能的影响。为分离词共现频率与单个词频率的影响,我们采用点互信息(PMI)度量共现,该指标通过独立共现概率归一化联合概率。使用多种概念对生成的合成图像,我们发现CLIP预训练数据中的PMI与基于LAION-400M训练的CLIP模型零样本准确率高度相关(r=0.97),PMI最高与最低5%的图像间准确率相差14%。利用此发现,我们在自然图像中通过编辑实现不同PMI的组合,仍观察到显著相关性(r=0.75)。最后,我们证明该现象可迁移至基于CLIP构建的LMM(TextVQA: r=0.70,VQAv2: r=0.62)。结果表明,需发展无需组合式数据扩展的算法与架构以提升多模态模型的组合泛化能力。代码已公开于https://github.com/helenqu/multimodal-pretraining-pmi。
原文摘要 · Abstract (English)
CLIP and large multimodal models (LMMs) have better accuracy on examples involving concepts that are highly represented in the training data. However, the role of concept combinations in the training data on compositional generalization is largely unclear -- for instance, how does accuracy vary when a common object appears in an uncommon pairing with another object? In this paper, we investigate how word co-occurrence statistics in the pretraining dataset (a proxy for co-occurrence of visual concepts) impacts CLIP/LMM performance. To disentangle the effects of word co-occurrence frequencies from single-word frequencies, we measure co-occurrence with pointwise mutual information (PMI), which normalizes the joint probability of two words co-occurring by the probability of co-occurring independently. Using synthetically generated images with a variety of concept pairs, we show a strong correlation between PMI in the CLIP pretraining data and zero-shot accuracy in CLIP models trained on LAION-400M (r=0.97 and 14% accuracy gap between images in the top and bottom 5% of PMI values), demonstrating that even accuracy on common concepts is affected by the combination of concepts in the image. Leveraging this finding, we reproduce this effect in natural images by editing them to contain pairs with varying PMI, resulting in a correlation of r=0.75. Finally, we demonstrate that this behavior in CLIP transfers to LMMs built on top of CLIP (r=0.70 for TextVQA, r=0.62 for VQAv2). Our findings highlight the need for algorithms and architectures that improve compositional generalization in multimodal models without scaling the training data combinatorially. Our code is available at https://github.com/helenqu/multimodal-pretraining-pmi.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。