On the Generalization and Adaptation Ability of Machine-Generated Text Detectors in Academic Writing
arXiv:2412.17242 · doi:10.1145/3711896.3737408
Abstract
The rising popularity of large language models (LLMs) has raised concerns about machine-generated text (MGT), particularly in academic settings, where issues like plagiarism and misinformation are prevalent. As a result, developing a highly generalizable and adaptable MGT detection system has become an urgent priority. Given that LLMs are most commonly misused in academic writing, this work investigates the generalization and adaptation capabilities of MGT detectors in three key aspects specific to academic writing: First, we construct MGT-Acedemic, a large-scale dataset comprising over 336M tokens and 749K samples. MGT-Acedemic focuses on academic writing, featuring human-written texts (HWTs) and MGTs across STEM, Humanities, and Social Sciences, paired with an extensible code framework for efficient benchmarking. Second, we benchmark the performance of various detectors for binary classification and attribution tasks in both in-domain and cross-domain settings. This benchmark reveals the often-overlooked challenges of attribution tasks. Third, we introduce a novel attribution task where models have to adapt to new classes over time without (or with very limited) access to prior training data in both few-shot and many-shot scenarios. We implement eight different adapting techniques to improve the performance and highlight the inherent complexity of the task. Our findings provide insights into the generalization and adaptation ability of MGT detectors across diverse scenarios and lay the foundation for building robust, adaptive detection systems. The code framework is available at https://github.com/Y-L-LIU/MGTBench-2.0.
References in corpus (17)
- Prototypical Networks for Few-shot Learning
- Training language models to follow instructions with human feedback
- HuggingFace's Transformers: State-of-the-art Natural Language Processing
- A Survey of Large Language Models
- How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detection
- Large Language Models: A Survey
- DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
- MGTBench: Benchmarking Machine-Generated Text Detection
- RADAR: Robust AI-Text Detection via Adversarial Learning
- Fast-DetectGPT: Efficient Zero-Shot Detection of Machine-Generated Text via Conditional Probability Curvature
- Spotting LLMs With Binoculars: Zero-Shot Detection of Machine-Generated Text
- DetectLLM: Leveraging Log Rank Information for Zero-Shot Detection of Machine-Generated Text
- Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents
- DetectRL: Benchmarking LLM-Generated Text Detection in Real-World Scenarios
- M4GT-Bench: Evaluation Benchmark for Black-Box Machine-Generated Text Detection
- Are We in the AI-Generated Text World Already? Quantifying and Monitoring AIGT on Social Media
- Beemo: Benchmark of Expert-edited Machine-generated Outputs