TL;DR
This paper systematically evaluates 24 frozen vision foundation models using a unified linear-probing protocol to see if they inherently encode features for face presentation attack detection (spoofing). While these massive models achieve excellent intra-dataset accuracy, they still struggle significantly with cross-dataset domain shifts, revealing that explicit task adaptation remains necessary.
What Problem Does This Paper Address?
Face Presentation Attack Detection (PAD)—distinguishing real faces from printed photos or video replays—is crucial for securing facial recognition systems. However, specialized models trained on a single dataset often fail when tested on another due to domain shifts caused by changes in lighting, camera sensors, or spoof materials.
Because labeled PAD data is scarce and expensive to collect, training large architectures from scratch is impractical. The authors investigate a fundamental question: Do general-purpose Vision Foundation Models (VFMs), pretrained on massive web-scale data, already encode robust, reusable PAD features that can be accessed with minimal task-specific training?
Methods
The authors use a strict linear-probing protocol to isolate and evaluate the quality of pretrained representations. They freeze the backbones of 24 different vision encoders—spanning self-supervised Vision Transformers (ViTs), vision-language models, and supervised CNNs—and train only a single, lightweight fully-connected layer on top to output a binary PAD score.
This setup ensures that any performance variation stems entirely from the model's pretraining strategy and architecture rather than task-specific fine-tuning tricks. They compare these frozen models against two fully fine-tuned specialist PAD baselines: DeepPixBiS (a compact CNN) and FSFM-FAS (a face-spoofing-specialized ViT).
Datasets
Evaluation is conducted on the standard MCIO benchmark, which consists of four widely used datasets:
- MSU-MFSD (Printed attacks and mobile/tablet replays)
- CASIA-FASD (Warped/cut photos and replays under varying illumination)
- Interact Replay-Attack (High-resolution print and replay spoofs)
- OULU-NPU (Six mobile phone sensors and multiple print/replay types)
The authors test both intra-dataset performance (training and testing on the same dataset) and single-source cross-dataset transfer (training on one dataset and testing on the other three) to evaluate robustness against domain shift.
Key Insights and Ideas
- The ID vs. CD Disconnect: Strong linear separability within a single dataset (intra-dataset, ID) does not imply cross-dataset (CD) robustness. Models can achieve near-perfect local accuracy but collapse under domain shift.
- Pretraining Objectives Rule: How a model is trained matters more than its size. Self-supervised distillation (like DINOv2/v3) and contrastive vision-language models (like CLIP) consistently outperform generative reconstruction models (like ViT-MAE). This suggests that contrastive and distillation objectives better preserve stable, localizable spatial structures crucial for spoof detection.
- Coarser Patches Can Generalize Better: Within the CLIP family, the coarser ViT-B/32 model outperformed its larger, finer-grained siblings (ViT-L/14 and ViT-H/14) on cross-corpus transfer. Coarser tokenization may act as a regularizer, preventing the model from overfitting to dataset-specific high-frequency artifacts.
Key Results
- InternViT-6B achieved the lowest average intra-dataset error with an Average Classification Error Rate (ACER) of just 1.6%, proving that massive scale can lead to excellent feature alignment within a known domain.
- CLIP ViT-B/32 emerged as the most practical choice for cross-dataset generalization, delivering the lowest mean cross-dataset error (31.6% ACER) despite having only ~90M parameters, outperforming models many times its size.
- Specialist baselines (like DeepPixBiS) remain highly competitive for intra-dataset deployment at a fraction of the compute cost but exhibit high variance and poor generalization across different datasets compared to frozen web-scale encoders.
Limitations and Future Work
The primary limitation is that linear probing only provides a lower bound on what these foundation models can achieve; it does not explore more advanced adaptation techniques like parameter-efficient fine-tuning (e.g., LoRA). Additionally, single-source training inherently limits data diversity, making domain shift harder to overcome.
The authors suggest that future work should explore intermediate-layer probing, multi-source training protocols (such as Leave-One-Out), and task-adaptive readouts that go beyond a single linear layer.
Summary updated