Stress-testing Machine Generated Text Detection: Shifting Language Models Writing Style to Fool Detectors
Pedrotti, Andrea, Papucci, Michele, Ciaccio, Cristiano, Miaschi, Alessio, Puccetti, Giovanni, Dell'Orletta, Felice, Esuli, Andrea
–arXiv.org Artificial Intelligence
Recent advancements in Generative AI and Large Language Models (LLMs) have enabled the creation of highly realistic synthetic content, raising concerns about the potential for malicious use, such as misinformation and manipulation. Moreover, detecting Machine-Generated Text (MGT) remains challenging due to the lack of robust benchmarks that assess generalization to real-world scenarios. In this work, we present a pipeline to test the resilience of state-of-the-art MGT detectors (e.g., Mage, Radar, LLM-DetectAIve) to linguistically informed adversarial attacks. To challenge the detectors, we fine-tune language models using Direct Preference Optimization (DPO) to shift the MGT style toward human-written text (HWT). This exploits the detectors' reliance on stylistic clues, making new generations more challenging to detect. Additionally, we analyze the linguistic shifts induced by the alignment and which features are used by detectors to detect MGT texts. Our results show that detectors can be easily fooled with relatively few examples, resulting in a significant drop in detection performance. This highlights the importance of improving detection methods and making them robust to unseen in-domain texts.
arXiv.org Artificial Intelligence
Jun-2-2025
- Country:
- Asia
- China (0.04)
- Laos
- Luang Prabang Province > Luang Prabang (0.04)
- Vientiane Prefecture > Vientiane (0.04)
- Vientiane Province > Xaysomboun (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.14)
- Singapore (0.04)
- Southeast Asia (0.04)
- Thailand > Bangkok
- Bangkok (0.04)
- Europe
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Ireland (0.04)
- Middle East > Malta
- Eastern Region > Northern Harbour District > St. Julian's (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- United Kingdom
- England (0.04)
- Northern Ireland (0.14)
- Scotland (0.04)
- Belgium > Brussels-Capital Region
- North America
- Dominican Republic (0.04)
- Mexico > Mexico City
- Mexico City (0.04)
- United States > Florida
- Miami-Dade County > Miami (0.04)
- Asia
- Genre:
- Overview (1.00)
- Research Report > New Finding (1.00)
- Industry:
- Government > Regional Government
- Health & Medicine
- Health Care Providers & Services (1.00)
- Therapeutic Area (0.68)
- Media > News (1.00)
- Technology: