---
title: "Beyond Fixed-Context Likelihood: Zero-Shot AI-Generated Text Detection via Context Perturbation Discrepancy"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.32778v1"
permalink: "https://feed.astralor.com/items/itm_f5c8ffed91c6b1ed1e6f4d85"
published: "2026-11-24T15:09:28.000Z"
score: 57
channel: "tech"
tags: ["RAG","Beyond Fixed-Context Likelihood","Zero-Shot AI-Generated Text","Detection","Context Perturbation Discrepancy","CPD"]
---

# Beyond Fixed-Context Likelihood: Zero-Shot AI-Generated Text Detection via Context Perturbation Discrepancy

## 速览

The same increase in token log probability from earlier context can be typical at one position and unusually large at another. We introduce Context Perturbation Discrepancy (CPD), a zero-shot detector that measures this…

## 关键点

- The same increase in token log probability from earlier context can be typical at one position and unusually large at another.
- We introduce Context Perturbation Discrepancy (CPD), a zero-shot detector that measures this gain relative to what a single pretrained language model expects.
- Keeping the passage fixed, CPD scores each observed token under its full prefix and under a short window of recent tokens.

## 全文

The same increase in token log probability from earlier context can be typical at one position and unusually large at another. We introduce Context Perturbation Discrepancy (CPD), a zero-shot detector that measures this gain relative to what a single pretrained language model expects. Keeping the passage fixed, CPD scores each observed token under its full prefix and under a short window of recent tokens. Under the full-prefix distribution, the expected gain equals the KL divergence from that distribution to the restricted-prefix distribution. CPD subtracts this expectation from each observed gain and scales the sum of the signed deviations by its analytical reference standard deviation. On unedited human and AI texts from GEN, DetectRL-X, and HART, subtracting the expected gain raises AUROC by 32.78-35.81 percentage points at the same variance scale. CPD outperforms seven zero-shot baselines, averaging 94.80% AUROC and 79.60% recall at a 5% false-positive rate. On original and edited HART passages, the same scores separate texts more clearly by draft origin than by the benchmark's final-expression labels (89.15% versus 65.50% AUROC). Code is available at https://github.com/BUPT-tyf/CPD.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_f5c8ffed91c6b1ed1e6f4d85
