Prevailing deep models are single-purpose and overspecialize at individual tasks. However, when being extended to new tasks, they typically forget previously learned skills and learn from scratch. We address this issue by introducing SkillNet, a general-purpose model that stitches together existing skills to learn new tasks more effectively. The key feature of our approach is that it is sparsely activated guided by predefined skills. Different from traditional dense models that always activate all the model parameters, SkillNet only activates parts of the model parameters whose skills are relevant to the target task. When learning for a new task, our approach precisely activates required skills and also provides an option to add new skills. We evaluate on natural language understandings tasks and have the following findings. First, with only one model checkpoint, SkillNet performs better than task-specific fine-tuning and two multi-task learning baselines (i.e., dense model and Mixture-of-Experts model) on six tasks. Second, sparsely activated pre-training further improves the overall performance. Third, SkillNet significantly outperforms baseline systems when being extended to new tasks.
翻译:常用的深层模型是单一目的的,在个别任务中过于专业化。 但是,当它们被扩展为新任务时,它们通常会忘记以前学到的技能并从零开始学习。 我们通过引入SkillNet来解决这个问题。 SkillNet是一个通用模型,将现有技能结合起来,以便更有效地学习新任务。 我们的方法的主要特征是,它以预先界定的技能为指导,作用很少。 不同于总是激活所有模型参数的传统密集模型, SkillNet只激活与目标任务相关的部分模型参数。 当学习新任务时,我们的方法恰恰激活了新技能,并且提供了增加新技能的选项。 我们评估自然语言理解任务,并有以下结果。 首先,SkillNet只使用一个模型检查站,比任务特定的微调和六个任务的两个多任务学习基线(即密度模型和Mixture-Explerts模型)要好得多。 其次, 启动前训练的少功能进一步提升了总体性。 第三,SkillNet在扩展到新任务时明显超越了基线系统。