Deep Secure Encoding: An Application to Face Recognition

Rohit Pandey, Yingbo Zhou, Venu GovindarajuarXiv 2015

Abstract

Biometric authentication systems face a critical security challenge: unlike passwords, biometric traits like faces cannot be changed if a template is compromised. This paper introduces Deep Secure Encoding (DSE), a framework that utilizes convolutional neural networks (CNNs) to map facial features to randomly generated, high-entropy binary codes. By employing stochastic layers and cryptographic hashing, DSE provides a "cancelable" biometric solution that is both highly accurate and secure. Experimental results on the CMU-PIE and Extended Yale B datasets demonstrate state-of-the-art performance, with an Equal Error Rate (EER) as low as 1.36%.

Introduction

Traditional authentication relies on "something you know" (passwords) or "something you have" (tokens). Biometrics offer "something you are," providing convenience but introducing a permanent security risk. If a facial template is stolen, the user's biometric identity is compromised indefinitely. Biometric Template Protection (BTP) aims to solve this through two primary requirements: non-invertibility (preventing reconstruction of the original image) and cancelability (allowing the issuance of new templates).

However, applying standard cryptographic hashes like SHA-256 to biometrics is difficult because biometric data is "fuzzy"—slight changes in lighting or pose result in completely different hash outputs. DSE addresses this by learning a robust mapping from the image space to a discrete, high-entropy code space.

Methods: The Deep Secure Encoding Framework

The core of DSE is a CNN trained to map a specific individual's face to a pre-assigned random binary string. Unlike standard classification networks, DSE focuses on learning this arbitrary mapping, which ensures that the resulting template appears as random noise to an attacker.

Architecture and Training

The network architecture consists of convolutional and pooling layers followed by stochastic fully connected layers. This structure is designed to extract stable features while maintaining the flexibility to map them to arbitrary codes.

The DSE network architecture showing the progression from input image to final output code.

Key technical innovations include:

  • Stochastic Layers: These layers incorporate noise during training, forcing the model to generalize across the complex, multimodal distributions inherent in facial data.
  • Data Augmentation: To handle small enrollment sets, the authors generate 162 variations (crops and flips) for each training image, ensuring the network learns a robust mapping.

Deployment Scenarios

The system operates in two primary modes:

  1. Scenario 1 (High Accuracy): The raw network output serves as the template. This provides the highest accuracy but requires protecting the network's internal parameters.
  2. Scenario 2 (Secure Hashing): The output is quantized and hashed using SHA-256. To overcome the sensitivity of cryptographic hashes, DSE uses a "voting" mechanism: multiple image crops are hashed, and the final score is based on the number of matching sub-hashes.

Experimental Results

The DSE framework was evaluated on the CMU-PIE (41,000+ images) and Extended Yale B (2,400+ images) datasets.

Accuracy and Robustness

On the CMU-PIE dataset, Scenario 1 achieved an EER of 1.36%. Even with the added security of SHA-256 hashing in Scenario 2, the system maintained a competitive EER of 3.23%. The system's ability to distinguish between genuine users and imposters is highly dependent on the bit-length of the generated code.

Histograms of genuine vs. imposter scores for different bit lengths.

As shown in the histograms above, increasing the bit length improves the separation between genuine and imposter distributions, enhancing security without significantly sacrificing accuracy. The complexity of a brute-force attack scales exponentially with the bit length ($2^k$), providing robust protection against template theft.

Discussion and Conclusion

Deep Secure Encoding represents a significant step forward in cancelable biometrics. By baking security into the neural mapping itself, it eliminates the need for users to carry physical tokens or remember additional keys. While the current implementation faces some computational overhead due to the multi-crop hashing process, its robustness against "unseen imposters" and high accuracy on controlled datasets are promising. Future work will focus on optimizing performance for edge devices and testing against more challenging "in-the-wild" facial databases.

Summary updated

BibTeX
@misc{pandey2015deep,
  author = {Rohit Pandey and Yingbo Zhou and Venu Govindaraju},
  title = {{Deep Secure Encoding: An Application to Face Recognition}},
  year = {2015},
  eprint = {1506.04340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.04340},
}
Figure