Can a biologically-plausible hierarchy effectively replace face detection, alignment, and recognition pipelines?

Qianli Liao, Joel Z. Leibo, Youssef Mroueh, Tomaso A. PoggioarXiv 2013

Abstract

Traditional face recognition systems rely on a sequential pipeline of detection, alignment, and recognition (DAR). This paper presents a biologically-plausible alternative using a feedforward hierarchical network that achieves invariant recognition without explicit alignment. By employing a "Consensus of Collisions" hashing scheme, the authors overcome the computational challenges of large-scale template matching, achieving state-of-the-art results on unaligned datasets and demonstrating significant robustness to image jitter.

Introduction

Standard computer vision systems for face recognition typically rely on a rigid, three-stage pipeline: Detection, Alignment, and Recognition (DAR). This process involves first locating the face, then geometrically transforming it (scaling and rotating) to align key features like eyes and nose to a standard template, and finally performing classification. While successful, this approach is biologically implausible and often brittle; if the alignment stage fails, the entire recognition process collapses.

This paper explores a biologically-inspired alternative: a feedforward hierarchical network that achieves invariant recognition without explicit alignment. By leveraging a massive library of stored templates and an efficient hashing scheme, the authors demonstrate that such a system can outperform traditional DAR pipelines on unconstrained, unaligned datasets.

The DAR Pipeline vs. Biological Plausibility

The traditional DAR approach faces several critical challenges:

  1. Biological Implausibility: The human visual cortex does not appear to perform explicit cropping and geometric normalization on the millisecond timescale required for recognition.
  2. Brittleness: Hard-coded alignment steps struggle with non-rigid objects or extreme poses where a "canonical alignment" is difficult to define.
  3. Dataset Bias: Many benchmark datasets, such as Labeled Faces in the Wild (LFW), are pre-filtered by face detectors, leading to a lack of depth-rotated faces and skewing algorithmic development toward specific detector outputs.

In contrast, hierarchical networks inspired by the ventral stream (Hubel and Wiesel's simple and complex cells) compute invariant representations through alternating layers of template matching and pooling. Historically, these networks struggled with background clutter, as translation-invariant filters often produced false positives on non-face noise.

Proposed Architecture: HW-Modules and Implicit Alignment

The authors propose a three-layer hierarchical architecture based on "HW-modules," named after Hubel and Wiesel's simple and complex cells in the visual cortex. The network operates through two primary operations:

  • Tuning: Computing the normalized dot product between an image patch and a stored template.
  • Pooling: Taking the maximum response over various scales, locations, and rotations.

To handle the complexity of unaligned faces, the network utilizes a vast library of approximately 50,000 templates extracted from training data. By using large, class-specific templates (e.g., an entire face rather than a small edge), the network becomes highly selective, effectively ignoring background clutter without requiring a dedicated cropping step. This allows the system to build a "signature" for a face that is inherently invariant to shifts, scales, and rotations.

Overcoming the Computational Bottleneck: Consensus of Collisions

A significant hurdle for this approach is the computational cost. Comparing tens of thousands of templates against dense windows across multiple scales is memory-intensive and slow. To address this, the authors introduced Consensus of Collisions (CoC), a locality-sensitive hashing (LSH) scheme:

  1. Hash codes are assigned to both stored templates and test image windows.
  2. The system only computes dot products for windows that share a hash code with a template.
  3. A voting mechanism identifies the $N$ most promising windows, drastically pruning the search space before final, exact comparisons (often accelerated via PCA).

Experimental Evaluation and Results

The model was evaluated on three key datasets: LFW-original (the full, uncropped, unaligned version of Labeled Faces in the Wild), SUFR-W (containing more depth-rotated faces), and a new LFW-Jittered (LFW-J) dataset created by the authors to test extreme misalignment.

Key findings include:

  • State-of-the-Art Performance: The model achieved 87.55% accuracy on the unaligned LFW category, significantly outperforming previous SOTA models.
  • Computational Efficiency: The CoC scheme provided an 82.7x speedup, reducing processing time from 45 seconds to approximately 0.54 seconds per frame with minimal loss in accuracy (82.53%).
  • Robustness to Jitter: While standard HOG+SVM baselines saw accuracy drop from 74.45% to 55.28% on the LFW-J dataset, the proposed model remained stable, dropping only a fraction of a percent (from 87.55% to 87.45%).

Discussion and Future Work

The results suggest that a biologically-plausible hierarchy can effectively replace the traditional DAR pipeline for face recognition. The model demonstrates superior generalization across datasets, proving it learns genuine facial invariants rather than dataset-specific artifacts.

However, limitations remain. The current implementation is CPU-bound, and the training protocol deviates slightly from the strictest unsupervised standards. Future research could explore integrating this invariant recognition module into hybrid systems, where it serves as a robust fallback when traditional alignment stages fail.

Summary updated

BibTeX
@misc{liao2013can,
  author = {Qianli Liao and Joel Z. Leibo and Youssef Mroueh and Tomaso A. Poggio},
  title = {{Can a biologically-plausible hierarchy effectively replace face detection, alignment, and recognition pipelines?}},
  year = {2013},
  eprint = {1311.4082},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.4082},
}
Figure