GDOD: Effective Gradient Descent using Orthogonal Decomposition for Multi-Task Learning

Xin Dong, Ruize Wu, Chao Xiong, Hai Li, Lei Cheng, Yong He, Shiyou Qian, Jian Cao, Linjian Mo · DOI

Abstract

Multi-task learning (MTL) aims at solving multiple related tasks simultaneously and has experienced rapid growth in recent years. However, MTL models often suffer from performance degeneration with negative transfer due to learning several tasks simultaneously. Some related work attributed the source of the problem is the conflicting gradients. In this case, it is needed to select useful gradient updates for all tasks carefully. To this end, we propose a novel optimization approach for MTL, named GDOD, which manipulates gradients of each task using an orthogonal basis decomposed from the span of all task gradients. GDOD decomposes gradients into task-shared and task-conflict components explicitly and adopts a general update rule for avoiding interference across all task gradients. This allows guiding the update directions depending on the task-shared components. Moreover, we prove the convergence of GDOD theoretically under both convex and non-convex assumptions. Experiment results on several multi-task datasets not only demonstrate the significant improvement of GDOD performed to existing MTL models but also prove that our algorithm outperforms state-of-the-art optimization methods in terms of AUC and Logloss metrics.

Introduction

In Multi-Task Learning (MTL), a single model attempts to learn several related tasks simultaneously, such as predicting both click-through and conversion rates in advertising. While theoretically beneficial for cross-task knowledge transfer, MTL often suffers from negative transfer, where performance on individual tasks degrades compared to single-task models.

The primary driver of this degradation is gradient conflict: the update direction that optimizes Task A may actively hinder Task B. Existing solutions typically attempt to balance task weights or project conflicting gradients away from each other. However, these methods often fail to distinguish between constructive shared information and destructive noise. GDOD (Gradient Descent using Orthogonal Decomposition) provides a surgical approach to extract useful updates by explicitly separating gradients into task-shared (helpful) and task-conflict (harmful) components.

Methodology: Gradient Descent using Orthogonal Decomposition

The core of the GDOD algorithm is a novel optimization strategy that manipulates gradients at each training step to ensure model updates only move in directions that benefit all tasks.

Comparison of standard Gradient Descent and the proposed GDOD approach. GDOD uses orthogonal decomposition to isolate shared gradient components.

GDOD follows a structured process:

  1. Subspace Construction: It collects per-example gradients for all tasks in a mini-batch to define a subspace spanned by these vectors.
  2. Orthogonal Decomposition via SVD: GDOD utilizes Singular Value Decomposition (SVD) to find an orthogonal basis. SVD is preferred over QR decomposition because its principal vectors are more robust to outliers and better capture the true descent direction.
  3. Component Splitting: Each task's gradient is decomposed into a task-shared component (projections where tasks agree on direction) and a task-conflict component (projections where tasks disagree).
  4. Selective Update: The model is updated using only the task-shared components from all tasks, proactively avoiding interference.
  5. Weighted-GDOD: For high-dimensional task spaces, a weighted variant prioritizes components based on the degree of agreement across tasks.

Experimental Evaluation

GDOD was evaluated across four diverse datasets: BookCrossing (book ratings), IJCAI-15 (repeat buyer prediction), Alipay Advertising (CTR/CVR prediction), and Census-Income (demographic attributes).

Performance and Convergence

GDOD consistently outperformed state-of-the-art (SOTA) optimizers such as PCGrad, MGDA, CAGrad, and GradNorm. On the BookCrossing dataset, GDOD achieved an AUC gain of 0.0184 over the Adam baseline for Task 2, nearly doubling the improvement seen by PCGrad (0.0120). In industrial contexts like CTR prediction, gains of 0.001 are considered significant, making GDOD's performance particularly noteworthy.

Test AUC curves for Task 2 on the BookCrossing dataset, demonstrating GDOD's superior performance and stability compared to other optimization methods.

Key Insights

  • SVD Superiority: SVD-based decomposition identifies more informative directions in the gradient space than random or QR-based bases.
  • Proactive Interference Avoidance: Unlike methods that only intervene when gradients are diametrically opposed, GDOD filters conflicting components even when task gradients appear somewhat aligned.
  • Robustness: GDOD is significantly less sensitive to the manual tuning of task loss weights, simplifying its deployment in real-world pipelines. It is also model-agnostic, showing consistent gains across various MTL architectures like MMoE and PLE.

Conclusion and Future Work

GDOD offers a robust solution to the gradient conflict problem in MTL by leveraging orthogonal decomposition to isolate shared learning signals. While highly effective, the computational overhead of performing SVD at every step remains a challenge. Future research may explore more efficient subspace estimation methods or alternative decomposition techniques to further scale the algorithm for extremely large-scale industrial applications.

Summary updated

BibTeX
@inproceedings{dong2022gdod,
  author = {Xin Dong and Ruize Wu and Chao Xiong and Hai Li and Lei Cheng and Yong He and Shiyou Qian and Jian Cao and Linjian Mo},
  title = {{GDOD: Effective Gradient Descent using Orthogonal Decomposition for Multi-Task Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  doi = {10.1145/3511808.3557333},
}
Figure