LLM-as-a-Coauthor: Can Mixed Human-Written and Machine-Generated Text Be Detected?

Qihui Zhang, Chujie Gao, Dongping Chen, Yue Huang, Yixin Huang, Zhenyang Sun, Shilin Zhang, Weiye Li, Zhengyan Fu, Yao Wan, Lichao Sun

TL;DR

This paper introduces "mixtext," a new category of text that blends human and AI-generated content, and presents MIXSET, the first dataset specifically designed to study it. Their findings reveal that current AI text detectors struggle significantly with mixtext, highlighting a critical gap in our ability to identify nuanced AI-human collaboration.

What Problem Does This Paper Address?

As Large Language Models (LLMs) become more integrated into our daily lives, people are increasingly using them not just to generate text from scratch, but also to refine their own writing (AI-revised Human-Written Text or HWT) or to polish AI-generated text (human-revised Machine-Generated Text or MGT). This creates a new category of text, which the authors call "mixtext," that is neither purely human nor purely AI-generated. Existing AI text detectors are primarily designed for binary classification (purely human vs. purely AI) and struggle to accurately identify these mixed scenarios. This poses a risk in fields where text authenticity is crucial, such as journalism, education, and scientific research, as it can be used to evade detection or mask the true origin of content.

Methods

The authors introduce a novel dataset called MIXSET to address this gap. MIXSET contains "mixtext" examples created through various operations:

  • AI-revised HWT: Operations like "polish," "complete," and "rewrite" were applied to human-written text using LLMs.
  • Human-revised MGT: Operations like "adapt" and "humanize" were applied to machine-generated text by human experts to make it appear more natural.

They then conducted extensive experiments using MIXSET to evaluate the performance of mainstream AI text detectors. These experiments included:

  • Zero-shot and fine-tuning settings: Testing detectors as-is and after training them on MIXSET.
  • Binary and three-class classification: Evaluating detectors on whether they classify mixtext as MGT (binary) or as a distinct class (three-class).
  • Transfer experiments: Assessing how well detectors trained on one type of mixtext generalize to others (operation-generalization and LLM-generalization).
  • Varying training set sizes: Investigating the impact of dataset size on detection performance.

Datasets

  • MIXSET: The primary contribution of this paper is the introduction of MIXSET, the first dataset specifically designed for studying "mixtext." It comprises 3.6k instances covering various AI-revised HWT and human-revised MGT scenarios.
  • Existing Datasets: For training and evaluating detectors on pure HWT and MGT, the authors utilized existing datasets, including those from QA tasks and general LLM-generated text benchmarks.

Key Insights and Ideas

  • The "Mixtext" Blind Spot: The most significant finding is that current AI text detectors are largely ineffective at identifying "mixtext." They tend to classify it as an intermediate state between pure HWT and MGT, often with low confidence, indicating a fundamental limitation.
  • Subtlety is Key: Detectors struggle most with subtle modifications and style adaptability, particularly when AI is used to "humanize" text or when humans adapt AI-generated text.
  • LLM-Specific Differences: Texts generated by Llama2-70b were found to be slightly easier to detect than those from GPT-4, possibly because GPT-4's output is closer to human writing patterns.
  • Three-Class Classification is Challenging: While binary classification (HWT vs. MGT) is already difficult for mixtext, treating mixtext as a separate class in a three-class setting proved even more challenging for most detectors, with Radar being a notable exception.
  • Humanization is the Hardest: The "humanize" operation, where AI tries to mimic human imperfections in MGT, presented the poorest transfer performance for detectors, suggesting it falls outside their learned distributions.

Key Results

  • Low Detection Rates: Existing detectors showed a significant drop in performance when faced with mixtext. For instance, in experiment 1, the percentage of mixtext samples identified as MGT by detectors was often between 30% and 70%, indicating a lack of clear preference and low confidence.
  • Radar Excels: Among the model-based detectors, Radar consistently performed best, especially in the three-class classification task, achieving an overall accuracy exceeding 0.9 in some transfer experiments.
  • Fine-tuning Helps, But Not Enough: Retraining detectors on MIXSET improved their ability to identify mixtext, but it sometimes came at a slight cost to their performance on pure MGT detection (e.g., a decrease in F1 score).
  • Impact of Training Data: Increasing the number of mixtext samples in the training set significantly improved detection rates. However, adding only pure HWT/MGT samples did not yield similar improvements and could even negatively impact performance due to subtle distribution shifts.

Limitations and Future Work

  • Dataset Scale: The authors acknowledge that MIXSET, while comprehensive in types of mixtext, is relatively small in scale, which could limit the comprehensiveness of model training and evaluation.
  • Human Participant Bias: The use of human annotators for revising MGT introduces potential biases due to variations in language habits and styles, which might affect the dataset's representativeness.
  • Need for Fine-Grained Detectors: The study strongly suggests that current detectors are not sophisticated enough for mixtext. Future work should focus on developing more robust and fine-grained detection methods specifically tailored to these mixed scenarios.
  • Exploring Other Operations: Further research could explore a wider range of human-AI text modification operations and their impact on detectability.
  • Ethical Considerations: The authors emphasize that their research is for scientific exploration and strongly oppose the misuse of mixtext to evade detection, particularly in academic settings. They call for responsible use of AI technologies.

Summary updated

Abstract

With the rapid development and widespread application of Large Language Models (LLMs), the use of Machine-Generated Text (MGT) has become increasingly common, bringing with it potential risks, especially in terms of quality and integrity in fields like news, education, and science. Current research mainly focuses on purely MGT detection, without adequately addressing mixed scenarios including AI-revised Human-Written Text (HWT) or human-revised MGT. To tackle this challenge, we define mixtext, a form of mixed text involving both AI and human-generated content. Then we introduce MixSet, the first dataset dedicated to studying these mixtext scenarios. Leveraging MixSet, we executed comprehensive experiments to assess the efficacy of prevalent MGT detectors in handling mixtext situations, evaluating their performance in terms of effectiveness, robustness, and generalization. Our findings reveal that existing detectors struggle to identify mixtext, particularly in dealing with subtle modifications and style adaptability. This research underscores the urgent need for more fine-grain detectors tailored for mixtext, offering valuable insights for future research. Code and Models are available at https://github.com/Dongping-Chen/MixSet.
BibTeX
@inproceedings{zhang2024llm,
  author = {Qihui Zhang and Chujie Gao and Dongping Chen and Yue Huang and Yixin Huang and Zhenyang Sun and Shilin Zhang and Weiye Li and Zhengyan Fu and Yao Wan and Lichao Sun},
  title = {{LLM-as-a-Coauthor: Can Mixed Human-Written and Machine-Generated Text Be Detected?}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.29},
}
Figure