Active Testing for Face Detection and Localization

Raphael Sznitman, Bruno Jedynak

TL;DR

This paper introduces "Active Testing," a novel search strategy for face detection and localization that significantly reduces computational cost by intelligently selecting which parts of an image to examine. By using a hierarchical model and a mutual information gain heuristic, Active Testing prunes the search space exponentially faster than traditional sliding window methods while maintaining comparable accuracy.

What Problem Does This Paper Address?

Detecting and localizing faces in images is a fundamental problem in computer vision. Existing methods, like Boosted Cascades, Neural Networks, and SVMs, often rely on a "sliding window" approach. This involves exhaustively scanning every possible location and scale within an image with a classifier. While effective, this exhaustive search becomes computationally prohibitive, especially for high-resolution images (e.g., 4000x3000 pixels), requiring hundreds of millions of classifier evaluations. This makes real-time face detection on standard hardware nearly impossible. The paper aims to overcome this computational bottleneck by developing a more efficient search strategy.

Methods

The core of the proposed method is "Active Testing" (AT), an online, coarse-to-fine search algorithm inspired by the "twenty questions" game. AT uses a hierarchical model (a quadtree) to represent the image space and potential face locations. At each step, it selects a query (e.g., evaluating a specific classifier on a subwindow) that maximizes the mutual information gain about the face's location. This means it asks questions that are most likely to reduce uncertainty about where the face is.

Key components include:

  • Hierarchical Model: The image space is recursively divided into a quadtree, where each node represents a subwindow and a subset of possible face poses (location and scale).
  • Mutual Information Gain: A heuristic is used to select the next query (which subwindow to examine and which classifier to use) that will provide the most information about the face's presence and location.
  • "Oracle" Classifier: A perfect, but computationally expensive, classifier is assumed to exist. AT aims to use this oracle sparingly by intelligently guiding the search.
  • Belief Update: After each query, the algorithm updates its belief (probability distribution) about the face's location using Bayes' formula.
  • Terminating Criteria: The algorithm stops when the uncertainty about the face's location is sufficiently low or after a maximum number of iterations.

Datasets

  • Caltech Frontal Face Dataset: Used for experiments on single face localization. It contains 450 images with 27 different faces in cluttered environments.
  • MIT+CMU Dataset: Used for a more challenging detection and localization task. It contains 130 images with varying sizes, some without faces, and faces ranging from 20 to 300 pixels in width.

Key Insights and Ideas

  • Active, Adaptive Search: Instead of a rigid, exhaustive scan, AT dynamically adapts its search based on incoming information, focusing computational effort only where it's most likely to yield results.
  • Information-Theoretic Guidance: Using mutual information gain as a selection criterion for queries is a principled way to ensure the search is efficient and converges quickly.
  • Exponential Speedup Potential: The hierarchical pruning and intelligent query selection lead to an exponential reduction in computational cost compared to traditional methods, especially for large images.
  • Scalability: The method's performance scales much better with increasing image size and pose space complexity than sliding window approaches.

Key Results

  • Computational Gains: AT achieves exponential gains in computation time and number of classifier evaluations compared to sliding window approaches. For large image sizes, AT requires up to 100 times fewer evaluations.
  • Accuracy: The accuracy of AT is comparable to traditional methods, with only a slight performance decrease observed in some cases, indicating that the efficiency gains do not come at a significant cost to detection quality.
  • Real-time Potential: The significant reduction in computation suggests AT is a viable approach for real-time face detection and localization, even on high-resolution images.
  • MIT+CMU Dataset Performance: On the harder MIT+CMU dataset, AT still significantly reduces classifier evaluations (O(10^8) vs O(10^9) for SW+BC) and time, demonstrating robustness to unknown numbers of faces and varying face sizes.

Limitations and Future Work

  • Focus on Frontal Faces: The paper primarily focuses on frontal faces, although the authors mention that the approach can be extended to general faces and other object categories.
  • Classifier Dependence: While the AT framework is general, its efficiency relies on the quality of the underlying classifier. The paper uses Boosted Cascades (BCs), and performance might vary with different classifiers.
  • Overhead for Small Images: For very small images, the overhead of the AT framework (integral image computation, query selection) can make it slightly slower than sliding window approaches.
  • Future Work: The authors suggest extending the approach to general faces, other object categories, and integrating it with various machine learning classifiers.

Summary updated

BibTeX
@article{sznitman2010active,
  author = {Raphael Sznitman and Bruno Jedynak},
  title = {{Active Testing for Face Detection and Localization}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2010},
  url = {https://openreview.net/forum?id=MIiGCvt9YG},
}

Loading related content...

Figure