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

Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms

Peiyao Xiao, Hao Ban, Kaiyi Ji

Multi-Objective Optimization (MOO) is a critical framework for modern machine learning, particularly in multi-task learning (MTL) where models must balance multiple criteria simultaneously. This paper introduces a novel approach to MOO specifically designed to handle the noise and scale of deep learning, offering a simpler, more theoretically sound alternative to existing methods.

TL;DR

The authors propose SDMGrad, a simple stochastic algorithm for multi-task learning that balances conflicting gradients using a new regularized objective. It achieves state-of-the-art sample complexity ($\mathcal{O}(\epsilon^{-2})$) under mild assumptions and outperforms existing methods in both multi-task computer vision and reinforcement learning benchmarks.

The Challenge of Gradient Conflict

In Multi-Task Learning, the primary goal is to minimize several loss functions simultaneously. The central challenge is gradient conflict: an optimization step that improves performance on Task A might actively degrade performance on Task B.

Traditional solutions, such as the Multiple Gradient Descent Algorithm (MGDA), attempt to find a "common descent direction." However, they struggle in stochastic settings where mini-batches are used instead of the full dataset. Existing stochastic MOO algorithms often suffer from three major drawbacks:

  1. High Sample Complexity: They require a massive number of samples to converge.
  2. Restrictive Assumptions: They often rely on unrealistic assumptions, such as requiring loss values to be strictly bounded.
  3. Algorithmic Complexity: They require complicated "tracking variables" to manage noisy gradients, making them difficult to implement and tune.

The authors aim to bridge this gap by creating an algorithm that is as simple to implement as standard Stochastic Gradient Descent (SGD) but provides the theoretical guarantees and conflict-avoidance of sophisticated MOO methods.

A Direction-Oriented Formulation

The core innovation of this paper is a new direction-oriented formulation. Instead of treating MOO as a hard-constrained problem (like the popular CAGrad method), the authors utilize an inner-product regularization:

$$\max_{d} \min_{i} \langle g_i, d \rangle - \frac{1}{2}\|d\|^2 + \lambda \langle g_0, d \rangle$$

  • $g_i$: The gradient of an individual task.
  • $g_0$: A "target direction," typically the average gradient of all tasks.
  • $\lambda$: A regularization parameter. When $\lambda=0$, the objective reduces to MGDA (pure conflict avoidance). As $\lambda \to \infty$, it approaches standard Gradient Descent (optimizing the average loss).

By moving from a hard constraint to a regularization term, the objective function becomes "smoother" for stochastic optimization. This allows practitioners to use simpler SGD-style updates for task weights. Furthermore, the $\lambda$ hyperparameter allows practitioners to choose their preferred stationary point, balancing average performance across all tasks against ensuring no individual task is left behind.

The Algorithms

Based on this formulation, the authors introduce two algorithms:

  1. SDMGrad: This method uses a double-sampling strategy to obtain unbiased estimates of the multi-gradient. It features a straightforward two-loop structure: an inner loop to find the optimal task weights and an outer loop to update the model parameters.
  2. SDMGrad-OS (Objective Sampling): Designed for environments with a massive number of tasks, this variant randomly samples a subset of objectives at each step, significantly reducing the computational overhead per iteration.

Theoretical Breakthroughs

The paper provides a comprehensive convergence analysis, proving that SDMGrad reaches an $\epsilon$-accurate Pareto stationary point with a sample complexity of $\mathcal{O}(\epsilon^{-2})$.

Comparison of sample complexities and assumptions for various MOO algorithms.

As shown in the comparison table, this matches the best-known rates for single-objective SGD and significantly improves upon previous stochastic MOO rates (which were often $\mathcal{O}(\epsilon^{-4})$ or worse). Crucially, SDMGrad achieves these rates without requiring the restrictive bounded function value assumption that limits methods like CR-MOGM and MoCo. For a tighter $\mathcal{O}(\epsilon)$ conflict-avoidant (CA) distance, SDMGrad achieves $\mathcal{O}(\epsilon^{-6})$, outperforming MoCo ($\mathcal{O}(\epsilon^{-10})$) and MoDo ($\mathcal{O}(\epsilon^{-8})$).

Empirical Results

The authors evaluated their methods across three major benchmarks, demonstrating consistent improvements:

  • NYU-v2 (Computer Vision): On this multi-task indoor scene dataset (segmentation, depth, and surface normals), SDMGrad achieved the best "Mean Rank" (2.33) across 14 different baselines, proving its ability to strike an optimal balance across diverse tasks.
  • Metaworld MT10 (Reinforcement Learning): In a benchmark consisting of 10 different robot manipulation tasks, SDMGrad-OS achieved a 1.4x speedup over the standard version while maintaining a higher success rate than competing methods like CAGrad and Nash-MTL.
  • Robustness: Unlike MGDA, which can get trapped in suboptimal Pareto stationary points, SDMGrad’s direction-oriented nature reliably guides it toward points that also minimize the average loss.

Limitations and Future Work

While SDMGrad presents a significant step forward, the authors note a few limitations:

  • Double Sampling Cost: The "double sampling" requirement (taking two independent mini-batches per step) is theoretically necessary for unbiasedness but can be computationally expensive in Reinforcement Learning, where environment interactions are the primary bottleneck.
  • Hyperparameter Sensitivity: While $\lambda$ is a powerful tool for balancing objectives, it introduces another hyperparameter to tune. The authors suggest $\lambda \in [0.1, 1.0]$ generally works well, but optimal values are task-dependent.
  • Generalization: The paper's theoretical guarantees focus on optimization (reducing training loss). The relationship between these MOO directions and generalization (test-time performance) remains a complex, open question for future research.

Summary updated

BibTeX
@inproceedings{xiao2023direction,
  author = {Peiyao Xiao and Hao Ban and Kaiyi Ji},
  title = {{Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=4Ks8RPcXd9},
}
Figure