Data-Specific Adaptive Threshold for Face Recognition and Authentication

Hsin-Rung Chou, Jia-Hong Lee, Yi-Ming Chan, Chu-Song Chen

TL;DR

This paper moves away from the "one-size-fits-all" fixed threshold approach in face recognition, proposing instead a data-specific adaptive thresholding mechanism. By assigning a unique, dynamically updated threshold to every registered face, the system significantly improves accuracy in real-world "online registration" scenarios, boasting a 22.5% accuracy boost on the LFW dataset compared to traditional methods.

What Problem Does This Paper Address?

In standard face verification research, models are typically evaluated using a fixed threshold—a single numerical value (like a distance or similarity score) used to decide if two images represent the same person. This threshold is usually determined via cross-validation on a static testing set.

However, the authors argue that this approach fails in the real world for three reasons:

  1. Case-Specificity: The optimal threshold varies wildly between different datasets and environments.
  2. Dynamic Databases: In practical applications (like a company's security system), the database grows as new people register. A threshold that worked for 10 people might fail for 1,000.
  3. The "Intruder" Problem: Standard benchmarks often focus on matching known pairs, whereas real systems must constantly reject "intruders" who aren't in the database at all.

Methods

The authors propose a system that treats each registered face as its own "gatekeeper" with a personalized threshold.

The Pipeline

The system uses a standard deep learning backbone: MTCNN for face detection and alignment, followed by an Inception-ResNet-v1 model (trained on MS-Celeb-1M) to extract feature embeddings. These embeddings are $L_2$-normalized, meaning the similarity between two faces can be calculated simply using their inner product.

Figure 1. System Structure. It consists of a deep CNN with a L2 normalization layer, and a database for storing feature embeddings.

Adaptive Thresholding Logic

The core innovation lies in how thresholds are set during Registration:

  • When a new face ($F_t$) is added to the database, the system calculates its similarity to every other face already in the gallery.
  • The threshold for this new face is set to the maximum similarity score it shares with any face belonging to a different person.
  • Crucially, the thresholds for existing faces in the database are also updated to account for this new entry. This ensures that as the "neighborhood" around a feature vector gets more crowded, the threshold becomes more precise.
Registration Flowchart

Recognition and Authentication

During a query, the system finds the most similar face in the database. It only authenticates the user if the similarity score exceeds that specific face's stored adaptive threshold. If it doesn't, the user is flagged as an intruder.

Recognizing Flowchart

Datasets

The researchers evaluated their method on three prominent facial datasets:

  • Labeled Faces in the Wild (LFW): 13,233 images across 5,749 classes.
  • Adience: 19,339 images across 2,284 classes.
  • Color FERET: 11,285 images across 994 classes.

To test the "online" nature of their system, they introduced a timeline-based evaluation protocol. Instead of testing static pairs, they start with an empty gallery and register images one by one, simulating a growing database and measuring accuracy at every step.

Key Insights and Ideas

  • Per-Identity Precision: By using adaptive thresholds, the system can be "lenient" for distinct-looking individuals and "strict" for those who have "look-alikes" in the database.
  • Faster Convergence: As shown in Figure 4, the adaptive method reaches high accuracy much faster than fixed-threshold methods as the number of registered images increases. This makes it particularly suitable for small-scale applications like office security.
  • Realistic Benchmarking: The proposed "timeline" protocol (summarized in Table 1) provides a much better proxy for industrial performance than traditional 10-fold cross-validation, as it explicitly accounts for identification errors and false accepts of intruders.
Table 1. Summary of the evaluation protocol

Key Results

The adaptive thresholding method consistently outperformed fixed thresholds across all datasets, with the most dramatic gains seen in LFW.

  • LFW Accuracy: 76.46% (Adaptive) vs. 53.97% (Fixed).
  • Adience Accuracy: 84.30% (Adaptive) vs. 80.60% (Fixed).
  • Color FERET Accuracy: 83.79% (Adaptive) vs. 80.72% (Fixed).
Table 3. Final Accuracy

The authors attribute the massive 22.5% jump in LFW to the dataset's low number of samples per identity (averaging only 2.3 images per person). In such "sample-limited" scenarios, a fixed threshold is too blunt an instrument, whereas adaptive thresholds can fine-tune themselves based on the specific intruders present.

Figure 4. Comparisons of temporary accuracy during each registration.

Limitations and Future Work

While the paper demonstrates clear benefits, a few areas remain for further exploration:

  • Computational Scaling: While the authors mention a recursive method for efficient threshold updates, very large databases (millions of faces) might still face latency issues during registration as every new entry triggers a re-calculation of existing thresholds.
  • Initial Thresholds: For the very first registration ($t=1$), the system still relies on a fixed threshold as a starting point.
  • Feature Quality: The system's success is still heavily dependent on the discriminative power of the underlying CNN embeddings; if the model produces poor features, adaptive thresholding can only do so much to compensate.

Summary updated

BibTeX
@inproceedings{chou2019data,
  author = {Hsin-Rung Chou and Jia-Hong Lee and Yi-Ming Chan and Chu-Song Chen},
  title = {{Data-Specific Adaptive Threshold for Face Recognition and Authentication}},
  booktitle = {MIPR},
  year = {2019},
  url = {https://openreview.net/forum?id=aOwsx5PQkM},
}
Figure