Introduction
In computer vision, multi-task learning (MTL) is increasingly essential for complex applications like autonomous driving, where a single model must simultaneously perform semantic segmentation, depth estimation, and object detection. Previous research suggested that MTL might offer a "free lunch" by improving both clean performance and adversarial robustness. However, this paper challenges these assumptions, revealing that MTL often provides a "false sense of robustness" that can be easily bypassed by adaptive attacks.
Methodology
The authors investigate MTL robustness through three primary lenses:
- Theoretical Refinement: They introduce marginal adversarial vulnerability to measure how specific tasks influence the overall system's security.
- Weighted Gradient Descent (WGD): A new adaptive attack designed to overcome "gradient masking" by adjusting perturbations based on task weights.
- Efficiency Proxies: To manage the computational cost of evaluating 935 model combinations, the researchers tested early stopping, smaller surrogate encoders (e.g., ResNet18), and clean performance as predictors of final robustness.
The study utilizes the Taskonomy dataset, focusing on 11 diverse tasks including semantic segmentation (s), depth estimation (d, D), surface normal prediction (n), and edge detection (e, E).
Analysis of MTL Robustness
A key finding is the "Segmentation Sink": certain tasks, particularly semantic segmentation, are inherently more vulnerable. Adding such tasks can significantly increase the entire model's vulnerability. Furthermore, while MTL may appear robust under $l_2$ norm attacks, it often fails under the more standard $l_\infty$ norm.
As shown in the figure above, the relationship between the number of tasks and vulnerability is not monotonic. For many combinations, adding a specific task leads to a dramatic increase in adversarial vulnerability, debunking the "more tasks = more robust" myth. The total vulnerability of an MTL model is often dominated by its most vulnerable component.
Experimental Results
The researchers addressed four key research questions:
- RQ1 (Reliability): Under $l_\infty$ settings, 80% of MTL models using ResNet50/152 were more vulnerable than single-task counterparts.
- RQ2 (Marginal Vulnerability): Total vulnerability is dominated by the most vulnerable task in the set. If you add a "weak" task, the whole model becomes weak.
- RQ3 (Adaptive Attacks): Robustness gains from task weighting vanished against the WGD attack, with error rates on some tasks jumping nearly 5x compared to standard PGD.
- RQ4 (Selection): The authors found that practitioners can efficiently select robust models using proxies.
The table above highlights the effectiveness of these proxies. Notably, using a ResNet18 surrogate to predict ResNet50 robustness yielded a Pearson correlation of 0.94, while clean performance showed an even higher correlation of 0.98. This suggests that the best way to find a robust task combination without running expensive attacks is simply to look at which combination yields the best clean performance.
Conclusion
This research demonstrates that adversarial robustness in MTL is often an illusion caused by weak attacks or specific metrics. The "free lunch" of automatic robustness does not exist; instead, robustness depends on careful task selection. Future work should focus on identifying "robustness-inducing" tasks and exploring these phenomena in other domains like NLP or different MTL architectures.
Summary updated