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

Fine-Grained Recognition of Thousands of Object Categories with Single-Example Training

Leonid Karlinsky, Joseph Shtok, Yochay Tzur, Asaf TzadokCVPR 2017

Abstract

We approach the problem of fast detection and recognition of a large number (thousands) of object categories while training on a very limited amount of examples, usually one per category. Examples of this task include detection of retail products, brand logos, and 3D objects within static 2D images. Building a detector based on so few examples presents a significant challenge for current deep learning techniques, which require large amounts of data. Our approach is based on a non-parametric probabilistic model for initial detection, CNN-based refinement, and temporal integration. We successfully demonstrate its usefulness in a variety of experiments on both existing and new benchmarks, achieving state-of-the-art performance.

Introduction

Standard deep learning models are notoriously data-hungry, often requiring thousands of annotated images per category to achieve high accuracy. However, real-world scenarios like retail inventory management or brand monitoring often provide only a single "studio" image or vector file per product. This creates a "fine-grained" recognition challenge where a system must distinguish between thousands of visually similar items (e.g., different flavors of the same brand) under a "one-shot" training constraint. Furthermore, these systems must be efficient enough to process high-resolution imagery in near real-time.

Methodology

The proposed pipeline consists of three distinct phases designed to balance speed and accuracy:

  1. Fast Probabilistic Detection: To handle thousands of categories without exhaustive search, the system uses a non-parametric probabilistic model based on dense SIFT descriptors. It employs a sequential inference strategy: first identifying potential "objectness" locations, then predicting a small shortlist of likely candidates, and finally refining the bounding box. Efficiency is maintained using sub-linear Nearest Neighbor search via spectral hashing.
  2. Deep Fine-Grained Refinement: A modified VGG-f CNN processes the top candidates from Phase 1. To overcome the single-example constraint, the authors synthesize tens of thousands of training examples by applying random geometric (homographies) and photometric transformations to the single available training image.
  3. Temporal Integration: For video feeds, a KLT tracker maintains consistency across frames, smoothing detections and reducing false positives.
The two-stage inference pipeline: Stage 1 computes objectness via SIFT descriptor voting; Stage 2 performs classification and bounding box refinement.

Datasets and Evaluation

The method was evaluated on six diverse datasets, including three new benchmarks introduced by the authors to test scale and variety:

  • GroZi-3.2K & GroZi-120: Large-scale retail datasets.
  • FlickrLogos-32: A standard brand logo recognition benchmark.
  • GameStop (New): 3.7K video game categories in retail environments.
  • Retail121 (New): 121 retail categories in controlled video.
  • PCPE (New): A Point Cloud Pose Estimation dataset.
The proposed method is evaluated across diverse datasets: (a, b) GroZi-3.2K/120, (c) GameStop, (d) Retail121, (e) PCPE point clouds, and (f) FlickrLogos-32.

Key Results

The proposed method significantly outperformed existing state-of-the-art techniques, particularly those relying on traditional deep learning frameworks like Faster R-CNN, which struggle with data scarcity.

On the GroZi-3.2K dataset, the system achieved a mean Average Precision (mAP) of 44.72%, nearly doubling the previous best of 23.49%. On FlickrLogos-32, it reached 79.3% mAP, surpassing previous deep-learning-based methods by nearly 5%. Computationally, the system is highly efficient; a C++ implementation for point clouds runs at 0.2 seconds per frame, while the general detection for 1-megapixel images takes less than a second.

Conclusion

By bridging the gap between non-parametric models and deep learning through synthetic data generation, this research enables robust recognition in data-scarce environments. Future work includes replacing hand-crafted SIFT features with deep-learned descriptors and exploring self-training methods to automatically expand training sets using high-confidence real-world detections.

Summary updated

BibTeX
@inproceedings{karlinsky2017fine,
  author = {Leonid Karlinsky and Joseph Shtok and Yochay Tzur and Asaf Tzadok},
  title = {{Fine-Grained Recognition of Thousands of Object Categories with Single-Example Training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=ry-hyC-uZH},
}
Figure