NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Task Learning as Multi-Objective Optimization

Ozan Sener, Vladlen Koltun

This paper offers a fundamental shift in how we approach Multi-Task Learning (MTL). Instead of treating MTL as a simple balancing act of weighted losses, the authors reframe it as a formal Multi-Objective Optimization problem. Most multi-task models fail because tasks compete for capacity, and manually tuning loss weights is a "dark art." This work introduces a scalable algorithm that treats tasks as conflicting objectives, finding a Pareto optimal solution—where no task can improve without hurting another—with almost no additional computational cost.

The Problem with Weighted Sums

In standard Multi-Task Learning, models typically minimize a weighted sum of per-task losses: $L_{total} = \sum w_i L_i$. This approach has two major flaws:

  1. Task Competition: Tasks often conflict. Improving a model’s performance on "depth estimation" might degrade its performance on "semantic segmentation" if they are forced to share the same features. A simple linear combination cannot navigate these complex trade-offs effectively.
  2. The Hyperparameter Nightmare: Finding the right weights ($w_i$) usually requires an expensive grid search. If you have 40 tasks (like in facial attribute classification), searching for the optimal weight combination is computationally impossible.

The authors argue that we should stop trying to find a single "perfect" weight and instead look for Pareto optimal solutions: points in the parameter space where you cannot improve any single task without making at least one other task worse.

Methods: Scaling Multiple Gradient Descent

The authors build upon the Multiple Gradient Descent Algorithm (MGDA), which is designed to find a common descent direction for multiple objectives. However, the original MGDA is computationally heavy—it requires a separate backward pass for every single task, making it unusable for deep learning with many tasks.

To make this practical, the paper introduces two key innovations:

  • MGDA-UB (Upper Bound): They derive an upper bound on the multi-objective loss. By applying the chain rule at the level of the shared representation (the output of the encoder) rather than the final weights, they can compute a common descent direction for all tasks using just a single backward pass.
  • Frank-Wolfe Optimizer: They use the Frank-Wolfe algorithm to solve the underlying optimization problem efficiently. The goal is to find the minimum-norm point in the convex hull of the task gradients, which provides a descent direction that benefits all tasks (or at least harms none).
Visualisation of the min-norm point in the convex hull of two task gradients.

As shown in the geometry of the two-task case, the algorithm identifies when tasks want to move the model parameters in opposite directions and finds a compromise (either an edge case or a perpendicular vector) that satisfies everyone.

Key Insights and Ideas

  • MTL as Conflict Resolution: The paper shifts the focus from "sharing information" to "resolving competition." By treating gradients as vectors, the algorithm explicitly handles conflicting gradient directions.
  • The "Representation" Shortcut: The most brilliant insight is that you don't need the full gradient of the entire network for every task. By optimizing at the "bottleneck" (the shared representation), you capture the essence of the task conflict while keeping the math efficient.
  • Stability through Dimensionality: Surprisingly, the authors found that their approximation (MGDA-UB) was often more stable than the full version. They hypothesize that because the representation space has fewer dimensions than the weight space, the optimization is less noisy.

Experimental Results

The researchers evaluated their method across three distinct types of problems, consistently outperforming "Uniform Scaling" (equal weights) and state-of-the-art heuristics like GradNorm or Uncertainty Weighting.

  • MultiMNIST: On this synthetic dataset where two MNIST digits are overlaid, the method achieved higher accuracy than even training separate, dedicated models for each task—a rare feat in MTL that proves the model successfully navigates capacity competition.
  • CelebA (Scalability): This large-scale dataset features 200,000 face images annotated with 40 different attributes. The method achieved an average error of 8.25%, beating the single-task baseline (8.77%) and uniform scaling (9.62%).
  • Cityscapes: On this complex autonomous driving dataset, the model successfully balanced three distinct tasks simultaneously: semantic segmentation, instance segmentation, and monocular depth estimation.
  • Efficiency: While a naive multi-objective approach would be $T$ times slower (where $T$ is the number of tasks), the authors' MGDA-UB was 25x faster than the full version on CelebA, adding negligible overhead compared to simple weighted sums.

Limitations and Future Work

While powerful, the approach has a few limitations. The efficient version of the algorithm (MGDA-UB) specifically requires an encoder-decoder style architecture where tasks share a common representation before splitting into task-specific heads. Furthermore, while the algorithm finds a Pareto optimal point, it doesn't allow the user to easily specify which point on the Pareto front they want (e.g., prioritizing depth over segmentation). Finally, the proof of optimality assumes the Jacobian of the representation is full-rank, a theoretical constraint that might not hold in degenerate cases.

Future work could involve extending this to more complex branching architectures or finding ways to "steer" the optimization toward specific regions of the Pareto front.

Summary updated

BibTeX
@inproceedings{sener2018multi,
  author = {Ozan Sener and Vladlen Koltun},
  title = {{Multi-Task Learning as Multi-Objective Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=r14zsIbOWr},
}
Figure