TH-Bench: Evaluating Evading Attacks via Humanizing AI Text on Machine-Generated Text Detectors.

Jingyi Zheng, Junfeng Wang, Zhen Sun, Wenhan Dong, Yule Liu, Xinlei He

Introduction

As Large Language Models (LLMs) become increasingly integrated into content creation, the ability to distinguish between human-written and machine-generated text (MGT) has become a critical security and ethical frontier. This has sparked a "cat-and-mouse" game: while researchers develop more sophisticated MGT detectors, adversaries counter with "humanizing" attacks designed to bypass these systems. These attacks range from simple word swapping to complex paraphrasing and data mixing.

Until now, the evaluation of these evading attacks was fragmented, with researchers using disparate datasets, model architectures, and metrics. TH-Bench introduces the first comprehensive benchmark designed to unify this field, evaluating humanizing attacks across three critical dimensions: evading effectiveness, text quality, and computational overhead.

The Impossibility Triangle of Text Humanization

A central contribution of the TH-Bench study is the identification of the "impossibility triangle." The researchers discovered a fundamental trade-off in current text humanization techniques: no existing attack can simultaneously achieve high evasion effectiveness, maintain the original text's semantic quality, and keep computational costs low.

Typically, if an attack is highly successful at fooling a detector, it either degrades the text into near-gibberish or requires significant computational resources. Conversely, methods that are computationally cheap and preserve high text quality often fail to bypass robust detectors.

Taxonomy of Humanizing Attacks

TH-Bench evaluates six state-of-the-art attacks, categorized into three distinct methodologies:

  1. Paraphrase Attacks: These methods rewrite the machine-generated text while attempting to preserve the original meaning. Examples include Dipper, Recursion, and Prompt-based paraphrasing.
  2. Perturbation Attacks: These involve making subtle modifications at the character or word level, such as substituting synonyms or simulating common human writing errors (e.g., RAFT, HMGC).
  3. Data Mixing Attacks: These disrupt the statistical patterns that detectors look for by combining tokens or sentences from multiple different LLMs (e.g., TOBLEND).

Experimental Framework and Datasets

To ensure a rigorous evaluation, the researchers tested these attacks against 13 different detectors, ranging from metric-based approaches (like Log-Likelihood) to model-based classifiers (like the OpenAI Detector). The benchmark utilizes two massive data collections:

  • MGTBench: 3,000 articles across domains like Essays, Writing Prompts, and Reuters news, generated by seven different LLMs.
  • MGT-Academic: A large-scale dataset covering 16 domains across STEM, Social Sciences, and Humanities, with data sourced from Wiki, Arxiv, and Gutenberg, generated by five LLMs.

In total, the evaluation spans 19 domains and text generated by 11 widely used LLMs, including GPT-4, Llama, and Mixtral.

Optimization Strategies: QPA and Blending

Beyond benchmarking existing tools, the paper introduces two novel strategies to improve attack performance:

  • Quality-Preserving Attack (QPA): This is a "plug-in" optimization that adds constraints—such as Perplexity and Semantic Similarity—during the attack process. QPA ensures that the humanized output remains fluent and semantically accurate rather than becoming incoherent.
  • Attack Blending: This strategy alternates between different attack methods (e.g., using Dipper for one sentence and RAFT for the next) to leverage the unique strengths of different techniques and further confuse detectors.

Key Findings

Evasion Effectiveness

The HMGC attack emerged as the most effective against metric-based detectors, significantly reducing the Area Under the Curve (AUC) of Log-Likelihood detectors from 0.913 to 0.185 on essay datasets. Meanwhile, TOBLEND proved exceptionally effective against the ChatGPT-Detector, reducing its detection accuracy to nearly zero in several scenarios.

The "Surrogate" Trap

The study highlights a vulnerability in high-performance attacks like HMGC. These often rely on a "surrogate" detector trained on data similar to the target. When the attacker lacks access to a perfectly matched dataset (a "mismatched" scenario), the effectiveness of the attack drops significantly, suggesting that detector robustness can be improved through data diversity.

Quality vs. Cost

While Prompt-based attacks (using an LLM to paraphrase) maintain high fluency and natural-sounding sentences, Recursion (repeated paraphrasing) leads to rapid semantic degradation. Furthermore, the RAFT attack was identified as a significant "time sink," requiring much higher computational overhead than its peers due to its complex word-replacement logic.

Conclusion and Future Directions

TH-Bench provides a much-needed standardized framework for understanding the landscape of AI text humanization. The results suggest that while detectors are currently vulnerable to specialized attacks, the "impossibility triangle" provides a natural defense against widespread, high-quality evasion.

Future research may move toward more sophisticated "meta-classifiers" that can identify which specific segments of a text are most vulnerable to detection, applying targeted attacks only where necessary. Additionally, incorporating advanced linguistic features like syntactic coherence into optimization strategies like QPA could lead to even more elusive humanization techniques.

Summary updated

BibTeX
@inproceedings{zheng2025th,
  author = {Jingyi Zheng and Junfeng Wang and Zhen Sun and Wenhan Dong and Yule Liu and Xinlei He},
  title = {{TH-Bench: Evaluating Evading Attacks via Humanizing AI Text on Machine-Generated Text Detectors.}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  url = {https://openreview.net/forum?id=MkdU5IEPdL},
}
Figure