arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.03792cs.LG
收藏

FAMO:快速自适应多任务优化

FAMO: Fast Adaptive Multitask Optimization

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Salesforce AI Research(赛富时人工智能研究院);Sony AI(索尼人工智能研究院)

Bo Liu, Yihao Feng, Peter Stone, Qiang Liu

AI总结:

本文提出FAMO动态加权方法,以O(1)时空复杂度均衡降低多任务损失,在监督学习和强化学习任务中达到与最先进梯度操纵方法相当或更优的性能。

摘要:

人工智能长期追求的核心目标之一是创建能够通过多任务学习(MTL)从多样数据中学习多个不同任务的通用智能体。然而,在实践中,对所有任务的平均损失应用梯度下降(GD)可能会由于某些任务严重欠优化而导致多任务性能不佳。以往通过操纵任务梯度以获得更均衡损失下降的方法需要存储和计算所有任务梯度(空间和时间复杂度为 $\mathcal{O}(k)$,其中 $k$ 为任务数量),这限制了它们在大规模场景中的应用。在本工作中,我们提出了快速自适应多任务优化 FAMO,一种动态加权方法,以 $\mathcal{O}(1)$ 的空间和时间复杂度均衡地降低任务损失。我们进行了大量实验,涵盖多任务监督学习和强化学习问题。结果表明,FAMO 在性能上与最先进的梯度操纵技术相当或更优,同时在空间和计算效率方面有显著提升。代码可在 \url{https://github.com/Cranial-XIX/FAMO} 获取。

英文摘要:

One of the grand enduring goals of AI is to create generalist agents that can learn multiple different tasks from diverse data via multitask learning (MTL). However, in practice, applying gradient descent (GD) on the average loss across all tasks may yield poor multitask performance due to severe under-optimization of certain tasks. Previous approaches that manipulate task gradients for a more balanced loss decrease require storing and computing all task gradients ($\mathcal{O}(k)$ space and time where $k$ is the number of tasks), limiting their use in large-scale scenarios. In this work, we introduce Fast Adaptive Multitask Optimization FAMO, a dynamic weighting method that decreases task losses in a balanced way using $\mathcal{O}(1)$ space and time. We conduct an extensive set of experiments covering multi-task supervised and reinforcement learning problems. Our results indicate that FAMO achieves comparable or superior performance to state-of-the-art gradient manipulation techniques while offering significant improvements in space and computational efficiency. Code is available at \url{https://github.com/Cranial-XIX/FAMO}.

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

↑