Generating Adversarial Examples with Task Oriented Multi-Objective Optimization

Anh Tuan Bui, Trung Le, He Zhao, Quan Hung Tran, Paul Montague, Dinh Phung

Abstract

Adversarial attacks are essential for evaluating and improving the robustness of neural networks. When attacking ensembles of models or generating universal perturbations, the process becomes a Multi-Objective Optimization (MOO) problem. However, standard MOO techniques often fail to account for task completion, wasting optimization effort on models that are already successfully fooled. This paper introduces Task-Oriented Multi-Objective Optimization (TA-MOO), a framework that utilizes a geometry-based regularization term to redirect gradients toward failing tasks. By prioritizing "unachieved" goals, TA-MOO produces more potent and transferable adversarial examples. Experiments on CIFAR-10 and CIFAR-100 show that TA-MOO significantly outperforms traditional MOO and uniform weighting methods in both ensemble and universal attack scenarios.

Introduction

Adversarial examples—carefully crafted perturbations that induce misclassification—serve as a primary diagnostic tool for machine learning security. In practical settings, attackers often seek to fool multiple models simultaneously (ensemble attacks) or find a single perturbation effective across multiple images (universal attacks). These scenarios are inherently multi-objective.

A critical challenge in multi-objective adversarial optimization is the "dominating task" problem. Standard MOO algorithms, such as the Multiple Gradient Descent Algorithm (MGDA), treat all objectives equally throughout the optimization process. If one model in an ensemble is significantly easier to fool than others, the optimizer may continue to prioritize increasing the loss for that already-fooled model, effectively trapping the optimization in a sub-optimal region and leaving harder models untouched.

Task-Oriented Multi-Objective Optimization (TA-MOO)

To address the inefficiencies of naive MOO, the authors propose TA-MOO. This framework introduces a "goal-achievement" signal that monitors whether a specific objective (e.g., fooling a specific model) has been met.

The Core Mechanism

TA-MOO modifies the standard MOO sub-problem by adding a geometry-based regularization term, $\Omega(w)$. While standard MOO seeks a weight vector $w$ on a simplex to find a common descent direction, TA-MOO uses regularization to shift these weights based on task success.

Specifically, the regularization term represents the distance between the current weight vector and a "reduced simplex" consisting only of weights for currently unsuccessful tasks. The authors provide a closed-form solution (Theorem 1) demonstrating that minimizing this term encourages the weights of "goal-achieved" tasks to drop toward zero. Conversely, it forces the weights of "goal-unachieved" tasks to sum toward one, ensuring the gradient budget is spent where it is needed most.

The TA-MOO Algorithm

During each iteration of the adversarial perturbation generation, the algorithm performs the following steps:

  1. Identify Success: Determine which tasks are currently "achieved" (e.g., which models in the ensemble are currently misclassifying the input).
  2. Weight Optimization: Solve the regularized sub-problem to find the optimal weights $w$, heavily penalizing weights associated with achieved tasks.
  3. Perturbation Update: Update the adversarial example using a weighted combination of task gradients, focusing the update on the remaining failures.

Experimental Setup

The effectiveness of TA-MOO was evaluated on the CIFAR-10 and CIFAR-100 datasets. The researchers targeted ensembles of six diverse architectures: ResNet18, VGG16, GoogLeNet, EfficientNet, MobileNet, and WideResNet. To ensure a rigorous benchmark, the victims were adversarially trained (robust) versions of these models.

Results and Discussion

TA-MOO consistently demonstrated superior performance across various adversarial tasks compared to baselines like Uniform weighting and MinMax optimization.

Ensemble and Universal Attacks

In Ensemble Attacks (ENS) on CIFAR-10 using Cross-Entropy loss, TA-MOO achieved an "A-All" rate (the percentage of samples that fooled every model in the ensemble) of 38.01%. This significantly outperformed the Uniform baseline (28.21%) and standard MOO (25.16%).

In Universal Perturbation (UNI) tasks, where one perturbation must fool a batch of 20 images, TA-MOO improved success rates by 4-6% over the Uniform baseline. By forcing the attack to succeed on every member of a set, TA-MOO effectively identifies the intersection of vulnerable regions across different architectures and inputs, leading to higher transferability to black-box models.

Improving Adversarial Training

The utility of TA-MOO extends beyond generating attacks; it also improves defense. Models trained using adversarial examples generated by TA-MOO showed an improvement in robust accuracy of up to 5.44% compared to standard PGD-based training. This suggests that TA-MOO generates "higher quality" or more difficult training data that better explores the boundaries of model robustness.

Conclusion

TA-MOO addresses a fundamental flaw in applying multi-objective optimization to adversarial machine learning. By incorporating a simple but effective binary signal of task success, the framework prevents easier tasks from dominating the optimization process. While future work is needed to establish formal convergence theories and improve solver sensitivity in extreme cases, TA-MOO represents a significant step forward in generating robust, multi-target adversarial perturbations.

Summary updated

BibTeX
@inproceedings{bui2023generating,
  author = {Anh Tuan Bui and Trung Le and He Zhao and Quan Hung Tran and Paul Montague and Dinh Phung},
  title = {{Generating Adversarial Examples with Task Oriented Multi-Objective Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=UFKW7EVrJAm},
}
Figure