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

基于Transformer的上下文语言模型与神经网络联合用于越南语自然语言推理

Transformer-Based Contextualized Language Models Joint with Neural Networks for Natural Language Inference in Vietnamese

University of Information Technology(信息科技大学);Vietnam National University, Ho Chi Minh City(胡志明市越南国家大学)

Dat Van-Thanh Nguyen, Tin Van Huynh, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen

AI总结:

本文研究越南语自然语言推理,提出将上下文语言模型与神经网络联合的方法,在ViNLI数据集上取得82.78%的F1分数,并优于多种微调预训练模型。

摘要:

自然语言推理(NLI)是自然语言处理(NLP)中的一项任务,对各种人工智能应用具有重要价值。然而,针对越南语自然语言推理并探索联合模型概念的研究仍然有限。因此,我们使用上下文语言模型(CLM)与神经网络的不同组合进行了实验。我们使用CLM生成上下文化的文本表示,并使用神经网络进行分类。此外,我们评估了每种联合模型的优势与不足,并识别了这些模型在越南语语境中的失败点。本实验在基准数据集(ViNLI)上取得的最高F1分数达到82.78%。通过使用多种模型进行实验,规模最大的CLM是XLM-R(355M)。该组合在F1分数上始终表现出优于微调强预训练语言模型的性能,包括PhoBERT(+6.58%)、mBERT(+19.08%)和XLM-R(+0.94%)。本文旨在介绍一种能够为越南语NLI带来性能提升的新方法或模型。总体而言,我们发现CLM与神经网络的联合方法虽然简单,却能够实现高质量的性能,这使其适用于需要高效利用资源的应用场景。

英文摘要:

Natural Language Inference (NLI) is a task within Natural Language Processing (NLP) that holds value for various AI applications. However, there have been limited studies on Natural Language Inference in Vietnamese that explore the concept of joint models. Therefore, we conducted experiments using various combinations of contextualized language models (CLM) and neural networks. We use CLM to create contextualized work presentations and use Neural Networks for classification. Furthermore, we have evaluated the strengths and weaknesses of each joint model and identified the model failure points in the Vietnamese context. The highest F1 score in this experiment, up to 82.78% in the benchmark dataset (ViNLI). By conducting experiments with various models, the most considerable size of the CLM is XLM-R (355M). That combination has consistently demonstrated superior performance compared to fine-tuning strong pre-trained language models like PhoBERT (+6.58%), mBERT (+19.08%), and XLM-R (+0.94%) in terms of F1-score. This article aims to introduce a novel approach or model that attains improved performance for Vietnamese NLI. Overall, we find that the joint approach of CLM and neural networks is simple yet capable of achieving high-quality performance, which makes it suitable for applications that require efficient resource utilization.

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

↑