BioZero: An Efficient and Privacy-Preserving Decentralized Biometric Authentication Protocol on Open Blockchain

Junhao Lai, Taotao Wang, Shengli Zhang, Qing Yang, Soung Chang LiewarXiv 2024

TL;DR

This paper introduces BioZero, a novel protocol for decentralized identity systems that enables privacy-preserving and publicly verifiable biometric authentication on open blockchains. It achieves this by combining homomorphic commitments and zero-knowledge proofs, allowing for secure authentication without exposing sensitive biometric data.

What Problem Does This Paper Address?

Decentralized identity (DID) systems aim to give users control over their digital identities and authentication. However, current DID systems often rely on possession of keys or credentials, which are vulnerable to leakage, reuse, or replay attacks. This makes authentication susceptible to account takeover. While biometrics offer a more robust authentication factor, integrating them into DIDs presents challenges: biometric templates must be kept private, and authentication decisions need to be publicly auditable without relying on centralized servers. Existing solutions either compromise privacy, introduce trust anchors, or incur prohibitive costs for on-chain verification. BioZero aims to bridge this gap by providing a practical, privacy-preserving, and publicly verifiable biometric authentication layer for DIDs on open blockchains.

Methods

BioZero employs a multi-pronged approach to achieve its goals:

  • Pedersen Commitments: These are used to commit to biometric template components. Pedersen commitments are "hiding" (obscuring the committed value) and "binding" (making it difficult to change the committed value without detection). Crucially, they support homomorphic operations, meaning computations can be performed on committed values without revealing them. This allows for distance calculations between biometric templates to be done in a privacy-preserving manner.
  • Homomorphic Consistency Checks: To make the homomorphic operations verifiable on-chain without revealing the actual biometric data, BioZero uses a technique inspired by Fiat-Shamir. This transforms an interactive protocol for verifying homomorphic multiplication into a non-interactive one.
  • Groth16 zk-SNARKs: To ensure that the computed biometric distance is within an acceptable threshold (i.e., a match), BioZero leverages Groth16 zk-SNARKs. These allow the prover (user) to generate a compact proof that a certain statement is true (e.g., the distance is below a threshold) without revealing the underlying data. The verifier (smart contract) can then efficiently verify this proof on-chain.
  • Spot-Checks: To reduce the computational and gas overhead on the blockchain, BioZero doesn't verify all consistency checks. Instead, it uses a pseudo-random subset of coordinates for verification, providing statistical soundness.

Datasets

The paper evaluates BioZero's performance using face recognition models on the Labeled Faces in the Wild (LFW) dataset. Specifically, they tested with 128-dimensional FaceNet-MobileNet and 512-dimensional FaceNet-InceptionResnetV1 models, using 6,000 face pairs for evaluation.

Key Insights and Ideas

  • Decoupling Proving Cost from Vector Length: A major innovation is how BioZero shifts the computational burden of increasing biometric vector length away from the computationally expensive zk-SNARK proving process and onto the more manageable homomorphic operations. This is crucial for practical adoption with high-dimensional biometric features.
  • Balancing Privacy and On-Chain Cost: BioZero strikes a critical balance. It uses Pedersen commitments for privacy and homomorphic operations for computation, but then relies on zk-SNARKs and spot-checks to make the final verification efficient and affordable on a public blockchain.
  • Statistical Soundness for Efficiency: The use of spot-checks for Pedersen commitment consistency is a clever optimization. Instead of verifying every single component, verifying a random subset provides a high degree of confidence that the entire set of commitments is consistent, significantly reducing on-chain gas costs.
  • Practical Quantization Robustness: The paper demonstrates that BioZero is robust to the integer quantization required for its operations, showing minimal accuracy loss on standard face recognition benchmarks even with aggressive quantization.

Key Results

  • Latency Speedup: BioZero achieves significant speedups: up to 67.8x in network-adjusted total authentication latency and up to 266.4x in client-side proving time compared to a zk-SNARK-only baseline, especially for larger biometric vector lengths.
  • Verification Cost: While BioZero's on-chain gas cost is slightly higher for very small vector lengths due to spot-checks, it becomes significantly lower than the zk-SNARK-only baseline for larger vectors (e.g., 2.59x lower at N=128). The total verification gas grows logarithmically with vector length, unlike the linear growth of the baseline.
  • Accuracy: Quantization experiments show accuracy loss below 1% for practical quantization ranges on LFW, indicating good robustness.
  • Verification Time: On-chain verification remains in the millisecond range for both BioZero and the baseline, with BioZero generally being faster.

Limitations and Future Work

  • Trusted Setup: BioZero inherits the trusted setup requirement from Groth16 zk-SNARKs. If this setup is compromised, the protocol's soundness guarantees are affected.
  • Liveness and Freshness: BioZero authenticates a biometric witness but does not inherently prove "liveness" (that the witness is from a live person) or fresh sensor capture. Deployments requiring these features would need additional mechanisms.
  • Full Identity Lifecycle: BioZero is an authentication protocol and not a complete decentralized identity management system. It does not cover aspects like credential issuance, recovery, revocation, or uniqueness enforcement.
  • Future Work: The authors suggest that BioZero can serve as a practical authentication layer for decentralized biometric identity systems. Future work could focus on integrating BioZero into broader DID frameworks and exploring optimizations for specific biometric modalities.

Summary updated

BibTeX
@misc{lai2024biozero,
  author = {Junhao Lai and Taotao Wang and Shengli Zhang and Qing Yang and Soung Chang Liew},
  title = {{BioZero: An Efficient and Privacy-Preserving Decentralized Biometric Authentication Protocol on Open Blockchain}},
  year = {2024},
  url = {https://openreview.net/forum?id=zlvnK99E5y},
}
Figure