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

从通用语言模型到下游任务:改进RoBERTa-Based越南语仇恨语音检测

From Universal Language Model to Downstream Task: Improving RoBERTa-Based Vietnamese Hate Speech Detection

Sun Asterisk Inc(太阳星公司);Le Quy Don Technical University(黎贵敦技术大学)

Quang Huu Pham, Viet Anh Nguyen, Linh Bao Doan, Ngoc N. Tran, Ta Minh Thanh

摘要:

自然语言处理是人工智能的一个快速发展的领域。自2017年Google推出Transformer以来,BERT、GPT、ELMo等大量语言模型都受到了该架构的启发。这些模型在巨大的数据集上进行了训练,并在自然语言理解方面取得了最先进的结果。然而,针对下游任务在小得多的数据集上微调预训练的语言模型需要精心设计的流水线以减轻数据集的问题,例如缺乏训练数据和不平衡的数据。在本文中,我们提出了一个管道,以适应通用的RoBERTa语言模型的一个特定的文本分类任务:越南仇恨语音检测。我们首先通过在Masked语言模型任务上重新训练模型来调整数据集上的PhoBERT;然后,我们使用其编码器进行文本分类。为了在学习新特征表示的同时保留预训练的权重,我们进一步利用了不同的训练技术:层冻结,块式学习率和标签平滑。我们的实验证明,我们提出的管道显着提高了性能,实现了一个新的国家的最先进的越南仇恨语音检测活动与0.7221 F1得分。

英文摘要:

Natural language processing is a fast-growing field of artificial intelligence. Since the Transformer was introduced by Google in 2017, a large number of language models such as BERT, GPT, and ELMo have been inspired by this architecture. These models were trained on huge datasets and achieved state-of-the-art results on natural language understanding. However, fine-tuning a pre-trained language model on much smaller datasets for downstream tasks requires a carefully-designed pipeline to mitigate problems of the datasets such as lack of training data and imbalanced data. In this paper, we propose a pipeline to adapt the general-purpose RoBERTa language model to a specific text classification task: Vietnamese Hate Speech Detection. We first tune the PhoBERT on our dataset by re-training the model on the Masked Language Model task; then, we employ its encoder for text classification. In order to preserve pre-trained weights while learning new feature representations, we further utilize different training techniques: layer freezing, block-wise learning rate, and label smoothing. Our experiments proved that our proposed pipeline boosts the performance significantly, achieving a new state-of-the-art on Vietnamese Hate Speech Detection campaign with 0.7221 F1 score.

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

↑