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

idT5:多语言 T5 Transformer 的印度尼西亚语版本

idT5: Indonesian Version of Multilingual T5 Transformer

Institut Teknologi Sepuluh Nopember(十一月理工学院)

Mukhlish Fuadi, Adhi Dharma Wibawa, Surya Sumpeno

AI总结:

本文将 mT5 适配为仅面向印度尼西亚语的小型预训练 idT5,在 SA 上超过 mT5 8%,QG/QA 性能相当,并将模型规模最多降低 58%。

摘要:

印度尼西亚语有近 2 亿人使用,是世界上使用人数第 10 多的语言,但它在 NLP(自然语言处理)研究中的代表性不足。语言资源的稀缺阻碍了以往关于印度尼西亚语的工作。Transformer 是一种迅速成为 NLP 主流的新架构,超越了卷积神经网络和循环神经网络等替代方案。T5(Text-to-Text Transfer Transformer,文本到文本迁移 Transformer)是一种 Transformer 模型,它将所有基于文本的语言问题转换为英语的文本到文本格式。其多语言变体是 mT5(multilingual T5,多语言 T5),已在跨语言的许多 NLP 任务上展现出良好结果。然而,这种多语言模型的规模是其在实际生产应用中的一个缺点,因为这些应用有时只需要一种语言。在本研究中,mT5 模型被调整为仅适用于一种语言,即印度尼西亚语,从而得到一个专门面向印度尼西亚语且规模更小的预训练 T5 模型。为进行性能比较,我们使用完全相同的机制和数据集,将该模型与 mT5 模型在情感分析(SA)、问题生成(QG)和问答(QA)任务上进行微调。基于我们模型的微调模型在 SA 上取得了 77.18% 的准确率,比基于 mT5 的模型高 8%,并且在 QG 和 QA 上获得了与基于 mT5 的模型几乎相同的分数。结果证实,可以生成一个更小的预训练模型,在保持相当性能的同时,将模型规模最多减少 58%。此外,所得模型需要更少内存、加载更快,并且推理时间更短。

英文摘要:

Indonesian language is spoken by almost 200 million people and is the 10th most spoken language in the world, but it is under-represented in NLP (Natural Language Processing) research. A sparsity of language resources has hampered previous work on Indonesian. The Transformer is a new architecture rapidly becoming dominant for NLP, surpassing alternatives like convolutional and recurrent neural networks. T5 (Text-to-Text Transfer Transformer) is a Transformer model that converts all text-based language problems to text-to-text format for English. The multilingual variant is mT5 (multilingual T5) which has shown promising results on many NLP tasks across languages. However, the size of this multilingual model is a drawback for its application in real production applications, which sometimes require only one language. In this study, the mT5 model was adapted for only one language, Indonesian, resulting in a pre-trained T5 model that was specific only for Indonesian with a smaller size. For performance comparison, we fine-tuned this model and the mT5 model to the Sentiment Analysis (SA), Question Generation (QG), and Question Answering (QA) tasks with the exact mechanism and dataset. Fine-tuned model based on our model achieved 77.18% accuracy on SA, 8% higher than the mT5-based model, and obtained nearly the same score as the mT5-based model on QG and QA. The results confirm that it is possible to produce a smaller pre-trained model that maintains comparable yields while reducing the model size by up to 58%. In addition, the resulting model requires less memory, loads faster, and inference times faster.

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

↑