Abstract
Multi-Task Learning (MTL) is a powerful paradigm that often leads to unpredictable results, ranging from significant performance gains (positive transfer) to degraded accuracy (negative transfer). Traditionally, negative transfer has been attributed to optimization challenges like gradient conflict. This study systematically evaluates whether optimization trajectories—characterized by loss surface sharpness, gradient coherence, and early-stage Fisher Information—can explain these transfer effects. Our findings reveal that the "generalization gap" between single-task and multi-task models opens early in training and is not consistently explained by standard optimization metrics, suggesting that current multi-task optimizers may be addressing the wrong problem.
Introduction: The Optimization Hypothesis
In deep learning, Multi-Task Learning (MTL) involves training a single model on multiple related tasks. While theoretically beneficial, it often suffers from interference. The prevailing hypothesis in the research community is that negative transfer is caused by gradient conflict, where tasks pull model weights in opposing directions, creating a difficult optimization landscape. This has spurred the development of specialized Multi-Task Optimizers (SMTOs) like PCGrad and GradNorm. However, despite their complexity, these optimizers often fail to outperform standard SGD in practice. This paper investigates a fundamental question: Do optimization trajectories actually explain transfer, or is the cause of generalization performance found elsewhere?
Methodology: Analyzing Trajectories
To answer this, the authors compared Single-Task Learning (STL) trajectories against MTL trajectories across several higher-order metrics:
- Loss Surface Sharpness: Measuring the flatness of local minima, which is traditionally linked to better generalization.
- Gradient Coherence: Assessing the consistency of gradients across different data batches.
- Fisher Information Matrix (FIM) Trace: Detecting potential training instabilities in early epochs.
Crucially, the study compared these metrics at comparable training losses rather than just at convergence. This approach allows for the identification of "generalization gaps"—points where models with identical training errors exhibit significantly different test performance.
Results: The Early Generalization Gap
A key discovery of this research is that transfer is an "early bird" phenomenon. Positive and negative transfer are detectable within the first few epochs of training. The generalization gap between STL and MTL models opens long before the models approach convergence.
As seen in the FashionMTL experiments, the trajectory for positive transfer (green) diverges from the single-task baseline (blue) and negative transfer (red) almost immediately. This divergence occurs while training loss is still very high, indicating that the "fate" of the model's generalization is sealed early in the optimization process.
Discussion: Why Current Metrics Fail
The study further demonstrates that standard optimization metrics are poor predictors of transfer. While MTL often leads to "sharper" solutions—which conventional wisdom suggests should hinder generalization—this sharpness does not correlate with final performance. In fact, some tasks experiencing positive transfer exhibited sharper loss surfaces than those that failed.
Furthermore, while gradient conflict makes minimizing training loss more difficult (a zeroth-order optimization problem), it shows almost zero correlation with how well the model generalizes. This explains why SMTOs, which focus on resolving gradient conflicts to lower training loss, often fail to improve test-time accuracy.
Conclusion and Future Directions
The evidence suggests that our current vocabulary for describing deep learning optimization is insufficient to explain multi-task transfer. The "generalization gap" is an early-stage phenomenon that is decoupled from the final sharpness or coherence of the solution.
For the field to progress, researchers must pivot away from late-stage gradient manipulation and toward understanding the inherent relationships between task distributions in the early phases of training. Future work should explore new metrics that can capture the dynamics of feature learning and task interference before the model reaches the low-loss regime.
Summary updated