Unauthorized AI cannot Recognize Me: Reversible Adversarial Example

Jiayang Liu, Weiming Zhang, Kazuto Fukuchi, Youhei Akimoto, Jun Sakuma

TL;DR

Researchers have developed Reversible Adversarial Examples (RAEs), a new privacy-preserving technique that acts as a selective cloak for your data. RAEs fool unauthorized AI models into misidentifying images while allowing authorized AIs to perfectly recover the original, pristine data using encrypted keys hidden within the image itself.

What Problem Does This Paper Address?

In the era of ubiquitous social media, our personal data—especially faces—is constantly scraped and processed by AI. While we might enjoy features like automatic tagging on Facebook, we generally want to avoid unauthorized surveillance or health-attribute estimation by third-party models.

Existing privacy solutions often involve blurring or adding permanent "noise" (adversarial perturbations) to images. However, these are one-way streets: once an image is distorted to hide from a "bad" AI, it becomes useless for the "good" AI services we actually want to use. The authors address this lack of control, proposing a method where the user decides exactly which AI models are allowed to "see" the real image.

Methods

The RAE framework is a clever synthesis of three distinct fields:

  1. Adversarial Examples: The authors use standard attack methods like FGSM, BIM, and C&W to generate perturbations that cause AI classifiers to fail.
  2. Reversible Data Hiding (RDH): This is the "secret pocket" of the method. RDH allows one to embed data into an image such that the original pixels can be recovered bit-for-bit.
  3. Encryption: The adversarial perturbation itself is encrypted (using RSA or Attribute-Based Encryption) before being tucked away using RDH.

The Super-Pixel Innovation

A major technical hurdle is that RDH has limited capacity—typically around 1 bit per pixel (as shown in Figure 1). However, a standard adversarial perturbation is as large as the image itself. To make it fit, the authors introduced super-pixels. By smoothing the perturbation over small blocks (e.g., $2 \times 2$ or $3 \times 3$ tiles), they drastically reduce the amount of data that needs to be hidden without significantly compromising the "attack" effectiveness. They propose two ways to do this: Post-smoothing (applying the block-filter after generating the attack) and In-the-loop smoothing (incorporating the block-filter directly into the optimization process).

Figure 1: Capacity of RDH with different image sizes.

Datasets

The researchers evaluated their method using 100,000 images randomly selected from the ImageNet dataset. They tested the attacks against several high-profile models, primarily Inception-v3, but also evaluated transferability to Inception-v4, Inception Resnet-v2, and an adversarially trained version of Inception-v3.

Key Insights and Ideas

  • Encryption for Computer Vision: RAEs effectively turn adversarial attacks into a form of functional encryption. The "key" to decrypting the visual information is hidden inside the noise that confuses the AI.
  • The Smoothing Trade-off: There is a delicate balance between the size of the super-pixels and the quality of the result. Smaller super-pixels look better to humans and fool AI more effectively but require more storage space than RDH might provide. Figure 2 illustrates how visual artifacts increase as super-pixel size grows.
  • Transferability is a Feature: The authors rely on the fact that adversarial examples often "transfer"—an image designed to fool Model A will likely also fool Model B. This allows RAEs to work in "black-box" settings where the user doesn't know exactly which unauthorized AI might be looking at their photo.
Figure 2: Visual quality of reversible adversarial examples with different super-pixel sizes.

Key Results

The study demonstrates that RAEs are highly effective at both protecting privacy and maintaining utility:

  • Attack Success: In white-box settings, RAEs achieved success rates very close to standard, non-reversible attacks. For example, using the in-the-loop BIM method with a perturbation budget of $\epsilon=8$, the RAE achieved a 94.67% success rate compared to 97.83% for a standard attack (see Table 1).
  • Visual Fidelity: At lower perturbation budgets ($\epsilon \le 8$), the RAEs are nearly indistinguishable from the original images to the human eye. You can see the progression of visual noise in Figure 3, Figure 4, and Figure 5.
  • Perfect Recovery: For authorized users, the recovery process is mathematically lossless. The AI receives the exact original image, ensuring no drop in classification accuracy for "friendly" systems.
Table 1: The attack success rate (%) of adversarial exam- ples (AE) and reversible adversarial examples (RAE) on the ImageNet dataset in the white-box setting (Inception-v3).
Figure 3: Visual results of original images (top), adversar- ial examples generated by BIM with ϵ = 4/255 (mid- dle) and reversible adversarial examples generated by in-the- loop smoothing method for BIM with ϵ = 4/255 (bottom).
Figure 4: Visual results of original images (top), adversar- ial examples generated by BIM with ϵ = 8/255 (mid- dle) and reversible adversarial examples generated by in-the- loop smoothing method for BIM with ϵ = 8/255 (bottom).
Figure 5: Visual results of original images (top), adversar- ial examples generated by BIM with ϵ = 16/255 (mid- dle) and reversible adversarial examples generated by in-the- loop smoothing method for BIM with ϵ = 16/255 (bottom).

Limitations and Future Work

While promising, the authors note that the attack success rate drops significantly in black-box settings (e.g., falling to ~35% for some models in Table 2). This suggests that while the "cloak" is strong against the intended target, it is less reliable against unknown, diverse AI models.

Furthermore, the authors acknowledge a "dual-use" risk: while RAEs protect user privacy, malicious actors could use the same technology to launch reversible attacks against safety-critical AI systems. Future work will focus on increasing transferability in black-box scenarios and exploring more efficient encryption schemes to reduce the data-hiding burden.

Summary updated

BibTeX
@article{liu2018unauthorized,
  author = {Jiayang Liu and Weiming Zhang and Kazuto Fukuchi and Youhei Akimoto and Jun Sakuma},
  title = {{Unauthorized AI cannot Recognize Me: Reversible Adversarial Example}},
  journal = {Pattern Recognition},
  year = {2018},
}
Figure