With False Friends Like These, Who Can Have Self-Knowledge?

Lue Tao, Songcan Chen

Abstract

Adversarial examples arise from excessive sensitivity of a model. Commonly studied adversarial examples are malicious inputs, crafted by an adversary from correctly classified examples, to induce misclassification. This paper studies an intriguing, yet far overlooked consequence of the excessive sensitivity, that is, a misclassified example can be easily perturbed to help the model to produce correct output. Such perturbed examples look harmless, but actually can be maliciously utilized by a false friend to make the model self-satisfied. Thus we name them hypocritical examples. With false friends like these, a poorly performed model could behave like a state-of-the-art one. Once a deployer trusts the hypocritical performance and uses the "well-performed" model in real-world applications, potential security concerns appear even in benign environments. In this paper, we formalize the hypocritical risk for the first time and propose a defense method specialized for hypocritical examples by minimizing the tradeoff between natural risk and an upper bound of hypocritical risk. Moreover, our theoretical analysis reveals connections between adversarial risk and hypocritical risk. Extensive experiments verify the theoretical results and the effectiveness of our proposed methods.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10Naturally trained ResNet-18accuracy100%Image Classification · backbone=ResNet-18 · model=ResNet-18 · evaluation-data=hypocritically perturbed examples
Source quote
L15: One main reason is that the verification data may be biased towards the model, leading to a false sense of model effectiveness. For example, a naturally trained ResNet-18~\citep{he2016deep} on CIFAR-10~\citep{krizhevsky2009learning} can achieve 100% accuracy on the hypocritically perturbed examples (i.e., inputs that are perturbed to hypocritically rectify predictions), compared with only 94.4% accuracy on benign examples. Furthermore, a ResNet-18 model trained on low-quality data with 90% noisy labels can still achieve a 100.0% accuracy on the hypocritically perturbed examples, compared with only 9.8% accuracy on the clean data.
CIFAR-10Naturally trained ResNet-18accuracy94.4%Image Classification · backbone=ResNet-18 · model=ResNet-18 · evaluation-data=benign examples
Source quote
L15: One main reason is that the verification data may be biased towards the model, leading to a false sense of model effectiveness. For example, a naturally trained ResNet-18~\citep{he2016deep} on CIFAR-10~\citep{krizhevsky2009learning} can achieve 100% accuracy on the hypocritically perturbed examples (i.e., inputs that are perturbed to hypocritically rectify predictions), compared with only 94.4% accuracy on benign examples. Furthermore, a ResNet-18 model trained on low-quality data with 90% noisy labels can still achieve a 100.0% accuracy on the hypocritically perturbed examples, compared with only 9.8% accuracy on the clean data.
CIFAR-10ResNet-18 trained on data with 90% noisy labelsaccuracy100.0%Image Classification · backbone=ResNet-18 · model=ResNet-18 · label-noise=90% · evaluation-data=hypocritically perturbed examples
Source quote
L15: One main reason is that the verification data may be biased towards the model, leading to a false sense of model effectiveness. For example, a naturally trained ResNet-18~\citep{he2016deep} on CIFAR-10~\citep{krizhevsky2009learning} can achieve 100% accuracy on the hypocritically perturbed examples (i.e., inputs that are perturbed to hypocritically rectify predictions), compared with only 94.4% accuracy on benign examples. Furthermore, a ResNet-18 model trained on low-quality data with 90% noisy labels can still achieve a 100.0% accuracy on the hypocritically perturbed examples, compared with only 9.8% accuracy on the clean data.
CIFAR-10ResNet-18 trained on data with 90% noisy labelsaccuracy9.8%Image Classification · backbone=ResNet-18 · model=ResNet-18 · label-noise=90% · evaluation-data=clean data
Source quote
L15: One main reason is that the verification data may be biased towards the model, leading to a false sense of model effectiveness. For example, a naturally trained ResNet-18~\citep{he2016deep} on CIFAR-10~\citep{krizhevsky2009learning} can achieve 100% accuracy on the hypocritically perturbed examples (i.e., inputs that are perturbed to hypocritically rectify predictions), compared with only 94.4% accuracy on benign examples. Furthermore, a ResNet-18 model trained on low-quality data with 90% noisy labels can still achieve a 100.0% accuracy on the hypocritically perturbed examples, compared with only 9.8% accuracy on the clean data.
CIFAR-106-layer ℓ∞-dist net trained on Quality dataempirical hypocritical risk47.07%Image Classification · model=6-layer ℓ∞-dist net · attack=PGD-based · threat-model=ℓ∞ · training-data=Quality
Source quote
L809: Quality │ 56.66 │ 37.24 │ 32.79 │ 77.06 │ 83.86 │ 43.34 │ 47.07 │ 62.76
CIFAR-10TRADES (λ=80) trained on Quality dataempirical hypocritical risk40.99%Image Classification · model=TRADES · attack=PGD-based · lambda=80 · threat-model=ℓ∞ · training-data=Quality
Source quote
L788: For example, when training on the CIFAR-10 \textsl{Quality} data, the \ell-\infty-dist net has 43.34% natural risk and 47.07% empirical hypocritical risk; for comparison, TRADES with \lambda=80 achieves 33.47% natural risk and 40.99% empirical hypocritical risk.
BibTeX
@inproceedings{tao2022with,
  author = {Lue Tao and Songcan Chen},
  title = {{With False Friends Like These, Who Can Have Self-Knowledge?}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20822},
}
Figure