arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14677cs.LG
收藏

优化轨迹能否解释多任务迁移?

Can Optimization Trajectories Explain Multi-Task Transfer?

Johns Hopkins University(约翰斯·霍普金斯大学)

David Mueller, Mark Dredze, Nicholas Andrews

AI总结:

本文通过实证研究多任务学习(MTL)对任务优化的影响,发现MTL在训练早期产生泛化差距,但传统优化轨迹因素无法解释该差距,且梯度冲突不能预测泛化,揭示了MTL失败原因并质疑通用多任务优化算法的作用。

摘要:

尽管多任务训练在深度学习中得到了广泛应用,但人们对多任务学习(MTL)如何影响泛化却知之甚少。先前的研究推测,MTL的负面影响是由于训练期间出现的优化挑战所致,并且已经提出了许多优化方法来改善多任务性能。然而,最近的研究表明,这些方法并不能持续改善多任务泛化。在这项工作中,我们试图通过实证研究MTL如何影响任务的优化,以及这种影响能否解释MTL对泛化的影响,来增进对这些失败原因的理解。我们表明,MTL在训练早期就导致了单任务和多任务轨迹之间的泛化差距(在可比训练损失下的泛化差距)。然而,我们发现先前提出的用于解释单任务设置中泛化差距的优化轨迹因素,无法解释单任务和多任务模型之间的泛化差距。此外,我们表明任务之间的梯度冲突量与任务优化的负面影响相关,但不能预测泛化。我们的工作揭示了MTL失败的根本原因,重要的是,对通用多任务优化算法的作用提出了质疑。

英文摘要:

Despite the widespread adoption of multi-task training in deep learning, little is understood about how multi-task learning (MTL) affects generalization. Prior work has conjectured that the negative effects of MTL are due to optimization challenges that arise during training, and many optimization methods have been proposed to improve multi-task performance. However, recent work has shown that these methods fail to consistently improve multi-task generalization. In this work, we seek to improve our understanding of these failures by empirically studying how MTL impacts the optimization of tasks, and whether this impact can explain the effects of MTL on generalization. We show that MTL results in a generalization gap (a gap in generalization at comparable training loss) between single-task and multi-task trajectories early into training. However, we find that factors of the optimization trajectory previously proposed to explain generalization gaps in single-task settings cannot explain the generalization gaps between single-task and multi-task models. Moreover, we show that the amount of gradient conflict between tasks is correlated with negative effects to task optimization, but is not predictive of generalization. Our work sheds light on the underlying causes for failures in MTL and, importantly, raises questions about the role of general purpose multi-task optimization algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑