Skip to main navigation Skip to search Skip to main content

Attacking all tasks at once using adversarial examples in multi-task learning

  • Lijun Zhang
  • , Xiao Liu
  • , Kaleel Mahmood
  • , Caiwen Ding
  • , Hui Guan

Research output: Contribution to journalArticlepeer-review

Abstract

Visual content understanding frequently relies on multi-task models to extract robust representations of a single visual input for multiple downstream tasks. However, in comparison to extensively studied single-task models, the adversarial robustness of multi-task models has received significantly less attention and many questions remain unclear: (1) How robust are multi-task models to single task adversarial attacks, (2) Can adversarial attacks be designed to simultaneously attack all tasks in a multi-task model, and (3) How does parameter sharing across tasks affect multi-task model robustness to adversarial attacks? This paper aims to answer these questions through careful analysis and rigorous experimentation. First, we analyze the inherent drawbacks of two commonly-used adaptations of single-task white-box attacks in attacking multi-task models. We then propose a novel attack framework, Dynamic Gradient Balancing Attack (DGBA). Our framework poses the problem of attacking all tasks in a multi-task model as an optimization problem that can be efficiently solved through integer linear programming. Extensive evaluation on two popular MTL benchmarks, NYUv2 and Tiny-Taxonomy, demonstrates the effectiveness of DGBA compared to baselines in attacking both clean and adversarially trained multi-task models. Our results also reveal a fundamental trade-off between improving task accuracy via parameter sharing across tasks and undermining model robustness due to increased attack transferability from parameter sharing.

Original languageEnglish (US)
Article number131503
JournalNeurocomputing
Volume656
DOIs
StatePublished - Dec 1 2025

Bibliographical note

Publisher Copyright:
© 2025 Elsevier B.V.

Keywords

  • Adversarial attack
  • Computer vision
  • Multi-task learning (MTL)

Fingerprint

Dive into the research topics of 'Attacking all tasks at once using adversarial examples in multi-task learning'. Together they form a unique fingerprint.

Cite this