A SNoW-Based Face Detector

Ming-Hsuan Yang, Dan Roth, Narendra Ahuja

This classic computer vision paper from researchers at UIUC introduces a highly efficient approach to face detection. By adapting a learning architecture originally popular in Natural Language Processing (NLP)—treating face detection as a sparse classification problem—the authors demonstrate that a network of simple linear units can outperform the "heavy hitters" of its time, including Neural Networks and Support Vector Machines (SVMs), while remaining computationally lean.

The Challenge of Face Detection

In the late 1990s and early 2000s, face detection was a formidable challenge. The extreme variability in human faces (due to pose, expression, and lighting) combined with the virtually infinite variety of non-face backgrounds made it difficult to build robust systems.

Existing methods typically relied on complex statistical models, like Gaussian clusters, or computationally intensive classifiers, such as early Neural Networks. These models often struggled with the "curse of dimensionality"—the difficulty of learning in a space with a massive number of potential features where only a few are actually relevant to the task. The authors sought a method that could handle this vast feature space robustly and efficiently.

The SNoW Architecture

To solve this, the authors adapted the SNoW (Sparse Network of Winnows) learning architecture. SNoW represents images as high-dimensional but sparse Boolean feature vectors.

  • Sparse Network of Linear Functions: Unlike a dense neural network, SNoW allocates nodes and links in a purely data-driven way. A connection only exists if a feature has actually been observed in the training data.
  • The Winnow Update Rule: Instead of standard gradient descent, SNoW uses a multiplicative update rule. When the network makes a mistake, it "promotes" (multiplies) or "demotes" (divides) weights. This rule is mathematically proven to be highly efficient when dealing with many irrelevant features.
  • Feature Engineering: The system maps a pixel's position $(x, y)$ and its intensity value $I$ to a specific Boolean feature. While this creates a potential space of 102,400 features, only 400 features are "active" (turned on) for any given $20 \times 20$ pixel window. To capture structural information, the authors also encoded the mean and variance of sub-windows at different scales (e.g., $4 \times 4$, $10 \times 10$).
  • Two-Target System: The network uses two target nodes—one for "face" and one for "non-face"—employing a winner-take-all mechanism for the final classification decision.

Training and Datasets

To ensure robustness, the authors utilized a diverse mix of data:

  • Training: 1,681 face images from five major databases (Olivetti, UMIST, Harvard, Yale, and FERET). This was expanded to 16,810 samples by randomly rotating and scaling the images.
  • Negative Samples: Starting with 8,422 non-face images (such as landscapes and buildings), they used a "bootstrap" method to iteratively add difficult non-face examples that the system initially misclassified.

Key Insights and Results

The fundamental "aha moment" of this research is the realization that sparsity is a feature, not a bug. While the space of possible image features is massive, any single face is defined by a very small, sparse subset of them. SNoW is perfectly tailored for this "needle in a haystack" scenario. Furthermore, the Winnow rule's complexity grows linearly with the number of relevant features, but only logarithmically with the total number of features, allowing the system to process a massive number of features without a severe computational penalty.

The SNoW-based detector set new standards for performance on standard benchmark sets of the era:

Detection on a group photo
  • Accuracy: On the Rowley Test Set (130 images, 507 faces), the multi-scale SNoW detector achieved a 94.8% detection rate with only 78 false detections. For comparison, a popular Neural Network approach by Rowley et al. had a 92.5% detection rate but a staggering 862 false detections.
  • Robustness: It significantly outperformed SVMs on the Sung Test Set (23 images, 155 faces), achieving 94.1% accuracy compared to the SVM's 74.2%.
Detection in an outdoor scene

Because of its sparse linear nature, the system proved to be significantly more efficient in both the learning and evaluation phases compared to contemporary probabilistic and neural methods.

Limitations and Future Directions

Despite its success, the system had limitations. It struggled with in-plane rotation, specifically faces rotated beyond 15 degrees, suggesting that future versions would need explicit rotation-handling mechanisms. Additionally, while Boolean features worked well, the authors noted that "conjunctive features" (combinations of pixels) could likely push accuracy even higher.

Ultimately, this paper marked the first use of SNoW in visual processing. Its success in both NLP and Vision pointed toward SNoW being a powerful, general-purpose architecture for large-scale learning tasks.

Summary updated

BibTeX
@inproceedings{yang1999snow,
  author = {Ming-Hsuan Yang and Dan Roth and Narendra Ahuja},
  title = {{A SNoW-Based Face Detector}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1999},
}
Figure