SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2007.04118 · 2020

RobFR: Benchmarking Adversarial Robustness on Face Recognition

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 23 functions out of this paper's own repositories and ran 16 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ShawnXYang/Face-Robustness-Benchmark canonical 6 of 12
thu-ml/realsafe pwc_unofficial 10 of 11
FunctionStatusWhere it lives
build_loss_scaler Ran thu-ml/realsafe/ares/utils/loss.py
code served (permissive licence) · get_code("6b37094c7d0968d0")
conv1x1 Ran thu-ml/realsafe/ares/model/resnet.py
code served (permissive licence) · get_code("d9def42110729a85")
conv3x3 Ran thu-ml/realsafe/ares/model/resnet.py
code served (permissive licence) · get_code("160bb14bd76201b4")
conv3x3 Ran thu-ml/realsafe/ares/model/resnet_denoise.py
code served (permissive licence) · get_code("c4b3a9d234aede9e")
filter_state_dict Ran thu-ml/realsafe/ares/model/cifar10_cls.py
code served (permissive licence) · get_code("68e05d78529d3a4b")
get_dataset_celeb Ran ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_image.py
code served (permissive licence) · get_code("924034eebb04536f")
get_dataset_webface Ran ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_image.py
code served (permissive licence) · get_code("baa6487e16d2b4a8")
get_url Ran thu-ml/realsafe/ares/model/cifar_model_zoo.py
code served (permissive licence) · get_code("152d421c48b6bfa2")
get_url Ran thu-ml/realsafe/ares/model/imagenet_model_zoo.py
code served (permissive licence) · get_code("bb60872260d982f8")
getlist_landmark Ran ShawnXYang/Face-Robustness-Benchmark/RobFR/attack/face_landmark.py
code served (permissive licence) · get_code("e7be7c2ad97b40fe")
layer Ran ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/detect_face.py
code served (permissive licence) · get_code("fab32b621c712604")
load_property Ran ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_image.py
code served (permissive licence) · get_code("a0e97123727a9fb0")
loss_adv Ran thu-ml/realsafe/ares/utils/loss.py
code served (permissive licence) · get_code("3ce41c03fb062474")
margin_loss Ran thu-ml/realsafe/ares/utils/loss.py
code served (permissive licence) · get_code("b460ad8e4633515e")
preprocess Ran ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_preprocess.py
code served (permissive licence) · get_code("1586a591b369e039")
tf_pad Ran thu-ml/realsafe/ares/model/resnet_denoise.py
code served (permissive licence) · get_code("6cbaa7427c406784")
create_mtcnn Not yet run ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/detect_face.py
code served (permissive licence) · get_code("edfa6042244eb012")
detect_face Not yet run ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/detect_face.py
code served (permissive licence) · get_code("96bf1c60f74fc61d")
draw_gaussian Not yet run ShawnXYang/Face-Robustness-Benchmark/RobFR/attack/face_landmark.py
code served (permissive licence) · get_code("37f16a7ffcbc8b0d")
get_sample_landmark Not yet run ShawnXYang/Face-Robustness-Benchmark/RobFR/attack/face_landmark.py
code served (permissive licence) · get_code("f894d169c2478af7")
parse_lst_line Not yet run ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_preprocess.py
code served (permissive licence) · get_code("82b10a215c8cd30f")
read_image Not yet run ShawnXYang/Face-Robustness-Benchmark/preprocess/align_methods/face_preprocess.py
code served (permissive licence) · get_code("79625c2830b046be")
resnet18 Not yet run thu-ml/realsafe/ares/model/resnet.py
code served (permissive licence) · get_code("42e5e0701ba43b01")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Face recognition (FR) has recently made substantial progress and achieved high accuracy on standard benchmarks. However, it has raised security concerns in enormous FR applications because deep CNNs are unusually vulnerable to adversarial examples, and it is still lack of a comprehensive robustness evaluation before a FR model is deployed in safety-critical scenarios. To facilitate a better understanding of the adversarial vulnerability on FR, we develop an adversarial robustness evaluation library on FR named \textbf{RobFR}, which serves as a reference for evaluating the robustness of downstream tasks. Specifically, RobFR involves 15 popular naturally trained FR models, 9 models with representative defense mechanisms and 2 commercial FR API services, to perform the robustness evaluation by using various adversarial attacks as an important surrogate. The evaluations are conducted under diverse adversarial settings in terms of dodging and impersonation, $\ell_2$ and $\ell_\infty$, as well as white-box and black-box attacks. We further propose a landmark-guided cutout (LGC) attack method to improve the transferability of adversarial examples for black-box attacks by considering the special characteristics of FR. Based on large-scale evaluations, the commercial FR API services fail to exhibit acceptable performance on robustness evaluation, and we also draw several important conclusions for understanding the adversarial robustness of FR models and providing insights for the design of robust FR models. RobFR is open-source and maintains all extendable modules, i.e., \emph{Datasets}, \emph{FR Models}, \emph{Attacks\&Defenses}, and \emph{Evaluations} at \url{https://github.com/ShawnXYang/Face-Robustness-Benchmark}, which will be continuously updated to promote future research on robust FR.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2007.04118")
get_code_for_paper("2007.04118")
have("2007.04118")

Connect an agent — have() is free.