Skip to main content
QUICK REVIEW

[论文解读] Contrastive Language-Image Pre-Training with Knowledge Graphs

Xuran Pan, Tianzhu Ye|arXiv (Cornell University)|Oct 17, 2022
Multimodal Machine Learning ApplicationsComputer Science被引用 23
一句话总结

Knowledge-CLIP 将多模态知识图注入 CLIP,添加一个多模态编码器并引入新的损失项,以对齐视觉与语言及语义关系,从而提升下游的视觉-语言任务。

ABSTRACT

Recent years have witnessed the fast development of large-scale pre-training frameworks that can extract multi-modal representations in a unified form and achieve promising performances when transferred to downstream tasks. Nevertheless, existing approaches mainly focus on pre-training with simple image-text pairs, while neglecting the semantic connections between concepts from different modalities. In this paper, we propose a knowledge-based pre-training framework, dubbed Knowledge-CLIP, which injects semantic information into the widely used CLIP model. Through introducing knowledge-based objectives in the pre-training process and utilizing different types of knowledge graphs as training data, our model can semantically align the representations in vision and language with higher quality, and enhance the reasoning ability across scenarios and modalities. Extensive experiments on various vision-language downstream tasks demonstrate the effectiveness of Knowledge-CLIP compared with the original CLIP and competitive baselines.

研究动机与目标

  • 指出 CLIP 在语义理解和跨模态推理方面的局限性。
  • 提出一个知识增强的预训练框架,融合多模态、场景和语言图谱。
  • 通过在从 CLIP 权重进行持续学习的同时注入基于图的知识,实现高效训练。

提出的方法

  • 使用两个编码器(图像和文本)以及一个多模态变换器来融合基于三元组的知识图数据。
  • 将知识表示为来自多模态、场景和语言知识图数据集的三元组(h, r, t)。
  • 引入基于三元组的(E2E、E2R)和基于图的(G2E)损失,以建模语义关系和图结构。
  • 保留知识蒸馏损失,通过与原始 CLIP 输出对齐来缓解遗忘。
  • 在 VisualSem、Visual Genome、ConceptNet 以及图像-文本数据集 COCO Caption 和 CC3M 上进行预训练;从 CLIP 权重初始化。

实验结果

研究问题

  • RQ1知识图谱是否能在跨模态语义对齐方面超越 CLIP 在图像-文本对上所实现的效果?
  • RQ2基于三元组的目标与基于图的目标是否共同提升视觉-语言理解?
  • RQ3在 CLIP 初始化条件下的持续学习是否在注入知识的同时防止遗忘?
  • RQ4与 CLIP 与基线相比,Knowledge-CLIP 在检索、VQA/SNLI-VE、ImageNet 和 GLUE 上的表现如何?

主要发现

  • Knowledge-CLIP 在图像-文本检索任务(Flickr30K 和 COCO Caption)以及多模态 VQA 任务上优于 CLIP。
  • 在 VQA/SNLI-VE 和 ImageNet/GLUE 基准测试上也取得具竞争力或更优的结果,尤其是在需要语义推理的任务中。
  • 消融研究表明 E2E、E2R 和 G2E 损失各自对提升有贡献,KD 损失对于防止遗忘至关重要。
  • 在 CLIP 初始化条件下的持续学习比仅使用更多知识数据的简单微调获得更好的性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。