NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WaveTransform: Crafting Adversarial Examples via Input Decomposition

Divyam Anshumaan, Akshay Agarwal, Mayank Vatsa, Richa Singh

TL;DR

Researchers have developed WaveTransform, a new adversarial attack that fools AI by injecting noise into specific frequency bands (like texture or shape) using wavelet decomposition. Unlike standard pixel-level attacks, this method is highly transferable across different AI models and can even become more effective when the AI tries to defend itself with standard smoothing techniques.

What Problem Does This Paper Address?

Most adversarial attacks—methods used to trick Convolutional Neural Networks (CNNs) into misclassifying images—operate in the spatial domain. They tweak individual pixels just enough to confuse the math but not enough for a human to notice.

However, we know that CNNs "see" images through different lenses: some neurons look for sharp edges and textures (high-frequency information), while others look for overall shapes (low-frequency information). This paper asks: What happens if we attack these frequency components directly? By decomposing an image into its frequency subbands, can we create more robust, transferable, and "stealthy" attacks that exploit the fundamental way neural networks process visual data?

Methods

The authors introduce WaveTransform, which moves the battleground from pixels to the frequency domain using the Discrete Wavelet Transform (DWT).

  1. Decomposition: An image is broken down into four subbands: LL (low-frequency/approximate shape), and LH, HL, HH (high-frequency details like horizontal, vertical, and diagonal edges).
  2. Subband Perturbation: Instead of adding noise to the whole image, the algorithm uses gradient ascent to find the "perfect" noise to add to specific subbands (or all of them) to maximize the network's classification error.
  3. Reconstruction: The noisy subbands are put back together using an Inverse DWT (IDWT) to create the final adversarial image.
  4. Optimization: The process uses "random restarts" and iterative steps to ensure the noise remains imperceptible to humans (constrained by an $L_\infty$ norm) while being devastating to the AI.

Datasets

The researchers tested WaveTransform across a diverse range of data types to prove its versatility:

  • Object Recognition: ImageNet, Tiny-ImageNet, and CIFAR-10.
  • Face Identification: Multi-PIE (high-resolution face images).
  • Fashion Classification: Fashion-MNIST (grayscale apparel).

Key Insights and Ideas

  • The "Shape" Vulnerability: Attacking the LL subband (low-frequency) was incredibly effective. Since this band represents the core "shape" of an object, and many CNNs rely on these global features, perturbing them causes the network to lose its "grasp" on what the object is.
  • Haar is King: Among various wavelet filters (Haar, Daubechies, Bi-orthogonal), the Haar wavelet was the most effective at reducing model accuracy.
  • The Backfiring Defense: Perhaps the most surprising finding was that a recent "kernel defense" (which smooths neurons to remove noise) actually made the attack more successful in some cases. The smoothing further attenuated the original signal, helping the adversarial noise "drown out" the correct features.
  • Frequency Transferability: Because most CNNs learn similar edge and texture features, an attack that corrupts these specific frequencies on one model (e.g., ResNet) is very likely to fool a completely different model (e.g., DenseNet).

Key Results

  • Devastating Accuracy Drops: On CIFAR-10, a ResNet-50 model went from 94.38% accuracy on clean images to just 0.16% under a full WaveTransform attack.
  • Superior Fooling: On ImageNet, WaveTransform achieved a 99.95% fooling ratio, significantly outperforming previous wavelet-based steganography attacks (which hit ~84.77%).
  • High Transferability: Attacks generated on a ResNet-50 model and tested on an "unseen" DenseNet-121 reduced the latter's accuracy from 94.76% to 46.94%, proving that frequency-domain attacks are a serious threat in "black-box" scenarios.
  • Visual Fidelity: Despite the drop in AI performance, the adversarial images maintained an average Universal Image Quality Index (UIQI) of over 99, meaning they are virtually indistinguishable from the originals to the human eye.

Limitations and Future Work

While the paper demonstrates the power of frequency-domain attacks, a few areas remain for exploration:

  • Computational Overhead: Performing DWT and IDWT within an optimization loop is more computationally expensive than simple pixel additions.
  • Specific Defense Design: The authors note that current defenses are ill-equipped for this attack. Future work could involve designing "frequency-aware" defenses that specifically monitor subband integrity.
  • Video and 3D: The current work focuses on 2D images; extending this to video (temporal frequencies) or 3D point clouds is a logical next step.

Summary updated

BibTeX
@inproceedings{anshumaan2020wavetransform,
  author = {Divyam Anshumaan and Akshay Agarwal and Mayank Vatsa and Richa Singh},
  title = {{WaveTransform: Crafting Adversarial Examples via Input Decomposition}},
  booktitle = {Workshops @ ECCV},
  year = {2020},
  url = {https://openreview.net/forum?id=J9mOLdBFAO},
}
Figure