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

通过任务亲和力预测实现自动化多任务机器学习中的任务分组

Task Grouping for Automated Multi-Task Machine Learning via Task Affinity Prediction

Pennsylvania State University(宾夕法尼亚州立大学);Vanderbilt University(范德比尔特大学)

Afiya Ayman, Ayan Mukhopadhyay, Aron Laszka

AI总结:

本文提出一种基于任务亲和力预测的自动化任务分组方法,通过分析任务特征和单任务学习特性构建预测器,并结合随机搜索算法减少多任务训练次数,从而在多个基准数据集上找到优于现有基线的任务分组方案。

摘要:

当需要同时学习多个相似任务时,多任务学习(MTL)模型通常能比单任务学习(STL)模型取得显著更高的准确率。然而,MTL的优势取决于多种因素,例如任务之间的相似性、数据集的大小等;事实上,有些任务可能无法从MTL中受益,甚至与STL相比还会出现准确率下降。因此,问题随之而来:哪些任务应该被放在一起学习?领域专家可以依据直觉、经验和最佳实践尝试对任务进行分组,但人工分组往往费时费力,且远非最优。在本文中,我们提出了一种新颖的自动化任务分组方法。首先,我们利用MTL文献中广泛使用的四个基准数据集,研究任务在MTL中的亲和力,重点关注基于神经网络的MTL模型。我们识别出固有的任务特征和STL特性,这些特征和特性可以帮助我们预测一组任务应该使用MTL一起学习,还是应该使用STL独立学习。基于这一预测器,我们引入了一种随机搜索算法,该算法利用预测器在搜索任务分组的过程中最小化MTL训练的次数。我们在四个基准数据集上证明,我们提出的由预测器驱动的搜索方法能够找到比现有基线方法更好的任务分组。

英文摘要:

When a number of similar tasks have to be learned simultaneously, multi-task learning (MTL) models can attain significantly higher accuracy than single-task learning (STL) models. However, the advantage of MTL depends on various factors, such as the similarity of the tasks, the sizes of the datasets, and so on; in fact, some tasks might not benefit from MTL and may even incur a loss of accuracy compared to STL. Hence, the question arises: which tasks should be learned together? Domain experts can attempt to group tasks together following intuition, experience, and best practices, but manual grouping can be labor-intensive and far from optimal. In this paper, we propose a novel automated approach for task grouping. First, we study the affinity of tasks for MTL using four benchmark datasets that have been used extensively in the MTL literature, focusing on neural network-based MTL models. We identify inherent task features and STL characteristics that can help us to predict whether a group of tasks should be learned together using MTL or if they should be learned independently using STL. Building on this predictor, we introduce a randomized search algorithm, which employs the predictor to minimize the number of MTL trainings performed during the search for task groups. We demonstrate on the four benchmark datasets that our predictor-driven search approach can find better task groupings than existing baseline approaches.

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

↑