Abstract
Deep learning models are highly vulnerable to adversarial attacks, yet most existing methods target isolated tasks. This paper introduces Multi-Task Adversarial Attack (MTA), a unified generative framework designed to craft adversarial examples for multiple tasks simultaneously. By employing a shared neural network encoder, MTA leverages cross-task knowledge to generate high-quality perturbations while significantly reducing computational overhead and storage requirements.
Introduction
Adversarial attacks typically involve adding imperceptible noise to inputs to deceive AI models. While research has traditionally focused on single-task settings, modern computer vision systems—such as those in autonomous vehicles—frequently employ multi-task learning (MTL) to perform object detection, depth estimation, and semantic segmentation in parallel.
Attacking these systems using conventional methods is inefficient, requiring either per-frame optimization or separate generators for every task. MTA addresses this gap by exploiting the underlying relatedness between tasks to build a single, efficient generator that identifies shared vulnerabilities.
Methodology
The MTA framework shifts from instance-by-instance optimization to a generative approach. The core architecture is a multi-head neural network based on ResNet, designed to process inputs and output task-specific perturbations efficiently.
Architecture Components
- Shared Encoder: Utilizes downsampling layers and residual blocks to extract shared features from the input, capturing generalized vulnerabilities across tasks.
- Task-Specific Decoders: Employs upsampling layers to transform shared representations into specific adversarial perturbations for each individual task.
MTA supports four primary attack configurations:
- Universal vs. Per-instance: Universal attacks apply a single noise mask to all images (generated from random noise), while per-instance attacks generate custom noise for specific inputs (generated from the image itself).
- Targeted vs. Non-targeted: The loss function can be adjusted to either cause general misclassification or force a specific target output.
Experimental Evaluation
The authors evaluated MTA on two distinct benchmarks to demonstrate its flexibility:
- Office-31: Tests tasks with different input domains (Amazon, Webcam, DSLR) but a shared label space.
- NYUv2: Tests dense prediction tasks (semantic segmentation, depth estimation, and surface normal estimation) using the same input but different output spaces.
Key Results
MTA was compared against the Generative Adversarial Perturbations (GAP) baseline, showing significant improvements in both efficacy and efficiency:
- Potency: MTA consistently outperformed GAP, particularly at stricter perturbation thresholds ($\epsilon=5$). On NYUv2, per-instance attacks reduced semantic segmentation accuracy from 53.50% to 6.27% and nearly tripled depth estimation error.
- Efficiency: By sharing the encoder, MTA reduced parameter counts significantly (e.g., 0.62M vs. 1.64M for universal attacks on NYUv2).
- Speed: Inference time for generating three task-specific perturbations was reduced from 384ms (GAP) to 137ms (MTA).
- Transferability: Attacks generated against one architecture (DMTL) successfully transferred to another (MTAN), indicating that MTA identifies fundamental task vulnerabilities rather than model-specific artifacts.
Conclusion
MTA demonstrates that shared knowledge in multi-task systems can be exploited to create more potent and efficient adversarial attacks. The framework's ability to reduce storage and inference time makes real-time attacks on complex systems feasible. Future work will explore adaptive task weighting in the loss function and the development of robust defensive architectures to counter such multi-task threats.
Summary updated