Exemplar-Based Face Parsing

Brandon M. Smith, Li Zhang, Jonathan Brandt, Zhe Lin, Jianchao YangCVPR 2013

Introduction

Facial analysis has traditionally centered on landmark detection or contour modeling. While these methods are effective for basic alignment, they suffer from inherent limitations: landmarks are often ill-defined (e.g., the exact start of a nose), contours struggle with complex "blobs" like teeth or hair, and hard boundaries fail to capture the probabilistic nature of facial transitions. This paper proposes a shift toward face parsing—the semantic labeling of every pixel within a face.

Overview of the face parsing pipeline, showing the input image, the generated semantic label map, and the corresponding label types.

Methodology: The Exemplar-Based Approach

The authors adopt a non-parametric, "lazy learning" framework that leverages a database of labeled examples rather than training a single monolithic model. The process involves four key stages:

  1. Exemplar Selection: For a given test image, the system identifies the 100 most similar faces from the database using a standard face detector and fast landmark locator.
  2. Non-rigid Alignment: The system extracts approximately 150 SIFT keypoints from each exemplar. These are matched to the test image, and a Radial Basis Function (RBF) warp is applied to align the exemplar's label map with the test face's specific geometry.
  3. Label Aggregation: The warped maps are combined, with higher weights assigned to pixels where SIFT matching quality was superior.
  4. Label Calibration: To prevent dominant classes like "skin" from overwhelming smaller features like "inner mouth" or "eyebrows," the authors introduced a learning algorithm to optimize class weights ($\alpha$), ensuring high-fidelity segmentation of small components.

Dataset Contributions

A significant contribution of this work is the enhancement of the Helen Dataset. The authors manually annotated 2,330 high-resolution images with dense contours, creating a high-quality ground truth for eyes, eyebrows, nose, lips, and skin. This dataset has since become a benchmark for face and hair segmentation research. The method was also evaluated on a subset of the Labeled Faces in the Wild (LFW) dataset.

Key Results and Discussion

The algorithm demonstrates superior performance when measured by the F-measure (the harmonic mean of precision and recall). On the LFW dataset, it achieved an overall F-measure of 0.863, outperforming previous methods such as LabelFaces. On the more challenging Helen benchmark, it reached 0.804, significantly surpassing general-purpose scene parsing algorithms.

Example of semantic segmentation on a different subject, highlighting the algorithm's ability to delineate features like eyebrows and lips.

Beyond accuracy, the method is computationally efficient. By utilizing sparse SIFT matching and interpolation rather than dense SIFT Flow, the implementation achieves a processing time of approximately 21 seconds per image. This represents a substantial improvement over the 18-minute processing times typical of general scene parsers in 2013.

Limitations and Future Directions

While robust, the system faces challenges with extreme occlusions (e.g., hands or sunglasses) and highly unusual facial expressions, as these may lack close matches in the exemplar database. Future work could expand the label set to include ears, teeth, and the neck, or apply the framework to downstream tasks like digital makeup and 3D face reconstruction.

Summary updated

BibTeX
@inproceedings{smith2013exemplar,
  author = {Brandon M. Smith and Li Zhang and Jonathan Brandt and Zhe Lin and Jianchao Yang},
  title = {{Exemplar-Based Face Parsing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2013},
  doi = {10.1109/cvpr.2013.447},
}
Figure