随机加权的合理有效性:多任务学习的试金石
Reasonable Effectiveness of Random Weighting: A Litmus Test for Multi-Task Learning
摘要:
多任务学习(MTL)在各个领域都取得了成功。然而,如何平衡不同的任务以获得良好的性能是一个关键问题。为了实现任务平衡,有许多工作仔细设计动态损失/梯度加权策略,但基本的随机实验被忽略,以检查其有效性。在本文中,我们提出了随机加权(RW)方法,包括随机损失加权(RLW)和随机梯度加权(RGW),其中MTL模型使用从分布中采样的随机损失/梯度权重进行训练。为了说明RW方法的有效性和必要性,从理论上分析了RW方法的收敛性,揭示了RW方法具有更高的跳出局部极小的概率,从而具有更好的推广能力。从经验上讲,我们广泛地评估了所提出的RW方法,以与五个图像数据集上的十二种最先进的方法和XTREME基准测试中的两个多语言问题进行比较,以表明RW方法可以实现与最先进的基线相当的性能。因此,我们认为RW方法是MTL的重要基线,应该引起更多的关注。
英文摘要:
Multi-Task Learning (MTL) has achieved success in various fields. However, how to balance different tasks to achieve good performance is a key problem. To achieve the task balancing, there are many works to carefully design dynamical loss/gradient weighting strategies but the basic random experiments are ignored to examine their effectiveness. In this paper, we propose the Random Weighting (RW) methods, including Random Loss Weighting (RLW) and Random Gradient Weighting (RGW), where an MTL model is trained with random loss/gradient weights sampled from a distribution. To show the effectiveness and necessity of RW methods, theoretically we analyze the convergence of RW and reveal that RW has a higher probability to escape local minima, resulting in better generalization ability. Empirically, we extensively evaluate the proposed RW methods to compare with twelve state-of-the-art methods on five image datasets and two multilingual problems from the XTREME benchmark to show RW methods can achieve comparable performance with state-of-the-art baselines. Therefore, we think that the RW methods are important baselines for MTL and should attract more attentions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。