GhostVLAD for Set-Based Face Recognition

Yujie Zhong, Relja Arandjelovic, Andrew Zisserman

TL;DR

GhostVLAD introduces a clever "mathematical trash bin" for face recognition. By adding "ghost clusters" to a standard aggregation network, the model learns to automatically ignore blurry or low-quality images in a set, producing a compact and highly accurate descriptor that sets new state-of-the-art records on challenging benchmarks like IJB-B.

What Problem Does This Paper Address?

Most face recognition research focuses on identifying a person from a single, clear image. However, real-world "in the wild" scenarios often provide a template: a set of images or video frames of the same person. These sets are messy—they contain varying poses, expressions, lighting, and, crucially, varying quality.

The standard way to handle these sets is either to compare every image pair (which is slow and memory-intensive) or to use simple "pooling" (averaging all the image features). The problem with averaging is that one extremely blurry or occluded "distractor" image can ruin the average, dragging down the accuracy of the entire set. The authors sought a way to aggregate these images into a single, compact "fingerprint" that prioritizes high-quality information while filtering out the noise.

Methods

The authors build upon NetVLAD, a popular architecture for aggregating local descriptors. In a standard NetVLAD layer, input features are "soft-assigned" to several clusters based on similarity, and the differences (residuals) between the features and the cluster centers are recorded.

The paper’s core innovation is the GhostVLAD layer. They introduce "ghost clusters"—additional clusters that the network can assign descriptors to, but which are excluded from the final output.

  1. Feature Extraction: Images are passed through a standard backbone (like ResNet-50 or SENet-50) to get individual descriptors.
  2. Ghost Assignment: The GhostVLAD layer looks at each descriptor. If an image is high-quality, it gets assigned to the "real" clusters. If it’s blurry or low-quality, the network learns to dump it into a "ghost" cluster.
  3. Aggregation: Only the information in the "real" clusters is used to form the final template descriptor.
  4. Dimensionality Reduction: The resulting large vector is compressed into a compact 128-D or 256-D representation using a fully connected layer.

Crucially, the entire system is trained end-to-end. The authors didn't have to tell the network which images were bad; the network discovered that "hiding" low-quality images in ghost clusters helped it achieve better classification accuracy during training.

Datasets

  • Training: The model was trained on VGGFace2, a massive dataset containing ~3 million images of over 8,000 identities. To teach the network to handle "bad" data, the authors used heavy data augmentation, artificially blurring and compressing training images.
  • Evaluation: The authors tested on the IJB-A and IJB-B (IARPA Janus Benchmark) datasets. These are specifically designed for template-based recognition and are considered among the most difficult benchmarks in the field due to the extreme variability of the images.

Key Insights and Ideas

  • The "Aha!" Moment of Ghost Clusters: The most significant finding is that the network uses ghost clusters as a quality filter without being explicitly programmed to do so. When the authors visualized the results, they found that the more "ghostly" an image's assignment was, the lower its actual quality (blurrier, more occluded).
  • Compactness vs. Performance: Unlike previous methods that required massive 2048-D or 4096-D descriptors, GhostVLAD achieves better results with just 128 or 256 dimensions. This makes it much more viable for large-scale, real-time search applications.
  • Training with "Trash": The authors found that training on degraded images was essential. If the network only sees perfect images during training, it never learns how to use the ghost clusters to "hide" the noise it will inevitably encounter in the real world.

Key Results

GhostVLAD significantly outperformed existing methods on the IJB-B dataset:

  • Verification: On the IJB-B 1:1 verification task, their best model (SE-GV-4-g1) achieved a True Accept Rate (TAR) of 0.762 at a False Accept Rate (FAR) of $10^{-5}$. This was a substantial jump over the previous state-of-the-art (0.705-0.730).
  • Identification: On the 1:N identification task, they achieved a Rank-1 accuracy of 92.1% on IJB-B, surpassing previous benchmarks.
  • Efficiency: The model maintains this performance while using descriptors that are 8x to 16x smaller than those used by competing methods.

Limitations and Future Work

  • Backbone Dependency: While GhostVLAD is a general-purpose aggregation layer, its performance is still heavily tied to the quality of the underlying feature extractor (the CNN).
  • Generalization: The authors suggest that while they focused on faces, the "ghost cluster" concept could be applied to other set-based tasks, such as person re-identification or video-based object retrieval.
  • Explicit Quality Modeling: The paper notes that the quality weighting emerges "automatically." Future work could explore if combining this with explicit quality-aware loss functions could push the accuracy even further.

Summary updated

BibTeX
@inproceedings{zhong2018ghostvlad,
  author = {Yujie Zhong and Relja Arandjelovic and Andrew Zisserman},
  title = {{GhostVLAD for Set-Based Face Recognition}},
  booktitle = {ACCV},
  year = {2018},
  doi = {10.1007/978-3-030-20890-5\_3},
}

Loading related content...

Figure