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

用于改进和解释预训练语言模型的混合语言学专家适配器

Mixture-of-Linguistic-Experts Adapters for Improving and Interpreting Pre-trained Language Models

University of British Columbia(不列颠哥伦比亚大学);University of Fraser Valley(弗雷泽河谷大学)

Raymond Li, Gabriel Murray, Giuseppe Carenini

AI总结:

本文提出混合语言学专家适配器方法,在参数高效微调下将语言结构注入预训练模型,通过Gumbel-Softmax门控组合并行适配器模块并结合剪枝减少参数,实验证明其性能超越现有PEFT方法且具可解释性。

摘要:

在这项工作中,我们提出了一种结合两个热门研究领域的方法,即在参数高效微调(PEFT)设置下,将语言结构注入预训练语言模型。在我们的方法中,使用一种新颖的混合语言学专家架构来组合编码不同语言结构的并行适配器模块,其中使用Gumbel-Softmax门控来确定这些模块在模型每一层的重要性。为了减少参数数量,我们首先将模型训练固定的少量步数,然后根据专家的重要性分数对其进行剪枝。我们在三种不同的预训练模型上的实验结果表明,在参数数量相当的情况下,我们的方法能够超越最先进的PEFT方法。此外,我们还提供了额外分析,检查每个模型在每一层选择的专家,为未来研究提供见解。

英文摘要:

In this work, we propose a method that combines two popular research areas by injecting linguistic structures into pre-trained language models in the parameter-efficient fine-tuning (PEFT) setting. In our approach, parallel adapter modules encoding different linguistic structures are combined using a novel Mixture-of-Linguistic-Experts architecture, where Gumbel-Softmax gates are used to determine the importance of these modules at each layer of the model. To reduce the number of parameters, we first train the model for a fixed small number of steps before pruning the experts based on their importance scores. Our experiment results with three different pre-trained models show that our approach can outperform state-of-the-art PEFT methods with a comparable number of parameters. In addition, we provide additional analysis to examine the experts selected by each model at each layer to provide insights for future studies.

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

↑