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

预训练语言模型的高效属性注入

Efficient Attribute Injection for Pretrained Language Models

University of Edinburgh(爱丁堡大学);NAVER AI Lab(NAVER人工智能实验室);NAVER Clova AI(NAVER Clova人工智能)

Reinald Kim Amplayo, Kang Min Yoo, Sang-Woo Lee

摘要:

元数据属性(例如,来自评论的用户和产品ID)可以通过修改模型的架构作为基于神经的NLP模型的附加输入被合并,以便提高它们的性能。然而,最近的模型依赖于预训练的语言模型(PLM),其中以前使用的属性注入技术是不平凡的或无效的。在本文中,我们提出了一个轻量级和内存效率的方法注入属性的PLM。我们扩展适配器,即微型插件前馈模块,以包括独立于文本或与文本联合的属性。为了限制参数的增加,特别是当属性词汇量很大时,我们使用低秩近似和超复数乘法,显着减少了总参数。我们还引入了训练机制来处理属性可以是多标签或稀疏的域。在不同领域的8个数据集上进行的大量实验和分析表明,该方法优于以往的属性注入方法,在各种数据集上都达到了最先进的性能。

英文摘要:

Metadata attributes (e.g., user and product IDs from reviews) can be incorporated as additional inputs to neural-based NLP models, by modifying the architecture of the models, in order to improve their performance. Recent models however rely on pretrained language models (PLMs), where previously used techniques for attribute injection are either nontrivial or ineffective. In this paper, we propose a lightweight and memory-efficient method to inject attributes to PLMs. We extend adapters, i.e. tiny plug-in feed-forward modules, to include attributes both independently of or jointly with the text. To limit the increase of parameters especially when the attribute vocabulary is large, we use low-rank approximations and hypercomplex multiplications, significantly decreasing the total parameters. We also introduce training mechanisms to handle domains in which attributes can be multi-labeled or sparse. Extensive experiments and analyses on eight datasets from different domains show that our method outperforms previous attribute injection methods and achieves state-of-the-art performance on various datasets.

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

↑