Skip to main content

Face Matching Algorithms: Metrics & Evaluation

Explore the core metrics for evaluating face matching algorithms – FAR, FRR, and more. Understand how biometric algorithms are tested and optimized for accuracy and performance.

Face Matching Algorithms: Metrics & Evaluation

Contents

In this guide

Jump to the part you need.

Face Matching Algorithms: Metrics & Evaluation

Face matching, a cornerstone of modern identity verification and biometric authentication, relies on sophisticated biometric algorithms to compare facial features. But how do we determine if these algorithms are actually good? The answer lies in understanding the key metrics used to evaluate their performance. This post delves into the core concepts behind face matching, exploring the algorithms, the crucial metrics like False Acceptance Rate (FAR) and False Rejection Rate (FRR), and how to interpret these numbers to ensure robust and reliable face matching systems.

Key Takeaway 1: FAR & FRR are inversely related – improving one often worsens the other. The optimal balance depends on the specific use case and risk tolerance.

Key Takeaway 2: Algorithm evaluation requires large, diverse datasets to accurately reflect real-world performance and prevent bias.

Key Takeaway 3: Context matters – environmental factors like lighting and pose significantly impact accuracy, so robust algorithms must be resilient to these variations.

Key Takeaway 4: Beyond FAR/FRR, consider speed, scalability, and integration complexity when selecting a face matching solution.

How Face Matching Algorithms Work

At the heart of any face matching system lies a biometric algorithm designed to extract unique features from a facial image. Modern algorithms leverage deep learning, specifically Convolutional Neural Networks (CNNs), to create a ‘facial embedding’ – a high-dimensional vector representation of the face. This embedding captures key facial characteristics, such as the distance between eyes, the shape of the nose, and the contours of the jawline. The algorithm doesn't store the image itself, but this numerical representation.

The matching process then involves calculating the distance (usually using cosine similarity) between the embeddings of two faces. A smaller distance indicates a higher degree of similarity. A threshold is set – if the distance is below this threshold, the faces are considered a match. The choice of this threshold is critical and directly impacts the face matching system’s accuracy, which is where the metrics come into play.

Understanding Key Performance Metrics

Several metrics are used to assess the performance of face matching algorithms. The most important are:

False Acceptance Rate (FAR)

The FAR, also known as Type I error, represents the probability that the algorithm incorrectly accepts an imposter as a valid user. In simpler terms, it’s the rate at which the system incorrectly matches two different people. A lower FAR is crucial in high-security applications where preventing unauthorized access is paramount. For example, a FAR of 0.001% means that, on average, the system will incorrectly accept an imposter 1 out of every 100,000 attempts. FAR is usually measured using a large dataset of different individuals.

False Rejection Rate (FRR)

The FRR, or Type II error, represents the probability that the algorithm incorrectly rejects a valid user. This happens when the system fails to recognize a legitimate user. A lower FRR is important for user experience – frequent false rejections can be frustrating and lead to abandonment. For example, an FRR of 1% means the system will incorrectly reject a legitimate user 1 out of every 100 attempts. FRR is usually measured using multiple attempts from the same individual.

Equal Error Rate (EER)

The EER is the point at which the FAR and FRR are equal. It provides a single value to represent the overall accuracy of the algorithm. A lower EER indicates a more accurate algorithm. However, relying solely on EER can be misleading, as it doesn’t account for the trade-off between FAR and FRR in specific applications.

Receiver Operating Characteristic (ROC) Curve

The ROC curve graphically represents the trade-off between the true positive rate (1 - FRR) and the false positive rate (FAR) at various threshold settings. It’s a more comprehensive way to visualize the algorithm’s performance and select the optimal threshold for a specific application.

Factors Affecting Algorithm Performance

Several factors can significantly impact the accuracy of face matching algorithms:

  • Image Quality: Low resolution, blur, and poor lighting can all degrade performance.
  • Pose Variation: Large changes in head pose (angle) can make matching more difficult.
  • Occlusion: Obstructions like glasses, hats, or masks can obscure facial features.
  • Age Progression: Facial features change over time, impacting matching accuracy.
  • Ethnic Bias: Algorithms trained on biased datasets may perform poorly on certain demographics.

How Didit Helps

Didit leverages state-of-the-art face matching algorithms, continuously updated and refined to deliver industry-leading accuracy. Our platform goes beyond simply providing a matching score:

  • Robust Liveness Detection: We employ advanced liveness detection to prevent spoofing attacks using photos, videos, or masks, ensuring only real humans are verified.
  • High-Quality Image Capture: Our guided capture process ensures optimal image quality, minimizing the impact of lighting and pose variations.
  • Bias Mitigation: We actively address potential biases in our training data to ensure fair and equitable performance across all demographics.
  • Customizable Thresholds: You can adjust the matching threshold to balance FAR and FRR based on your specific risk tolerance.
  • Comprehensive Analytics: Detailed analytics provide insights into algorithm performance and identify areas for improvement.

Ready to Get Started?

Ready to experience the power of accurate and reliable face matching?

Request a Demo to see Didit in action, or explore our technical documentation to learn more about our API and integration options.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.