SPADE: Soft Prompts for Ai-text DEtection
Alex Jiang, Didier Schwab, Chuyuan Li
Abstract
The easy access to Large Language Models (LLMs) has made AI-generated texts on the web increasingly ubiquitous, making AI-text detection a crucial task. Prompts greatly influence the generation process, but existing detectors focus solely on the generated texts --- supervised methods learn from labeled texts only, and zero-shot methods rely on the text's probability distributions --- ignoring the underlying generation process, which limits their robustness in open-world scenarios. We introduce SPADE: Soft Prompts for Ai-text DEtection, a novel framework for detecting AI-generated text that transfers better across datasets. Specifically, we measure the prompt's influence and use it as a discriminative signal. We characterize the prompt's influence by introducing a Pointwise Mutual Information (PMI) term that captures how much a prompt explains a text. Based on this quantity, SPADE trains one soft prompt per class to amplify the separation, and predicts the class whose prompt best explains the candidate text. Extensive experiments on several benchmarks against various detectors demonstrate the robustness and effectiveness of our method, achieving state-of-the-art (SOTA) performance on out-of-distribution (OOD) datasets.
Create a lesson
Related papers
Who Can You Hide Behind? Author-Conditioned Style Transfer and the Evasion of a Commercial AI-Text Detector
Shared title terminology · Mohd Ruhul Ameen, M. Saifuzzaman Rafat, Akif Islam
FIBER: Bayesian Fusion of Fast-DetectGPT and IRT-Informed Detector Evidence for LLM-Generated Text Detection
Shared title terminology · Yan Li, Guangsheng Bao, Zhipeng Chen et al.
Sckwoky at SHROOM-Visions: Character-Level Hallucination-Span Detection in Image-Conditioned VLMs via Dual-Prompted LoRA Decoders
Shared title terminology · Mikhail Kulakov, Ruslan Solikhov, Ivan Bondarenko
Explicit Style Extraction for Personalized Long-Form Text Generation
Shared title terminology · Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam et al.
Beyond Prompt Heuristics: Assessing Child Safety Alignment in LLMs
Shared title terminology · Anika Misra, Chimaobi Okite, Rada Mihalcea
Your Judge Inherits Your Prompt: In-Context Label Bias in an LLM-as-Judge Is Directional, Not Symmetric
Shared title terminology · Abdullah Ahmad, Ahmed J. O. Ahmed, Luca Citi