Here is a concise, engaging blog-style summary of the paper.
Balancing Act: Making LLM Outputs Detectable Without Sacrificing Performance
TL;DR
Current methods to make AI-generated text detectable (like watermarking) often degrade the quality and performance of the model on actual tasks. This paper introduces PUPPET, a lightweight framework that uses Direct Preference Optimization (DPO) to train LLMs to produce text that is both highly detectable by a target detector and high-performing on downstream tasks.
What Problem Does This Paper Address?
As large language models (LLMs) become increasingly fluent, distinguishing machine-generated text from human writing has become incredibly difficult. This raises urgent concerns regarding academic fraud, spam, and disinformation. While text "watermarking" (biasing token distributions during generation) is the current standard for detection, it introduces a frustrating trade-off: it alters the natural flow of text, which frequently degrades the model's performance on downstream tasks.
The authors tackle a fundamental question: Do detectability and task performance have to be a zero-sum game? They argue that an ideal model should be highly traceable by its provider's detector while remaining highly capable, preventing users from abandoning it for less traceable alternatives.
Methods
Instead of altering token distributions at generation time, the authors propose PUPPET (Direct Preference Optimization for joint optimization). The workflow is elegant and fits into standard alignment pipelines:
- Response Sampling: For a given query, the base LLM generates $k$ candidate responses.
- Dual Scoring: Each response receives two scores:
- Detector Score ($S^{\text{Det}}$): The probability that the text is machine-generated, computed by a target detector (e.g., the OpenAI Detector).
- Evaluator Score ($S^{\text{Eval}}$): A task-specific metric measuring quality (e.g., ROUGE-L for summarization or an LLM-as-a-Judge score for essay writing).
- Preference Construction: The scores are z-score normalized and combined using a balancing hyperparameter $\alpha$. The highest-scoring response becomes the "chosen" sample, and the lowest becomes the "rejected" sample.
- DPO Training: The LLM is fine-tuned on these preference pairs using Direct Preference Optimization.
[Query] ➔ [Base LLM] ➔ Generates k Responses
│
▼
┌─────────────────────────┐
│ Score each response: │
│ - Detector Score │
│ - Evaluator Score │
└────────────┬────────────┘
│
▼
[Combine & Normalize Scores]
│
▼
[Identify Max (Chosen) & Min (Rejected)]
│
▼
[Fine-tune LLM via DPO]
Datasets
The framework was evaluated across three distinct text-generation tasks using a mix of automated and model-based metrics:
- ELI5: Long-form question answering (evaluated via ROUGE-L).
- Multi-News: Document summarization (evaluated via ROUGE-L).
- IELTS: Open-ended essay generation (evaluated via an LLM-as-a-Judge band scale using GPT-OSS-20B).
For each dataset, the authors used 5,000 instances for training and 200 for evaluation.
Key Insights and Ideas
- Moving Beyond Surface-Level Patterns: Traditional watermarking relies on token-level "green lists" that are easily disrupted by paraphrasing. PUPPET, by contrast, teaches the model to adopt higher-level stylistic patterns and sentence structures that detectors recognize but paraphrasers cannot easily erase.
- Remarkable Data and Compute Efficiency: Unlike massive alignment pipelines that require hundreds of thousands of samples, PUPPET converges sharply within just 1,000 to 2,000 training samples, requiring only 1–2 GPU hours on a single NVIDIA A6000.
- Model Attribution Potential: Because PUPPET intentionally shifts the machine-class likelihood of a specific model upward, it creates a reliable threshold that allows providers to distinguish their model's outputs from those of competing LLMs.
Key Results
PUPPET consistently outperformed five state-of-the-art watermarking baselines (including KGW and SynthID) across multiple dimensions:
- Simultaneous Gains: Compared to a vanilla Llama-3-8B-Instruct model, PUPPET improved the detection metric (AUROC) by up to +12.3 points on essay writing, while simultaneously boosting task performance metrics (e.g., ROUGE-L on ELI5 increased from 22.9 to 25.8).
- Paraphrase Robustness: When subjected to a heavy paraphrasing attack using the Dipper model, traditional watermarking detection collapsed (dropping by up to 49.2 AUROC points). PUPPET’s detectability remained virtually unscathed, dropping by a mere 1.2 points.
- Model and Size Agnostic: The benefits held true across different model families (Llama-3 and Qwen3) and scales (4B, 8B, and 14B parameters). Interestingly, while larger vanilla models are intrinsically harder to detect, PUPPET successfully eliminated this size dependence.
Limitations and Future Work
- The Multi-Task Hurdle: When the authors tried to train a single PUPPET model on a mixture of all three tasks, task performance optimization slowed down significantly. This stems from the conflicting optimization directions of heterogeneous task metrics (like ROUGE vs. Essay Band scores).
- Detector Specificity: PUPPET is explicitly designed to optimize text for a target detector. As a result, the detection gains do not generalize well to entirely unseen, alternative detector architectures.
- High-Stakes Low-FPR Settings: On highly complex tasks like IELTS, where the baseline model's natural detectability is incredibly low, PUPPET still lags slightly behind aggressive watermarking configurations when evaluated at ultra-strict False Positive Rates (e.g., 0.1%).
Summary updated