Skip to main content
QUICK REVIEW

[Paper Review] Beyond Black Box AI-Generated Plagiarism Detection: From Sentence to Document Level

Mujahid Quidwai, Chunhui Li|arXiv (Cornell University)|Jun 13, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper proposes a transparent, NLP-based method for detecting AI-generated text in academic writing by generating paraphrased questions and comparing sentence-level embeddings between student responses and LLM-generated answers using contrastive loss. The approach achieves 94% accuracy in classifying human vs. AI text and offers explainable, quantifiable metrics at the sentence level, reducing false positives and eliminating the black-box nature of existing tools.

ABSTRACT

The increasing reliance on large language models (LLMs) in academic writing has led to a rise in plagiarism. Existing AI-generated text classifiers have limited accuracy and often produce false positives. We propose a novel approach using natural language processing (NLP) techniques, offering quantifiable metrics at both sentence and document levels for easier interpretation by human evaluators. Our method employs a multi-faceted approach, generating multiple paraphrased versions of a given question and inputting them into the LLM to generate answers. By using a contrastive loss function based on cosine similarity, we match generated sentences with those from the student's response. Our approach achieves up to 94% accuracy in classifying human and AI text, providing a robust and adaptable solution for plagiarism detection in academic settings. This method improves with LLM advancements, reducing the need for new model training or reconfiguration, and offers a more transparent way of evaluating and detecting AI-generated text.

Motivation & Objective

  • To address the growing challenge of AI-generated plagiarism in academic settings due to the rise of large language models (LLMs).
  • To overcome the limitations of existing AI text detectors, including high false positive rates, black-box decision-making, and lack of interpretability.
  • To develop a method that provides quantifiable, sentence-level metrics for human evaluators to interpret and validate detection results.
  • To create a detection system that remains effective across evolving LLMs without requiring retraining or reconfiguration.

Proposed method

  • The method generates multiple paraphrased versions of a given input question using a state-of-the-art paraphrasing model.
  • Each paraphrased question is fed into a large language model (LLM) to generate corresponding answers, creating a diverse set of reference responses.
  • Sentence embeddings are extracted from both student responses and LLM-generated answers using a pre-trained embedding model.
  • A contrastive loss function based on cosine similarity is applied to match corresponding sentences between student and LLM responses, enabling fine-grained comparison.
  • The model computes similarity scores at the sentence level, enabling transparent, interpretable detection of AI-generated content.
  • The approach is adaptable to various LLMs, including GPT-3.5, BardAI, and Character.AI, without requiring retraining as models evolve.

Experimental results

Research questions

  • RQ1Can a sentence-level comparison of embeddings between student responses and LLM-generated answers improve the accuracy and transparency of AI-generated text detection?
  • RQ2How does the use of paraphrased prompts enhance the robustness and generalization of AI text detection across diverse input variations?
  • RQ3To what extent can contrastive learning with cosine similarity improve the detection of subtle AI-generated content that mimics human writing?
  • RQ4Can the method maintain high performance across different LLMs without retraining, ensuring long-term relevance as models evolve?
  • RQ5How does the sentence-level interpretability of similarity scores reduce false positives and support human evaluators in academic plagiarism assessment?

Key findings

  • The proposed method achieves 94% accuracy in distinguishing between human-generated and AI-generated responses on the HC3 dataset.
  • The sentence-level similarity scores, derived from cosine similarity of contextual embeddings, provide quantifiable and interpretable metrics for human evaluators.
  • The method significantly reduces false positives by enabling granular, evidence-based comparisons rather than relying on opaque model predictions.
  • The approach remains effective across different LLMs, including GPT-3.5 and newer models, without requiring retraining or reconfiguration.
  • The use of paraphrased prompts increases the diversity of reference responses, improving the robustness of detection against variations in student writing.
  • The method successfully eliminates the black-box nature of existing detectors by exposing the underlying sentence-level comparisons and similarity scores.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.