Detection of AI-written and Human-written Text using Deep Recurrent Neural Networks

Ghazanfar Latif, Nazeeruddin Mohammad, Ghassen Ben Brahim, Jaafar Alghazo, Khaled Fawagreh

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

With the development of Artificial Intelligence (AI)-based language models, it is becoming pertinent and will become even more pertinent in the future to be able to distinguish between AI-based generated text and human-based generated text. The implications of having humans present work generated by AI language models and claiming it their own have serious implications at all levels with the basic being the ethical implication. In this paper, we propose the use of modified deep learning models using the Deep Recurrent Neural Network (DRNN) for the classification of text to be either AI-generated or human-written. Two modified architectures are proposed DRNN-1 and DRNN-2. This led to the second contribution of this work which is the development of a dataset containing short answers to simple questions in Information Technology (IT), Cybersecurity, and Cryptography given to junior and senior students in Computer Engineering & Science, and IT to produce a total of 450 answers. The same questions were given to ChatGPT for a total of 450 answers. The combined dataset consisted of 900 answers in the three domains. Though both proposed architectures produced good results, the DRNN-2 achieved better results with a test accuracy of 83.78% using the cybersecurity questions alone and 88.52% using the combined total dataset. This is considered one of the very excellent results achieved in this new emerging field of research.

Original languageEnglish (US)
Title of host publicationFourth Symposium on Pattern Recognition and Applications, SPRA 2023
EditorsShien-Kuei Liaw
PublisherSPIE
ISBN (Electronic)9781510679856
DOIs
StatePublished - 2024
Externally publishedYes
Event4th Symposium on Pattern Recognition and Applications, SPRA 2023 - Napoli, Italy
Duration: Dec 1 2023Dec 3 2023

Publication series

NameProceedings of SPIE - The International Society for Optical Engineering
Volume13162
ISSN (Print)0277-786X
ISSN (Electronic)1996-756X

Conference

Conference4th Symposium on Pattern Recognition and Applications, SPRA 2023
Country/TerritoryItaly
CityNapoli
Period12/1/2312/3/23

Bibliographical note

Publisher Copyright:
© 2024 SPIE.

Keywords

  • AI-written Text
  • Bard
  • ChatGPT
  • Human Written Text
  • NLP
  • OpenAI
  • Recurrent Neural Network
  • RNN

Fingerprint

Dive into the research topics of 'Detection of AI-written and Human-written Text using Deep Recurrent Neural Networks'. Together they form a unique fingerprint.

Cite this