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

MDAPT:单一模型中的多语言域自适应预训练

MDAPT: Multilingual Domain Adaptive Pretraining in a Single Model

University of Copenhagen(哥本哈根大学);PricewaterhouseCoopers (PwC)(普华永道);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心)

Rasmus Kær Jørgensen, Mareike Hartmann, Xiang Dai, Desmond Elliott

摘要:

领域自适应预训练,即在领域特定文本上对语言模型进行持续的无监督预训练,改进了域内下游任务的文本建模。许多现实世界的应用程序都是基于特定领域的文本,例如处理金融或生物医学文档,这些应用程序通常需要支持多种语言。然而,由于法规、立法或仅仅是缺乏特定于语言和领域的文本,很难获得针对此类场景的大规模特定于领域的多语言预训练数据。一种解决方案是训练单个多语言模型,利用尽可能多语言的可用数据。在这项工作中,我们探索了领域自适应预训练的好处,重点是适应特定领域内的多种语言。我们提出了不同的技术来组成预训练语料库,使语言模型成为特定领域和多语言。针对生物医学命名实体识别和金融句子分类的九个特定领域的分类器的评估涵盖了七种不同的语言,表明一个单一的多语言特定领域的模型可以优于一般的多语言模型,并执行接近其单语言对应。这一发现适用于两种不同的预训练方法,基于适配器的预训练和全模型预训练。

英文摘要:

Domain adaptive pretraining, i.e. the continued unsupervised pretraining of a language model on domain-specific text, improves the modelling of text for downstream tasks within the domain. Numerous real-world applications are based on domain-specific text, e.g. working with financial or biomedical documents, and these applications often need to support multiple languages. However, large-scale domain-specific multilingual pretraining data for such scenarios can be difficult to obtain, due to regulations, legislation, or simply a lack of language- and domain-specific text. One solution is to train a single multilingual model, taking advantage of the data available in as many languages as possible. In this work, we explore the benefits of domain adaptive pretraining with a focus on adapting to multiple languages within a specific domain. We propose different techniques to compose pretraining corpora that enable a language model to both become domain-specific and multilingual. Evaluation on nine domain-specific datasets-for biomedical named entity recognition and financial sentence classification-covering seven different languages show that a single multilingual domain-specific model can outperform the general multilingual model, and performs close to its monolingual counterpart. This finding holds across two different pretraining methods, adapter-based pretraining and full model pretraining.

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

↑