Object recognition with hierarchical kernel descriptors

Liefeng Bo, Kevin Lai, Xiaofeng Ren, Dieter FoxCVPR 2011

Abstract

Kernel descriptors provide a unified way to generate rich visual feature sets by turning pixel attributes into patch-level features, and yield impressive results on many object recognition tasks. However, best results with kernel descriptors are achieved using efficient match kernels in conjunction with nonlinear SVMs, which makes it impractical for large-scale problems. In this paper, we propose hierarchical kernel descriptors that apply kernel descriptors recursively to form image-level features and thus provide a conceptually simple and consistent way to generate image-level features from pixel attributes. More importantly, hierarchical kernel descriptors allow linear SVMs to yield state-of-the-art accuracy while being scalable to large datasets. They can also be naturally extended to extract features over depth images. We evaluate hierarchical kernel descriptors both on the CIFAR10 dataset and the new RGB-D Object Dataset consisting of segmented RGB and depth images of 300 everyday objects.

Introduction

A fundamental challenge in computer vision is transforming raw pixel data—such as color and gradients—into meaningful representations for object recognition. Traditionally, researchers relied on hand-crafted features like SIFT or HOG. While robust, these methods often lack a principled mathematical foundation. Kernel Descriptors (KDES) emerged as a more rigorous alternative, using match kernels to compare image patches. However, KDES typically requires non-linear Support Vector Machines (SVMs) to achieve high performance, which are computationally expensive and difficult to scale to large-scale datasets.

This paper introduces Hierarchical Kernel Descriptors (HKDES), a framework that recursively applies kernel-based feature extraction to bridge the gap between raw pixels and image-level representations. By building complexity into the features rather than the classifier, HKDES enables simple, fast linear SVMs to achieve state-of-the-art results.

The HKDES Framework: Recursion and Efficiency

The core innovation of HKDES is the recursive application of kernel descriptors across multiple layers to aggregate information from local pixels to the entire image.

  1. Layer 1 (Pixel to Patch): The system extracts pixel attributes (gradient orientation, color, or local binary patterns) and uses a match kernel to create a descriptor for a small image patch.
  2. Dimensionality Reduction: Since kernel spaces are theoretically infinite-dimensional, the authors employ Kernel Principal Component Analysis (KPCA) to project these features onto a compact set of learned basis vectors.
  3. Layer 2 (Patch to Image): In the hierarchical step, the descriptors from Layer 1 are treated as the new "pixels." The kernel descriptor logic is applied again to aggregate these patch features into larger, image-level features.
The hierarchical structure of HKDES, progressing from pixel attributes to image-level features.

To make this computationally feasible, the authors introduced a fast algorithm using the Kronecker product of kernel matrices. This "Kronecker Trick" allows the computation of high-dimensional eigenvectors on a standard PC, overcoming what would otherwise be a massive matrix calculation (e.g., 125,000 x 125,000).

Evaluation and Key Results

The authors evaluated HKDES on two major benchmarks: the classic CIFAR-10 dataset (60,000 tiny images) and a new RGB-D Object Dataset (250,000 frames of 300 objects). The latter includes both standard RGB video and depth maps, allowing the model to utilize 3D shape information.

CIFAR-10 Performance

On the CIFAR-10 dataset, HKDES achieved 80.0% accuracy. At the time of publication, this significantly outperformed contemporary methods, including Deep Belief Networks (71.0%), Tiled CNNs (73.1%), and standard SIFT-based approaches (65.6%).

Comparison of accuracy on the CIFAR-10 dataset, showing HKDES outperforming contemporary deep learning and hand-crafted methods.

RGB-D and Depth Power

HKDES proved exceptionally effective at handling depth data. By treating depth maps as intensity images and normalizing for distance, the framework extracted robust shape features. On the RGB-D dataset, the combination of color and depth HKDES reached 84.1% category accuracy. Notably, using only depth information, HKDES achieved 75.7% accuracy—a massive improvement over the previous state-of-the-art of 53.1% for depth-only recognition.

Conclusion

HKDES provides a unified, consistent "recipe" for extracting features from color, texture, and shape. By shifting the computational burden from the classifier to a hierarchical feature extraction process, the authors demonstrated that linear SVMs can remain competitive with, and often exceed, the performance of more complex non-linear models. Future work may explore deeper hierarchies and the optimization of these kernels for real-time robotic applications in cluttered environments.

Summary updated

BibTeX
@inproceedings{bo2011object,
  author = {Liefeng Bo and Kevin Lai and Xiaofeng Ren and Dieter Fox},
  title = {{Object recognition with hierarchical kernel descriptors}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2011},
  url = {https://openreview.net/forum?id=HJVVXCWOWS},
}
Figure