[Paper Review] Learning to Confuse: Generating Training Time Adversarial Data with Auto-Encoder
This paper proposes a novel framework that uses an autoencoder to generate imperceptible, bounded perturbations for training data, which are designed to degrade the generalization performance of any downstream classifier during inference. By training the autoencoder in tandem with a differentiable, imaginary victim classifier, the method generates adversarial noise that generalizes across diverse models, including non-neural networks, and achieves high transferability across architectures and datasets like CIFAR-10 and ImageNet.
In this work, we consider one challenging training time attack by modifying training data with bounded perturbation, hoping to manipulate the behavior (both targeted or non-targeted) of any corresponding trained classifier during test time when facing clean samples. To achieve this, we proposed to use an auto-encoder-like network to generate the pertubation on the training data paired with one differentiable system acting as the imaginary victim classifier. The perturbation generator will learn to update its weights by watching the training procedure of the imaginary classifier in order to produce the most harmful and imperceivable noise which in turn will lead the lowest generalization power for the victim classifier. This can be formulated into a non-linear equality constrained optimization problem. Unlike GANs, solving such problem is computationally challenging, we then proposed a simple yet effective procedure to decouple the alternating updates for the two networks for stability. The method proposed in this paper can be easily extended to the label specific setting where the attacker can manipulate the predictions of the victim classifiers according to some predefined rules rather than only making wrong predictions. Experiments on various datasets including CIFAR-10 and a reduced version of ImageNet confirmed the effectiveness of the proposed method and empirical results showed that, such bounded perturbation have good transferability regardless of which classifier the victim is actually using on image data.
Motivation & Objective
- To develop a method that generates bounded, imperceptible perturbations to training data to maximize the generalization gap of any trained classifier during test time.
- To enable the attacker to control the behavior of the victim classifier—either by causing misclassification or by targeting specific label predictions—through training-time data poisoning.
- To ensure the generated adversarial noise is transferable across diverse model architectures, including deep neural networks, random forests, and SVMs.
- To stabilize the training of the autoencoder and imaginary victim classifier through a decoupled optimization procedure inspired by reinforcement learning techniques.
- To extend the framework to label-specific attacks where the model is forced to misclassify inputs into a predefined target class.
Proposed method
- An autoencoder-like network is trained to generate small, bounded perturbations $ g_{\xi}(x) $ that are added to clean training samples $ x $, forming adversarial training data $ x + g_{\xi}(x) $.
- The autoencoder is trained in a joint optimization scheme with a differentiable, imaginary victim classifier $ f_{\theta} $, where the goal is to minimize the test accuracy of $ f_{\theta} $ on clean test data.
- The training process is formulated as a non-linear equality-constrained optimization problem, where the autoencoder learns to generate noise that maximally harms the victim’s generalization.
- To stabilize training, a decoupling mechanism is introduced—similar to target networks in reinforcement learning—where the victim classifier is pseudo-updated during autoencoder training to prevent divergence.
- The framework is extended to label-specific attacks by modifying the loss function to encourage misclassification into a specific target class, rather than just any incorrect prediction.
- The method is evaluated on MNIST, CIFAR-10, and a reduced ImageNet dataset, using various architectures including VGG, ResNet, and DenseNet, as well as non-DNN models like SVM and random forest.
Experimental results
Research questions
- RQ1Can bounded, imperceptible perturbations added to training data cause significant degradation in the generalization performance of any trained classifier, regardless of its architecture?
- RQ2How effective is the generated adversarial noise in transferring across different types of classifiers, including non-neural network models like SVM and random forest?
- RQ3Can the framework be extended to perform targeted label-specific attacks, where the classifier is forced to misclassify inputs into a specific, predefined class?
- RQ4Does the proposed decoupled training procedure stabilize the optimization of the autoencoder and imaginary victim classifier, avoiding instability common in GAN-like training?
- RQ5To what extent does the model overfit to the adversarial noise, and does this overfitting correlate with the linearity of deep neural networks?
Key findings
- The adversarial noise generated by the autoencoder reduces test accuracy to near-random levels (e.g., 0.25±0.04) on CIFAR-10 when using non-label-specific attacks, indicating strong generalization degradation.
- Even when tested on non-neural network classifiers, such as random forest and SVM, the model trained on adversarial data achieved test accuracy as low as 1.48±0.21, confirming high transferability.
- In label-specific settings, the attack success rate increased from 0.00 to 79.7±0.38, demonstrating the method’s effectiveness in targeted misclassification.
- The model trained on adversarial data exhibited a significant generalization gap, with training accuracy on the noisy data being much higher than test accuracy, indicating overfitting to the noise.
- When evaluated on the noise alone (i.e., $ f_{\theta}(g_{\xi}(x)) $), the classifier achieved 95.15% accuracy on MNIST, 93.00% on ImageNet, and 72.98% on CIFAR-10, confirming that the model overfits to the noise pattern.
- The method achieved consistent performance across diverse architectures (VGG, ResNet, DenseNet) on CIFAR-10 and ImageNet, with test accuracy dropping significantly compared to clean training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.