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

用于检测阿拉伯语GPT2自动生成推文的BERT Transformer模型

BERT Transformer model for Detecting Arabic GPT2 Auto-Generated Tweets

Ferhat Abbas University, Setif 1(费尔哈特·阿巴斯大学塞提夫第一大学);Qatar Computing Research Institute(卡塔尔计算研究所);Hamad Bin Khalifa University (HBKU)(哈马德·本·哈利法大学)

Fouzi Harrag, Maria Debbah, Kareem Darwish, Ahmed Abdelali

摘要:

在过去的二十年里,我们逐渐转向互联网和社交媒体来寻找新闻,娱乐对话和分享意见。最近,OpenAI开发了一个名为GPT-2的机器学习系统,用于生成预训练的Transformer-2,它可以生成deepfake文本。它可以根据简短的写作提示生成文本块,看起来像是人类写的,从而促进虚假或自动生成的文本的传播。根据这一进展,并为了对抗潜在的危险,已经提出了几种方法来检测这些语言模型编写的文本。在本文中,我们提出了一个基于迁移学习的模型,该模型将能够检测阿拉伯语句子是由人类写的还是由机器人自动生成的。我们的数据集基于以前工作中的推文,我们使用Twitter API对其进行了抓取和扩展。我们使用GPT 2-Small-Arabic来生成假的阿拉伯语句子。为了进行评估,我们比较了基于不同递归神经网络(RNN)词嵌入的基线模型,即:LSTM,BI-LSTM,GRU和BI-GRU,以及基于transformer的模型。我们新的迁移学习模型获得了高达98%的准确率。据我们所知,这项工作是第一项将ARABERT和GPT 2结合起来检测和分类阿拉伯语自动生成文本的研究。

英文摘要:

During the last two decades, we have progressively turned to the Internet and social media to find news, entertain conversations and share opinion. Recently, OpenAI has developed a ma-chine learning system called GPT-2 for Generative Pre-trained Transformer-2, which can pro-duce deepfake texts. It can generate blocks of text based on brief writing prompts that look like they were written by humans, facilitating the spread false or auto-generated text. In line with this progress, and in order to counteract potential dangers, several methods have been pro-posed for detecting text written by these language models. In this paper, we propose a transfer learning based model that will be able to detect if an Arabic sentence is written by humans or automatically generated by bots. Our dataset is based on tweets from a previous work, which we have crawled and extended using the Twitter API. We used GPT2-Small-Arabic to generate fake Arabic Sentences. For evaluation, we compared different recurrent neural network (RNN) word embeddings based baseline models, namely: LSTM, BI-LSTM, GRU and BI-GRU, with a transformer-based model. Our new transfer-learning model has obtained an accuracy up to 98%. To the best of our knowledge, this work is the first study where ARABERT and GPT2 were combined to detect and classify the Arabic auto-generated texts.

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

↑