Skip to content
All projects

Research · evaluation pipelineJan — Apr 2026

Face-Verification Model Evaluation

UGA Multispectral Imagery Lab · advised by Dr. Thirimachos Bourlai

How do five widely used pretrained face-verification models compare when they run through the same pipeline on the same benchmark, judged on false acceptances and false rejections, not accuracy alone?

Role
Undergraduate research assistant at UGA’s Multispectral Imagery Lab, advised by Dr. Thirimachos Bourlai.
What I built
A reproducible pipeline on Labeled Faces in the Wild: pair generation, a five-model comparison, a threshold sweep and error analysis, plus a small in-browser demo.
Evidence
Per-run results are in the public repository; the table below is computed from its results file.
Status
Complete (Jan–Apr 2026). The browser demo uses different, smaller models (face-api.js), so its numbers aren’t comparable to the study.

Try it yourself

What to try

  1. Add two photos of the same person, then two of different people.
  2. Move the threshold slider and watch the decision flip while the distance stays the same.

What to look for

Raising the threshold accepts more genuine pairs but also more impostors: the same false-acceptance / false-rejection trade-off the study measures.

Open Face Verify

Downloads about 7 MB of model files on first use. Photos never leave your browser.

Bar chart of mean verification accuracy over 10 runs: ArcFace 93.8%, VGG-Face 93.0%, FaceNet 78.6%, FaceNet512 71.8%, OpenFace 51.1%
Mean accuracy over 10 runs of 1,000 pairs each, with standard deviation. Chart generated by the repository’s plot_results.py.

Engineering decisions

Report FAR and FRR, not just accuracy

A model that rejects almost everyone can post a near-zero false-acceptance rate while being useless. Reading false acceptances (a security risk) and false rejections (a usability risk) together is what exposed FaceNet, FaceNet512 and OpenFace as badly calibrated for this data.

Ten fresh samples instead of one big run

Each run draws a new random set of 500 genuine and 500 impostor pairs. That gives a run-to-run spread (ArcFace ± 0.8 points) at a tenth of the compute of scoring every model on all 15,235 pairs. The cost: models weren’t scored on identical pairs, so small differences between them are less certain than the table’s precision suggests.

The question

The goal was never a new face-recognition algorithm. It was to treat five well-known pretrained models (ArcFace, VGG-Face, FaceNet, FaceNet512 and OpenFace) as black boxes, run them through one identical pipeline, and find out how they actually trade false acceptances against false rejections.

Data and counts

Everything uses Labeled Faces in the Wild (LFW), real photos collected from the web with natural variation in pose, lighting, expression and occlusion. Keeping everyone with at least three images leaves 901 people and 7,606 images.

Two different counts appear in this project, and they mean different things:

15,235 unique pairs
The full test set from generate_pairs.py: every same-person pair (6,225 genuine) plus each person against ten random others (9,010 impostor), with duplicates removed.
50,000 verifications
The model comparison: 5 models × 10 runs × 1,000 pairs. Each run draws a fresh random sample of 500 genuine and 500 impostor pairs from the 901 people, unique within that run. It is not 50,000 different pairs, and the five models were not scored on the same pairs.

Five models, ten runs each

Each model ran at its default threshold. The table is the mean over its ten runs, computed from results/model_comparison_summary.csv; no pairs were skipped in any run.

ModelAccuracyFAR (impostor accepted)FRR (genuine rejected)Time per 1,000 pairs
ArcFace93.8% ± 0.81.6%10.7%~10 min
VGG-Face93.0% ± 0.72.2%11.8%~8 min
FaceNet78.6% ± 1.10.3%42.5%~13 min
FaceNet51271.8% ± 1.00.02%56.4%~13 min
OpenFace51.1% ± 0.40.02%97.7%~5 min

± is the standard deviation across the 10 runs. Times are on a laptop CPU.

Line graphs showing accuracy, FAR and FRR across 10 independent test runs for each of five models
Accuracy, FAR and FRR across all 10 runs per model.

Why the gap is so large

ArcFace had the best balance and low run-to-run variance; VGG-Face was a close, faster second. FaceNet, FaceNet512 and OpenFace almost never accepted an impostor, but only because they rejected most genuine pairs too: their default thresholds are badly miscalibrated for LFW’s pose and lighting variation. OpenFace rejected 97.7% of genuine pairs.

Bar chart of false acceptance and false rejection rates for each model at default thresholds
False acceptance against false rejection at default thresholds. Generated by plot_results.py.

Threshold tuning

Default thresholds come from whatever data each model’s authors used, not LFW. Sweeping ArcFace’s threshold to 0.70 raised accuracy from 93.8% to 94.8% and cut false rejections from 10.7% to 8.8% with no meaningful change in false acceptance (1.6%). ArcFace’s ROC AUC was 0.979.

The general lesson: an out-of-the-box threshold is calibrated for someone else’s data, so any real deployment needs its own calibration step.

Heatmaps of accuracy, false acceptance rate and false rejection rate across threshold values for three models
Threshold sweep for ArcFace, FaceNet and VGG-Face (from the final report).
ROC curve for ArcFace on LFW, AUC 0.979
ROC curve for ArcFace on LFW (AUC 0.979), from the final report.

What I’d do next

  • Rerun the comparison with enforce_detection on and at full resolution.
  • Score every model on the same fixed pairs so model-to-model differences are paired comparisons.
  • Try stronger detectors (RetinaFace, MTCNN) for difficult poses.
  • Validate on a second benchmark such as IJB-C.
Technical detailsChecking the pipeline first · Looking at the errors

Checking the pipeline first

Before scaling up I sanity-checked the pipeline on a few of my own photos against public figures, then on a 100-pair LFW pilot (50 genuine, 50 impostor). The pilot file in the repository records 95 of 100 correct, with 3 genuine pairs rejected and 2 impostors accepted.

An early test also showed what the enforce_detection setting does: with it off, an image where no face is found is compared as a whole frame, which can produce a confident wrong answer. The comparison runs reported here still had it off; rerunning with it on, so undetectable faces are skipped, is on the list below.

Looking at the errors

ArcFace was also run over the full 15,235-pair set; the final report gives 94.87% accuracy, 10.55% false rejection and 1.39% false acceptance (per-pair results for that run aren’t in the repository). Pose changes, accessories such as glasses or hats, and lighting differences drove most false rejections; false acceptances were mostly low-resolution or partly obscured faces.

Grid of same-person image pairs that ArcFace incorrectly rejected as different people, with distance scores
False rejections: the same person, split by pose, lighting or angle.