Abstract
Face verification from image sets, or templates, typically involves aggregating individual image features via average pooling. However, this approach ignores crucial factors such as viewpoint consistency, local landmark alignment, and varying image quality within a set. We introduce the Deep Comparator Network (DCN), which directly compares two sets of images. The DCN employs a three-stage pipeline—Detect, Attend, and Compare—to identify discriminative regions, prioritize high-quality information through internal competition, and perform local feature comparison. Experimental results on the IJB-B and IJB-C benchmarks demonstrate that the DCN significantly outperforms traditional global-feature models.
Introduction
Most modern face recognition systems map a single image to a fixed-length feature vector. When presented with a template—a collection of images, video frames, or low-quality crops—the standard procedure is to average these vectors. This "simple average" is suboptimal for four reasons: it lacks viewpoint conditioning, fails to perform fine-grained local comparisons, ignores within-template quality variations, and cannot adaptively weight images based on the content of the target template. The Deep Comparator Network (DCN) addresses these limitations by moving from global feature averaging to direct, set-to-set comparison.
Methodology
The DCN architecture consists of three modular stages designed to process and compare image sets effectively.
- Detect: A shared ResNet-based backbone processes each image to generate dense feature maps and multiple "landmark" score maps. These landmarks are not pre-defined but are learned by the network to identify discriminative regions useful for verification.
- Attend: This module implements "internal competition" across the template. By normalizing landmark responses, the network ensures that high-quality, clear regions (e.g., a sharp eye in one image vs. a blurry one in another) contribute more significantly to the final representation.
- Compare: Rather than a single global comparison, the "Compare" module utilizes local experts. It compares corresponding landmark-specific feature vectors between the two templates and aggregates these local similarities into a final verification score.
Learned Landmarks and Attention
A key innovation of the DCN is its ability to learn an internal landmark system without explicit labels. By employing a diversity regularizer during training, the network is forced to focus on distinct facial regions.
As shown in the visualization, the landmark score maps remain consistent even across varying poses and image qualities. This allows the "Attend" module to perform robust re-calibration, identifying which images in a set provide the most reliable information for specific facial features.
Experimental Results
The DCN was trained on the VGGFace2 dataset and evaluated on the challenging IARPA Janus benchmarks (IJB-B and IJB-C). These datasets feature extreme variations in lighting, pose, and resolution.
On the IJB-B benchmark, the DCN improved the True Accept Rate (TAR) by approximately 4–5% at a False Accept Rate (FAR) of 10⁻⁴. When combined with a standard SENet50 model, the DCN reached a TAR of 0.885 at FAR=10⁻⁴ on IJB-C, a significant improvement over the 0.840 achieved by the SENet50 alone. These results highlight the complementary nature of the DCN: while traditional models focus on global features, the DCN excels at local, set-wise relationships.
Conclusion
The Deep Comparator Network represents a shift in face verification, moving beyond the limitations of feature averaging. By focusing on local comparisons and relative image quality within sets, it achieves superior performance on unconstrained datasets. While currently applied to faces, the comparator logic is generalizable to other set-based tasks such as person re-identification and fine-grained object classification.
Summary updated