K-LITE: Learning Transferable Visual Models with External Knowledge
Sheng Shen, Chunyuan Li, Xiaowei Hu, Jianwei Yang, Yujia Xie, Pengchuan Zhang, Zhe Gan, Lijuan Wang, Lu Yuan, Ce Liu, Kurt Keutzer, Trevor Darrell, Anna Rohrbach, Jianfeng Gao
TL;DR
K-LITE presents a knowledge-augmented approach to learning transferable visual representations by incorporating WordNet and Wiktionary knowledge into language supervision used in pre-training and evaluation. The method leverages knowledge prompts and an adapter-based modular design to maintain consistency between training and inference, enabling improved zero-shot and few-shot transfer for image classification and object detection. Empirical results on 20 IC and 13 OD datasets demonstrate significant transfer gains and sample efficiency, with Wiktionary-based knowledge often providing the strongest improvements. The approach offers a scalable, knowledge-informed path to enhance vision-language models without requiring enormous increases in data collection.
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.
