Skip to main content
QUICK REVIEW

[论文解读] K-LITE: Learning Transferable Visual Models with External Knowledge

Sheng Shen, Chunyuan Li|arXiv (Cornell University)|Apr 20, 2022
Multimodal Machine Learning ApplicationsComputer Science被引用 44
一句话总结

K-Lite 通过将 WordNet 和 Wiktionary 的外部知识加入语言监督,来训练可迁移的视觉模型,从而提升图像分类和目标检测的零样本和少样本迁移,并提高样本效率。

ABSTRACT

The new generation of state-of-the-art computer vision systems are trained from natural language supervision, ranging from simple object category names to descriptive captions. This form of supervision ensures high generality and usability of the learned visual models, due to the broad concept coverage achieved via large-scale data collection process. Alternatively, we argue that learning with external knowledge is a promising way which leverages a much more structured source of supervision and offers sample efficiency. We propose K-LITE, a simple strategy to leverage external knowledge for building transferable visual systems: In training, it enriches entities in text with WordNet and Wiktionary knowledge, leading to an efficient and scalable approach to learning image representations that uses knowledge about the visual concepts. In evaluation, the text is also augmented with external knowledge and then used to reference learned visual concepts (or describe new ones) to enable zero-shot and few-shot transfer of the pre-trained models. We study the performance of K-LITE on two important computer vision problems, image classification and object detection, benchmarking on 20 and 13 different existing datasets, respectively. The proposed knowledge-augmented models show significant improvement in transfer learning performance over existing methods. Our code is available at https://github.com/microsoft/klite.

研究动机与目标

  • 推动构建更通用的视觉表征,能够在不同数据集和概念之间实现迁移。
  • 研究结构化的外部知识是否能够提高预训练与下游任务中的样本效率。
  • 开发一个将外部知识整合到语言输入中的知识增强训练与评估范式。
  • 在图像分类和对象检测上通过模块化适配器展示该方法,以实现训练与评估的一致性。

提出的方法

  • 定义统一的图像-文本-标签数据格式,以及外部知识源 S 以增强语言描述。
  • 使用查询构造函数 g_query 从 t 构建紧凑的知识查询 q;从 WordNet 和 Wiktionary 检索 s;通过将 q 与 s 串联来形成增强文本 t^k。
  • 使用图像编码器 f_theta 对图像进行编码,使用文本编码器 f_phi 对文本进行编码;利用知识增强提示获得 t^k 表示。
  • 使用双向对比目标 L_IC 进行训练,使图像和文本嵌入在超球面空间中对齐。
  • 通过将其重新表述为定位(grounding)任务,将知识增强的类别短语并行编码,并为真值匹配优化焦点损失(focal loss)。
  • 实现模块化适配器,在知识启用与无知识评估之间切换,保持训练与评估的一致性。

实验结果

研究问题

  • RQ1来自 WordNet/Wiktionary 的外部知识是否会改善图像分类和目标检测的任务层迁移?
  • RQ2知识增强的语言监督是否能降低实现零样本和少样本迁移的对数据的需求?
  • RQ3训练与评估的一致性(有知识 vs 无知识)如何影响性能,模块化架构能否缓解相关问题?
  • RQ4哪些外部知识源对零-shot 迁移最有利,原因何在?

主要发现

  • 三种外部知识源(WordNet 路径、WordNet 定义、Wiktionary 定义)均提高 ImageNet-1K 及更广泛数据集的零样本准确率。
  • 在所评估的来源中,Wiktionary 的定义通常带来最强的收益。
  • 一种模块化的两分支适配器方法保持训练与评估的一致性,使知识启用模型在多种情景下优于无知识基线。
  • 使用一半的预训练数据进行知识增强的预训练可以达到或超过在大量数据上训练的无知识模型,展示样本效率。
  • 在 Florence 规模模型上继续进行带知识的预训练可获得额外增益,突出外部知识作为对大规模数据的互补信号。

阅读本论文

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

在 Nubint 中阅读本论文

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