NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Resilience of Biometric Authentication Systems against Random Inputs

Benjamin Zi Hao Zhao, Hassan Jameel Asghar, Mohamed Ali KaafararXiv 2020 · DOI

TL;DR

Machine learning-based biometric authentication systems are surprisingly vulnerable to attackers who bypass standard user interfaces to submit completely random inputs directly to the system's API. This paper reveals that the "acceptance region" for these random inputs is often vastly larger than the system's False Positive Rate (FPR)—in one case allowing a 78% attack success rate against a system with a 3% error rate. To close this gap, the authors propose simple, highly effective data-augmentation defenses that shrink this vulnerability to virtually zero without degrading authentication accuracy.

What Problem Does This Paper Address?

Biometric authentication systems (such as face, voice, touch, or gait recognition) are increasingly built using machine learning classifiers. Traditionally, these systems are evaluated using metrics like the False Positive Rate (FPR) and False Reject Rate (FRR), which measure how well the system resists human impostors.

However, this evaluation implicitly assumes that an adversary interacts with the system through a standard human-computer interface (like a smartphone camera or touchscreen). If an attacker can bypass the UI and programmatically query the underlying API, they gain the freedom to input completely random data.

The authors tackle a critical security misconception: the assumption that uniform random inputs have an exponentially small chance of being accepted, or that their success rate is bounded by the system's FPR. They demonstrate that standard machine learning models often leave massive, unpenalized "empty spaces" in the feature space that will happily accept random noise as a valid user profile.

The threat model showing how an attacker can bypass the user interface to target the Raw Input or Feature Vector APIs.

Methods

The authors systematically evaluate the Acceptance Region (AR)—defined as the total volume of the feature space that a classifier treats as a "positive" (accept) decision—across a variety of machine learning architectures:

  • Classifiers Evaluated: Linear SVM, Radial Basis Function (RBF) SVM, Random Forests (RNDF), and Deep Neural Networks (DNN).
  • Monte Carlo Sampling: Because analyzing complex decision boundaries analytically is incredibly difficult, the authors use a Monte Carlo approach, querying the trained models with 1 million uniformly sampled random vectors to empirically measure the volume of the AR.
  • Raw Input Attacks: They also simulate attacks at the raw input level (before feature extraction) by generating synthetic, random raw data (e.g., uniform RGB pixels for face recognition or continuous auto-regressive noise for touch dynamics).

Proposed Mitigations

To defend against these vulnerabilities, the authors introduce two novel data-augmentation techniques during the training phase:

  1. Beta-Distributed Noise Injection: They generate synthetic negative samples using a beta distribution centered symmetrically away from the target user's feature mean. This forces the classifier to "tighten" its decision boundary around the actual user data.
  2. Raw Noise Feature Inclusion: For systems exposed via a raw input API, they pass random raw noise through the feature extractor and explicitly train the classifier to treat those resulting vectors as part of the negative class.

Datasets

The methodology was validated across four distinct biometric modalities using well-known datasets:

  • Gait (Activity Type Dataset): 30 users, utilizing 562 engineered features capturing physical movement types.
  • Touch (UMDAA-02 Touch Dataset): 35 users, featuring 27 engineered features derived from smartphone swipe time-series data.
  • Face (CASIA-WebFace): A subset of the top 100 identities, using a pre-trained FaceNet model to extract 512-dimensional latent feature embeddings.
  • Voice (VoxCeleb2): 118 users from the test portion, utilizing a pre-trained Siamese neural network to extract 1024-dimensional speaker embeddings.

Key Insights and Ideas

  • The "Empty Space" Penalty Gap: Classifiers are trained to minimize error on a specific training dataset. If a massive portion of the theoretical feature space contains absolutely no data points during training, the classifier is never penalized for marking that empty space as "positive." This creates a giant backdoor for random inputs.

    A toy example showing how a linear decision boundary can perfectly separate positive and negative classes but still leave 50% of the total feature space open to accepting random inputs.
  • FPR $\neq$ Adversarial Security: A system can achieve a near-zero FPR against real human data while simultaneously accepting a massive fraction of random inputs. Traditional accuracy metrics are completely blind to this vector of attack.

  • Variance Vulnerability: High feature variance in a target user's legitimate samples (or low variance in the background population data) dramatically expands the acceptance region, making certain users highly susceptible to random guessing.
  • ML vs. Distance-Based Matching: Traditional distance-based matching algorithms (like cosine similarity) naturally resist random inputs because they define tight hyperspheres around user templates. However, they suffer from significantly higher Equal Error Rates (EER) compared to flexible machine learning classifiers, presenting a stark trade-off between standard accuracy and resilience to random inputs.

Key Results

  • Widespread Vulnerability: The average acceptance region was higher than the system's EER in 9 out of the 16 evaluated classifier-modality configurations.
  • The Random Forest Flaw: The most severe vulnerability occurred in the face recognition system using a Random Forest classifier. Despite a highly secure EER of just 0.03, its average random input success rate was 0.78. An attacker would need fewer than two attempts on average to successfully log in as a target user.
  • User-Specific Spikes: Even when average system metrics looked safe, individual users were often highly vulnerable. For instance, in one voice authentication model using Random Forests, the system-wide average AR was low, but a specific user model fell victim to a 0.55 random input success rate.
Fig. 5. Individual user scatter of AR and FPR. In a majority of configurations, there is no clear relationship between AR and FPR, with the exception of the RBFSVM and DNN classifiers for face and voice authentication.
  • Defense Performance: Implementing the proposed beta-noise mitigation reduced the acceptance region to virtually 0 for 6 out of 16 configurations, and successfully pushed the AR below the FPR in 15 out of 16 configurations. Crucially, this drastic security hardening had little to no negative impact on the systems' original validation accuracy.

Limitations and Future Work

  • Attacker Knowledge Assumptions: The threat model assumes the attacker knows the length of the feature vector and the permissible range of values. While standard in security research, hiding this information could act as an extra layer of obscurity.
  • Binary Focus: This study focuses entirely on binary classification (one-vs-rest authentication). The authors note that one-class classifiers and multi-class identification systems (one-of-many) might inherently restrict the acceptance region differently, leaving these architectures as an open area for future exploration.
  • Retrofitting Challenges: The proposed mitigations require access to the training pipeline to inject noise, meaning they cannot be easily applied as a post-hoc patch to proprietary, closed-source black-box models.

Summary updated

BibTeX
@misc{zhao2020resilience,
  author = {Benjamin Zi Hao Zhao and Hassan Jameel Asghar and Mohamed Ali Kaafar},
  title = {{On the Resilience of Biometric Authentication Systems against Random Inputs}},
  year = {2020},
  eprint = {2001.04056},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.04056},
}
Figure