[Paper Review] K-LITE: Learning Transferable Visual Models with External Knowledge
K-Lite augments language supervision with external knowledge from WordNet and Wiktionary to train transferable visual models, boosting zero-shot and few-shot transfer for image classification and object detection with improved sample efficiency.
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.
Motivation & Objective
- Motivate building more general visual representations that transfer across diverse datasets and concepts.
- Investigate whether structured external knowledge can improve sample efficiency in pre-training and downstream tasks.
- Develop a knowledge-augmented training and evaluation paradigm that integrates external knowledge into language inputs.
- Demonstrate the approach across image classification and object detection with modular adapters for training/evaluation consistency.
Proposed method
- Define a unified image-text-label data format and an external knowledge source S to augment language descriptions.
- Construct compact knowledge queries q from t using a query construction function g_query; retrieve s from WordNet and Wiktionary; form augmented text t^k by concatenating q and s.
- Encode images with an image encoder f_theta and texts with a text encoder f_phi; use a knowledge-augmented prompt to obtain t^k representations.
- Train with a bidirectional contrastive objective L_IC that aligns image and text embeddings in a hyper-spherical space.
- Extend to object detection by reformulating as a grounding task, encoding knowledge-augmented category phrases in parallel, and optimizing a focal loss for ground-truth matches.
- Implement modular adapters to switch between knowledge-enabled and knowledge-free evaluation, preserving training-evaluation consistency.
Experimental results
Research questions
- RQ1Does external knowledge from WordNet/Wiktionary improve task-level transfer for image classification and object detection?
- RQ2Can knowledge-augmented language supervision reduce the data requirements for effective zero-shot and few-shot transfer?
- RQ3How does the consistency between training and evaluation (knowledge vs. no knowledge) affect performance, and can modular architectures mitigate issues?
- RQ4Which external knowledge sources are most beneficial for zero-shot transfer, and why?
Key findings
- All three external knowledge sources (WordNet path, WordNet definition, Wiktionary definition) improve zero-shot accuracy on ImageNet-1K and the broader dataset suite.
- Wiktionary definitions often yield the strongest gains among the sources evaluated.
- A modular two-branch adapter approach preserves training-evaluation consistency and enables knowledge-enabled models to outperform knowledge-free baselines in various settings.
- Knowledge-augmented pre-training with half the pre-training data can match or exceed knowledge-free models trained on substantially more data, demonstrating sample efficiency.
- Continued pre-training with knowledge on a Florence-scale model yields additional gains, highlighting external knowledge as a complementary signal to large-scale data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.