Sample-Efficient Learning of Novel Visual Concepts

Sarthak Bhagat, Simon Stepputtis, Joseph Campbell, Katia P. Sycara

Abstract

Modern deep learning models typically require vast amounts of labeled data to recognize new objects, whereas humans can generalize from a single example. This paper introduces a neuro-symbolic framework that integrates neural pattern recognition with structured Knowledge Graphs (KGs) to achieve sample-efficient learning. By utilizing a Relationship Prediction Transformer (RelaTe) and an image-conditioned Graph Search Neural Network (GSNN), the system identifies novel objects, abstract attributes, and affordances with high accuracy. Experimental results on COCO and Visual Genome datasets demonstrate state-of-the-art performance in few-shot multi-label classification and complex scene understanding, outperforming significantly larger multimodal models.

Introduction

While modern deep learning models can identify thousands of objects, they are notoriously "data-hungry." If a state-of-the-art model is presented with a brand-new object it has not encountered during training, it usually requires hundreds of labeled examples to recognize it reliably. Humans, by contrast, possess an innate ability to see a single instance of a concept—such as a "stadium"—and immediately understand its relationship to constituent elements like "grass," "people," and "sports."

To bridge this gap, researchers at Carnegie Mellon University have developed a neuro-symbolic framework designed to mimic human-like conceptual acquisition. By combining the raw pattern-recognition power of neural networks with the structured reasoning of symbolic Knowledge Graphs, the proposed system learns novel objects, abstract concepts, and affordances with remarkable efficiency.

The Challenge: Few-Shot Multi-Label Classification

The core challenge addressed in this research is Few-Shot Multi-Label Classification (FS-MLC). Most computer vision models treat labels as independent categories, failing to exploit the fact that objects in the real world are interconnected. For example, if a model identifies a "refrigerator" and an "oven," it should be statistically more likely to conclude the scene is a "kitchen."

Existing few-shot methods often struggle with three primary areas:

  1. Data Efficiency: Requiring excessive examples to learn a new class.
  2. Abstract Concepts: Difficulty identifying "affordances" (what an object can do, like "sit-able") or "attributes" (properties like "red") that are not defined by a single visual shape.
  3. Interpretability: Deep learning "black boxes" rarely explain the reasoning behind a classification decision.

Methodology

The proposed solution consists of a two-part neuro-symbolic architecture designed to integrate new information into a structured knowledge base.

1. RelaTe: The Knowledge Bridge

When provided with a few images of a new concept (e.g., a "stadium"), the RelaTe (Relationship Prediction Transformer) module is activated. It processes the linguistic representation of the concept (using GloVe embeddings) alongside visual features from the sample images to predict how this new concept should connect to the existing Knowledge Graph. For instance, it might determine that "stadium" should be linked to existing nodes like "grass," "person," and "baseball bat."

Once the graph is updated, the model utilizes a modified Graph Search Neural Network (GSNN) for inference. Unlike previous static versions, this model employs image conditioning. It uses a global image embedding from a Vision Transformer to prioritize specific parts of the graph relevant to the current visual input. This prevents the model from "hallucinating" related objects that are not actually present in the scene.

To maintain stability, the researchers implemented Maximally Diverse Expansion Sampling (MDES). This strategy curates a small subset (approximately 2%) of the original training data to ensure the model does not "forget" old concepts while acquiring new ones.

Experimental Results

The framework was evaluated on two primary benchmarks: COCO for standard few-shot multi-label classification and Visual Genome Multi-Label (VGML) for abstract concepts and scene summaries.

  • SOTA Performance: On the COCO dataset, the model achieved a 70.30 Macro AP, outperforming the previous best baseline (68.12) using only five images per novel class.
  • Scene Understanding: In predicting complex scenes, the model achieved 84.4% accuracy, significantly outperforming large-scale models such as MiniGPT-4 (60.8%) and Flamingo (59.2%).
  • Interpretability: Because the model operates over a graph, the reasoning path is transparent. Users can observe that the model identified a "kitchen" because it first detected a "refrigerator" and a "microwave."

Discussion and Insights

The research highlights that relationships act as powerful priors. By knowing that "motorcycles" have "two wheels" and provide "transport," the model can identify a motorcycle even when visual data is sparse. Furthermore, the model successfully learns affordances (e.g., "contain," "feed") and attributes (e.g., "electric," "wearable"). These are often "invisible" properties that are easier to learn through relational context than through raw pixel data alone.

Limitations and Future Work

Despite its success, the system faces several hurdles. It is heavily dependent on the quality of the underlying Knowledge Graph; missing connections can limit reasoning capabilities. Additionally, the "search" through the graph is currently limited to a fixed number of steps, which may prevent the model from reaching concepts many "hops" away from detected objects. Future work will explore dynamic propagation steps to balance computational efficiency with search depth.

Summary updated

BibTeX
@inproceedings{bhagat2023sample,
  author = {Sarthak Bhagat and Simon Stepputtis and Joseph Campbell and Katia P. Sycara},
  title = {{Sample-Efficient Learning of Novel Visual Concepts}},
  booktitle = {CoLLAs},
  year = {2023},
}
Figure