arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.13914cs.LGcs.CL
收藏

在多任务学习中结合模块化技能

Combining Modular Skills in Multitask Learning

Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);McGill University(麦吉尔大学);Microsoft Research Montréal(微软研究院蒙特利尔);Université de Montréal(蒙特利尔大学)

Edoardo M. Ponti, Alessandro Sordoni, Yoshua Bengio, Siva Reddy

摘要:

模块化设计鼓励神经模型将知识的不同方面分解和重组,以更系统地概括新任务。在这项工作中,我们假设每个任务都与一个(潜在的小)库存的潜在离散技能的子集。反过来,技能对应于参数有效(稀疏/低秩)模型参数化。通过联合学习这些和任务-技能分配矩阵,每个任务的网络被实例化为活动技能参数的平均值。为了支持跨任务的技能的非平凡的软分区,我们实验了一系列的归纳偏见,如印度自助餐过程之前和双速学习率。我们在两个主要设置上评估了我们的潜在技能模型:1)在BabyAI平台的8个级别上进行接地指令的多任务强化学习; 2)在CrossFit上对预训练的文本到文本生成模型进行Few-Shot调整,CrossFit是一个包含160个NLP任务的基准测试。我们发现,网络的模块化设计显着提高了强化学习中的样本效率和监督学习中的Few-Shot泛化,与具有完全共享的,特定于任务的或有条件生成的参数的基线相比,知识在任务中纠缠在一起。此外,我们展示了离散技能如何帮助可解释性,因为它们产生了明确的任务层次。

英文摘要:

A modular design encourages neural models to disentangle and recombine different facets of knowledge to generalise more systematically to new tasks. In this work, we assume that each task is associated with a subset of latent discrete skills from a (potentially small) inventory. In turn, skills correspond to parameter-efficient (sparse / low-rank) model parameterisations. By jointly learning these and a task-skill allocation matrix, the network for each task is instantiated as the average of the parameters of active skills. To favour non-trivial soft partitions of skills across tasks, we experiment with a series of inductive biases, such as an Indian Buffet Process prior and a two-speed learning rate. We evaluate our latent-skill model on two main settings: 1) multitask reinforcement learning for grounded instruction following on 8 levels of the BabyAI platform; and 2) few-shot adaptation of pre-trained text-to-text generative models on CrossFit, a benchmark comprising 160 NLP tasks. We find that the modular design of a network significantly increases sample efficiency in reinforcement learning and few-shot generalisation in supervised learning, compared to baselines with fully shared, task-specific, or conditionally generated parameters where knowledge is entangled across tasks. In addition, we show how discrete skills help interpretability, as they yield an explicit hierarchy of tasks.

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

↑