With the spike of GPT AI, students are using it to generate essays and text based research assignements. Due to the nature of the way AI generates text, there is a way to differentiate text written by a human and text written by AI. 2 measures; perplexity & burstiness. Perplexity measures the complexity of a sentence while burstiness compares variation across sentences. Lower values increase the chances that the text was written using AI. "GPTZero is a classification model that predicts whether a document was written by a large language model, providing predictions on a sentence, paragraph, and document level. GPTZero was trained on a large, diverse corpus of human-written and AI-generated text, with a focus on English prose."Â - https://gptzero.me/faq Using an API from GPTZero, I created a Google Marketplace extension to detect if text on a Google Doc was AI written.
Note the increase of the perplexity measure when analyzing the human written text. I used ChatGPT for the first sample and wrote the second sample.