Examining Common Paradigms in Multi-Task Learning
Cathrin Elich, Lukas Kirchdorfer, Jan M. Köhler, Lukas Schott
TL;DR
This paper investigates why multi-task learning (MTL) methods often underperform compared with single-task learning (STL) by examining two key paradigms: optimizer choice and gradient interactions. It demonstrates that the Adam optimizer frequently provides a stronger baseline in MTL and derives theoretical invariances linking loss scaling to optimization dynamics, connecting UW and Adam to how losses are weighted and updated. The study further shows that gradient magnitude differences across tasks and samples largely drive conflicts, challenging the focus on gradient alignment as the sole culprit in MTL failing to beat STL. Across standard CV datasets (Cityscapes, NYUv2, CelebA), Adam-based configurations dominate the Pareto front more often than SGD-based ones, prompting a reconsideration of MTO method claims and highlighting the value of cross-pollination between STL and MTL techniques. Overall, the findings advocate optimizer-aware, cross-paradigm approaches and deeper exploration of capacity allocation to improve multi-task performance.
Abstract
While multi-task learning (MTL) has gained significant attention in recent years, its underlying mechanisms remain poorly understood. Recent methods did not yield consistent performance improvements over single task learning (STL) baselines, underscoring the importance of gaining more profound insights about challenges specific to MTL. In our study, we investigate paradigms in MTL in the context of STL: First, the impact of the choice of optimizer has only been mildly investigated in MTL. We show the pivotal role of common STL tools such as the Adam optimizer in MTL empirically in various experiments. To further investigate Adam's effectiveness, we theoretical derive a partial loss-scale invariance under mild assumptions. Second, the notion of gradient conflicts has often been phrased as a specific problem in MTL. We delve into the role of gradient conflicts in MTL and compare it to STL. For angular gradient alignment we find no evidence that this is a unique problem in MTL. We emphasize differences in gradient magnitude as the main distinguishing factor. Overall, we find surprising similarities between STL and MTL suggesting to consider methods from both fields in a broader context.
