Robust Multi-Task Learning with Excess Risks

Yifei He, Shiji Zhou, Guojun Zhang, Hyokun Yun, Yi Xu, Belinda Zeng, Trishul Chilimbi, Han Zhao

TL;DR

Standard Multi-Task Learning (MTL) algorithms often fail when some tasks contain "label noise," mistakenly prioritizing noisy tasks over clean ones because they appear artificially difficult. ExcessMTL solves this by weighting tasks based on their excess risk—the distance to their own convergence—rather than their absolute loss. This ensures the model focuses its capacity on tasks that can actually be improved, ignoring irreducible noise.

The Problem: The "Noise Trap" in Multi-Task Learning

Multi-Task Learning (MTL) is a powerful paradigm where a single model learns to perform several related tasks simultaneously. To balance these tasks effectively, researchers often use adaptive weighting schemes that assign higher importance to "difficult" tasks during training.

The catch? Most existing methods define "difficulty" by the magnitude of the task's loss. In the real world, data is rarely perfect. If one task has significant label noise (incorrect labels), its loss will remain high no matter how much you train. Standard algorithms like GradNorm or GroupDRO fall into a "noise trap": they see the high loss, assume the task is just hard to learn, and pour all the model's capacity into trying to solve the unsolvable noise. This overshadows the clean tasks, causing performance to tank across the board.

Conceptual comparison of Loss Weighting vs. ExcessMTL

The Solution: Focus on Trainability, Not Difficulty

The authors introduce ExcessMTL, which shifts the focus from absolute loss to excess risk. The core insight is that we shouldn't prioritize tasks that are hard, but rather tasks that are trainable.

  1. The Concept of Excess Risk: The total risk of a model can be decomposed into the Bayes error (irreducible noise) and the excess risk (the gap between the current model and the best possible model in that class). By focusing on excess risk, the algorithm effectively filters out the "static" of label noise and only prioritizes tasks that still have room for improvement.
  2. Taylor Approximation: Since the "optimal" model is unknown in practice, calculating excess risk directly is impossible. The authors use a second-order Taylor expansion to estimate it locally.
  3. Efficient Hessian Estimation: To avoid the massive computational cost of calculating a full Hessian matrix for the Taylor expansion, they use a diagonal approximation based on the accumulation of historical gradients (similar to the empirical Fisher information used in optimizers like Adam).
  4. Multiplicative Weight Update: The task weights are updated using an exponentiated gradient scheme. This ensures stability during training and provides theoretical guarantees that the model will reach a Pareto stationary point—a state where no task's performance can be improved without hurting another.

To ensure fairness across different types of tasks (e.g., a classification task vs. a regression task), ExcessMTL also includes a scale processing step that normalizes excess risks so they can be compared accurately.

Key Results: Robustness in Action

The authors evaluated ExcessMTL across several standard MTL benchmarks (MultiMNIST, Office-Home, NYUv2, and SARCOS), injecting varying levels of synthetic label noise to test robustness.

  • Robustness to Extreme Noise: On MultiMNIST, when one task was injected with 80% noise, ExcessMTL maintained high accuracy on the clean task. Competitors like GradNorm and GroupDRO saw their clean-task performance drop significantly as they overfit to the noise.
  • No "Robustness Tax": Crucially, in scenarios with zero noise, ExcessMTL performed just as well as state-of-the-art methods. There is no performance penalty for choosing the robust option when the data happens to be clean.
Performance comparison on MultiMNIST with 0% and 80% label noise
  • Superiority in Real-World Scenarios: On the Office-Home and NYUv2 datasets, ExcessMTL consistently outperformed all other adaptive weighting methods (MGDA, IMTL, etc.) in the presence of noise.
  • Weight Dynamics: Visualization of task weights during training showed that ExcessMTL successfully identifies noisy tasks and gradually reduces their influence, whereas traditional methods do the exact opposite.

Interestingly, the paper also shows that even using a clean validation set to tune weights (as seen in some meta-learning approaches) doesn't fully solve the problem, because the training process itself is still being misguided by the noisy gradients. ExcessMTL addresses the root of the issue directly during the training loop.

Limitations and Future Work

While highly effective, ExcessMTL has a few limitations that pave the way for future research:

  • Local Approximation: The excess risk estimation relies on a local Taylor expansion. While efficient, this might be less accurate in highly non-convex landscapes or very early in the training process.
  • Hessian Approximation: The use of the diagonal empirical Fisher is a standard simplification. More sophisticated Hessian-free or sub-sampling methods could potentially improve the excess risk estimation.
  • Beyond MTL: The authors suggest that the concept of using excess risk as a difficulty measure could be applied to other fields, such as domain generalization or hard example mining, which also suffer heavily from label noise issues.

Summary updated

BibTeX
@inproceedings{he2024robust,
  author = {Yifei He and Shiji Zhou and Guojun Zhang and Hyokun Yun and Yi Xu and Belinda Zeng and Trishul Chilimbi and Han Zhao},
  title = {{Robust Multi-Task Learning with Excess Risks}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=JzWFmMySpn},
}
Figure