R-FCN-3000 at 30fps: Decoupling Detection and Classification

Bharat Singh, Hengduo Li, Abhishek Sharma, Larry S. Davis

TL;DR

R-FCN-3000 is a large-scale object detector that breaks the real-time barrier for thousands of classes by decoupling localization from classification. By sharing "position-sensitive" filters across categories to learn a universal concept of objectness, it achieves 34.9% mAP on ImageNet while running at a smooth 30 frames per second—outperforming YOLO-9000 in both accuracy and speed.

What Problem Does This Paper Address?

Modern object detectors like Faster R-CNN and R-FCN are incredibly accurate but struggle to scale. The bottleneck lies in how they handle localization: they typically use class-specific filters to determine where an object is. For example, R-FCN requires 49 to 197 specialized filters per class. If you want to detect 3,000 different types of objects, your model would need hundreds of thousands of filters, making it too slow and memory-intensive for real-world use.

Previous attempts to solve this, like YOLO-9000, sacrificed significant accuracy to maintain speed. Other researchers tried "weakly supervised" learning (training without bounding boxes), but these models often fail to learn the exact boundaries of objects, mistaking a dog's face for the whole dog. R-FCN-3000 aims to bridge this gap, providing a high-accuracy, real-time solution for large-scale detection.

Methods

The core innovation is decoupling. Instead of asking the network to simultaneously figure out "Where is the dog?" and "What breed is it?", the authors split the task:

  1. Super-class Localization: The model uses a modified R-FCN architecture with shared position-sensitive filters. Instead of one set per class, these filters are shared among "super-classes"—groups of visually similar objects (e.g., all dog breeds). In the most extreme version, the model uses just one super-class to learn a "universal objectness" score.
  2. Fine-grained Classification: A separate, lighter branch predicts the specific class probability without needing expensive position-sensitive filters.
  3. Score Fusion: The final detection score is simply the product of the objectness score and the classification score.
Figure 1. We propose to decouple classification and localization by independently predicting objectness and classification scores. These scores are multiplied to obtain a detector.

To group objects into super-classes, the authors used K-means clustering on deep features extracted from a ResNet-101 model. This allowed the network to share localization parameters between visually similar categories without requiring a manual semantic hierarchy.

Figure 2. R-FCN-3000 first generates region proposals which are provided as input to a super-class detection branch (like R-FCN) which jointly predicts the detection scores for each super-class (sc). A class-agnostic bounding-box regression step refines the position of each RoI (not shown). To obtain the semantic class, we do not use position-sensitive filters but predict per class scores in a fully convolutional fashion. Finally, we average pool the per-class scores inside the RoI to get the classification probability. The classification probability is multiplied with the super-class detection probability for detecting 3000 classes. When K is 1, the super-class detector predicts objectness.

Datasets

  • ImageNet Detection: Used for primary evaluation (194 classes).
  • ImageNet Classification: The authors leveraged the fact that many ImageNet classification images actually include bounding box annotations. They trained on up to 3,130 classes.
  • PASCAL VOC 2007/2012: Used for benchmarking against standard detectors.
  • COCO: Used for qualitative testing to show the model's diversity in detection.

Key Insights and Ideas

  • Universal Objectness is Real: The authors found that a detector trained with only one super-class (universal objectness) performed nearly as well as one with class-specific filters. This suggests that "being an object" is a generic visual trait that can be learned independently of specific labels.
  • Scaling Improves Generalization: One of the most exciting findings was that as the number of training classes increased, the model's ability to localize unseen objects improved. Training on 3,000 classes makes the "objectness" detector more robust than training on 20.
  • Visual Similarity vs. Semantics: Clustering by visual features (how things look) proved effective for sharing localization filters, reaffirming that low-level geometry is more important for "where" than high-level taxonomy.

Key Results

  • Accuracy: R-FCN-3000 achieved 34.9% mAP on the ImageNet detection task for 3,000 classes. This is an 18% improvement over YOLO-9000.
  • Speed: The model processes 30 images per second on an Nvidia P6000 GPU, meeting the standard for real-time applications.
  • Efficiency: By using clustering for the Non-Maximum Suppression (NMS) step, they reduced post-processing time significantly. NMS for 1,000 classes dropped from 231ms to just 10ms when using 1,000 clusters.
Figure 3. Performance (mAP) vs. number of clusters and classes.

Limitations and Future Work

While R-FCN-3000 is a major step forward, the authors note several areas for improvement:

  • Extreme Scaling: While 3,000 classes is impressive, scaling to 100,000 classes will require even more aggressive acceleration of the classification head.
  • Part Detection: The current architecture focuses on whole objects; adapting it to detect object parts (like a car's wheel) remains an open challenge.
  • Label Noise: The paper assumes bounding boxes are available for training. Future work could explore how to maintain this performance when some objects in the training set are not labeled at all.
Figure 6. Objectness scores on unseen object classes.

Summary updated

Abstract

We present R-FCN-3000, a large-scale real-time object detector in which objectness detection and classification are decoupled. To obtain the detection score for an RoI, we multiply the objectness score with the fine-grained classification score. Our approach is a modification of the R-FCN architecture in which position-sensitive filters are shared across different object classes for performing localization. For fine-grained classification, these position-sensitive filters are not needed. R-FCN-3000 obtains an mAP of 34.9% on the ImageNet detection dataset and outperforms YOLO-9000 by 18% while processing 30 images per second. We also show that the objectness learned by R-FCN-3000 generalizes to novel classes and the performance increases with the number of training object classes - supporting the hypothesis that it is possible to learn a universal objectness detector. Code will be made available.
BibTeX
@inproceedings{singh2018r,
  author = {Bharat Singh and Hengduo Li and Abhishek Sharma and Larry S. Davis},
  title = {{R-FCN-3000 at 30fps: Decoupling Detection and Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=BkWKFTWdZS},
}
Figure