增强型灰度图像空间实现虹膜活体检测

Mingkang Liu, Hongmin Wang, Li Qi, Zhenan SunJournal of Image and Graphics 2020 · DOI

Abstract

Iris recognition is widely used due to its high stability and distinctiveness. However, many systems struggle with reliability against presentation attacks, limiting their use in high-security scenarios. Existing state-of-the-art algorithms often rely on iris texture features extracted from raw grayscale space, where differences between real and fake samples are subtle, often restricting detection to single-source spoofs. This paper proposes an iris liveness detection method based on an enhanced gray-level image space. By using a Residual Network (ResNet) to map raw iris images into a separable gray-level space, the discriminative power of features is significantly increased. Features are extracted using a pre-trained LightCNN-4 and the model is trained with a hybrid Triplet and Softmax loss. Experimental results show near-perfect accuracy on closed-set benchmarks and superior generalization in open-set scenarios, outperforming existing methods.

Introduction

While iris biometrics offer exceptional security, they are vulnerable to presentation attacks (PAs) such as printed images, cosmetic contact lenses, or prosthetic eyes. A significant challenge in the field is the "open-set" problem: models trained on specific spoofing types often fail when encountering novel, unseen attacks. This failure stems from the significant overlap of real and fake iris features in the standard raw grayscale domain. This research introduces a spatial mapping technique designed to "magnify" textural discrepancies, making real and fake irises inherently more separable.

Methodology

Enhanced Gray-level Space Generation

The core of the proposed approach is a generator based on the ResNet architecture. Instead of working directly with raw 1D grayscale iris images, the model learns a transformation into an "enhanced" grayscale space. This learned mapping is optimized to highlight discriminative textures—such as the artificial dot patterns in printed irises or the unnatural edges of contact lenses—while preserving the organic complexity of genuine iris tissue.

Feature Extraction and Learning

Feature extraction is performed using a pre-trained LightCNN-4 (Light Convolutional Neural Network). To ensure the generator learns to produce truly useful images, the parameters of the LightCNN-4 are kept fixed during the training of the spatial mapping component.

The training process utilizes a hybrid loss strategy:

  1. Triplet Loss: This loss function focuses on local sample relationships. It minimizes the distance between "real" iris samples (positives) while maximizing the distance between "real" and "fake" samples (negatives), creating a clear safety margin.
  2. Softmax Loss: This provides a global classification boundary. Its inclusion stabilizes the training process and accelerates convergence compared to using Triplet loss in isolation.

Experimental Results and Discussion

The method was evaluated using three major datasets: ND-Contact (cosmetic lenses), CRIPAC-Printed-Iris (high-resolution prints), and CASIA-Iris-Fake (multi-source attacks including GAN-generated fakes).

Detection Performance

  • Closed-set Accuracy: The model achieved 100% accuracy on the ND-Contact dataset and 99.75% on the CRIPAC dataset.
  • Open-set Generalization: In cross-type testing (training on one spoof type and testing on others), the model maintained high performance, reaching 98.94% and 99.06% accuracy. This demonstrates a significant improvement over baseline models like HMC and MT-PAD, which typically show a sharp decline in performance when faced with unknown attack vectors.

Training Efficiency

The hybrid loss approach proved more efficient than Triplet loss alone. In the experimental environment, the inclusion of Softmax loss reduced the average training iteration time from 166.5s to 153.2s.

Conclusion

By transforming iris images into an enhanced gray-level space, this method effectively addresses the difficulty of distinguishing real and fake irises in raw grayscale. The combination of spatial mapping and a hybrid loss function not only improves detection accuracy but also significantly enhances the model's ability to generalize to unknown spoofing types. Future work will focus on expanding dataset diversity to include emerging "deepfake" synthetic eyes and optimizing the architecture for real-time deployment on edge devices.

Summary updated

Abstract

目的虹膜作为一种具有高稳定性与区分性的生物特征,使得虹膜识别在应用场景中十分普及,但很多虹膜识别系统在抵御各类演示攻击时无法保证十足的可靠性,导致虹膜识别在高级安全场景中的应用受限,使得虹膜活体检测成为生物识别技术中亟需解决的问题之一。现有的区分真实与假体虹膜最先进的算法主要依靠在原始灰度空间中提取的虹膜纹理深度特征,但这类特征差异不明显,只能辨别单源假体虹膜。为此,提出一种基于增强型灰度图像空间的虹膜活体检测方法。方法利用残差网络(ResNet)将原始虹膜图像映射到可分离的灰度图像空间,使真假虹膜特征具有明显的判别性;用预训练LightCNN(light convolational neural networks)-4网络提取新空间中的虹膜纹理特征;设计三元组损失函数与softmax损失函数训练模型实现二分类任务。结果在两个单源假虹膜数据库上采用闭集检测方式分别取得100%和99.75%的准确率;在多源假虹膜数据库上采用开集检测方式分别取得98.94%和99.06%的准确率。结论本文方法通过空间映射的方式增强真假虹膜纹理之间清晰度的差异,设计三元组损失函数与softmax损失函数训练模型,既增加正负样本集之间的距离差,又提升模型收敛速度。实验结果表明,基于图像空间的分析与变换可有效解决真实虹膜与各类假体虹膜在原始灰度空间中不易区分的问题,并且使网络能够准确检测未知类型的假体虹膜样本,实现虹膜活体检测的最新性能,进一步提升了虹膜活体检测方法的泛化性。
BibTeX
@article{liu2020,
  author = {Mingkang Liu and Hongmin Wang and Li Qi and Zhenan Sun},
  title = {{增强型灰度图像空间实现虹膜活体检测}},
  journal = {Journal of Image and Graphics},
  year = {2020},
  doi = {10.11834/jig.190503},
}
Figure