Understand scene categories by objects: A semantic regularized scene classifier using Convolutional Neural Networks

Yiyi Liao, Sarath Kodagoda, Yue Wang, Lei Shi, Yong Liu

This paper, published in 2015, presents a clever way to teach robots how to understand their surroundings without needing millions of training examples. By forcing a neural network to learn what objects are in a room while simultaneously trying to categorize the room itself, the authors achieved state-of-the-art results using a fraction of the data typically required.

TL;DR

The authors introduce SS-CNN, a multi-task learning framework that uses semantic segmentation as a "regularizer" to improve scene classification. By training on just 5,000 images, their model outperforms the famous Place-CNN (trained on 2.5 million images) by leveraging object-level knowledge and geometric depth data.

What Problem Does This Paper Address?

Scene classification—distinguishing a "kitchen" from an "office"—is significantly harder for AI than simple object recognition. Scenes are visually diverse; two kitchens might look nothing alike in terms of color or layout.

The standard deep learning solution is "brute force": train on millions of images (like the Place-CNN approach). However, in robotics, collecting and labeling millions of images for every new environment is impossible. The authors argue that humans don't need millions of examples because we understand scenes through the objects they contain (e.g., if you see a bed and a nightstand, it’s probably a bedroom). The challenge was translating this "object-aware" intuition into a Convolutional Neural Network (CNN) that could learn efficiently from small datasets.

Methods

The core of the paper is the SS-CNN (Semantic Regularized CNN).

  1. Multi-Task Architecture: Based on the classic AlexNet, the model splits into two branches. The "main branch" predicts the scene category, while a "regularizer branch" performs semantic segmentation (labeling every pixel as a specific object).
  2. Shared Features: The first several layers are shared between both tasks. This forces the network to learn features that are useful for identifying objects, which in turn provides a more robust foundation for classifying the scene.
  3. 7-Channel Input: Instead of just using RGB images, the authors use RGB-D (Depth). They encode this as a 7-channel input: 3 for RGB, 1 for depth, and 3 for surface normal vectors. These normal vectors help the model understand the 3D structure of the room.
  4. Semantic Refinement: After the model makes a prediction, the authors use a post-processing step. They use the predicted scene label to "clean up" the object segmentation. For example, if the model thinks the room is a "kitchen," it increases the probability that a rectangular object is a "fridge" rather than a "wardrobe" based on a scene-object co-occurrence matrix (calculated using a tf-idf inspired method).

Datasets

  • SUN RGB-D: A large-scale indoor dataset containing 10,335 RGB-D images with dense annotations for 19 scene categories and 45 object categories.
  • Real-world Robot Data: To test generalization, the authors collected a custom dataset using a mobile robot at their university, featuring 230 images across 6 scene classes.

Key Insights and Ideas

  • Objects are the Key to Scenes: A preliminary experiment showed that a simple binary vector indicating which objects are present in a room is almost as effective for classification as complex deep learning features. This validated their "object-centric" approach.
  • Regularization Depth Matters: The authors tested regularizing different numbers of layers (SS-CNN-Rn). They found that regularizing up to the 6th layer (the first fully connected layer) yielded the best results. Regularizing too deep (all 8 layers) actually hurt performance, likely because the specific requirements for pixel-wise segmentation and global scene classification eventually diverge.
  • Geometric Priors: Using surface normals was a "force multiplier." It allowed the model to recognize the "shape" of a scene (like the flat planes of a corridor) regardless of the lighting or textures.

Key Results

  • Efficiency: With only 5,000 training images, SS-CNN-R6 achieved 41.3% accuracy on the SUN RGB-D benchmark.
  • Comparison: This outperformed the state-of-the-art Place-CNN (39.0%), which was pre-trained on 2.5 million images.
  • Segmentation Boost: Their refinement method improved semantic segmentation accuracy to 41.76%, setting a new record for the dataset at the time.
  • Generalization: The model trained on US-based data (SUN RGB-D) successfully classified scenes in a Chinese university environment without any retraining, proving the robustness of object-based features.

Limitations and Future Work

The authors acknowledge that their segmentation results are somewhat "coarse" because they used a large stride (16 pixels) in the network to maintain efficiency. While this was sufficient for regularizing the scene classifier, it isn't ideal for high-precision robotics tasks like grasping.

Future work suggested includes exploring "vertical" task coupling—finding deeper ways to integrate the relationship between objects and scenes directly into the loss functions, rather than relying on post-processing refinement.

Summary updated

BibTeX
@inproceedings{liao2016understand,
  author = {Yiyi Liao and Sarath Kodagoda and Yue Wang and Lei Shi and Yong Liu},
  title = {{Understand scene categories by objects: A semantic regularized scene classifier using Convolutional Neural Networks}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2016},
  doi = {10.1109/icra.2016.7487381},
}
Figure