Securing CNN Model and Biometric Template using Blockchain

Akhil Goel, Akshay Agarwal, Mayank Vatsa, Richa Singh, Nalini K. Ratha · DOI

Abstract

Biometric recognition systems are increasingly targeted by sophisticated attacks aimed at compromising data integrity and system decisions. This paper proposes a decentralized architecture that integrates blockchain technology into the biometric pipeline. By wrapping Convolutional Neural Network (CNN) layers and biometric templates within a private blockchain and Merkle-tree structure, the system achieves tamper-evidence and self-correction capabilities. Experimental evaluations on standard datasets show that while traditional systems suffer significant performance degradation under tampering, the proposed blockchain-secured framework maintains its original recognition accuracy.

Introduction

Biometric systems, essential for large-scale identification projects, face a significant security challenge. Centralized storage creates a single point of failure, while distributed systems often suffer from mutual distrust between nodes. Standard biometric pipelines are vulnerable at multiple stages, including sensor data spoofing, feature extraction replacement, and template tampering.

Comparison between traditional biometric systems and the proposed blockchain-secured architecture highlighting vulnerability points.

The authors identify eight specific vulnerability points in traditional architectures, ranging from the injection of fake data at the sensor level to the overriding of final matching decisions. Current defensive measures primarily focus on input-level adversarial attacks, leaving the underlying model infrastructure and stored templates exposed. This research addresses this gap by ensuring the integrity of the entire recognition infrastructure.

Methodology

The proposed architecture decomposes the biometric pipeline into two primary blockchain-based components designed to ensure transitive integrity and decentralized decision-making.

Blockchain-wrapped Feature Extractor

The system utilizes a pre-trained CNN (such as VGG-Face) where each layer is treated as a discrete "block" in a private blockchain. Each block encapsulates the layer's specific parameters (kernels and biases), an individual AES key, and a transitive hash derived from the preceding block.

The proposed feature extractor architecture where each CNN layer is treated as a block in a private blockchain, concluding with a Notary Block.

A specialized Notary Block serves as the final gatekeeper, verifying digital signatures and ensuring data has followed the correct sequential path. This transitive hashing ensures that any modification to a hidden layer's weights causes a ripple effect, altering the final hash and immediately alerting the system to a breach.

Merkle-Tree Template Matcher

The matching process is organized into a hierarchical Merkle-tree structure consisting of Root, Chief, and Leaf levels. Leaf nodes store the actual biometric templates, while Chief nodes aggregate matching scores. To prevent a single compromised node from falsifying a match, the system employs Shamir’s Secret Sharing. A consensus of leaf nodes must provide cryptographic "shards" to validate a decision, removing the need for a trusted third party.

Experimental Results

The architecture was evaluated using the CMU Multi-PIE Face Database, the Multiple Encounters Dataset (MEDS-II), and the CASIA Fingerprint Database. To simulate an active tampering attack, Gaussian noise was introduced to the biometric templates.

Dataset Metric Traditional (After Tampering) Proposed (After Tampering)
Multi-PIE Cosine 3.44% Accuracy 90.79% Accuracy
MEDS Euclidean 0% Accuracy 70.37% Accuracy
CASIA Cosine 70.81% Accuracy 95.39% Accuracy

In all test cases, the proposed system successfully detected tampering and maintained its pre-attack accuracy levels. In contrast, the traditional system's performance collapsed, most notably in the Multi-PIE dataset where accuracy dropped by over 87%.

Discussion and Conclusion

The primary innovation of this work is the ability to not only detect tampering but also to enable self-correction via state restoration. By tracking hashes across the chain, the system can pinpoint the exact block or leaf that was altered and force a reversion to its last known stable state.

However, this security comes with a trade-off in computational overhead. Performing cryptographic operations at every layer of a deep neural network is resource-intensive. While the Big-O complexity remains manageable, the system is inherently slower than traditional counterparts. Future research will focus on developing more lightweight distributed frameworks to provide similar security guarantees with reduced power and time consumption.

Summary updated

BibTeX
@inproceedings{goel2019securing,
  author = {Akhil Goel and Akshay Agarwal and Mayank Vatsa and Richa Singh and Nalini K. Ratha},
  title = {{Securing CNN Model and Biometric Template using Blockchain}},
  booktitle = {BTAS},
  year = {2019},
  doi = {10.1109/btas46853.2019.9185999},
}
Figure