Deep Learning for Single-View Instance Recognition

David Held, Sebastian Thrun, Silvio SavaresearXiv 2015

Abstract

Deep learning methods have typically been trained on large datasets in which many training examples are available. However, many real-world product datasets have only a small number of images available for each product. We explore the use of deep learning methods for recognizing object instances when we have only a single training example per class. We show that feedforward neural networks outperform state-of-the-art methods for recognizing objects from novel viewpoints even when trained from just a single image per object. To further improve our performance on this task, we propose to take advantage of a supplementary dataset in which we observe a separate set of objects from multiple viewpoints. We introduce a new approach for training deep learning methods for instance recognition with limited training data, in which we use an auxiliary multi-view dataset to train our network to be robust to viewpoint changes. We find that this approach leads to a more robust classifier for recognizing objects from novel viewpoints, outperforming previous state-of-the-art approaches including keypoint-matching, template-based techniques, and sparse coding.

The Challenge of One-Shot Instance Recognition

Deep learning is notoriously data-hungry, typically requiring thousands of examples to learn a concept. However, in practical applications—such as a robot navigating a kitchen or a product database on an e-commerce platform—we often only have a single high-quality image of a specific product.

The challenge lies in "one-shot instance recognition": if a system has only seen a box of cereal from the front, can it recognize it when it is tilted 45 degrees or viewed from the side? Traditional computer vision relies on feature matching techniques like SIFT, which look for distinctive keypoints. These methods frequently fail when objects are textureless (like a plain white mug) or when the viewpoint change is so drastic that keypoints disappear or distort beyond recognition.

A General-to-Specific Training Pipeline

The authors propose a three-stage training procedure designed to move from general visual knowledge to specific instance recognition:

  1. General Pre-training: The process begins with a standard network (CaffeNet) pre-trained on ImageNet. This teaches the network basic visual primitives like edges, shapes, and textures.
  2. Auxiliary Multi-view Pre-training: This is the core innovation. The network is trained on a separate "auxiliary" dataset (BigBird) where many objects are seen from multiple angles. Crucially, these are not the objects the network will eventually be tested on. The goal is to teach the network the general concept of viewpoint invariance—learning how the appearance of a 3D object changes as it moves.
  3. Single-View Fine-tuning: Finally, the network is fine-tuned on the actual target objects using only one image per object.
The proposed multi-stage training pipeline, moving from ImageNet to auxiliary multi-view data, and finally to single-view training for novel viewpoint testing.

By the time the network sees the single image of the target object, it already "understands" how objects generally look from different angles, allowing it to generalize effectively from that lone viewpoint.

Experimental Setup and Datasets

To validate this approach, the researchers utilized several key datasets:

  • ImageNet: Used for initial class-level pre-training (1.2 million images).
  • BigBird Dataset: Used as the auxiliary multi-view dataset. It contains 125 objects with 100 views each. Objects overlapping with the test set were removed to ensure the network learned general invariance rather than specific items.
  • RGB-D Object Dataset: Used for primary evaluation, containing 300 objects such as cereal boxes and tools.
  • RGB-D Scenes Dataset: Used to test the model in "the wild"—recognizing objects placed in real-world indoor environments with clutter and occlusions.

Key Insights

  • Transferable Viewpoint Invariance: A network can learn how objects rotate by looking at one set of items (e.g., a toy car) and apply that geometric knowledge to recognize a completely different item (e.g., a box of crackers).
  • Deep Learning vs. Hand-Crafted Features: Even with only one training image, a neural network outperforms SIFT. SIFT is brittle and can be confused by repeated patterns where geometric verification might actually hinder performance.
  • Background Robustness: Training the network with "random background augmentation" during the auxiliary phase significantly improved the classifier's robustness to real-world clutter.
  • Comprehensive Fine-tuning: Fine-tuning the entire network (all layers) proved superior to training only the final classification layer, suggesting that one-shot learning requires subtle adjustments to internal feature extractors.

Results and Performance

On the RGB-D Object Dataset, the proposed method achieved 63.9% accuracy. In comparison, the previous state-of-the-art (HMP) achieved 42.3%, and SIFT managed only 6.3%. The method is particularly strong on textured objects (73.8% accuracy) but maintains a significant lead on untextured objects (60.0%), where traditional keypoint methods almost entirely fail. When tested on real-world scenes with occlusions, the multi-view pre-trained network achieved 44.1%, nearly doubling the performance of the HMP baseline (25.4%).

Conclusion and Future Directions

While the model shows remarkable progress, it still struggles with objects that have very subtle differences, such as similar-looking soup cans or different varieties of the same fruit. Extreme lighting changes and heavy occlusions also remain challenging. Future work may involve learning viewpoint invariances from unlabeled video data rather than curated datasets and improving the integration of object detection and recognition to reduce dependency on precise initial segmentation.

Summary updated

BibTeX
@misc{held2015deep,
  author = {David Held and Sebastian Thrun and Silvio Savarese},
  title = {{Deep Learning for Single-View Instance Recognition}},
  year = {2015},
  eprint = {1507.08286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1507.08286},
}
Figure