NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Continual Few-Shot Adaptation for Synthetic Fingerprint Detection

Joseph Geo Benjamin, Anil K. Jain, Karthik Nandakumar

TL;DR

Generative AI can now create synthetic fingerprints realistic enough to bypass biometric security systems via digital injection attacks. This paper introduces a continual few-shot adaptation framework that allows fingerprint detectors to rapidly learn to identify new synthetic styles from just a few examples while preventing the catastrophic forgetting of previously encountered styles.

What Problem Does This Paper Address?

Fingerprint Recognition Systems (FRS) are increasingly vulnerable to digital data injection attacks. Instead of creating a physical fake finger (a presentation attack), adversaries inject high-quality, AI-generated synthetic fingerprint images directly into the FRS pipeline during enrollment or authentication.

Vulnerability of FRS to data injection attacks

While deep neural networks (DNNs) can easily be trained to separate real fingerprints from synthetic ones, they suffer from a major flaw: they overfit to the specific generative models (GANs or Diffusion models) used in their training data. When a new, unseen generative AI model is released, the detector's accuracy catastrophically collapses. Because generative AI evolves at a breakneck pace, static detectors cannot keep up. The authors address this gap by framing synthetic fingerprint detection as a continual few-shot adaptation problem.

Methods

The authors propose a dynamic detection framework designed to evolve alongside new generative threats. The pipeline consists of three main stages:

  1. Pre-processing: Automatically detecting and cropping the foreground fingerprint region to a fixed size.
  2. Feature Extraction: Using a DNN backbone (such as a Vision Transformer, ViT) to extract a fixed-length feature representation.
  3. Classification: Passing the features through a Multi-Layer Perceptron (MLP) head to output a "synthetic probability" score.
Proposed synthetic fingerprint detection framework

To adapt the base model to an unseen synthetic style using only a few samples (e.g., 100 images), the authors introduce two critical mechanisms during fine-tuning:

  • Supervised Contrastive (SC) Loss: Alongside standard Binary Cross-Entropy (CE), SC loss forces the network to cluster features of the same class (real vs. synthetic) closely together while pushing different classes far apart.
  • Experience Replay: To prevent "catastrophic forgetting," the system maintains a tiny memory buffer containing just 100 samples from each previously encountered style, replaying them during the fine-tuning process.

Datasets

The study evaluates the framework using an extensive mix of real and synthetic datasets:

  • Real Fingerprints: A pooled collection of 8 benchmark datasets capturing various sensors and acquisition methods (ink-on-paper and live scans), including FVC-2000/02/04, NIST-SD4/14/300/301/302, IIITD-MOLF, and LFIW.
  • Synthetic Fingerprints: Six datasets representing different generations of synthetic technology: SFinGe (hand-crafted), IBG-Novetta, IWGAN, PrintsGAN, FPGAN, and GenPrint (a state-of-the-art diffusion-based model used to train the initial base detector).

Key Insights and Ideas

  • The Illusion of Zero-Shot Generalization: A base detector trained on advanced diffusion models (GenPrint) achieves nearly 0% True Detection Rate (TDR) when exposed to unseen synthetic styles. Static models simply cannot generalize across the massive domain shifts introduced by different generative architectures.
  • Contrastive Learning Stabilizes Adaptation: Relying solely on cross-entropy loss during few-shot learning causes representation drift. Integrating Supervised Contrastive loss stabilizes the feature space, making the adaptation process significantly more robust even with minimal data.
  • Replay is Mandatory: Without experience replay, adapting to a new AI generator completely erases the model's ability to detect older synthetic styles, dropping their detection rates back down to near zero.
Impact of replay and sample size on adaptation
  • Asymmetric Difficulty: Adapting to older, hand-crafted synthetic methods (like SFinGe) is trivial, but modern GAN-based methods (like FPGAN) remain highly sophisticated and harder for the network to master in a few-shot setting.

Key Results

  • Rapid Recovery: While the base detector fails entirely on unseen styles, the proposed ViT-CE+SC method successfully recovers performance after observing just 100 samples of the new style.
  • Mitigating Forgetting: Thanks to experience replay, the model maintains high detection rates on the initial GenPrint dataset even after sequentially adapting to five entirely different synthetic styles.
  • Backbone Scaling: The framework is backbone-agnostic. Upgrading the feature extractor from a standard ViT-Small to a more powerful self-supervised model like ViT-B DinoV2 boosted the mean TDR after continual adaptation from 64.7% to 87.3% (at a strict 0.1% False Detection Rate).

Limitations and Future Work

  • Residual Forgetting: Although experience replay drastically reduces catastrophic forgetting, it does not eliminate it entirely; a slight downward trend in performance on older styles is still visible over long adaptation chains.
  • Fixed Real Distribution: The authors assume that the distribution of real fingerprints remains static. In practice, new physical fingerprint sensors are introduced to the market regularly. Future work will need to address joint adaptation for both new synthetic generators and new physical acquisition hardware.

Summary updated

BibTeX
@inproceedings{benjamin2026continual,
  author = {Joseph Geo Benjamin and Anil K. Jain and Karthik Nandakumar},
  title = {{Continual Few-Shot Adaptation for Synthetic Fingerprint Detection}},
  booktitle = {IWBF},
  year = {2026},
  doi = {10.1109/iwbf68042.2026.11558143},
}
Figure