Adversarial Attacks on Hidden Tasks in Multi-Task Learning

Yu Zhe, Rei Nagaike, Daiki Nishiyama, Kazuto Fukuchi, Jun SakumaarXiv 2024

Abstract

Deep learning models are susceptible to adversarial attacks, where slight perturbations to input data lead to misclassification. Adversarial attacks become increasingly effective with access to information about the targeted classifier. In the context of multi-task learning, where a single model learns multiple tasks simultaneously, attackers may aim to exploit vulnerabilities in specific tasks with limited information. This paper investigates the feasibility of attacking hidden tasks within multi-task classifiers, where model access regarding the hidden target task and labeled data for the hidden target task are not available, but model access regarding the non-target tasks is available. We propose a novel adversarial attack method that leverages knowledge from non-target tasks and the shared backbone network of the multi-task model to force the model to forget knowledge related to the target task. Experimental results on CelebA and DeepFashion datasets demonstrate the effectiveness of our method in degrading the accuracy of hidden tasks while preserving the performance of visible tasks, contributing to the understanding of adversarial vulnerabilities in multi-task classifiers.

Introduction

Multi-Task Learning (MTL) has become a cornerstone of efficient AI deployment. By utilizing a shared "backbone" network to extract features for multiple specialized "heads," MTL allows systems to perform diverse tasks—such as a self-driving car identifying both pedestrians and traffic signs—simultaneously. However, this shared architecture introduces significant privacy and security risks. A developer might include a "hidden task" to collect sensitive user attributes without disclosure.

Standard adversarial attacks typically require "white-box" (internal model access) or "black-box" (output access) information for the specific task being targeted. This research addresses the more challenging "no-box" scenario: how can an attacker degrade a hidden task for which they have no model access and no labeled data?

Methodology: The Catastrophic Forgetting Attack

The researchers propose the Catastrophic Forgetting (CF) Attack and its enhanced variant, the CF Delta Attack. The core idea is to weaponize a common flaw in neural networks: catastrophic forgetting.

The three-step process of the Catastrophic Forgetting (CF) attack.

The attack follows a three-step logic:

  1. Induce Forgetting: The attacker fine-tunes the shared backbone ($B$) only on visible, non-target tasks. This process causes the backbone to "forget" features essential for the hidden target task while maintaining or improving performance on visible ones, resulting in a new backbone ($B'$).
  2. Feature Matching: The attacker seeks a minimal perturbation ($\eta$) such that the original backbone's output for the perturbed image ($B(x + \eta)$) matches the forgetful backbone's output for the clean image ($B'(x)$).
  3. CF Delta and Stealth: The advanced "Delta" version pushes features further in the direction of forgetting. Crucially, a penalty term is added to the optimization to ensure the perturbation does not degrade visible tasks, ensuring the attack remains "stealthy" and undetected by system monitors.

Experimental Setup

The method was evaluated using two large-scale multi-attribute datasets:

  • CelebA: A face attributes dataset where attributes like "Smiling" were treated as hidden tasks.
  • DeepFashion: A clothing dataset involving tasks like category and neckline type.

The attacker was assumed to have access to only 10% of the data for visible tasks to perform the initial fine-tuning, simulating a realistic resource-constrained scenario.

Results and Discussion

The CF Delta attack significantly outperformed existing "no-box" baselines, such as the Neural Representation Distortion Method (NRDM) and Cross-task attacks.

Comparison of the proposed method against existing adversarial attack frameworks.

Key findings include:

  • Attack Efficacy: On CelebA, the attack reduced the accuracy of the "Smiling" task from ~92% to 30.59%.
  • Stealthiness: Despite the massive drop in target task accuracy, visible task accuracy remained at 99.82%, making the attack virtually invisible to primary system monitoring.
  • Robustness: The attack remained effective even when task heads were non-linear and more complex.

Conclusion

This work highlights a critical vulnerability in MTL systems: the shared backbone acts as a side-channel, allowing knowledge of visible tasks to influence hidden ones. While the attack currently assumes knowledge of the backbone architecture, it demonstrates that hidden tasks are not truly isolated. Future research must focus on developing defenses, such as specialized adversarial training, to shield hidden tasks from these indirect manipulations.

Summary updated

BibTeX
@misc{zhe2024adversarial,
  author = {Yu Zhe and Rei Nagaike and Daiki Nishiyama and Kazuto Fukuchi and Jun Sakuma},
  title = {{Adversarial Attacks on Hidden Tasks in Multi-Task Learning}},
  year = {2024},
  eprint = {2405.15244},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.15244},
}
Figure