Humanizing the Machine: Proxy Attacks to Mislead LLM Detectors

Tianchun Wang, Yuanzhou Chen, Zichuan Liu, Zhanwen Chen, Haifeng Chen, Xiang Zhang, Wei Cheng

As Large Language Models (LLMs) like Llama 3 and Mixtral become increasingly adept at mimicking human prose, a parallel industry of "AI Detectors" has emerged. These tools aim to safeguard integrity in journalism, academia, and online discourse. However, new research reveals that these defenses might be far more fragile than previously thought.

Researchers have introduced HUMPA (Humanized Proxy Attack), a strategy that allows even massive LLMs to bypass detectors with startling ease, all without needing to re-train the giant models themselves.

The Cat-and-Mouse Game of AI Detection

Detecting AI-generated text is an ongoing challenge. While many detectors perform well on "vanilla" AI output, they often fail when the AI intentionally tries to hide its synthetic origins.

Existing evasion techniques usually involve fine-tuning the LLM to look more "human." But for state-of-the-art models with 70 billion or more parameters, fine-tuning is prohibitively expensive for most users. Furthermore, aggressive fine-tuning often degrades the model, causing a sharp drop in the quality and utility of the text it produces. The authors sought a method that is cost-effective, scalable to huge models, and utility-preserving.

The HUMPA Strategy

The core innovation of this research is the Humanized Proxy Attack (HUMPA). Instead of attacking the massive "source" model (e.g., Llama3-70B) directly, the researchers target a much smaller "proxy" model (e.g., Llama3-8B) to guide the generation process.

Overview of the HUMPA attack strategy, where a small language model guides a larger LLM to produce human-like text that evades detection.

The attack unfolds in two main steps:

  1. Obtaining a Humanized SLM: The team takes a Small Language Model (SLM) and fine-tunes it using Direct Preference Optimization (DPO). The "preferences" are determined by the very detectors they want to fool: if a detector gives a higher "human-ness" score to response A over response B, the SLM is trained to prefer A.
  2. Decoding-Time Attack: During the actual generation process of the large source model, its underlying weights remain untouched. Instead, the system modifies its output at each step. By calculating a "logit offset"—the difference in token probabilities between the humanized SLM and its original version—the system applies a subtle "nudge" to the large model's predictions.

This approach effectively steers the large model toward a more human-like distribution without the computational burden of full-scale fine-tuning.

Key Insights: Distribution Alignment and Proxy Power

The most surprising insight from the study is that a small 7B parameter model can effectively "teach" a 70B parameter model how to hide. The authors provide a theoretical proof showing that this proxy-decoding approach is mathematically equivalent to fine-tuning the large model itself.

Probability distribution shift caused by HUMPA. The attack successfully aligns the machine's output (green) with human-written text (orange).

As illustrated above, the attack successfully shifts the AI's probability distribution. Leading zero-shot detectors often rely on statistical signatures that are easily "washed away" by this distribution alignment, rendering them highly vulnerable. Furthermore, this method exhibits cross-domain versatility: an SLM "humanized" on physics papers can still help a large model bypass detectors when writing about humanities or even translating into different languages.

Startling Results Across the Board

The authors conducted a massive evaluation across diverse datasets, including OpenWebText (general web content), WritingPrompts (creative writing), PubMedQA (medical), GPABench2 (cross-discipline), and WMT-2016 (cross-language).

The quantitative results serve as a wake-up call for the AI safety community. Across models like Llama2-13B, Llama3-70B, and Mixtral-8x7B, the findings were stark:

  • Massive Performance Drop: Detectors saw an average AUROC drop of 70.4%. In the most extreme case, a detector's accuracy plummeted by 95.0% on a single dataset.
  • Black-Box Success: Even when the attackers didn't know which specific detector was being used (the "black-box" setting), the attack remained highly effective.
  • Quality Preservation: Using metrics like ROUGE and BERTScore, the authors demonstrated that the "humanized" text remained nearly as useful and coherent as the original, unattacked AI output.

Limitations and the Path Forward

While HUMPA is undeniably powerful, it does have specific requirements. The attacker needs access to the target model's "logits" (probability scores for each word). This is trivial for open-source models but harder for closed APIs, though emulated versions of this attack are an active research area. Additionally, there is a slight "utility trade-off." If the "human-ness" nudge is pushed too aggressively, the text eventually becomes less coherent, making the balance parameter crucial.

Ultimately, this research concludes that current zero-shot detectors are not robust enough to withstand intentional, proxy-guided evasion. Future work must focus on developing detection methods that look deeper than simple statistical distributions—perhaps by analyzing semantic consistency or logical flow that a proxy nudge cannot easily fake.

Summary updated

BibTeX
@inproceedings{wang2025humanizing,
  author = {Tianchun Wang and Yuanzhou Chen and Zichuan Liu and Zhanwen Chen and Haifeng Chen and Xiang Zhang and Wei Cheng},
  title = {{Humanizing the Machine: Proxy Attacks to Mislead LLM Detectors}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=PIpGN5Ko3v},
}
Figure