Object-centric Sampling for Fine-grained Image Classification

Xiaoyu Wang, Tianbao Yang, Guobin Chen, Yuanqing LinarXiv 2014

Introduction

Fine-grained image classification involves distinguishing between highly similar sub-categories, such as specific car models or bird species. This task is significantly more challenging than general object recognition due to two primary factors: the scarcity of large-scale annotated datasets and the presence of distracting background noise. Traditional Convolutional Neural Network (CNN) training often relies on uniform sampling, which treats all parts of an image with equal importance. However, in fine-grained tasks, the background often contains irrelevant information that increases within-class variation, hindering the model's ability to learn subtle, distinguishing features.

This paper introduces Object-centric Sampling (OCS), a framework designed to focus the learning process on the primary object of interest. By integrating a saliency-aware detection mechanism with a "soft" multinomial sampling strategy, the authors demonstrate a substantial improvement in classification accuracy, boosting Top-1 performance from 81.6% to 89.3%.

Methodology: From Uniform to Object-centric Sampling

The core innovation of this work is the shift from uniform image cropping to a sampling strategy that prioritizes the object. The pipeline consists of three main components:

Saliency-aware Object Detection

Standard object detectors are often designed to find every instance of a class within an image. For fine-grained classification, however, the goal is to identify the specific object that the image is intended to represent. The authors employ a Regionlet-based detector trained specifically to identify the most salient object. This ensures that the classification labels are correctly aligned with the primary subject of the photograph, reducing interference from background objects.

Object-centric Sampling (OCS)

Rather than performing a "hard crop" based on the detected bounding box—which can be risky if the detection is slightly inaccurate—the authors introduce a multinomial sampling scheme. During training, the probability of a window being sampled is proportional to its overlap with the detected bounding box. This "soft" approach emphasizes the object while maintaining robustness against imperfect detections, ensuring that critical features near the edges of the object (like headlights or mirrors) are not lost.

Comparison of uniform sampling (top) versus the proposed object-centric sampling pipeline (bottom).

Scale Preservation

Unlike many systems that resize or warp images to fit a fixed input size, the Regionlet framework operates on the original image dimensions. This preserves the relative scale of the object, which serves as an important visual cue for identifying specific makes and models.

Large-scale Car Dataset

To address the issue of data scarcity, the authors introduced a massive new dataset for car classification. At the time of publication, this dataset was more than ten times larger than existing benchmarks like the Stanford Cars dataset.

  • Scale: 157,023 training images and 7,840 testing images.
  • Granularity: 333 distinct categories defined by brand, model, and "year blanket" (the period during which a specific design remains unchanged).
Sample images from the large-scale car dataset, illustrating the high intra-class similarity and varied environments.

Key Results and Insights

The transition to an object-centric approach yielded significant performance gains:

  • Accuracy Improvement: Top-1 classification accuracy on the car dataset rose from 81.6% (using uniform sampling) to 89.3% with OCS.
  • Top-5 Performance: The model achieved a Top-5 accuracy of 96.6%, indicating that the correct category is almost always within the model's top predictions.
  • Saliency Matters: The specialized detector achieved an average precision of 85.8%. The authors found that for fine-grained tasks, the background is often pure noise because different classes frequently share the same contexts (e.g., roads or parking lots).

Conclusion

Object-centric Sampling effectively mitigates the negative impact of background clutter in fine-grained classification. By "softly" guiding the CNN to focus on the most salient object, the model can better capture the minute details necessary for high-precision identification. While the current implementation adds computational overhead due to the detection stage, the significant boost in accuracy suggests that object-centricity is a vital component for advancing fine-grained visual recognition.

Summary updated

BibTeX
@misc{wang2014object,
  author = {Xiaoyu Wang and Tianbao Yang and Guobin Chen and Yuanqing Lin},
  title = {{Object-centric Sampling for Fine-grained Image Classification}},
  year = {2014},
  eprint = {1412.3161},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1412.3161},
}
Figure