[Paper Review] DPIC: Decoupling Prompt and Intrinsic Characteristics for LLM Generated Text Detection
DPIC detects machine-generated text by decoupling prompt-derived features from intrinsic text traits, using a Siamese network to compare original text with a GPT-generated re-answered version.
Large language models (LLMs) have the potential to generate texts that pose risks of misuse, such as plagiarism, planting fake reviews on e-commerce platforms, or creating inflammatory false tweets. Consequently, detecting whether a text is generated by LLMs has become increasingly important. Existing high-quality detection methods usually require access to the interior of the model to extract the intrinsic characteristics. However, since we do not have access to the interior of the black-box model, we must resort to surrogate models, which impacts detection quality. In order to achieve high-quality detection of black-box models, we would like to extract deep intrinsic characteristics of the black-box model generated texts. We view the generation process as a coupled process of prompt and intrinsic characteristics of the generative model. Based on this insight, we propose to decouple prompt and intrinsic characteristics (DPIC) for LLM-generated text detection method. Specifically, given a candidate text, DPIC employs an auxiliary LLM to reconstruct the prompt corresponding to the candidate text, then uses the prompt to regenerate text by the auxiliary LLM, which makes the candidate text and the regenerated text align with their prompts, respectively. Then, the similarity between the candidate text and the regenerated text is used as a detection feature, thus eliminating the prompt in the detection process, which allows the detector to focus on the intrinsic characteristics of the generative model. Compared to the baselines, DPIC has achieved an average improvement of 6.76\% and 2.91\% in detecting texts from different domains generated by GPT4 and Claude3, respectively.
Motivation & Objective
- Motivate robust detection of machine-generated text beyond trained-domain data.
- Introduce the concept of decoupling prompt effects from intrinsic text characteristics.
- Propose a GPT-driven re-answer generation mechanism to reveal generated-text inheritance.
- Develop a Siamese embedding-based similarity module plus classifier for detection.
- Evaluate robustness to perturbations and attacks to reflect real-world usage.
Proposed method
- Define GPT genetic inheritance: LLM outputs are shaped by training data and prompts.
- Create re-answered text by prompting a GPT model to summarize and then re-answer the original text.
- Compute high-dimensional semantic embeddings using a Siamese network and measure cosine similarity.
- Fuse embeddings and similarity into a classifier to predict machine-generated text.
- Train on HC3 and evaluate generalization on Wiki, CCNews, CovidCM, and ACLAbs datasets.
- Compare against PPL-based detectors, DetectGPT, and a RoBERTa-based detector; assess robustness to re-translation and polishing attacks.
Experimental results
Research questions
- RQ1Can GPT-generated text be detected by exploiting similarities between original text and GPT-produced re-answers to generated questions?
- RQ2Does leveraging high-dimensional semantic embeddings improve cross-domain generalization for detection?
- RQ3How robust is the approach to common text perturbations and adaptive attacks?
- RQ4How does GPT-Pat compare with state-of-the-art detectors across diverse datasets?
Key findings
- Average accuracy across four generalization datasets (Wiki, CCNews, CovidCM, ACLAbs) reaches 0.9457, outperforming the RoBERTa-based detector by 12.34% on average.
- GPT-Pat achieves higher precision on several datasets (e.g., CCNews precision 0.9670) reducing false positives.
- The Siamese+embedding classifier with both similarity and embedding features yields the best performance among architectures tested.
- Adaptive attacks (re-translation and partial polishing) degrade RoBERTa more than GPT-Pat, indicating stronger robustness in practice.
- GPT-Pat maintains state-of-the-art performance on HC3 and shows superior generalization to out-of-domain data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.