arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.06294cs.CLcs.LG
收藏

使用预训练的语言模型训练用于低资源实体标记的紧凑模型

Training Compact Models for Low Resource Entity Tagging using Pre-trained Language Models

Intel AI Lab(英特尔人工智能实验室)

Peter Izsak, Shira Guskin, Moshe Wasserblat

摘要:

低资源命名实体识别任务的训练模型已被证明是一个挑战,特别是在工业应用中,部署更新的模型是一项持续的工作,对业务运营至关重要。在这种情况下,通常有大量的未标记数据,而标记数据是稀缺或不可用的。通过利用迁移学习,被训练用于从文本中提取上下文特征的预训练语言模型被证明可以改善许多自然语言处理(NLP)任务,包括几乎没有标记的任务。然而,这样的模型强加了沉重的存储器和计算负担,使得训练和部署这样的模型用于推理使用成为挑战。在这项正在进行的工作中,我们将预训练的掩蔽语言模型提供的迁移学习的有效性与半监督方法相结合,使用标记和未标记的示例训练快速紧凑的模型。初步评估表明,与最先进的预训练语言模型相比,紧凑模型可以实现具有竞争力的准确性,压缩率为36倍,并且推理速度明显更快,允许在生产环境或边缘设备上部署此类模型。

英文摘要:

Training models on low-resource named entity recognition tasks has been shown to be a challenge, especially in industrial applications where deploying updated models is a continuous effort and crucial for business operations. In such cases there is often an abundance of unlabeled data, while labeled data is scarce or unavailable. Pre-trained language models trained to extract contextual features from text were shown to improve many natural language processing (NLP) tasks, including scarcely labeled tasks, by leveraging transfer learning. However, such models impose a heavy memory and computational burden, making it a challenge to train and deploy such models for inference use. In this work-in-progress we combined the effectiveness of transfer learning provided by pre-trained masked language models with a semi-supervised approach to train a fast and compact model using labeled and unlabeled examples. Preliminary evaluations show that the compact models can achieve competitive accuracy with 36x compression rate when compared with a state-of-the-art pre-trained language model, and run significantly faster in inference, allowing deployment of such models in production environments or on edge devices.

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

↑