Can Optimization Trajectories Explain Multi-Task Transfer?
David Mueller, Mark Dredze, Nicholas Andrews
TL;DR
This work investigates why multi-task learning (MTL) yields mixed generalization by analyzing how MTL affects task optimization and whether optimization trajectories can explain transfer. Through extensive empirical analysis across multiple MT settings, it shows that transfer (positive or negative) appears early in training as a generalization gap at comparable training losses and persists thereafter. It evaluates trajectory-level factors such as sharpness, Fisher information, and gradient coherence, and finds they do not consistently explain transfer; similarly, specialized multi-task optimizers (SMTOs) fail to reliably improve MT transfer, despite affecting optimization. The results challenge the idea that general-purpose optimization strategies can universally address MT transfer, suggesting a shift toward understanding task relationships or exploring alternative meta-learning approaches.
Abstract
Despite the widespread adoption of multi-task training in deep learning, little is understood about how multi-task learning (MTL) affects generalization. Prior work has conjectured that the negative effects of MTL are due to optimization challenges that arise during training, and many optimization methods have been proposed to improve multi-task performance. However, recent work has shown that these methods fail to consistently improve multi-task generalization. In this work, we seek to improve our understanding of these failures by empirically studying how MTL impacts the optimization of tasks, and whether this impact can explain the effects of MTL on generalization. We show that MTL results in a generalization gap (a gap in generalization at comparable training loss) between single-task and multi-task trajectories early into training. However, we find that factors of the optimization trajectory previously proposed to explain generalization gaps in single-task settings cannot explain the generalization gaps between single-task and multi-task models. Moreover, we show that the amount of gradient conflict between tasks is correlated with negative effects to task optimization, but is not predictive of generalization. Our work sheds light on the underlying causes for failures in MTL and, importantly, raises questions about the role of general purpose multi-task optimization algorithms.
