RevINN: An End-to-End Invertible Neural Network for Reversible Adversarial Examples Generation

Jielun Huang, Chi-Man Pun, Guoheng HuangCVPR 2026

TL;DR

RevINN introduces a novel one-stage, end-to-end framework for generating Reversible Adversarial Examples (RAEs) using Invertible Neural Networks. By directly scrambling an image's intrinsic frequency components, it achieves a superior trade-off between high attack success rates and exceptional visual quality, while allowing authorized users to seamlessly restore the original image.

What Problem Does This Paper Address?

Adversarial examples—images subtly altered to trick deep neural networks (DNNs) while appearing unchanged to humans—are highly effective for protecting image privacy and intellectual property. Reversible Adversarial Examples (RAEs) take this a step further: they mislead unauthorized AI models but allow authorized users to remove the perturbations and recover the pristine original image.

However, existing RAE methods rely on a clunky, two-stage process. First, they generate a standard adversarial example; second, they use data-hiding techniques or separate neural networks to embed the perturbation data back into the image. This decoupled approach introduces unwanted noise, creating a painful trade-off: the embedding step inevitably degrades either the image's visual quality or its ability to successfully fool target networks.

Figure 1. Performance comparison between existing two-stage methods and the proposed one-stage RevINN. The x-axis denotes image visual quality measured by PSNR (dB), and the y-axis shows the attack success rate (ASR, %). Each dashed line links a method’s original adversarial examples (AE) and reversible ad- versarial examples (RAE) performance. While existing methods suffer quality degradation in their RAEs, our RevINN achieves a superior trade-off between visual fidelity and attack effectiveness, as indicated by the red star marker.

Methods

To bypass the two-stage bottleneck, the authors propose RevINN (Invertible Neural Network for Reversible Adversarial Examples Generation). Instead of hiding external perturbation data, RevINN leverages the bijective (two-way) mapping property of INNs to generate RAEs in a single forward pass.

The architecture operates entirely within the frequency domain using the following pipeline:

  1. Wavelet Decomposition: The input image is split into one low-frequency component ($x_{LL}$) and three high-frequency components ($x_{HC}$) using the Discrete Wavelet Transform (DWT).
  2. Cross-Frequency Modulation Attack (CFMA): This module establishes a bidirectional relationship between the frequency bands. High-frequency components are scaled and shifted based on low-frequency features, while the low-frequency component receives a subtle additive offset to inject adversarial traits without ruining visual fidelity.
  3. High-Frequency Perturbation Enhancement (HFPE): Because high-frequency bands contain critical semantic details, the authors introduce a unique tri-branch coupling structure. This allows fine-grained information interaction across the three high-frequency subbands ($x_{LH}, x_{HL}, x_{HH}$), amplifying the attack's effectiveness.

Finally, the Inverse DWT (IWT) reconstructs the modulated components back into the final RAE. To recover the original image, authorized users simply run the RAE backward through the exact same network parameters.

Figure 2. The overall architecture of the proposed RevINN. Note that it only depicts the forward attack process of RevINN.

Datasets

The framework was evaluated using ImageNet-1K, utilizing 1,000 randomly selected images resized to $224 \times 224$ pixels.

Key Insights and Ideas

  • Self-Contained Perturbations: Rather than relying on external surrogate models to optimize noise, RevINN derives adversarial features directly from the image's own frequency bands.
  • The Power of the Tri-Branch Structure: Standard INN coupling layers typically use a two-branch system. By expanding this to a tri-branch structure in the HFPE module, the network achieves much finer control over high-frequency subbands, allowing for stronger semantic obfuscation.
  • Frequency-Domain Masking: By focusing the information exchange primarily within high-frequency components (enforced by a specialized low-frequency wavelet loss), the network alters the features that DNNs rely on for classification while keeping the changes virtually imperceptible to human eyes.

Key Results

  • Superior Visual Quality: RevINN achieved an average Peak Signal-to-Noise Ratio (PSNR) of 46.39 dB, outperforming existing state-of-the-art methods by more than 6 dB.
  • High Attack Success Rate (ASR): In untargeted attacks, RevINN achieved up to a 98.3% ASR on DenseNet121. In the much more challenging targeted attack setting, it maintained a 90.2% ASR on DenseNet121—at least 10% higher than competing two-stage methods.
  • Robustness: The generated RAEs demonstrated excellent resilience against common image processing defenses, including cropping, flipping, JPEG compression, and bit-depth reduction.
  • Near-Lossless Recovery: Reversing the network yielded restored images with a Structural Similarity Index (SSIM) close to 1.0, indicating near-perfect reconstruction.

Limitations and Future Work

Although INNs are theoretically perfectly reversible, practical implementations face minor numerical precision errors and network capacity limits. As a result, the image restoration is near-lossless rather than perfectly identical bit-for-bit.

Additionally, the current optimization relies heavily on white-box settings where target model information is accessible during training. The authors note that extending RevINN's capabilities to black-box settings and improving its transferability across completely unseen models are key directions for future research.

Summary updated

BibTeX
@inproceedings{huang2026revinn,
  author = {Jielun Huang and Chi-Man Pun and Guoheng Huang},
  title = {{RevINN: An End-to-End Invertible Neural Network for Reversible Adversarial Examples Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=I9HiCUuWFS},
}
Figure