Abstract
Large Language Models (LLMs) can be optimized via Direct Preference Optimization (DPO) to evade standard statistical AI detectors. However, this paper demonstrates that such "adversarially" optimized models often retain a distinct "machine style" detectable through high-level stylistic feature analysis. We introduce a style-aware paraphrasing method that mimics specific human authors, effectively closing the stylistic gap. Our results show that while single-document detection becomes nearly impossible with our method, source-level analysis aggregating multiple documents remains a viable path for future defense.
Introduction
As LLMs proliferate, distinguishing between human and machine-generated text is critical for maintaining information integrity. Current detection strategies—ranging from zero-shot statistical patterns to supervised classifiers—are increasingly challenged by adversarial optimization. Recent work has shown that LLMs can be fine-tuned to maximize the "humanness" score of a specific detector, effectively bypassing token-level checks. This study investigates whether such evasion results in truly human-like text or merely a different, yet still distinct, machine signature.
Methodology
We propose a dual approach focusing on stylistic detection and sophisticated evasion.
1. Stylistic Detection (StyleDetect)
We utilize Learning Universal Authorship Representations (LUAR) to identify a stylistic feature space. Unlike token-level detectors that look at how "surprising" a word is, StyleDetect focuses on high-level patterns: sentence structure, vocabulary diversity, and idiosyncratic writing habits. We find that even when an LLM is optimized to fool a detector like FastDetectGPT, its stylistic signature remains largely unchanged.
2. Style-Aware Paraphraser
We developed a two-stage training recipe for a Mistral-7B based paraphraser:
- Supervised Fine-Tuning (SFT): The model is trained to map machine-generated paraphrases back to a human author's original style using in-context exemplars.
- Direct Preference Optimization (DPO): A "judge" detector distinguishes between system output and real human text, and the paraphraser is fine-tuned to prefer outputs the judge finds "more human."
Key Results
Our experiments across Reddit, Amazon, and Blog datasets reveal that standard optimization against detectors fails to hide stylistic signatures; StyleDetect maintained a high AUROC of ~0.95 against these models. In contrast, our style-aware paraphraser was universally effective at evading all tested detectors when only a single sample was provided.
Despite heavy stylistic shifting, the model maintained high semantic preservation (>0.85 SBERT score), outperforming existing style-transfer models like TinyStyler and general-purpose paraphrasers like DIPPER in both undetectability and stylistic accuracy.
Discussion and Limitations
The "conflicting objectives" problem—trying to look like all humans at once—is a major hurdle for general LLM optimization. By targeting specific human styles, our paraphraser bypasses this. However, the method requires at least 16 human writing samples as exemplars and involves significant computational overhead due to iterative inference.
Furthermore, as the number of samples from a single source increases (e.g., looking at 50 posts from one account), the statistical distributions of even the best fakes eventually diverge from real human distributions. This suggests that future detection research should move away from document-level analysis and toward source-level analysis, aggregating multiple documents to find the subtle statistical fingerprints that even the best paraphrasers leave behind.
Conclusion
Style is a robust anchor for detection. While sophisticated paraphrasing can mask machine origins in individual documents, the statistical fingerprints of AI remain detectable in aggregate, pointing the way for more resilient future detectors.
Summary updated