基于梯度投影的任务加权用于多任务学习
Task Weighting through Gradient Projection for Multitask Learning
AI总结:
提出一种基于梯度投影的任务加权方法,在任务冲突时通过概率分布选择投影梯度,实现任务优先级排序,在多个数据集上显著提升多任务学习性能。
摘要:
在多任务学习中,任务梯度之间的冲突是一个常见问题,会降低模型的训练性能。通常采用梯度投影算法PCGrad来解决这一问题,该算法往往能带来更快的收敛速度和更好的性能指标。在这项工作中,我们提出了一种方法,使该算法能够同时执行任务优先级排序。我们的方法与传统的通过缩放任务损失进行任务加权不同,我们的加权方案仅在任务冲突的情况下生效,而在其他情况下让训练不受阻碍地进行。我们将任务加权因子替换为一个概率分布,该分布决定在冲突情况下哪些任务梯度被投影。我们在nuScenes、CIFAR-100和CelebA数据集上的实验证实了我们的方法是一种实用的任务加权方法。与多种不同的任务加权方案结合使用时,我们观察到与均匀投影概率的梯度投影相比,大多数任务的性能指标有显著提升。
英文摘要:
In multitask learning, conflicts between task gradients are a frequent issue degrading a model's training performance. This is commonly addressed by using the Gradient Projection algorithm PCGrad that often leads to faster convergence and improved performance metrics. In this work, we present a method to adapt this algorithm to simultaneously also perform task prioritization. Our approach differs from traditional task weighting performed by scaling task losses in that our weighting scheme applies only in cases where tasks are in conflict, but lets the training proceed unhindered otherwise. We replace task weighting factors by a probability distribution that determines which task gradients get projected in conflict cases. Our experiments on the nuScenes, CIFAR-100, and CelebA datasets confirm that our approach is a practical method for task weighting. Paired with multiple different task weighting schemes, we observe a significant improvement in the performance metrics of most tasks compared to Gradient Projection with uniform projection probabilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。