[Paper Review] Defending against Adversarial Attack towards Deep Neural Networks via Collaborative Multi-task Training
This paper proposes a collaborative multi-task training defense for deep neural networks that combines adversarial training with label pair encoding to resist black-box and grey-box adversarial attacks. It achieves 96.3% accuracy on black-box adversarial examples and detects 98.7% of high-confidence adversarial inputs, with only a 2.1% drop in benign accuracy on CIFAR-10.
Deep neural networks (DNNs) are known to be vulnerable to adversarial examples which contain human-imperceptible perturbations. A series of defending methods, either proactive defence or reactive defence, have been proposed in the recent years. However, most of the methods can only handle specific attacks. For example, proactive defending methods are invalid against grey-box or white-box attacks, while reactive defending methods are challenged by low-distortion adversarial examples or transferring adversarial examples. This becomes a critical problem since a defender usually does not have the type of the attack as a priori knowledge. Moreover, existing two-pronged defences (e.g., MagNet), which take advantages of both proactive and reactive methods, have been reported as broken under transferring attacks. To address this problem, this paper proposed a novel defensive framework based on collaborative multi-task training, aiming at providing defence for different types of attacks. The proposed defence first encodes training labels into label pairs and counters black-box attacks leveraging adversarial training supervised by the encoded label pairs. The defence further constructs a detector to identify and reject high-confidence adversarial examples that bypass the black-box defence. In addition, the proposed collaborative architecture can prevent adversaries from finding valid adversarial examples when the defence strategy is exposed. In the experiments, we evaluated our defence against four state-of-the-art attacks on $MNIST$ and $CIFAR10$ datasets. The results showed that our defending method achieved up to $96.3\%$ classification accuracy on black-box adversarial examples, and detected up to $98.7\%$ of the high confidence adversarial examples. It only decreased the model accuracy on benign example classification by $2.1\%$ for the $CIFAR10$ dataset.
Motivation & Objective
- Address the lack of generalizable defenses that work across multiple attack types, especially when the attack type is unknown a priori.
- Overcome limitations of existing proactive and reactive defenses that fail under transferring attacks or high-confidence adversarial examples.
- Develop a defense that remains effective even when the attacker has partial knowledge (grey-box) of the model or defense strategy.
- Maintain high accuracy on clean (benign) examples while significantly improving robustness against adversarial perturbations.
- Create a defense that is resilient to model inversion and adversarial example crafting even when the defense mechanism is exposed.
Proposed method
- Encode class labels into label pairs to enhance robustness during adversarial training, improving resistance to black-box attacks.
- Use collaborative multi-task training to jointly optimize the main classification head and an adversarial example detector.
- Train the detector to identify and reject high-confidence adversarial examples that bypass the primary defense.
- Leverage label pair encoding to regularize the model’s decision boundary, reducing sensitivity to small input perturbations.
- Integrate gradient-based adversarial training with the label pair encoding to improve generalization under transferable attacks.
- Design the defense to be robust against gradient-based attacks even in grey-box settings by masking gradient information through architectural design.
Experimental results
Research questions
- RQ1Can a defense mechanism be designed to effectively resist both black-box and grey-box adversarial attacks without prior knowledge of the attack type?
- RQ2How effective is label pair encoding in improving model robustness against low-confidence adversarial examples in black-box settings?
- RQ3To what extent can a multi-task detector detect high-confidence adversarial examples that evade the primary classifier?
- RQ4Does exposing the defense strategy to an attacker compromise its effectiveness, and can the defense remain robust under such conditions?
- RQ5How does the defense perform in terms of benign accuracy and scalability on standard benchmarks like MNIST and CIFAR-10?
Key findings
- The proposed defense achieved 96.3% classification accuracy on black-box adversarial examples, significantly outperforming many existing defenses.
- The adversarial example detector successfully identified 98.7% of high-confidence adversarial examples, demonstrating strong detection capability.
- The model maintained a minimal 2.1% drop in accuracy on benign examples for the CIFAR-10 dataset, indicating strong practical feasibility.
- The defense remained effective against transferring attacks and was resilient to grey-box attacks due to gradient masking and label pair regularization.
- The method outperformed existing two-pronged defenses like MagNet, which have been previously broken under substitute attacks.
- The defense’s performance was sensitive to the quality of the Classmap, which depends on the robustness and diversity of the non-targeted adversarial examples used in 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.