Skip to main content
QUICK REVIEW

[Paper Review] Multitask Learning Strengthens Adversarial Robustness

Chengzhi Mao, Amogh Gupta|arXiv (Cornell University)|Jul 14, 2020
Adversarial Robustness in Machine LearningComputer Science58 references12 citations
TL;DR

This paper proposes that multitask learning inherently enhances adversarial robustness in deep neural networks by increasing output dimensionality, which causes adversarial perturbations targeting individual tasks to cancel out. Experiments on Cityscapes and Taskonomy show that multitask models improve robustness by up to 7 points in mIoU under attacks, while maintaining or improving clean accuracy, and complement adversarial training.

ABSTRACT

Although deep networks achieve strong accuracy on a range of computer vision benchmarks, they remain vulnerable to adversarial attacks, where imperceptible input perturbations fool the network. We present both theoretical and empirical analyses that connect the adversarial robustness of a model to the number of tasks that it is trained on. Experiments on two datasets show that attack difficulty increases as the number of target tasks increase. Moreover, our results suggest that when models are trained on multiple tasks at once, they become more robust to adversarial attacks on individual tasks. While adversarial defense remains an open challenge, our results suggest that deep networks are vulnerable partly because they are trained on too few tasks.

Motivation & Objective

  • To investigate whether multitask learning improves adversarial robustness in deep neural networks.
  • To understand the theoretical mechanism by which multitask training enhances resistance to adversarial attacks.
  • To empirically evaluate the robustness gains of multitask models under single-task and multi-task attacks on real-world datasets.
  • To assess whether multitask learning complements existing defenses like adversarial training.
  • To demonstrate that current models are vulnerable partly due to training on too few tasks.

Proposed method

  • Theoretical analysis uses first-order vulnerability bounds to show that increasing output dimensionality (via multitask learning) improves robustness by causing adversarial perturbations to cancel across tasks.
  • Empirical evaluation uses two datasets—Cityscapes and Taskonomy—with up to 11 vision tasks, training 110 multitask models (11 main tasks × 10 auxiliary tasks).
  • Models are evaluated under PGD attacks with $L_∞ = 4$ and 50 steps, measuring both clean and adversarial performance.
  • Ablation studies compare single-task baselines with multitask models, measuring mIoU for segmentation and absolute error for depth estimation.
  • Adversarial training is combined with multitask learning to test complementary robustness gains.
  • Hyperparameter $\lambda_a$ is tuned per task (0.1 or 0.01) to balance main and auxiliary task losses.

Experimental results

Research questions

  • RQ1Does multitask learning improve adversarial robustness compared to single-task learning?
  • RQ2How does increasing the number of output dimensions through multitask learning affect the success rate of adversarial attacks?
  • RQ3Can multitask learning complement adversarial training to improve both clean and robust performance?
  • RQ4Is the robustness gain due to perturbation cancellation across multiple tasks?
  • RQ5Does multitask learning improve robustness even when only one task is under attack?

Key findings

  • When all 11 tasks are under attack, multitask learning increases segmentation mIoU robustness by up to 7 points and reduces error in other tasks by up to 60% compared to single-task baselines.
  • When only the main task is attacked, multitask learning improves segmentation mIoU by up to 6 points and reduces error in auxiliary tasks by up to 23%.
  • Multitask learning improves adversarial performance in 90 out of 110 cases on the Taskonomy dataset, with an average relative improvement of 10.23% under PGD attacks.
  • On Cityscapes, multitask learning improves adversarially trained models by 2.40 mIoU points in segmentation and 8.4 points in depth estimation under $L_\infty = 4$ attacks.
  • Multitask learning maintains or improves clean performance in 70 out of 110 cases, while significantly boosting robustness in 90 out of 110 cases.
  • The method is complementary to adversarial training, enhancing both clean and robust accuracy of state-of-the-art models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.