As Large Language Models (LLMs) improve, the "seam" between human-written and machine-generated text is becoming increasingly difficult to identify. While early models were often betrayed by obvious repetitions or logical lapses, modern detection—whether performed by humans or algorithms—is not a fixed capability. Instead, it is highly sensitive to decoding strategies: the specific mathematical rules used to select the next word in a sequence.
The Human Perspective on Boundary Detection
Traditionally, AI detection was framed as a binary choice: is this entire document real or fake? However, Daphne Ippolito, Liam Dugan, and their colleagues shifted this framing toward boundary detection. In their work, Real or Fake Text?: Investigating Human Ability to Detect Boundaries between Human-Written and Machine-Generated Text, they used a gamified platform called RoFT to find the exact point where a human writer stops and an AI takes over.
Their findings suggest that human detection is a "trainable skill" rather than an innate intuition. Humans look for specific cues—such as sudden shifts in genre or coherence—but their accuracy is heavily influenced by the model's sampling settings. When a model uses conservative decoding, it produces text that is harder for humans to distinguish from human writing, even if that text is more generic. Conversely, increasing randomness makes the machine's presence more obvious to a human reader.
How Sampling Masks the Machine Signature
The "signature" of a machine-generated text is essentially a statistical pattern. When a model generates text using greedy decoding (always picking the most likely next word), it creates a highly predictable, low-entropy string that is easy for statistical detectors to spot.
To counter this, researchers use stochastic sampling techniques like nucleus sampling or temperature scaling. These methods introduce randomness, making the text more "surprising" to a detector. Pablo Piantanida, François Yvon, and Matthieu Dubois have shown that these parameters are the primary lever for evading detection. In How Sampling Affects the Detectability of Machine-written texts: A Comprehensive Study, they demonstrate that minor adjustments to these parameters can cause a detector's performance to plummet from near-perfect accuracy (0.99 AUROC) to total failure (0.01 AUROC).
The Fragility of Statistical Detectors
The reason detectors are so brittle is that they often rely on perplexity—a measure of how "surprised" a language model is by a sequence of words. Human writing is naturally diverse and surprising. If an AI is tuned to be equally surprising through high-randomness sampling, it effectively "masks" its signature.
One particularly effective disruptor is the repetition penalty. By forcing the model to avoid repeating words, the generator mimics the lexical diversity of a human. Piantanida et al. found that this mechanism shifts the distributional signature of the text so significantly that unsupervised detectors might actually misclassify machine text as "more human" than actual human writing.
Toward Robust Detection
To address this sensitivity, researchers are moving toward more flexible, unsupervised methods. The MOSAIC system, detailed in MOSAIC at GENAI Detection Task 3 : Zero-Shot Detection Using an Ensemble of Models, uses an ensemble of different language models to evaluate text.
Instead of looking for a single statistical artifact, MOSAIC calculates how a "mixture" of models compresses a text. This approach aims to identify machine-generated patterns without requiring prior knowledge of the specific generator or its decoding settings. However, as the research by Ippolito et al. and Piantanida et al. suggests, as long as decoding strategies can be tuned to mimic the entropy and diversity of human language, the "seam" between the two will remain a moving target.