Delve into the Applicability of Advanced Optimizers for Multi-Task Learning

Zhipeng Zhou, Linxiao Cao, Yiming Cao, Pengcheng Wu, Peilin Zhao, Chunyan MiaoNeurIPS 2026

TL;DR

When you train a single model to solve multiple tasks at once, tasks often pull the shared weights in conflicting directions. While modern Multi-Task Learning (MTL) algorithms carefully calculate a conflict-free compromise gradient at every step, this paper reveals that standard optimizers like Adam largely ignore that fresh compromise in favor of heavy historical momentum—meaning your careful math gets drowned out whenever the loss landscape shifts rapidly. The authors introduce a lightweight, adaptive momentum fix (APT) and show how the emerging Muon optimizer naturally acts as a multi-task balancer under the right conditions.

What Problem Does This Paper Address?

Imagine steering a ship with two captains who disagree on the heading. Optimization-based Multi-Task Learning (MTL) acts as a mediator: at every step, it takes the conflicting task gradients and computes a single, harmonious "de-conflicted" direction that helps all tasks improve (or at least doesn't hurt any of them).

Here is the catch: almost all theoretical analyses of these MTL mediators implicitly assume you are using plain, memoryless Stochastic Gradient Descent (SGD). In reality, almost everyone plugs that mediated gradient into modern optimizers like Adam or AdamW, which rely heavily on an Exponential Moving Average (EMA) of past gradients—a.k.a. momentum. With a typical momentum parameter of $\beta = 0.9$, your carefully computed, conflict-free MTL gradient only accounts for 10% of the update, while 90% comes from historical inertia!

Figure 1: Illustration of the impact of EMA in advanced optimizer for MTL. Here we adopt gupdate = 0.9∗gmom +0.1∗gmtl as the example.

As illustrated above, strong momentum can overpower the instantaneous compromise ($g_{mtl}$), dragging the final parameter update ($g_{update}$) right back into conflict with individual tasks. Instead of instant de-conflicting, modern MTL only achieves amortized (long-term average) de-conflicting. When the loss landscape is smooth, that works fine. When gradient directions shift abruptly, stale momentum turns adversarial and actively harms individual tasks. Yet, you cannot simply turn momentum off ($\beta = 0$), or your training trajectory becomes wildly noisy and oscillatory.

Methods

To resolve this tug-of-war between stability and responsiveness, the authors propose APT (Applicability of advanced oPTimizers), alongside a specialized enhancement for the newer Muon optimizer:

  • Adaptive Momentum (APT): Instead of a fixed $\beta$, APT measures the cosine similarity ($\rho_t$) between the current MTL aggregate gradient ($G_t$) and the previous step's aggregate ($G_{t-1}$). If consecutive gradients point in the same direction, $\beta_t$ scales up toward $\beta_{max}$ (0.9) to smooth out noise and enjoy amortized de-conflicting. If the gradient geometry pivots sharply ($\rho_t$ drops), $\beta_t$ scales down toward $\beta_{min}$ (0.1 for Adam, 0.5 for Muon), flushing out stale history to prioritize instant conflict resolution.
  • Light Direction Preservation (LDP) for Muon: Unlike element-wise optimizers like Adam, Muon updates hidden-layer matrices by orthogonalizing the momentum matrix (via Newton-Schulz iterations). Because orthogonalization equalizes singular values, it works best when fed gradients with rich directional diversity (high effective rank). Rather than using expensive quadratic programming solvers to combine task gradients, LDP computes the cosine similarity of each task gradient against the simple mean gradient, passes it through a scaled Sigmoid gate to get soft weights, and aggregates them cheaply before handing the matrix off to Muon.

Datasets

The authors evaluate their framework on four standard, pre-existing MTL benchmarks (no new datasets are introduced):

  • NYUv2: Indoor scene understanding with 3 tasks (semantic segmentation, depth estimation, surface normal prediction).
  • Cityscapes: Street-view scene understanding with 2 tasks (semantic segmentation and depth estimation).
  • CelebA: Large-scale classification treating 40 binary facial attributes as 40 distinct tasks.
  • QM9: Molecular graph regression with 11 quantum chemistry properties as tasks.

Key Insights and Ideas

  • MTL works by accident of smoothness: Mainstream MTL methods don't actually prevent step-by-step gradient conflicts under Adam; they rely on gradient geometry evolving slowly enough that historical averages stay roughly aligned with current tasks.
  • Hidden task-wise violations are rampant at scale: An optimizer update can positively align with the combined MTL gradient while still conflicting with individual tasks. On the 40-task CelebA benchmark, standard fixed momentum ($\beta = 0.9$) causes hidden task violations on 72.92% of steps!
  • Muon is conditionally an implicit MTL learner: Under specific conditions (nonnegative, ordered task loadings across singular vectors), Muon's matrix orthogonalization naturally shrinks the projection ratio between dominant and weaker tasks—acting as a built-in task re-balancer without explicit MTL solvers.

Key Results

Performance is primarily measured via $\Delta m\%$, which tracks overall percentage degradation compared to dedicated single-task models (lower—and especially more negative—is better):

  • Consistent Baseline Upgrades: Across matched reimplementations of CAGrad, FAMO, and FairGrad on the four datasets, plugging in APT improved $\Delta m\%$ in 11 out of 12 method–dataset pairs.
  • Crushing Hidden Conflicts: Replaying identical gradient sequences, APT slashed hidden task-wise violation rates from 1.88% to 0.00% on Cityscapes, 3.27% to 0.25% on NYUv2, and 72.92% down to 14.58% on CelebA.
  • Strong Benchmark Gains: On NYUv2, augmenting FairGrad with APT pushed $\Delta m\%$ from -4.66% to -6.04%, while APT-Muon improved vanilla Muon from -3.15% to -5.54%. On QM9, APT-Muon dramatically cut vanilla Muon's degradation from 166.0% down to 72.9%, and APT-FAMO achieved a state-of-the-art 55.5%.

Limitations and Future Work

The authors are admirably candid about what their method doesn't solve:

  • Noisy Temporal Signals: Consecutive gradient cosine similarity conflates true landscape curvature changes with ordinary minibatch noise. On noisy benchmarks like QM9, APT-FairGrad actually degraded slightly compared to reproduced FairGrad (from 59.90% to 64.90% $\Delta m\%$) due to erratic temporal alignment signals.
  • Theoretical Scope: Their theoretical guarantees cover momentum tracking error and conditional Muon projections, not full-sequence Pareto convergence. Furthermore, Muon's singular directions do not universally map to individual tasks.
  • Practical Trade-offs: Gains across individual tasks are not always uniform, and computing per-task gradients or adaptive statistics still carries runtime overhead. Future directions are not explicitly detailed in the main text.

Summary updated

Abstract

Multi-Task Learning (MTL) is a fundamental problem in machine learning that has been extensively studied over the past decade. Recently, a variety of optimization-based MTL approaches have been proposed to jointly learn multiple tasks by modifying the optimization trajectory. In this paper, we argue that the design of mainstream optimization-based MTL methods implicitly assumes compatibility with momentum-free optimizers, which may limit the understanding of their effectiveness in modern training regimes. In practice, the instantaneously derived gradients from MTL operations contribute only marginally to the final parameter updates when momentum is present, resulting in an amortized rather than instant de-conflicting effect. Moreover, this amortized behavior can be further degraded when gradient directions change rapidly. To address this issue and enable the effective integration of mainstream MTL methods with advanced optimizers (e.g., Adam and Muon), we propose $APT$ (Applicability of advanced oPTimizers), a lightweight framework featuring an adaptive momentum mechanism that balances the trade-off between instant and amortized de-conflicting. Furthermore, we give a conditional interpretation of the Muon optimizer as an implicit MTL learner, and we introduce a lightweight direction preservation strategy to better align with its orthogonalization process. Extensive experiments across four standard MTL benchmarks demonstrate that $APT$ enhances most evaluated method--dataset combinations, yielding substantial performance gains in several settings.
BibTeX
@inproceedings{zhou2026delve,
  author = {Zhipeng Zhou and Linxiao Cao and Yiming Cao and Pengcheng Wu and Peilin Zhao and Chunyan Miao},
  title = {{Delve into the Applicability of Advanced Optimizers for Multi-Task Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=sBSgNPZhSj},
}
Figure