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

AdapterDistillation:基于知识蒸馏的非破坏性任务组合

AdapterDistillation: Non-Destructive Task Composition with Knowledge Distillation

Ant Group(蚂蚁集团)

Junjie Wang, Yicheng Chen, Wangshu Zhang, Sen Hu, Teng Xu, Jing Zheng

AI总结:

提出AdapterDistillation两阶段知识蒸馏算法,通过训练学生适配器并蒸馏教师适配器知识,实现非破坏性任务组合,在对话系统检索任务中优于现有方法。

摘要:

通过在每个Transformer层中引入少量任务特定参数(即适配器)来利用多个任务的知识,近年来受到广泛关注。然而,添加额外的融合层来实现知识组合不仅增加了推理时间,而且对于某些应用而言不具备可扩展性。为了避免这些问题,我们提出了一种名为AdapterDistillation的两阶段知识蒸馏算法。在第一阶段,我们利用本地数据训练一个学生适配器来提取任务特定知识。在第二阶段,我们将现有教师适配器中的知识蒸馏到学生适配器中,以帮助其推理。在面向任务型对话系统的常见问题检索上进行的大量实验验证了AdapterDistillation的有效性。我们表明,AdapterDistillation在准确性、资源消耗和推理时间方面均优于现有算法。

英文摘要:

Leveraging knowledge from multiple tasks through introducing a small number of task specific parameters into each transformer layer, also known as adapters, receives much attention recently. However, adding an extra fusion layer to implement knowledge composition not only increases the inference time but also is non-scalable for some applications. To avoid these issues, we propose a two-stage knowledge distillation algorithm called AdapterDistillation. In the first stage, we extract task specific knowledge by using local data to train a student adapter. In the second stage, we distill the knowledge from the existing teacher adapters into the student adapter to help its inference. Extensive experiments on frequently asked question retrieval in task-oriented dialog systems validate the efficiency of AdapterDistillation. We show that AdapterDistillation outperforms existing algorithms in terms of accuracy, resource consumption and inference time.

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

↑