HEFT: Homomorphically Encrypted Fusion of Biometric Templates

Luke Sperling, Nalini K. Ratha, Arun Ross, Vishnu Naresh Boddeti

Abstract

Multi-biometric systems offer superior accuracy and spoof-resistance compared to single-trait systems, yet they introduce heightened privacy risks by centralizing multiple permanent biological identifiers. Fully Homomorphic Encryption (FHE) provides a potential solution by allowing computation on encrypted data, but standard biometric fusion requires non-arithmetic operations that are computationally incompatible with FHE. This paper introduces HEFT (Homomorphically Encrypted Fusion of biometric Templates), the first non-interactive, end-to-end system for the fusion and matching of encrypted multi-modal templates. By utilizing "FHE-aware" training to compensate for polynomial approximation errors, HEFT achieves an 11.07% AUROC improvement over unimodal baselines while maintaining sub-second matching speeds for galleries of over 1,000 identities.

1. Introduction

Biometric authentication is increasingly ubiquitous, yet the storage of biometric templates—such as facial features or voiceprints—presents a significant security vulnerability. If a biometric database is compromised, the loss is permanent; unlike passwords, biological traits cannot be reset. Multi-biometric systems, which combine data from multiple sources (e.g., face and voice), exacerbate this risk while simultaneously offering better verification performance.

Fully Homomorphic Encryption (FHE) allows for the processing of data in its encrypted state, ensuring that sensitive templates are never decrypted during the matching process. However, performing "feature-level fusion"—the process of merging multiple biometric vectors into a single representation—within the encrypted domain is historically difficult. This is because FHE natively supports only addition and multiplication, whereas standard biometric normalization requires division and square roots. HEFT addresses these challenges through a combination of optimized cryptographic packing and machine learning techniques designed to thrive within these mathematical constraints.

2. The HEFT Framework

HEFT utilizes the CKKS (Cheon-Kim-Kim-Song) encryption scheme to perform a four-stage pipeline entirely on ciphertexts:

  1. Concatenation: Encrypted face and voice vectors are joined into a single encrypted structure.
  2. Linear Projection: A learned matrix is applied to the concatenated features. This step serves two purposes: it fuses the disparate modalities and reduces the dimensionality of the vector (e.g., from 512D to 32D). This reduction is critical for minimizing the computational depth of subsequent operations.
  3. Approximate Normalization: Because FHE cannot perform exact square roots or division, HEFT employs composite polynomial approximations to estimate the inverse square root function, allowing the vector to be normalized to near-unit length.
  4. Match Score Computation: The system calculates the cosine similarity between the fused probe and the encrypted gallery templates.

3. FHE-Aware Training

The core innovation of HEFT is "FHE-aware training." Traditional approaches attempt to encrypt a pre-trained model, which often fails because the errors introduced by polynomial approximations of normalization functions degrade accuracy.

Instead, the HEFT researchers incorporated these specific approximation errors directly into the model's loss function during the training phase. By forcing the model to "see" the errors it will encounter in the encrypted domain, the system learns a projection matrix that is inherently robust to the quirks of FHE math. This allows the system to use lower-degree (and thus faster) polynomials without sacrificing verification accuracy.

4. Experimental Evaluation

The researchers evaluated HEFT using a multimodal dataset synthesized from the CPLFW (Cross-Pose Labeled Faces in the Wild) and Google Speech Commands benchmarks, alongside NIST SD4 fingerprint data for cross-modality validation.

4.1 Accuracy and Efficiency

HEFT demonstrated a substantial performance boost over single-biometric systems. The fused system achieved an 11.07% increase in AUROC compared to face-only matching and a 9.58% increase compared to voice-only matching.

From a performance standpoint, the system is highly efficient. By compressing feature vectors by a factor of 16x (from 512D to 32D), the authors reduced the multiplicative depth of the matching process. The system can fuse encrypted vectors and match them against a gallery of 1,024 identities in approximately 884 milliseconds.

4.2 Data Packing Strategies

The paper also explores the trade-offs between different data packing methods. A Dense packing approach is found to be effective for small-scale deployments, while SIMD (Single Instruction, Multiple Data) packing allows the system to scale more effectively for larger galleries, enabling parallel operations across multiple encrypted slots.

5. Limitations and Future Work

Despite its success, HEFT faces certain constraints. The polynomial approximations used for normalization are only valid within a specific numerical interval (e.g., $[0.05, 3.0]$). If a fused vector falls outside this range, the approximation fails, leading to incorrect results. While the authors mitigate this by constraining the projection matrix during training, it remains a boundary condition for the system.

Additionally, while sub-second matching for 1,000 users is a significant milestone, scaling to "web-scale" databases containing millions of users will require further optimization of multiplicative depth and encryption key sizes to manage the increasing computational noise inherent in FHE.

6. Conclusion

HEFT represents a significant step forward in privacy-preserving biometrics. By moving beyond simple encrypted matching to complex encrypted fusion, the system proves that the privacy-utility trade-off can be managed. The introduction of FHE-aware training suggests a new paradigm for secure machine learning: rather than trying to make encryption fit the math of AI, we should train AI to fit the math of encryption.

Summary updated

BibTeX
@inproceedings{sperling2022heft,
  author = {Luke Sperling and Nalini K. Ratha and Arun Ross and Vishnu Naresh Boddeti},
  title = {{HEFT: Homomorphically Encrypted Fusion of Biometric Templates}},
  booktitle = {IJCB},
  year = {2022},
  url = {https://openreview.net/forum?id=QGkaA5X6zl},
}
Figure