TL;DR
This paper introduces HACo-Det, a novel dataset and benchmark for detecting machine-generated text (MGT) in human-AI coauthored documents at a fine-grained, word-level. Existing MGT detection methods struggle with this nuanced task, highlighting the need for more sophisticated approaches beyond simple binary classification.
What Problem Does This Paper Address?
The rapid advancement of Large Language Models (LLMs) has led to widespread human-AI collaboration in content creation. While this offers exciting possibilities, it also raises concerns about academic integrity, plagiarism, and the potential misuse of AI-generated text. Current MGT detection methods primarily focus on classifying entire documents as either human-written or AI-generated. This binary, document-level approach fails to capture the complexity of coauthored texts, where human and AI contributions are intertwined. The paper addresses this gap by proposing a method for fine-grained MGT detection, aiming to identify which specific words in a text were generated by an AI, even when humans and AI collaborate.
Methods
The authors propose a novel dataset, HACo-Det, constructed through an automated pipeline that simulates human-AI coauthoring. This pipeline involves instructing LLMs to paraphrase parts of human-written texts over multiple turns, generating texts with word-level attribution labels. They then adapt seven existing document-level MGT detectors to perform word-level detection. These adapted detectors are evaluated on their ability to distinguish between human and AI contributions at both the word and sentence levels. The study also analyzes factors influencing detector performance, such as context window size.
Datasets
The primary dataset introduced is HACo-Det. It comprises human-AI coauthored texts generated from four domains: news (XSum), stories (WritingPrompts), scientific papers (Dagpap24), and Wikipedia contexts. The dataset is characterized by word-level attribution labels, indicating which parts of the text were generated by LLMs. The authors also reference existing datasets used for document-level MGT detection, but HACo-Det is specifically designed for fine-grained analysis.
Key Insights and Ideas
- The limitations of current MGT detectors: Existing methods, particularly metric-based ones, perform poorly on fine-grained, coauthored text detection, often achieving scores close to random chance. This suggests that current approaches are not equipped to handle the nuances of human-AI collaboration.
- Fine-grained detection is crucial: Moving beyond binary, document-level classification is essential for accurately assessing AI contributions in coauthored texts. This allows for a more precise understanding of authorship and potential misuse.
- Finetuned models show promise: While still not perfect, finetuned models demonstrate superior performance and better generalization capabilities compared to metric-based methods for fine-grained detection.
- Context window matters: The performance of detectors is significantly influenced by the context window size, with larger windows generally leading to better results. This highlights the importance of considering the full context when analyzing texts.
Key Results
- Word-level detection is challenging: Metric-based methods achieved an average F1 score of only 0.462 on the HACo-Det dataset for word-level detection, indicating they are largely ineffective.
- DeBERTa leads the pack: Among the adapted detectors, DeBERTa, a finetuned model, showed the best performance, achieving an F1 score of 0.831 for word-level detection and outperforming others in sentence-level detection as well.
- Generalization is an issue: While finetuned models showed better generalization than metric-based methods, they still struggled to generalize across different revision modes and generators, indicating room for improvement.
- Context window impact: Increasing the input chunk length for detectors like DeBERTa and SeqXGPT consistently improved performance, underscoring the importance of context.
Limitations and Future Work
The authors acknowledge several limitations:
- Multilingualism: The current dataset and evaluation are limited to English, and the performance of detectors in other languages is not explored.
- Complex AI collaboration: The study primarily focuses on single-model LLM collaboration. Future work could explore more complex multi-LLM interactions and human-AI dialogues.
- No novel detector proposed: While the paper analyzes existing detectors and identifies limitations, it does not propose a new, state-of-the-art detection method.
- Limited prompt designs: The generation pipeline explored a limited number of prompt designs.
Future work could involve developing more robust detectors, exploring multilingual MGT detection, investigating more complex human-AI collaboration scenarios, and expanding the range of prompt designs for dataset generation.
Summary updated