Knowledge is Never Enough: Towards Web Aided Deep Open World Recognition

Massimiliano Mancini, Hakan Karaoguz, Elisa Ricci, Patric Jensfelt, Barbara Caputo · DOI

Abstract

While today's robots are able to perform sophisticated tasks, they can only act on objects they have been trained to recognize. This is a severe limitation: any robot will inevitably see new objects in unconstrained settings, and thus will always have visual knowledge gaps. However, standard visual modules are usually built on a limited set of classes and are based on the strong prior that an object must belong to one of those classes. Identifying whether an instance does not belong to the set of known categories (i.e. open set recognition), only partially tackles this problem, as a truly autonomous agent should be able not only to detect what it does not know, but also to extend dynamically its knowledge about the world. We contribute to this challenge with a deep learning architecture that can dynamically update its known classes in an end-to-end fashion. The proposed deep network, based on a deep extension of a non-parametric model, detects whether a perceived object belongs to the set of categories known by the system and learns it without the need to retrain the whole system from scratch. Annotated images about the new category can be provided by an 'oracle' (i.e. human supervision), or by autonomous mining of the Web. Experiments on two different databases and on a robot platform demonstrate the promise of our approach.

Introduction

Most contemporary computer vision systems operate under a "Closed World Assumption," where the set of object categories is fixed at training time. In unconstrained robotic environments, this assumption fails. A robot trained on a specific set of household items will erroneously classify a novel object, such as a hammer, into one of its known categories with high confidence. To achieve true autonomy, a system must perform Open World Recognition (OWR): it must identify unknown objects (Open Set Recognition) and dynamically incorporate them into its knowledge base (Incremental Learning).

This paper introduces DeepNNO (Deep Nearest Non-Outlier), an end-to-end framework that bridges these tasks. DeepNNO detects novel objects, autonomously gathers training data from the Web, and updates its model incrementally without requiring a full system retrain.

The DeepNNO Framework

DeepNNO evolves the previous non-parametric Nearest Non-Outlier (NNO) algorithm into a deep learning architecture. The system maps images into a feature space where each class is defined by a "mean prototype"—the average feature vector of all observed instances.

Overview of the DeepNNO pipeline for Open World Recognition, integrating novelty detection, web-aided data collection, and incremental learning.

Novelty detection is handled through Dynamic Thresholding. The system calculates a probability score based on the distance to the nearest class prototype. Unlike static methods, DeepNNO updates its novelty threshold during training to reflect its current recognition capabilities. To mitigate "catastrophic forgetting," the architecture employs a distillation loss and maintains a small memory buffer of representative samples from previously learned classes, ensuring stable feature representations as new knowledge is added.

A key innovation is the Web-Aided Pipeline. Upon encountering an unknown object, the robot can query search engines to retrieve a label and download a batch of images to initialize the new category. This reduces the burden of constant human supervision, using the internet as a vast external knowledge source.

Experimental Evaluation and Results

The model was rigorously tested on the CIFAR-100 and Core50 datasets, alongside noisy web-mined data. In the CIFAR-100 experiments, the world was simulated to expand from 50 known to 100 total classes.

Comparison of accuracy across incremental learning steps for NNO, Web-DeepNNO, and DeepNNO models.

The results demonstrate that DeepNNO significantly outperforms its "shallow" predecessor. On CIFAR-100, DeepNNO achieved an average accuracy lead of 16% over standard NNO. Even when utilizing noisy images from the web (Web-DeepNNO), the system maintained superior performance, outperforming the baseline by 3.5%. Real-world feasibility was further validated on a Yumi 2-arm manipulator, where the robot successfully detected a novel "red hammer," queried the web for information, and updated its internal model in real-time.

Discussion and Conclusion

A primary insight from this work is that updating the feature extractor itself during incremental steps—rather than just the final classifier—is crucial for adapting to new categories. While the Web serves as a powerful "oracle," a significant "appearance gap" remains between professional web images and the low-resolution, cluttered egocentric data captured by robot sensors. Future research will focus on incorporating domain adaptation techniques to bridge this gap and further automating the label verification process.

Summary updated

BibTeX
@inproceedings{mancini2019knowledge,
  author = {Massimiliano Mancini and Hakan Karaoguz and Elisa Ricci and Patric Jensfelt and Barbara Caputo},
  title = {{Knowledge is Never Enough: Towards Web Aided Deep Open World Recognition}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra.2019.8793803},
}
Figure