WiFaKey: Generating Cryptographic Keys from Face in the Wild

Xingbo Dong,Hui Zhang,Yen Lung Lai,Zhe Jin,Junduan Huang,Wenxiong Kang,Andrew Beng Jin Teoh
2024-07-20
Abstract:Deriving a unique cryptographic key from biometric measurements is a challenging task due to the existing noise gap between the biometric measurements and error correction coding. Additionally, privacy and security concerns arise as biometric measurements are inherently linked to the user. Biocryptosystems represent a key branch of solutions aimed at addressing these issues. However, many existing bio-cryptosystems rely on handcrafted feature extractors and error correction codes (ECC), often leading to performance degradation. To address these challenges and improve the reliability of biometric measurements, we propose a novel biometric cryptosystem named WiFaKey, for generating cryptographic keys from face in unconstrained settings. Speciffcally, WiFaKey ffrst introduces an adaptive random masking-driven feature transformation pipeline, AdaMTrans. AdaMTrans effectively quantizes and binarizes realvalued features and incorporates an adaptive random masking scheme to align the bit error rate with error correction requirements, thereby mitigating the noise gap. Besides, WiFaKey incorporates a supervised learning-based neural decoding scheme called Neural-MS decoder, which delivers a more robust error correction performance with less iteration than non-learning decoders, thereby alleviating the performance degradation. We evaluated WiFaKey using widely adopted face feature extractors on six large unconstrained and two constrained datasets. On the LFW dataset, WiFaKey achieved an average Genuine Match Rate of 85.45% and 85.20% at a 0% False Match Rate for MagFace and AdaFace features, respectively. Our comprehensive comparative analysis shows a signiffcant performance improvement of WiFaKey. The source code of our work is available at <a class="link-external link-http" href="http://github.com/xingbod/WiFaKey" rel="external noopener nofollow">this http URL</a>.
Cryptography and Security
What problem does this paper attempt to address?
This paper attempts to address the challenges faced in generating unique encryption keys from biometric measurements. Specifically, the main problems pointed out in the paper include: 1. **Noise and Error in Biometric Measurements**: Biometric data (such as facial features) are easily affected by noise during the collection process, resulting in differences (i.e., intra - class variations) between multiple measurement results of the same user. This noise gap makes it difficult to directly convert biometric features into encryption keys. 2. **Limitations of Error - Correcting Codes (ECC)**: Existing fuzzy commitment schemes usually rely on traditional error - correcting codes (ECC), which require the quantization of real - valued features into binary vectors. However, this conversion process leads to information loss, and the error - correction capabilities of ECC may not be able to cope with the high noise levels in biometric data. 3. **Privacy and Security Issues**: Since biometric data are closely related to user identities, privacy and security must be ensured during the generation of encryption keys to avoid the leakage of original biometric data. To solve these problems, the paper proposes a new biometric cryptosystem - WiFaKey, which aims to generate encryption keys from facial features in an unconstrained environment. WiFaKey improves performance and reliability through the following two main methods: - **AdaMTrans Feature Transformation Pipeline**: This pipeline quantizes and binarizes real - valued features through adaptive random - mask - driven feature transformation to reduce the impact of noise on error - correcting codes. AdaMTrans introduces an adaptive random - mask scheme to match the bit error rate with the requirements of error - correcting codes, thereby alleviating the noise gap. - **Supervised - Learning - Based Neural Decoder (Neural - MS Decoder)**: This decoder is used to enhance the error - correction performance of the system. It can achieve more powerful error - correction effects within fewer iterations, thereby improving the reliability and security of the system. Through these improvements, WiFaKey has been tested on multiple large unconstrained datasets and has shown significant performance improvements.