Skip to main content
QUICK REVIEW

[论文解读] Conflict-Averse Gradient Descent for Multi-task Learning

Bo Liu, Xingchao Liu|arXiv (Cornell University)|Oct 26, 2021
Advanced Multi-Objective Optimization AlgorithmsComputer Science被引用 32
一句话总结

CAGrad 在最小化平均损失的同时对更新进行正则化,以最大化各任务之间局部改进的最坏情况,并对平均损失的最小值具有收敛保证。它推广了梯度下降(GD)和 MGDA,并在有监督、半监督和强化学习任务的多任务学习中提升性能。

ABSTRACT

The goal of multi-task learning is to enable more efficient learning than single task learning by sharing model structures for a diverse set of tasks. A standard multi-task learning objective is to minimize the average loss across all tasks. While straightforward, using this objective often results in much worse final performance for each task than learning them independently. A major challenge in optimizing a multi-task model is the conflicting gradients, where gradients of different task objectives are not well aligned so that following the average gradient direction can be detrimental to specific tasks' performance. Previous work has proposed several heuristics to manipulate the task gradients for mitigating this problem. But most of them lack convergence guarantee and/or could converge to any Pareto-stationary point. In this paper, we introduce Conflict-Averse Gradient descent (CAGrad) which minimizes the average loss function, while leveraging the worst local improvement of individual tasks to regularize the algorithm trajectory. CAGrad balances the objectives automatically and still provably converges to a minimum over the average loss. It includes the regular gradient descent (GD) and the multiple gradient descent algorithm (MGDA) in the multi-objective optimization (MOO) literature as special cases. On a series of challenging multi-task supervised learning and reinforcement learning tasks, CAGrad achieves improved performance over prior state-of-the-art multi-objective gradient manipulation methods.

研究动机与目标

  • 激励并解决多任务学习(MTL)中梯度冲突的优化挑战。
  • 提出一种基于梯度的更新规则,在优化平均损失的同时使各任务的局部改进中的最坏情况最小化。
  • 在温和条件下提供理论收敛性保证,使平均损失达到最小值。
  • 在有监督、半监督和强化学习设置中,展示相对于先前的梯度操控方法的经验改进。

提出的方法

  • 将更新方向 d 定义为在平均梯度 g0 的一个球内同时最大化各任务局部改进中的最坏情况。
  • 将原问题表述为:max_d min_i <gi, d>,约束条件为 ||d - g0|| <= c ||g0||。
  • 推导对偶问题,简化为在单纯形上求解任务梯度的权重 w,使 gw = sum_i w_i gi。
  • 计算更新为:theta_t = theta_{t-1} - alpha (g0 + (sqrt(phi)/||gw||) gw),其中 phi = c^2 ||g0||^2。
  • 证明当 c=0 时回到标准梯度下降,当 c→∞ 时近似 MGDA;并证明 0 <= c < 1 时的收敛性。
  • 通过对梯度计算抽样一个子集 S 的任务并相应调整对偶目标,提供实际的速度提升。

实验结果

研究问题

  • RQ1CAGrad 是否能够在降低任务间梯度冲突的同时收敛到平均损失 L0 的(局部)最小值?
  • RQ2CAGrad 与现有方法如 GD 和 MGDA 有何关系并如何推广,当哪些参数条件下会出现这些特例?
  • RQ3在有监督、半监督和强化学习的多任务问题中,CAGrad 是否在经验上优于最先进的梯度操控方法?

主要发现

  • 在 0 <= c < 1 时,CAGrad 能证明收敛到平均损失 L0 的一个最小点。
  • 当 c 趋近于 0 时,CAGrad 简化为标准梯度下降;当 c 很大时,接近 MGDA。
  • 实证上,CAGrad 在多任务有监督学习、半监督学习和强化学习基准测试中优于先前的梯度操控方法。
  • 在有监督的 MTL 实验中,使用 MTAN 主干时,CAGrad 常在 NYU-v2 和 CityScapes 上获得最佳的平均任务性能。
  • 在强化学习中,CAGrad 在 MetaWorld MT10/MT50 上优于若干基线,成功率有显著提升。
  • 一个快速变体(CAGrad-Fast)在 MT10/MT50 设置中保持竞争性能,同时相对于 PCGrad 提供 2x–5x 的加速。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。