Query-Free Attacks on Industry-Grade Face Recognition Systems under Resource Constraints

Di Tang, XiaoFeng Wang, Kehuan ZhangarXiv 2018 · arXiv

Introduction

Adversarial attacks on Deep Neural Networks (DNNs) typically fall into two categories: "white-box" attacks, where the attacker has full model access, and "black-box" attacks, which often require thousands of queries to a target system to build a substitute model. However, industry-grade face recognition (FR) systems—such as those used in banking and law enforcement—are highly restricted. They are proprietary secrets, and excessive failed queries can trigger fraud alerts.

Furthermore, a significant "resource gap" exists between attackers and developers. While commercial systems are trained on hundreds of millions of images using massive compute clusters, individual attackers rarely possess such resources. This research introduces EXCIT (Asymmetric Cross-Class Image Transfer), a query-free attack that bridges this gap by exploiting a newly discovered property of high-quality FR models.

The EXCIT Framework and Nearly Local Linearity

The core of the EXCIT attack is the observation of Nearly Local Linearity (NLL). In well-trained, high-quality FR models, the distance between image embeddings changes linearly as one interpolates between two faces. While low-resource substitute models often lack this property naturally, the EXCIT method forces the substitute model to learn this behavior.

Visualization of Nearly Local Linearity (NLL) showing the relationship between cosine distance and L2 distance.

To achieve this, the researchers utilized Subject-Oriented Data Augmentation. Instead of building a perfect global substitute, the attacker focuses on "Points of Interest" (PoIs)—the specific faces of the attacker and the victim. By synthesizing transitional images through interpolation and fine-tuning the substitute model with specialized triplet and KL-divergence losses, the model is forced to mimic an "ideal" model's linear behavior specifically around the target identities.

Experimental Results

The attack was evaluated using the MegaFace Challenge 2 dataset (4.7 million photos) to simulate varying levels of attacker resources (L1 to L4 datasets). The effectiveness of EXCIT was tested against three public APIs (ColorReco, FaceVisa, and Face++) and a commercial SDK from SenseTime.

Success rates of dodging and impersonation attacks across different architectures and dataset scales.

Key findings include:

  • High Transferability: Against the SenseTime system (trained on 20M+ images), EXCIT achieved a 62% success rate in impersonation and 89% in dodging, despite using only 4 million images and 20% of the training time.
  • API Vulnerability: On public APIs, EXCIT increased impersonation success rates from approximately 20% (using standard methods) to between 69% and 85%.
  • Data Dominance: The research confirmed that for attack transferability, the volume of training data for the substitute model is more critical than the specific network architecture or depth.

Conclusion

EXCIT demonstrates that resource-constrained attackers can successfully compromise world-class FR systems without a single query. By leveraging the NLL property, attackers can create highly transferable adversarial examples. The study highlights that traditional defenses like "Defensive Distillation" are insufficient against such attacks. Future defensive research must focus on breaking the linearity that these attacks exploit, perhaps through the use of "secret" datasets or non-linear metric learning patterns.

Summary updated

Abstract

To launch black-box attacks against a Deep Neural Network (DNN) based Face Recognition (FR) system, one needs to build \textit{substitute} models to simulate the target model, so the adversarial examples discovered from substitute models could also mislead the target model. Such \textit{transferability} is achieved in recent studies through querying the target model to obtain data for training the substitute models. A real-world target, likes the FR system of law enforcement, however, is less accessible to the adversary. To attack such a system, a substitute model with similar quality as the target model is needed to identify their common defects. This is hard since the adversary often does not have the enough resources to train such a powerful model (hundreds of millions of images and rooms of GPUs are needed to train a commercial FR system). We found in our research, however, that a resource-constrained adversary could still effectively approximate the target model's capability to recognize \textit{specific} individuals, by training \textit{biased} substitute models on additional images of those victims whose identities the attacker want to cover or impersonate. This is made possible by a new property we discovered, called \textit{Nearly Local Linearity} (NLL), which models the observation that an ideal DNN model produces the image representations (embeddings) whose distances among themselves truthfully describe the human perception of the differences among the input images. By simulating this property around the victim's images, we significantly improve the transferability of black-box impersonation attacks by nearly 50\%. Particularly, we successfully attacked a commercial system trained over 20 million images, using 4 million images and 1/5 of the training time but achieving 62\% transferability in an impersonation attack and 89\% in a dodging attack.
BibTeX
@misc{tang2018query,
  author = {Di Tang and XiaoFeng Wang and Kehuan Zhang},
  title = {{Query-Free Attacks on Industry-Grade Face Recognition Systems under Resource Constraints}},
  year = {2018},
  eprint = {1802.09900},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.09900},
}
Figure