joint-face-spoofing-forgery-eval
Benchmarking Joint Face Spoofing and Forgery Detection with Visual and Physiological Cues — Yu et al. (2022) (arXiv:2208.05401, 2022)
What this evaluates
Evaluates models' ability to detect physical face spoofing attacks and digital face forgeries using visual appearance and physiological rPPG cues. It measures cross-domain generalization and compares separate versus joint multi-task learning protocols.
Datasets
- SiW — total ?; splits: train (-1), test (-1)
- 3DMAD — total ?; splits: train (-1), test (-1)
- HKBU-MarsV2 — total ?; splits: train (-1), test (-1)
- MSU-MFSD — total ?; splits: test (-1)
- 3DMask — total ?; splits: test (-1)
- ROSE-Youtu — total ?; splits: test (-1)
- FaceForensics++ — total ?; splits: train (-1), test (-1)
- DFDC — total ?; splits: test (-1)
- CelebDFv2 — total ?; splits: test (-1)
Metrics
AUC (primary) — range: percent
- Area Under the Receiver Operating Characteristic Curve. Measures the probability that a randomly chosen positive instance is ranked higher than a randomly chosen negative instance.
EER (primary) — range: percent
- Equal Error Rate, the operating point where False Acceptance Rate equals False Rejection Rate.
TPR@FPR=10% — range: percent
- True Positive Rate calculated at a fixed False Positive Rate of 10%.
TPR@FPR=1% — range: percent
- True Positive Rate calculated at a fixed False Positive Rate of 1%.
Input / output format
Input: Video sequences of faces (typically >5 seconds) containing either bonafide subjects or attack/forgery samples. Inputs may include raw RGB frames, extracted rPPG signals, MSTmaps, or WaveletMaps.
Output: Binary classification score/probability for bonafide vs. spoof/forgery, optionally with a task identifier (spoofing or forgery) for joint training.
Scoring recipe
def compute_metrics(predictions, labels):
fpr, tpr, _ = roc_curve(labels, predictions)
auc = auc(fpr, tpr)
eer = tpr[np.argmin(np.abs(fpr - tpr))]
tpr_10 = interp(0.10, fpr, tpr)
tpr_1 = interp(0.01, fpr, tpr)
return {'AUC': auc, 'EER': eer, 'TPR@FPR=10%': tpr_10, 'TPR@FPR=1%': tpr_1}
Common pitfalls
- Cross-domain evaluation strictly uses entirely unseen datasets for testing without any training data from those domains, making it a zero-shot domain-shift test rather than standard cross-validation.
- Joint training shares parameters across two distinct tasks (physical spoofing vs. digital forgery), which can lead to task interference if modality biases are not explicitly mitigated.
- rPPG extraction is highly sensitive to lighting conditions and head motion, often requiring specific preprocessing that varies across datasets and can skew physiological cue performance.
Evidence (verbatim from paper)
For all experiments, Area Under Curve (AUC) and Equal Error Rate (EER) are utilized for performance evaluation. Besides, the evaluations under intra- and cross-domain scenarios among multiple (merged) datasets are investigated by using the metric of single-side True Positive Rate (TPR)@False Positive Rate (FPR), which is more suitable for realistic spectacles.
Citation
@misc{yu2022benchmarking,
title={Benchmarking Joint Face Spoofing and Forgery Detection with Visual and Physiological Cues},
author={Yu et al. (2022)},
year={2022},
note={arXiv:2208.05401}
}
1---2name: joint-face-spoofing-forgery-eval3description: Evaluates models' ability to detect physical face spoofing attacks and digital face forgeries using visual appearance and physiological rPPG cues. It measures cross-domain generalization and compares separate versus joint multi-task learning protocols. Use when the user wants to benchmark on SiW, 3DMAD, HKBU-MarsV2, MSU-MFSD, 3DMask, ROSE-Youtu, FaceForensics++, DFDC, CelebDFv2, or asks about evaluating this task. Reports AUC, EER.4---56# joint-face-spoofing-forgery-eval78> Benchmarking Joint Face Spoofing and Forgery Detection with Visual and Physiological Cues — Yu et al. (2022) (arXiv:2208.05401, 2022)910## What this evaluates1112Evaluates models' ability to detect physical face spoofing attacks and digital face forgeries using visual appearance and physiological rPPG cues. It measures cross-domain generalization and compares separate versus joint multi-task learning protocols.1314## Datasets1516- **SiW** — total ?; splits: train (-1), test (-1)17- **3DMAD** — total ?; splits: train (-1), test (-1)18- **HKBU-MarsV2** — total ?; splits: train (-1), test (-1)19- **MSU-MFSD** — total ?; splits: test (-1)20- **3DMask** — total ?; splits: test (-1)21- **ROSE-Youtu** — total ?; splits: test (-1)22- **FaceForensics++** — total ?; splits: train (-1), test (-1)23- **DFDC** — total ?; splits: test (-1)24- **CelebDFv2** — total ?; splits: test (-1)2526## Metrics2728- `AUC` **(primary)** — range: percent29 - Area Under the Receiver Operating Characteristic Curve. Measures the probability that a randomly chosen positive instance is ranked higher than a randomly chosen negative instance.30- `EER` **(primary)** — range: percent31 - Equal Error Rate, the operating point where False Acceptance Rate equals False Rejection Rate.32- `TPR@FPR=10%` — range: percent33 - True Positive Rate calculated at a fixed False Positive Rate of 10%.34- `TPR@FPR=1%` — range: percent35 - True Positive Rate calculated at a fixed False Positive Rate of 1%.3637## Input / output format3839**Input**: Video sequences of faces (typically >5 seconds) containing either bonafide subjects or attack/forgery samples. Inputs may include raw RGB frames, extracted rPPG signals, MSTmaps, or WaveletMaps.4041**Output**: Binary classification score/probability for bonafide vs. spoof/forgery, optionally with a task identifier (spoofing or forgery) for joint training.4243## Scoring recipe4445```python46def compute_metrics(predictions, labels):47 fpr, tpr, _ = roc_curve(labels, predictions)48 auc = auc(fpr, tpr)49 eer = tpr[np.argmin(np.abs(fpr - tpr))]50 tpr_10 = interp(0.10, fpr, tpr)51 tpr_1 = interp(0.01, fpr, tpr)52 return {'AUC': auc, 'EER': eer, 'TPR@FPR=10%': tpr_10, 'TPR@FPR=1%': tpr_1}53```5455## Common pitfalls5657- Cross-domain evaluation strictly uses entirely unseen datasets for testing without any training data from those domains, making it a zero-shot domain-shift test rather than standard cross-validation.58- Joint training shares parameters across two distinct tasks (physical spoofing vs. digital forgery), which can lead to task interference if modality biases are not explicitly mitigated.59- rPPG extraction is highly sensitive to lighting conditions and head motion, often requiring specific preprocessing that varies across datasets and can skew physiological cue performance.6061## Evidence (verbatim from paper)6263> For all experiments, Area Under Curve (AUC) and Equal Error Rate (EER) are utilized for performance evaluation. Besides, the evaluations under intra- and cross-domain scenarios among multiple (merged) datasets are investigated by using the metric of single-side True Positive Rate (TPR)@False Positive Rate (FPR), which is more suitable for realistic spectacles.6465## Citation6667```bibtex68@misc{yu2022benchmarking,69 title={Benchmarking Joint Face Spoofing and Forgery Detection with Visual and Physiological Cues},70 author={Yu et al. (2022)},71 year={2022},72 note={arXiv:2208.05401}73}74```7576- arXiv: 2208.05401