多任务学习中量化和最大化知识转移的梯度协调
Gradient Coordination for Quantifying and Maximizing Knowledge Transference in Multi-Task Learning
摘要:
多任务学习(MTL)已被广泛应用于在线广告和推荐系统。为了解决负传递问题,最近的研究已经提出了彻底关注方向或幅度的梯度对齐的优化方法。然而,由于先前的研究已经证明,在有限的共享容量中,一般和特定的知识都存在,过度强调梯度对齐可能会排挤特定的任务知识,反之亦然。在本文中,我们提出了一个传输驱动的方法CoGrad,自适应最大化知识传输通过协调梯度修改。我们将转移明确量化为从一个任务到另一个任务的损失减少,然后通过优化它来获得一个辅助梯度,我们通过将这个梯度合并到原始任务梯度中来执行优化,使模型自动最大化任务间转移并最小化个体损失。因此,CoGrad可以协调一般知识和特定知识,以提高整体性能。此外,我们引入了一个有效的近似的海森矩阵,使CoGrad计算效率和简单的实现。离线和在线实验都验证了CoGrad显著优于以前的方法。
英文摘要:
Multi-task learning (MTL) has been widely applied in online advertising and recommender systems. To address the negative transfer issue, recent studies have proposed optimization methods that thoroughly focus on the gradient alignment of directions or magnitudes. However, since prior study has proven that both general and specific knowledge exist in the limited shared capacity, overemphasizing on gradient alignment may crowd out task-specific knowledge, and vice versa. In this paper, we propose a transference-driven approach CoGrad that adaptively maximizes knowledge transference via Coordinated Gradient modification. We explicitly quantify the transference as loss reduction from one task to another, and then derive an auxiliary gradient from optimizing it. We perform the optimization by incorporating this gradient into original task gradients, making the model automatically maximize inter-task transfer and minimize individual losses. Thus, CoGrad can harmonize between general and specific knowledge to boost overall performance. Besides, we introduce an efficient approximation of the Hessian matrix, making CoGrad computationally efficient and simple to implement. Both offline and online experiments verify that CoGrad significantly outperforms previous methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。