BioDeepHash: Mapping Biometrics into a Stable Code

Baogang Song, Dongdong Zhao, Jiang Yan, Huanhuan Li, Hao JiangarXiv 2024 · DOI

Abstract

Biometric systems face a fundamental challenge: the inherent noise in biometric captures conflicts with the rigid requirements of cryptographic hashing. Traditional Biometric Template Protection (BTP) methods often rely on error-correcting codes (ECC) that can introduce security vulnerabilities. This paper introduces BioDeepHash, a framework utilizing Deep Fuzzy Hashing (DFH) to map noisy biometric features into perfectly stable binary codes. By eliminating the need for ECC and leveraging cryptographic hashing (SHA3-512), BioDeepHash achieves superior accuracy, revocability, and resistance to various security attacks.

Introduction

Biometric data, such as facial features and iris patterns, are immutable. Unlike passwords, compromised biometric templates cannot be simply reset, necessitating robust Biometric Template Protection (BTP). An ideal BTP system must ensure irreversibility, revocability, and unlinkability.

Existing approaches like Cancelable Biometrics (CB) and Biometric Cryptosystems (BCS) have notable drawbacks. CB often suffers from information leakage, while BCS relies on "helper data" and ECC to manage intra-class variations. This helper data can become a target for decodability and statistical attacks. BioDeepHash addresses these gaps by replacing traditional ECC with a deep learning-based stabilization mechanism that prevents attackers from exploiting leaked template data.

Conceptual comparison between traditional BTP methods and the proposed BioDeepHash framework.

Methodology

The core of BioDeepHash is the Deep Fuzzy Hashing (DFH) model, a convolutional neural network (CNN) trained to produce identical binary codes for different captures of the same individual. This shift from similarity-based hashing to stability-based hashing is the key innovation.

Deep Fuzzy Hashing (DFH)

The DFH model employs a composite loss function to ensure "perfect" stability:

  1. Class-wise Loss: Minimizes intra-class distance to group features from the same user.
  2. Label Regression Loss: Maps these feature groups to specific binary targets.
  3. Quantization Loss: Forces continuous outputs toward discrete values (-1 or 1).

System Architecture

The framework consists of two main phases: Enrollment and Verification. During enrollment, biometric images are preprocessed and passed through the DFH model to generate a stable code $S_u$. A random XOR string $I$ is applied to $S_u$ to create a cancelable template $H_u$, which is then cryptographically hashed using SHA3-512.

The BioDeepHash system architecture illustrating the Enrollment and Verification pipelines.

Revocability and Security

Revocability is achieved through the external XOR string $I$. If a template is compromised, a new string $I'$ is generated, avoiding the need for model retraining. The use of SHA3-512 ensures that even minor bit flips in the stable code result in completely different hashes, providing a high security margin and preventing model inversion attacks.

Experimental Results

BioDeepHash was evaluated on facial (YouTube Faces, Extended Yale B) and iris (CASIA-Iris-Lamp, CASIA-Iris-Thousand) datasets, demonstrating significant improvements over state-of-the-art BTP methods:

  • Recognition Performance: The system improved the average Genuine Acceptance Rate (GAR) by 10.12% for iris data and 3.12% for facial data.
  • Security Analysis: The framework achieved a 0% False Acceptance Rate (FAR) on iris datasets and a maximum of 0.0002% on facial datasets. Security evaluations against nine attack vectors, including brute-force and rainbow table attacks, demonstrated that impersonation is computationally infeasible (complexity $\geq 2^{96}$).

Conclusion

BioDeepHash successfully bridges the gap between noisy biometrics and rigid cryptography. By shifting the focus from similarity to stability through deep hashing, the framework eliminates the vulnerabilities of traditional error-correction methods while maintaining high recognition accuracy and robust security for real-world deployment.

Summary updated

BibTeX
@misc{song2024biodeephash,
  author = {Baogang Song and Dongdong Zhao and Jiang Yan and Huanhuan Li and Hao Jiang},
  title = {{BioDeepHash: Mapping Biometrics into a Stable Code}},
  year = {2024},
  eprint = {2408.03704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.03704},
}
Figure