3D Object Recognition with Deep Belief Nets

Vinod Nair, Geoffrey E. HintonNeurIPS 2009

TL;DR

Researchers Vinod Nair and Geoffrey Hinton introduce a novel "third-order" Boltzmann machine as the top-level layer for Deep Belief Nets (DBNs). By combining generative and discriminative training and leveraging unlabeled "jittered" images, their model achieves a 5.2% error rate on the NORB 3D object dataset—outperforming standard SVMs and rivaling specialized convolutional neural networks without needing built-in spatial priors.

What Problem Does This Paper Address?

While Deep Belief Nets (DBNs) had already shown great promise on 2D tasks like MNIST digit recognition, 3D object recognition is a significantly harder nut to crack. 3D objects involve complex variations in lighting, viewpoint, and internal geometry.

Standard DBNs typically use a Restricted Boltzmann Machine (RBM) as their top layer, where labels only influence the "biases" of hidden units. This architecture doesn't easily allow the model to learn features that are specifically dedicated to one class versus another. Furthermore, the authors wanted to explore how DBNs—which are naturally good at unsupervised learning—could benefit from semi-supervised learning using large amounts of unlabeled data to improve 3D recognition.

Methods

The authors propose two major innovations to the standard DBN pipeline:

  1. The Third-Order RBM: Instead of a standard bipartite graph (where units in one layer only connect to the next), they use a "three-way" interaction. In this model, a visible unit, a hidden unit, and a label unit all interact multiplicatively. This is represented by a 3D tensor of weights ($W_{ijk}$). This allows the class label to effectively "switch" or modulate which features the hidden units are looking for, enabling class-specific feature learning.
Various RBM architectures, highlighting the third-order interactions where visible, hidden, and label units interact multiplicatively.
  1. Hybrid Learning Gradient: Training deep models often involves a trade-off between generative learning (modeling what the data looks like) and discriminative learning (modeling the labels). The authors use a weighted sum of both gradients. This hybrid approach prevents the Markov chain from getting "stuck" (a common issue in purely generative CD learning) and ensures the model focuses on classification accuracy while still benefiting from the structure of the input data.
  2. Sparsity: They implement a penalty term to ensure hidden units are only active about 10% of the time, which helps the model learn more robust, interpretable features.

Datasets

The model was evaluated on the NORB database (normalized-uniform version).

  • Content: Stereo-pair grayscale images of toys from five categories: animals, humans, planes, trucks, and cars.
  • Complexity: It includes 10 instances per class under 6 lighting conditions and 162 viewpoints.
  • Semi-Supervised Twist: To test semi-supervised learning, the authors created "jittered" images by applying small translations (2, 4, and 6 pixels) to the original training set. These were treated as unlabeled data to help the model learn translation invariance.

Key Insights and Ideas

  • Class-Specific Features: By using third-order interactions, the model can learn features that only "turn on" for specific objects (e.g., a feature for a plane's wing that isn't relevant for a human figure).
  • Generative + Discriminative = Success: Purely discriminative models (like standard neural nets) often ignore the underlying distribution of the data, while purely generative models might not prioritize the features that distinguish classes. The hybrid objective function captures the best of both worlds.
  • Unlabeled Data as a Regularizer: One of the most striking findings is that treating translated images as unlabeled data (rather than just adding them to the labeled training set) significantly improved performance. This suggests that the unsupervised pre-training phase is highly effective at capturing spatial invariants.

Key Results

The third-order DBN showed a clear progression in performance as more features were added:

Error rates comparing standard RBMs and Third-order RBMs under different learning algorithms.
  • Baseline SVM: 11.6% error.
  • Standard DBN (RBM top): 11.9% error (actually slightly worse than SVM).
  • Third-Order DBN (Generative only): 7.6% error.
  • Third-Order DBN (Hybrid Learning): 6.5% error.
  • Third-Order DBN (Hybrid + Unlabeled Jitter): 5.2% error.

For context, the best published result at the time was 5.9% using a Convolutional Neural Network (CNN). The DBN achieved a better result without having the "hard-coded" knowledge of image topology that a CNN possesses.

Limitations and Future Work

  • Computational Intensity: At the time of writing (2009), training this model in Matlab on a 3GHz CPU took nearly two weeks. The authors noted that GPUs would be necessary to scale this further (a prediction that proved very accurate for the field).
  • Parameter Explosion: A 3D tensor of weights ($W_{ijk}$) contains a massive number of parameters (~116 million in this paper). The authors suggest that future work should look into "factorizing" this tensor to allow some features to be shared across classes, reducing the memory footprint and improving generalization.

Summary updated

BibTeX
@inproceedings{nair2009d,
  author = {Vinod Nair and Geoffrey E. Hinton},
  title = {{3D Object Recognition with Deep Belief Nets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2009},
}
Figure