Open-set face recognition with maximal entropy and Objectosphere loss

Rafael Henrique Vareto, Yu Linghu, Terrance E. Boult, William Robson Schwartz, Manuel Günther · DOI

TL;DR

This paper introduces a lightweight "adapter network" and a novel Maximal Entropy Loss (MEL) to improve open-set face recognition, specifically for watchlist scenarios. By training a small secondary network to maximize uncertainty for unknown faces while maintaining high confidence for known ones, the researchers achieved state-of-the-art performance without the need to retrain massive, computationally expensive deep learning backbones.

What Problem Does This Paper Address?

Most face recognition systems are designed for "closed-set" scenarios, where the system assumes every face it sees belongs to someone already in its database (the gallery). In the real world—such as airport security or "watchlists"—this assumption is dangerous. When a stranger (an "unknown") is encountered, a closed-set system will often mistakenly assign them to the most similar-looking person in the gallery, triggering a false alarm.

The challenge in Open-Set Face Recognition (OSFR) is to correctly identify known individuals while simultaneously rejecting unknown individuals. This is particularly difficult because:

  1. Low FPIR Requirement: Systems must operate at a very low False Positive Identification Rate (FPIR) to avoid harassing innocent citizens.
  2. Data Scarcity: Watchlists often have only a few images per person.
  3. Computational Cost: Retraining a massive deep neural network every time a new person is added to a watchlist is impractical.

Methods

The authors propose a two-pronged approach:

  1. The Adapter Network: Instead of fine-tuning a giant pre-trained model (like ArcFace or VGGFace2), they freeze the "backbone" and attach a compact, two-layer fully-connected "adapter network." This network takes the deep features and transforms them into a space better suited for open-set tasks. It’s fast to train and requires 98% fewer parameters than the original backbone.
  2. Maximal Entropy Loss (MEL): This is the core algorithmic contribution. MEL modifies the standard cross-entropy loss in two ways:
  3. For Knowns: It adds a "penalty margin" to force the network to learn more distinct, compact clusters for people in the gallery.
  4. For Negatives: It forces the network to produce a uniform probability distribution (maximal entropy) for faces it knows are not in the gallery. Essentially, it teaches the network to be "equally confused" by all known classes when it sees a stranger, making it easier to flag them as "unknown."

The authors also evaluate Objectosphere Loss, which pushes the feature vectors of unknown samples toward the origin (zero magnitude) of the feature space while pushing known samples away.

Datasets

The approach was validated on three major benchmarks:

  • LFW (Labeled Faces in the Wild): A classic dataset, used here with a specific open-set protocol.
  • IJB-C (IARPA Janus Benchmark C): A large-scale, challenging dataset containing images with varying quality, poses, and resolutions.
  • UCCS (UnConstrained College Students): A highly difficult "real-world" dataset featuring unconstrained surveillance footage with many occlusions (hats, glasses) and misdetections.

Key Insights and Ideas

  • The "I Don't Know" Signal: Standard networks are overconfident. By explicitly training on "negative" samples (faces known to be outside the gallery) and forcing high entropy, the system learns a reliable way to say "I don't know."
  • Distribution Matters: A major finding was that the type of negative data used for training is critical. If the negative samples look very different from the gallery (e.g., high-quality studio shots vs. blurry surveillance), the adapter network doesn't generalize well. The best results come when negative samples share the same "domain" as the target data.
  • Efficiency over Brute Force: The adapter network proves that you don't need to retrain a 100-layer ResNet to adapt to a new environment. A small MLP can effectively "re-map" the feature space for open-set rejection.

Key Results

  • Superior Rejection: On the UCCS dataset, the proposed MEL and Objectosphere approaches significantly outperformed the "Baseline" (using raw features) at low false-alarm rates.
  • ArcFace Robustness: The researchers found that ArcFace features are remarkably robust across domains, but the adapter network still provided a performance boost in the critical $10^{-3}$ to $10^{-1}$ FPIR range.
  • Speed: Training the adapter network takes only ~20 minutes for LFW and ~3 hours for the massive IJB-C dataset on a single GPU, making it viable for real-world deployment where watchlists change frequently.

Limitations and Future Work

  • Negative Sample Selection: The system's performance is heavily dependent on having access to "good" negative samples that match the target environment's distribution. Finding or generating these samples automatically remains a challenge.
  • Hyperparameter Tuning: Both MEL and Objectosphere require tuning specific parameters (like the margin $m$ or the sphere radius $\xi$). The authors noted that combining these losses creates a complex optimization problem that they chose to avoid for this study.
  • Future Direction: The authors suggest exploring how to generate "effective" negative samples synthetically to further boost accuracy in environments where real negative data is scarce.

Summary updated

BibTeX
@article{vareto2024open,
  author = {Rafael Henrique Vareto and Yu Linghu and Terrance E. Boult and William Robson Schwartz and Manuel Günther},
  title = {{Open-set face recognition with maximal entropy and Objectosphere loss}},
  journal = {Image and Vision Computing},
  year = {2024},
  doi = {10.1016/j.imavis.2023.104862},
}
Figure