Few-Shot Continual Active Learning by a Robot

Ali Ayub, Carter FendleyNeurIPS 2022

Overview

This paper introduces FoCAL (Few-Shot Continual Active Learning), a framework that enables robots to autonomously navigate the "labeling bottleneck" in the real world. By representing object classes as Gaussian Mixture Models (GMMs) and using a novel uncertainty measure based on viewpoint consistency, the system allows a robot to identify which objects it needs to learn, ask for minimal human help, and remember those objects over time without forgetting.

The Challenge: Learning in the Wild

In traditional machine learning, we usually assume that data is either fully labeled (Supervised Learning) or that we have access to a massive static pool of data (Batch Learning). Real-world robots have neither. A robot in a home sees a continuous stream of unlabeled objects; it cannot store every image it has ever seen due to memory constraints, and it cannot annoy its owner by asking "What is this?" thousands of times.

The authors tackle three overlapping challenges:

  1. Continual Learning: Learning new things without "catastrophic forgetting" (wiping out old knowledge).
  2. Active Learning: Intelligently choosing which unlabeled samples are most worth a human's time to label.
  3. Few-Shot Learning: Learning effectively from only a handful of examples.

Existing methods often fail because they are designed for "closed-world" setups where all classes are known upfront, or they require massive amounts of data per task.

Methods: The GBCL Framework

To address these challenges, the authors propose a framework called GBCL (GMM Based Continual Learning).

Architecture of the GBCL framework featuring active sample selection and pseudorehearsal.

Its architecture consists of three main pillars:

  • Probabilistic Representation: Instead of representing an object class as a single "average" vector (a centroid), the model uses a Gaussian Mixture Model (GMM). This allows the robot to model complex, non-circular distributions of features for each object.
  • Pseudo-Rehearsal: To prevent forgetting, the robot doesn't store old images. Instead, it "dreams" up feature vectors by sampling from the GMMs of previously learned classes and mixes these "pseudo-samples" with new data during training.
  • The FoCAL Acquisition Function: To decide which object to ask a human to label, the robot uses two metrics:
  • Predictive Entropy: How "uncertain" the GMMs are about a new sample.
  • Viewpoint Consistency: Since robots move, they see objects from multiple angles. If the robot’s internal model gives different predictions for the same object just because the camera moved slightly, the robot identifies that object as "confusing" and prioritizes it for labeling.

Key Insights

  • GMMs provide an "Uncertainty Map": By using GMMs rather than simple linear classifiers, the model can naturally tell when a new object falls into a "gap" in its knowledge.
  • Movement is a Feature: The use of Viewpoint Consistency leverages the unique nature of robotics. A static AI cannot move around an object to check its own confidence, but a robot can. This physical interaction becomes a powerful tool for active learning.
  • Memory Efficiency: The GBCL approach is incredibly lean. While a batch-learning model might need 43 MB to store feature vectors, GBCL achieves similar accuracy using only 0.97 MB—a 44x reduction in memory.

Datasets and Key Results

The researchers evaluated their approach on the standard CORe-50 benchmark and a new, more challenging Pepper Dataset collected using a SoftBank Pepper humanoid robot in a real lab environment.

Accuracy over successive learning increments comparing GBCL to baseline methods.
  • Learning Speed: On the CORe-50 dataset, GBCL reached "mastery" of 10 classes in just 15 increments, significantly faster than state-of-the-art methods like iCaRL (18) or EWC (24).
  • Accuracy: GBCL achieved ~88% accuracy on CORe-50, nearly matching "Batch Learning" (which has the unfair advantage of seeing all data at once) while being far more memory-efficient.
  • Real-World Performance: On the Pepper robot, the system learned 20 object classes with 76.5% accuracy in a complex environment. It successfully identified and learned the most "informative" objects even when surrounded by distracting backgrounds like air conditioners and windows.

Limitations and Future Work

  • Fixed Feature Extractor: The model currently uses a pre-trained, frozen ResNet-18 to extract features. Future iterations should allow the robot to fine-tune these features as it learns.
  • The "Junk" Problem: Active learning might accidentally encourage a robot to learn "unnecessary" objects (like a random piece of trash) just because they look unique. Future work could involve adding constraints so the robot only learns objects relevant to its specific tasks.
  • Human Factors: The "oracle" providing labels in this study was a researcher. Real-world users might be less consistent or provide incorrect labels, which the system will need to handle robustly.

Summary updated

BibTeX
@inproceedings{ayub2022few,
  author = {Ali Ayub and Carter Fendley},
  title = {{Few-Shot Continual Active Learning by a Robot}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure