Contemplating Real-World Object Classification

Ali BorjiICLR 2021

Introduction

Deep learning models have become "ImageNet-superstars," achieving remarkable accuracy on standard benchmarks. However, when deployed in the wild, they often turn into "real-world flops." This paper re-evaluates the notoriously difficult ObjectNet dataset, revealing that a significant portion of the reported performance collapse in deep learning models is due to background clutter rather than an inability to recognize the objects themselves. By isolating objects via bounding boxes, the author demonstrates that we can recover a substantial portion of this performance loss, even though real-world variations in rotation and viewpoint remain a massive, unsolved challenge for AI.

The Challenge of Real-World Context

When tested on datasets like ObjectNet—which features everyday objects in messy, poorly lit, or oddly rotated household settings—state-of-the-art models see their accuracy plummet by 40-45%.

The core question this research tackles is: Why are these models failing? Is it because they cannot recognize a chair when it is upside down (intrinsic object variation), or is it because they are distracted by unwashed dishes and patterned wallpaper in the background (contextual interference)? The paper seeks to disentangle "object recognition" from "scene understanding" to determine how much of the failure stems from models focusing on the wrong parts of the image.

Comparison of standard ImageNet images versus the cluttered, rotated, and varied viewpoints found in ObjectNet, highlighted with bounding boxes.

Methodology: A Back-to-Basics Approach

To isolate the root cause of these failures, the author took a manual, "back-to-basics" approach by annotating 18,574 images from the ObjectNet dataset with bounding boxes across 113 categories.

The experimental pipeline involved several key steps:

  1. Cropping: Feeding only the isolated object (the bounding box) into standard models (such as AlexNet, VGG-19, and ResNet-152) and comparing the results against feeding the entire cluttered scene.
  2. Robustness Testing: Subjecting these cropped images to 14 types of natural distortions (like blur, snow, and various noises) as well as adversarial attacks (e.g., FGSM).
  3. Segmentation Analysis: Utilizing MS COCO data to determine if providing a pixel-perfect "mask" of the object—removing the background entirely—further boosts accuracy and robustness.
  4. Human Comparison: Conducting a qualitative review to see if the images that stump models also confuse human observers.

Key Insights: The "Background Tax"

Models trained on ImageNet often rely on visual "shortcuts"—for example, associating the concept of "water" with "fish." In ObjectNet, these predictable correlations are intentionally broken. The paper shows that simply removing the background "noise" by cropping to the object significantly helps the model focus, effectively eliminating this "background tax."

The author argues that the original ObjectNet study conflated recognition (what is this?) with detection (where is it?). By explicitly providing the "where" via bounding boxes, researchers can more accurately measure a model's ability to handle the "what," such as extreme rotations or unusual viewpoints.

Furthermore, the research reveals a clear Robustness Gradient: Segmented Object > Bounding Box > Full Image. As the input area narrows to just the object, the model becomes significantly more resilient to both random noise and malicious adversarial attacks.

Key Results: Recovering Performance

Applying models to isolated object bounding boxes resulted in a 20-30% improvement in accuracy compared to using the full scene. This simple cropping approach recovered roughly 10-15% of the massive performance drop reported in the original ObjectNet paper, all without any specialized training or data augmentation.

Accuracy trends across different model architectures, showing the significant performance drop on ObjectNet and the 20-30% gain achieved by isolating objects with bounding boxes.

Among the tested architectures, ResNet-152 proved the most robust to both natural distortions and adversarial attacks, especially when restricted to the object area. In a white-box FGSM adversarial attack, ResNet-152's accuracy on full images was a dismal 2.39%. However, when only the bounding box was provided, accuracy jumped to 10.62%. This suggests that background pixels provide a large, vulnerable "attack surface" for adversaries, which can be mitigated by object isolation.

Limitations and Future Work

The primary limitation of this study is the immense manual effort required; the author was only able to annotate 113 of the 313 ObjectNet categories. Furthermore, while cropping helps significantly, it does not entirely "solve" ObjectNet. The gap between ImageNet performance and ObjectNet performance remains vast, hovering around 30%.

The author suggests that future research should move away from simply throwing "more data" at the problem and instead focus on architectural changes that mimic human vision, such as improved figure-ground segmentation. Finally, the paper proposes a new task: recognizing objects in their natural contexts given a bounding box. This would help the field better understand how context can be utilized as a helpful hint rather than a confusing distraction.

Summary updated

BibTeX
@inproceedings{borji2021contemplating,
  author = {Ali Borji},
  title = {{Contemplating Real-World Object Classification}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
}
Figure