TL;DR
K-LITE (Knowledge-augmented Language Image Training and Evaluation) improves the transferability of vision-language models by enriching text descriptions with structured external knowledge from WordNet and Wiktionary. By providing the model with "definitions" of visual concepts during both pre-training and evaluation, K-LITE significantly boosts zero-shot performance and achieves higher sample efficiency than standard scaling approaches.
What Problem Does This Paper Address?
Modern computer vision systems like CLIP and ALIGN have revolutionized the field by learning from natural language supervision instead of fixed label sets. However, these models face a "data hunger" problem: to recognize a vast array of visual concepts, they require hundreds of millions of image-text pairs. Even then, they often struggle with rare or fine-grained concepts that appear infrequently in their training data.
The authors argue that simply scaling up data is inefficient. Instead, they look to how humans learn: when we encounter a new term—like "Takoyaki"—we don't necessarily need to see a thousand pictures of it if someone provides a definition (e.g., "a ball-shaped Japanese dumpling made of batter and octopus"). K-LITE aims to give AI models this same advantage by leveraging structured, external knowledge bases to bridge the gap between seen and unseen concepts.
Methods
The K-LITE framework introduces a simple yet effective strategy to augment language-image learning:
- Query Construction: For any given text (a category name or a caption), the system extracts the most relevant or "rare" noun phrases to serve as queries.
- Knowledge Acquisition: These queries are sent to external knowledge bases—WordNet (for hierarchical relationships and definitions) and Wiktionary (for descriptive dictionary definitions).
- Knowledge Augmentation: The retrieved knowledge is appended to the original text. For example, the label "boxer" might become "boxer; someone who fights with his fists for sport."
- Modularized Modeling: To handle cases where knowledge might be missing or inconsistent, the authors use adapters (small, trainable layers inserted into a frozen pre-trained model). This allows the model to switch between "with-knowledge" and "without-knowledge" modes seamlessly.
The strategy was applied to two major architectures: UniCL for image classification and GLIP for object detection.
Datasets
The authors benchmarked K-LITE across a wide variety of settings:
- Pre-training: ImageNet-21K, GCC-3M, GCC-12M, YFCC-14M (Classification); Object365 (Detection).
- Evaluation (Classification): ImageNet-1K and the ICinW (Image Classification in the Wild) suite, which consists of 20 diverse datasets like Flowers102, Food101, and OxfordPets.
- Evaluation (Detection): LVIS and the ODinW (Object Detection in the Wild) suite, consisting of 13 downstream datasets.
Key Insights and Ideas
- Definitions as Bridges: External knowledge acts as a bridge. Rare concepts are often defined using common words that the model has already seen frequently during training, facilitating better zero-shot transfer.
- Sample Efficiency: K-LITE is remarkably efficient. In several scenarios, a K-LITE model trained on only half the data could outperform a standard model trained on the full dataset.
- Consistency is Key: The authors found that if a model is trained with knowledge, it must be evaluated with knowledge to see the full benefit. The modular adapter approach was crucial for maintaining this consistency.
- Wiktionary Wins: Among the sources tested, Wiktionary definitions generally provided the most significant performance boost, likely due to their descriptive and natural language format.
Key Results
K-LITE demonstrated consistent improvements across the board:
- Image Classification: On the 20-dataset ICinW benchmark, K-LITE improved average zero-shot accuracy from 27.15% to 33.44% when pre-trained on ImageNet-21K.
- Object Detection: On the LVIS dataset, K-LITE improved the Average Precision (AP) for rare classes significantly, helping the model recognize objects it had never seen labeled bounding boxes for during training.
- Scaling Up: Even when applied to the massive Florence model (trained on 800M pairs), adding external knowledge during a final stage of ImageNet-21K pre-training boosted zero-shot ImageNet-1K accuracy from 83.74% to 85.80%.
Limitations and Future Work
While powerful, K-LITE has a few notable limitations:
- Domain Specificity: General-purpose dictionaries like Wiktionary often lack professional or highly specific definitions (e.g., specific aircraft models or rare medical conditions).
- Spurious Correlations: Sometimes definitions contain "noisy" words that can confuse the model. For instance, if the definitions for both "fireplug" and "garden hose" mention "water," the model might struggle to differentiate them based on text alone.
- Knowledge Quality: The performance is heavily dependent on the quality and relevance of the retrieved text. Future work could involve using more sophisticated LLMs to generate or filter these definitions to ensure they describe visual characteristics rather than just abstract concepts.
Summary updated