NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Knowledge-Guided Multi-Label Few-Shot Learning for General Image Recognition

Tianshui Chen, Liang Lin, Riquan Chen, Xiaolu Hui, Hefeng Wu

This paper, published in IEEE Transactions on Pattern Analysis and Machine Intelligence, introduces a novel way to help computers recognize multiple objects within a single image, even when the computer has only seen a few examples of certain objects.

TL;DR

The authors propose the Knowledge-Guided Graph Routing (KGGR) framework, which uses a structured "knowledge graph" of object relationships to improve image recognition. By teaching the model that certain objects (like desks and chairs) frequently appear together, the system can accurately identify multiple labels and generalize to "novel" categories with extremely limited training data.

What Problem Does This Paper Address?

In the real world, images rarely contain just one thing. A photo of a kitchen might contain a fridge, a toaster, and a person. Standard "Multi-Label Recognition" (MLR) models often struggle because they treat these labels as independent or try to learn their relationships from scratch using massive amounts of data.

This creates two major hurdles:

  1. Complex Interactions: Objects don't just appear randomly; they have semantic dependencies. Current models often use sequential tools (like LSTMs) that don't fully capture the "web" of interactions between different regions of an image.
  2. The "Few-Shot" Challenge: Most deep learning models are data-hungry. If you only have one or five examples of a "hair drier," a standard model will likely fail to recognize it. Humans, however, use prior knowledge—if we see a sink and a mirror, our "common sense" tells us a hair drier is more likely to be present than a tractor.

Methods

The KGGR framework bridges the gap between deep learning and structured prior knowledge through three main components:

  • Knowledge Graph Construction: The authors build a graph where nodes represent object categories and edges represent the statistical probability that two objects appear together (co-occurrence).
  • Semantically Guided Attention (SGA): Instead of looking at the whole image at once, the model uses word embeddings (from the GloVe model) to "guide" its attention. It essentially asks, "Where in this image does the feature map look most like the concept of a 'dog'?" This allows the model to extract category-specific features.
  • Dual Graph Propagation: This is the core innovation. The model runs two parallel Graph Neural Networks (GNNs):
  • Feature Propagation: This allows the "dog" features to "talk" to the "frisbee" features through the graph, creating a contextualized understanding of the scene.
  • Semantic Propagation: This module treats the classifier weights themselves as nodes in the graph. It transfers "knowledge" from well-known base categories (like "chair") to help train classifiers for rare, novel categories (like "stool") by leveraging their relationship in the graph.

Datasets

The researchers evaluated their framework on several industry-standard benchmarks:

  • Pascal VOC 2007 & 2012: Classic datasets for multi-label recognition.
  • Microsoft COCO: A large-scale dataset with 80 common object categories.
  • Visual Genome 500 (VG-500): A more complex dataset featuring 500 categories, used here to test how well the model scales to a more "real-world" variety of objects.

Key Insights and Ideas

  • Classifiers as Prototypes: One of the most interesting "aha" moments is treating a classifier's weights as a "prototype" representation. By linking these prototypes in a graph, the model can regularize the learning process—essentially using the "knowledge" of a common class to provide a better starting point for a rare one.
  • Guidance over Discovery: Most attention mechanisms try to "discover" important regions blindly. By using semantic word vectors to guide attention, the model ensures that the features it extracts are actually relevant to the labels it's trying to predict.
  • Beyond Sequences: By moving away from sequential models (RNNs) to graph-based models (GNNs), the framework captures the simultaneous, non-linear relationships between all objects in a scene.

Key Results

The KGGR framework consistently outperformed state-of-the-art methods across all tasks:

  • Standard Recognition: On MS COCO, it achieved a Mean Average Precision (mAP) of 84.3%, surpassing previous leaders like ML-GCN (83.1%).
  • Few-Shot Learning: This is where the model truly shined. In a "1-shot" scenario (learning a new object from just one image) on COCO, KGGR achieved 52.3% mAP, a massive 7.0% improvement over the previous best method (LaSO).
  • Scalability: On the much larger VG-500 dataset, the model improved the mAP by 4.8% over existing methods, proving it can handle a wide variety of labels.

Limitations and Future Work

While powerful, the paper notes a few areas for growth:

  • Static Knowledge: The graph is built on fixed statistical co-occurrences. It doesn't account for rare but valid "out-of-context" images (e.g., a cow in a living room).
  • Relationship Types: Currently, the graph mostly focuses on if objects appear together. Future work could incorporate how they relate spatially (e.g., "person riding bike" vs. "person next to bike").
  • Computational Load: Processing a graph for 500+ categories for every image is computationally more expensive than standard global feature extraction, which might limit real-time applications on mobile devices.

Summary updated

BibTeX
@article{chen2022knowledge,
  author = {Tianshui Chen and Liang Lin and Riquan Chen and Xiaolu Hui and Hefeng Wu},
  title = {{Knowledge-Guided Multi-Label Few-Shot Learning for General Image Recognition}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  url = {https://openreview.net/forum?id=Vy59jTCuNGt},
}
Figure