Learning coarse-to-fine sparselets for efficient object detection and scene classification

Gong Cheng, Junwei Han, Lei Guo, Tianming LiuCVPR 2015

Abstract

As the number of object categories in computer vision tasks grows, the computational cost of exhaustive convolutions with part detectors becomes a significant bottleneck. This paper proposes a "coarse-to-fine" framework to learn sparselets—a universal set of shared basis filters. By jointly training these bases and their activation vectors using a supervised neural network, the authors achieve substantial speedups (up to 7.7x) while maintaining or even improving classification accuracy across multiple benchmarks including PASCAL VOC 2007 and MIT Scene-67.

Introduction

In traditional Deformable Part Models (DPMs), detecting an object involves convolving an image feature pyramid with a large library of part detectors. As the scale of detection moves from dozens to thousands of categories, this exhaustive convolution process becomes computationally prohibitive.

Earlier attempts to address this used "sparselets"—representing part detectors as sparse linear combinations of a smaller, shared dictionary of basis filters. However, these methods were often brittle; because the dictionary and activation vectors were trained separately (typically using greedy algorithms like Orthogonal Matching Pursuit), accuracy often plummeted as sparsity increased. The fundamental challenge lies in preserving the decision boundaries of the original models while reducing computational load.

Coarse-to-Fine Training Framework

The authors introduce a two-stage training scheme designed to optimize both representation and discrimination:

  1. Coarse Sparselets Training: An unsupervised, single-hidden-layer auto-encoder is used to exploit the inherent redundancy among part detectors. This stage learns an initial shared dictionary that captures the general structural patterns of the filters.
  2. Fine Sparselets Training: The model transitions to a supervised single-hidden-layer neural network (SNN) where the sparselets and discriminative activation vectors are jointly optimized. Unlike previous methods that trained only on filter weights, this stage utilizes high-confidence image detections to ensure the learned sparselets generalize to real-world image data. An $L_0$-norm constraint is imposed on the activation vectors to ensure computational efficiency.
The two-stage training architecture: (a) unsupervised coarse training via auto-encoder and (b) supervised fine training via SNN.

Experimental Evaluation

The method was evaluated on three diverse benchmarks: PASCAL VOC 2007 (20-class object detection), MIT Scene-67 (67-class indoor scene classification), and UC Merced Land Use (21-class aerial imagery).

Key Results and Efficiency

The results demonstrate that joint optimization effectively overcomes the limitations of previous sparselet approaches:

  • MIT Scene-67: The method achieved a 7.75x speedup while slightly improving accuracy (64.36% vs. 64.03% for the baseline).
  • PASCAL VOC 2007: The approach maintained nearly the same mean Average Precision (mAP) as the original DPM baseline (32.25% vs 32.30%) while providing a 1.59x speedup.
  • Robustness: By using a softmax classification loss during the fine-tuning stage, the model explicitly preserves classification performance rather than just minimizing reconstruction error.
Performance comparison on the MIT Scene-67 dataset, showing the trade-off between Average Classification Accuracy (ACA) and speedup factor across different dictionary sizes.

Conclusion

The coarse-to-fine sparselet framework proves that high-efficiency object detection does not require sacrificing accuracy. The "aha moment" of this research is the shift from independent reconstruction to joint supervised optimization. By training basis filters to reconstruct the responses to actual image patches rather than just the filter weights, the system becomes significantly more robust. While the current implementation is based on HOG features, the underlying principle of learning shared, discriminative bases is a powerful concept for scaling visual recognition systems.

Summary updated

BibTeX
@inproceedings{cheng2015learning,
  author = {Gong Cheng and Junwei Han and Lei Guo and Tianming Liu},
  title = {{Learning coarse-to-fine sparselets for efficient object detection and scene classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298721},
}
Figure