TL;DR
This paper introduces a novel method to speed up Support Vector Machine (SVM) based object detection by approximating complex decision functions with "rank deficient" versions that can be evaluated using efficient separable filters. This approach significantly reduces computational cost, achieving 4-6 times faster face detection compared to existing methods while maintaining high accuracy.
What Problem Does This Paper Address?
Support Vector Machines (SVMs) are powerful tools for object detection, achieving state-of-the-art accuracy. However, their decision functions can be computationally very expensive, especially for real-time applications like face detection. This expense stems from two main factors: the number of "support vectors" (data points that define the decision boundary) and the complexity of the kernel function used to measure similarity between data points. While previous work focused on reducing the number of support vectors (creating "reduced sets"), the computational cost per support vector remained a bottleneck. This paper tackles the second issue: how to make the evaluation of each support vector's contribution much faster, particularly for image data where direct kernel computations on image patches are costly.
Methods
The core idea is to leverage the concept of "separable filters" from image processing. A separable filter can be decomposed into two simpler filters (one horizontal, one vertical), drastically reducing the computation needed. The authors extend this to "rank deficient" filters, where a filter (represented as a matrix) is approximated by a sum of a small number of rank-one matrices. This rank deficiency is achieved by constraining the "reduced set vectors" (the synthetic points approximating the original support vectors) to have a specific low-rank structure, typically determined via Singular Value Decomposition (SVD).
Instead of finding arbitrary reduced set vectors, this method constrains them to lie on a manifold of low-rank matrices. This structural constraint allows the kernel evaluations (which involve correlations or dot products with image patches) to be performed using separable convolutions. The rank parameter 'r' controls the trade-off between speed and accuracy: a lower 'r' means more speed but potentially less accuracy, while a higher 'r' preserves accuracy but increases computation. The optimization process involves finding the coefficients and the low-rank structure of these synthetic support vectors to minimize the approximation error.
Datasets
The experiments were conducted using the MIT+CMU face detection database. This dataset was used for both training and validation. The training set consisted of 16081 manually collected faces and 42972 non-faces, while the validation set had 2687 faces and 7145 non-faces. Image patches were normalized to zero mean and unit variance.
Key Insights and Ideas
- Separable Filters for SVMs: The paper ingeniously connects the efficiency of separable filters in image processing to the kernel computations in SVMs. By imposing a rank constraint on the synthetic support vectors, their evaluation can be decomposed into a series of much faster separable operations.
- Rank as a Control Knob: The introduction of the "rank" parameter 'r' provides a flexible way to balance computational speed and classification accuracy. This is crucial for applications where a strict speed requirement might necessitate a slight drop in accuracy.
- Efficiency in Cascades: The method is particularly beneficial for cascade-based detection systems, where the first stage needs to be extremely fast to filter out a large number of non-face candidates. Rank-deficient filters can provide a much faster initial rejection stage.
- Beyond Simple Reduction: The paper highlights that rank-deficient approximations can sometimes achieve better performance than unconstrained reduced sets, especially when aiming for very low computational costs.
Key Results
- Significant Speedup: In face detection experiments, rank-deficient approximations were 4 to 6 times faster than unconstrained reduced set systems.
- Accuracy Maintained: For a face detection SVM, using rank-deficient approximations with a rank of 3 achieved accuracies comparable to the unconstrained approximation, with a reduction in operations to less than a third.
- Cascade Performance: In a cascade-based face detection system, the first stage using a rank-deficient classifier (m'=3, r=1) achieved an ROC score of 0.9 with 114 multiply-adds, discarding 91.5% of false positives. This is significantly faster and more effective than a simple unconstrained approximation (m'=1, r=full) which required 361 multiply-adds and rejected only 70.2% of false positives.
- Real-time Performance: The final implemented system achieved a classification speed of 14 frames per second on a 320x240 image, a substantial improvement over previous methods.
Limitations and Future Work
- Accuracy vs. Rank Trade-off: While the rank parameter 'r' offers control, achieving the absolute highest accuracy might still require a higher rank or a larger number of reduced set vectors (m'), potentially increasing computation. The paper notes that for equal m', rank-deficient RSVs might require a larger number than unconstrained RSVs to achieve similar accuracies, especially for small 'r'.
- Future Work: The authors suggest that this method could also be used to train neural networks directly, bypassing the SVM "detour" and going from training data to a sparse, separable function. A comparison of this direct approach to the presented SVM-based method is suggested as future work.
Summary updated