potentialpaper

Pref-DetectGPT: Unveiling Machine-Generated Text via Preference-Aware Curvature Measurement

Jiahao Wang, Feifei Kou, Zhongbao Zhang, Jiwei Zhang, Lei Shi, Pengfei Zhang, Suguo Zhu, Mingying Xu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. The widespread deployment of large language models (LLMs) has made reliable detection of machine-generated text increasingly critical. Recent curvature-based detectors introduce perturbations to candidate text and compute curvature as the log probability difference between original and perturbed variants using advanced surrogate models. However, such curvature measurements only capture weak discrepancies between machine-generated and human-written text. We propose Pref-DetectGPT\textbf{Pref-DetectGPT}, a training-free method that introduces preference-aware curvature measurement by leveraging the implicit preference capabilities of preference-optimized surrogate models. Specifically, we construct an implicit reward model from the preference-optimized policy to score both original and perturbed text, and redefine curvature as their normalized deviation, which serves as a significantly stronger signal for distinguishing machine-generated text from human-written text. Empirical evaluations across multiple public benchmark datasets demonstrate that Pref-DetectGPT achieves state-of-the-art detection performance with relative improvements of 2.69%, 2.14%, and 9.04% in AUROC, AUPR, and TPR5%, while exhibiting strong robustness against various adversarial attacks and input lengths. Our code is available at https://github.com/BUPT-SN/Pref-DetectGPT.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Elegent combination of concepts from DetectGPT and IRM/DPO to produce Pref-DetectGPT, a training-free method to detect machine-generated text with SOTA accuracy. The main idea is the curvature of implicit reward model from off-the shelf post-trained models is more predictive than just probability space. It can be computed efficiently and is thus practical.

The primary weakness that reviewers cited is the method itself is simple, incremental combination of existing ideas. However, this is not a real weakness, and may be interpreted as a strength (rather than complexity for its own sake), given the strong results.

Final justification

see above

Area Chair LCs3 · Meta-reviewOpenReview ↗
Final justification
see above
Read meta-review
Meta-review

Elegent combination of concepts from DetectGPT and IRM/DPO to produce Pref-DetectGPT, a training-free method to detect machine-generated text with SOTA accuracy. The main idea is the curvature of implicit reward model from off-the shelf post-trained models is more predictive than just probability space. It can be computed efficiently and is thus practical.

The primary weakness that reviewers cited is the method itself is simple, incremental combination of existing ideas. However, this is not a real weakness, and may be interpreted as a strength (rather than complexity for its own sake), given the strong results.

Reviewer sCEeOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a novel training-free method for detecting machine-generated text based on preference-aware curvature measurement. It argues that traditional curvature detection methods based on log-likelihood can only capture superficial generative features of large models; therefore, it innovatively leverages the deep “implicit preference capabilities” learned by modern large language models during alignment optimization phases. By constructing an implicit reward model and calculating the normalized deviation between the original text and its generated perturbed variants in the implicit reward space, the framework extracts discriminative signals that are more robust than those derived from traditional probability distributions. Ultimately, it achieves state-of-the-art detection performance across multiple mainstream benchmarks, demonstrating exceptional adversarial robustness and cross-model applicability.

Strengths and weaknesses

Strengths:

1、The paper introduces a novel perspective by shifting the detection focus from the probability space to the preference space. Leveraging the DPO framework to extract implicit reward signals is an insightful way to address the limitations of existing curvature-based methods.

2、Pref-DetectGPT demonstrates impressive empirical results across several mainstream benchmarks, achieving significant improvements in AUROC and TPR@5%FPR compared to baseline methods like DetectGPT and Fast-DetectGPT.

3、By inheriting the conditional probability sampling mechanism, the method maintains high computational efficiency. Furthermore, the experiments show that the preference-aware signal is more resilient to common adversarial attacks like paraphrasing and word-level perturbations.

Weaknesses:

1、From an algorithmic perspective, this innovation qualifies as incremental. The framework primarily combines the sampling mechanism of Fast-DetectGPT with the curvature logic of DetectGPT, replacing the log-likelihood with a DPO loss function. The paper lacks in-depth theoretical analysis or sufficient ablation experiments, making it impossible to distinguish whether the performance improvement stems from the “preference signal” itself or merely from the enhanced discriminative ability of the instruction-based fine-tuned model.

2、A major practical drawback is that GPU memory requirements double, as both the policy model and the reference model must be loaded simultaneously. This makes it nearly impossible for researchers with limited hardware resources to evaluate large-scale models.

3、This evaluation is primarily limited to English texts of moderate length. The effectiveness of this method has not yet been verified for extremely short documents (such as tweets) or extremely long ones.

4、This paper does not fully explore how alignment style differences between different model families affect reward signals, nor does it examine whether text generated by different models yields different detection results when evaluated by the same detector.

Questions

1、Length and Language Sensitivity: How does the method perform on texts with fewer than 50 tokens or more than 2,000 tokens? Have the authors considered testing on cross-lingual datasets to ensure the method isn't simply over-fitting to English alignment patterns?

2、Existing adversarial rewriting methods (such as using GPT-4 for rewriting) typically preserve semantics while altering the distribution. If an attacker uses specific prompts to force the model to generate correct text that is “stylistically unique and has a low preference score,” would the preference peaks on which Pref-DetectGPT relies quickly flatten out? When faced with adversarial samples specifically designed to erase traces of DPO training (adversarial alignment erasure), where does the robustness boundary of this method lie?

3、Scores based on implicit rewards often accumulate noise as text length increases. For very short texts (e.g., 30–50 words), is the preference signal strong enough to overcome the variance given the limited sampling space? The paper lacks a sensitivity analysis by text length; could the authors provide detection performance curves for different length ranges?

4、How does the distributional shift between the sampling model and the detector affect the final preference signal? Since the sampling model has not undergone the same alignment training as the detector, the high-probability tokens it predicts may fall within a “low-reward” region in the detector’s reward space. Does this mismatch between the sampling model and the preference space lead to systematic biases in the estimation of preference curvature? Are there experiments that quantify the impact of this bias on detection accuracy?

Limitations

yes.

Final justification

The authors have addressed my concerns well, and I keep my original rating.

Formatting concerns

NA

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear Reviewer sCEe,

We sincerely thank you for your careful review and constructive comments. We understand your concerns, and address each of them in detail below, with further clarifications and additional experiments.


Response to Weakness 1

We thank the reviewer for raising this point. We would like to clarify that our experiments already isolate the source of the performance improvement: it stems from the preference signal itself, not from the discriminative ability of the instruction-tuned model.

For a fair comparison, Pref-DetectGPT and our direct baseline Fast-DetectGPT use the same model configuration (Appendix A.2, Table 6, Detailed Model Configurations): Llama-3.2-1B-Instruct + Llama-3.2-1B. The only difference is the scoring signal, where Fast-DetectGPT measures curvature from log-probability while Pref-DetectGPT measures it from the implicit reward. Since no stronger or additional model is introduced, the consistent gain of Pref-DetectGPT over Fast-DetectGPT can only be attributed to the preference signal itself.


Response to Weakness 2

We thank the reviewer for raising this practical concern. We would like to clarify that the memory cost is in fact modest: under our model pair configuration (Appendix A.2, Table 6, Detailed Model Configurations), the total footprint is only about 12 GB, which fits comfortably on a single consumer GPU such as an RTX 4090 (24 GB). Our method thus remains fully accessible to researchers with limited hardware, rather than requiring high-end devices.

Moreover, using two models is not specific to our method: recent training-free detectors, including Fast-DetectGPT, Binoculars, DNA-DetectLLM, and IRM, have increasingly adopted dual-model designs, as a second model can provide more signals that often improve discrimination. Our method follows this trend.


Response to Weakness 3 & Question 3

We thank the reviewer, and we would like to clarify that the requested length-sensitivity analysis is already provided in Figure 3, which reports detection performance curves across text lengths from 20 to 280 tokens on the DetectRL (Varying Text Length) setting.

For very short texts, this range covers the 30–50 word regime the reviewer mentions. Pref-DetectGPT remains reliable here, surpassing 0.90 AUROC at only 100 tokens while competitors require 120+ tokens, and it stays the best across the entire length spectrum.

For longer texts, performance keeps improving and then converges above 0.97 AUROC beyond 280 tokens, indicating that the preference signal is already saturated and stable at moderate lengths. We further verify effectiveness on even longer inputs in our Response to Question 1, where detection remains reliable as text length grows.


Response to Weakness 4

We thank the reviewer for this valuable suggestion. We would like to clarify that our paper already includes experiments addressing both aspects.

First, regarding how different model families affect the reward signal: our model-pair ablation in Section 5.3 (Table 3) evaluates Pref-DetectGPT under three different model-pair configurations (Llama, Qwen, Gemma). Pref-DetectGPT stays consistently strong across all of them, with only a narrow gap, indicating that our detection is robust to the choice of model family.

Second, regarding whether text from different generators yields different detection results: Appendix B.4 (Table 8) evaluates Pref-DetectGPT on text from seven generators spanning SFT (Mistral-7B, Vicuna-7B), DPO (Qwen-2.5-7B, Zephyr-7B), and RLHF (GPT-5.4, Gemini-3.1, DeepSeek-V3.2), where Pref-DetectGPT consistently achieves the best detection performance across all of them.


Response to Question 1

We thank the reviewer for these two questions, which we address separately below.

1. Length sensitivity. Our length-sensitivity analysis is provided in Figure 3, which reports detection performance across 20–280 tokens and shows that Pref-DetectGPT stays the best across the whole spectrum. To further cover the extreme regimes the reviewer mentions (<50 and >2000 tokens), we report results under two settings with maximum token lengths of 50 and 2000, respectively:

  • Short texts (<50 tokens). We report the already-included 40-token result from Figure 3 on DetectRL (Varying Text Length), which falls in the <50-token regime.
  • Long texts (>2000 tokens). Since other benchmarks rarely contain sufficiently long samples, we further evaluate on RAID benchmark, which provides abundant long texts. We collect 150 human-written and 150 machine-generated examples and set the maximum input length to 2048 tokens when scoring each text with the detectors.
Method < 50 tokens > 2000 tokens
Fast-DetectGPT 0.7330 0.9536
Pref-DetectGPT 0.8036 0.9991

Pref-DetectGPT outperforms Fast-DetectGPT in both regimes, remaining effective on short texts and nearly saturated on long texts.

2. Cross-lingual generalization. We evaluate on the multilingual datasets provided by the HART benchmark, testing across multiple languages. As shown below, Pref-DetectGPT consistently and substantially outperforms Fast-DetectGPT across English, Arabic, Spanish, and French, indicating that its effectiveness is not an artifact of English-specific alignment patterns.

Method English Arabic Spanish French Average
Fast-DetectGPT 0.7977 0.7671 0.8332 0.8105 0.8021
Pref-DetectGPT 0.9747 0.8279 0.9282 0.9092 0.9100

Response to Question 2

We thank the reviewer for this insightful question. At its core, it asks where the robustness boundary of Pref-DetectGPT lies under an adversarial attack designed to erase the alignment (DPO) traces that the preference signal relies on. We address this by directly constructing such an attack, and then locating the boundary both empirically and conceptually.

Probing the boundary. We randomly sample 150 human-written and 150 machine-generated texts from HART, and rewrite the machine-generated ones with a prompt that explicitly targets the preference signal:

Rewrite the text with the same meaning, but make it stylistically unique and intentionally low-preference: avoid the fluent, helpful, aligned style that preference-optimized models favor. Keep similar length. Output only the rewrite.

We use Gemini-3.5-Flash and DeepSeek-V4-Flash as rewriting models, and compare Pref-DetectGPT with Fast-DetectGPT before and after rewriting:

Method Original Rewritten (Gemini-3.5-Flash) Rewritten (DeepSeek-V4-Flash)
Fast-DetectGPT 0.8013 0.7473 0.7284
Pref-DetectGPT 0.9447 0.9254 0.9167

Pref-DetectGPT stays robust. Under this preference-targeted attack, Pref-DetectGPT degrades only marginally (0.9447 → 0.9254 / 0.9167), remaining above 0.91, whereas Fast-DetectGPT drops by 5–7 points. Its margin over Fast-DetectGPT in fact widens (0.143 → 0.178 / 0.188): even a deliberately dispreferred rewrite still retains a detectable preference curvature.

Where the boundary lies. The true boundary lies not in low-preference machine text, which the attack above shows remains detectable, but in the opposite case: highly optimized, high-preference human writing whose original scores far above its perturbations and thus exhibits the same machine-like curvature. This intrinsic ambiguity is shared by all curvature-based detectors, as we analyze in our error-case study in the response to Reviewer ctZh (Question 3).


Response to Question 4

We thank the reviewer for this insightful question. We would like to clarify that a distributional difference between the sampling model and the reward space is in fact beneficial by design, rather than a source of harmful bias, and we will add this discussion and the accompanying experiment to the revised paper.

1. The mismatch is beneficial.

The sampling model's role is to construct perturbations. At each position, our preference curvature compares the implicit reward of the true token against the expected preference over the alternative tokens proposed by the sampling model across the vocabulary. Aggregating over all positions gives a text-level preference curvature, for which machine-generated text exhibits a larger preference gap than human-written text.

A certain mismatch between the sampling model and the reward model is therefore desirable: it makes the perturbed alternatives differ more from the original in preference, which amplifies the preference gap and yields a more discriminative signal. If the sampling model instead matched the reward model, then although perturbations are still introduced (the sampling model spreads probability over alternative tokens), those alternatives would be close to the original in preference, shrinking the gap and weakening discrimination.

2. Experiments support.

Table 10 (Appendix C.1) already shows that Pref-DetectGPT remains consistently strong across several sampling models that differ from the reward model. Building on this, and to directly test the reviewer's concern, we additionally use an instruction-tuned model (Llama-3.2-1B-Instruct) as the sampling model, whose distribution is close to the reward model. As expected, this reduces performance, confirming that the mismatch is helpful rather than a harmful bias.

Sampling Model qϕq_\phi Pref-DetectGPT
Llama-3-8B 0.9797
Llama-3.1-8B 0.9555
Llama-3.2-1B 0.9793
Llama-3.2-3B 0.9718
Llama-3.2-1B-Instruct 0.9195
Reviewer sQnmOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Pref-DetectGPT differs from existing log-probability curvature measurement methods for machine generated text detection by leveraging implicit preference capabilities of existing surrogate models. The authors construct an implicit reward model from the preference-optimized policy to score text, and curvature is defined as the normalized deviation of original vs perturbed text. This leads to boosts in relevant metrics such as AUROC, TPR5%, and AUPR in machine generated text detection scenarios.

Preference curvature is measured by building implicit reward models from the original and preference-optimized model distributions. The authors find that machine generated text shows a high preference discrepancy while human generated text does not.

Previous work has used the implicit reward model as a score model for machine generated text detection; the authors extend that line of work to include curvature measurement.

The derivation of Pref-DetectGPT is very clear and well-motivated. It draws heavily from other works which leverage conditional log probability and curvature metrics.

The evaluation considers 4 machine generated text datasets and 14 baselines. Pref-detectgpt achieves strong performance in AUPR, AUROC, and TPR5% across all datasets.

The authors conduct ablations on choice of preference+base model pair, showing that prefdetectgpt works best with the choice of llama3.2-1b-instruct, but similar choices (Gemma, Qwen) also work well.

Strengths and weaknesses

Strengths

Very clear motivation, writing, and message

Strong evaluation, including 14 baselines, 4 datasets, and multiple choices of base and preference model pair

Strong performance with a practically useful, simple method

Weaknesses

The proposed method is a simple combination of methods from previous works, but the authors are clear to mention this, and it's clearly a useful combination of techniques

Questions

While the novelty of the introduced method isn't groundbreaking, this is a very strong technical paper that addresses a very important problem, and it meets the bar of NeurIPS. I think many readers of NeurIPS would find this work interesting, and it should be accepted.

Limitations

yes

Final justification

My evaluation remains unchanged after the rebuttal period. I support acceptance of the paper to NeurIPS.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear Reviewer sQnm,

We are deeply grateful to the reviewer for such a positive and insightful evaluation, and for the recommendation for acceptance. We appreciate the time and care you devoted to reviewing our work. Thank you sincerely!

Best regards,

The Authors

Reviewer ctZhOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper addresses a limitation of existing curvature-based detectors. They distinguish LLM-generated text from human-written text by measuring log-probability differences between original and perturbed texts. This signal is limited because it mainly captures surface-level properties, such as fluency and coherence, that modern LLMs can already imitate well. It proposes Pref-DetectGPT, a training-free method that distinguishes itself by measuring curvature in the implicit reward space of a preference-optimized surrogate model rather than in probability space. The method compares the implicit reward of the original text with the expected implicit reward of perturbed texts, and uses their normalized difference as the detection score. Empirical results show that the proposed approach outperforms existing training-free and training-based detectors across several benchmarks, preserving robustness against adversarial attacks and varying input lengths.

Strengths and weaknesses

Strengths

  • The paper proposes a clear and well-motivated approach to curvature-based detection, extending it from the probability space to the implicit reward space to incorporate preferences.
  • The empirical results are strong, showing consistent improvements over both training-free and training-based baselines.
  • The paper provides useful ablations among different model pairs, which supports the claim that the method is not tied to a single surrogate model.

Weaknesses

  • The method appears to combine prior IRM implicit reward detection with the perturbation-based curvature idea of Fast-DetectGPT, adapted to the preference-optimized setting.
  • Several aspects of the proposed approach and evaluation remain unclear, as detailed in the questions below.
Questions
  • Since the prior IRM also requires a decision threshold based on implicit reward scores, it would be helpful to explain how the proposed method changes the threshold behavior relative to IRM. Could you clarify how the decision threshold is selected for the proposed approach, and discuss its sensitivity?
  • Could you provide more implementation details on the sampling strategy used to construct the perturbation distribution?
  • The empirical results show strong average performance, but it would be helpful to understand what types of examples drive the improvement. Could you provide an error analysis of cases where the proposed approach performs better or worse than existing approaches?
Limitations

Yes

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Dear Reviewer ctZh,

We sincerely thank you for your careful review and constructive comments. We understand your concerns, and address each of them in detail below, with further clarifications and additional experiments.


Response to Weakness 1

We thank the reviewer for this thoughtful observation. We would like to clarify that Pref-DetectGPT is not a trivial combination of IRM's implicit reward and Fast-DetectGPT's curvature. We elaborate on its conceptual and empirical contributions below.

1. Conceptual: a shift in the measurement signal.

Prior signal. Curvature-based detection measures the discrepancy between the original text and its perturbations, but the signal used to measure it matters. Prior detectors rely on log-probability, which captures surface-level fluency and coherence that modern LLMs already imitate well, leaving machine and human distributions heavily overlapped (Fig. 1a). This calls for a more discriminative signal that goes beyond surface-level properties.

Preference signal. The instruction-tuned models used as surrogates are predominantly aligned to human preferences through mainstream preference optimization such as RLHF/DPO, which endows them with an implicit reward that scores how strongly a response is preferred. This preference signal is naturally suited to curvature: contrasting a text with its perturbations mirrors the preferred-versus-dispreferred contrast that alignment optimizes, with the original as the preferred response and its perturbations as the dispreferred ones.

Our method. We therefore introduce a preference-aware signal by lifting the measurement into the implicit reward space of preference-optimized models. Machine-generated text exhibits a strong preference discrepancy, where the original attains a notably higher reward than its perturbations, while human-written text exhibits only a weak discrepancy, giving the clear separation in Fig. 1b.

2. Empirical: a notable gain over the direct baseline.

As shown in the table below, averaged over four benchmarks, Pref-DetectGPT reaches 0.9793 AUROC versus 0.9160 for Fast-DetectGPT (a 6.91% relative gain). Since the two methods differ only in the curvature signal, this gain confirms that the improvement comes from the preference signal itself, not from trivially combining IRM and Fast-DetectGPT.

Method DetectRL HART MIRAGE-DIG MIRAGE-SIG Avg.
Fast-DetectGPT 0.9123 0.8116 0.9708 0.9692 0.9160
Pref-DetectGPT 0.9653 0.9595 0.9968 0.9954 0.9793

Response to Question 1

We thank the reviewer for this question. The key difference is that our normalized curvature yields a more stable decision threshold than IRM's absolute reward score, as detailed below.

1. Threshold behavior relative to IRM. IRM scores a text by its absolute implicit reward r(y)=∑i=1Llog⁡pθ(yi∣y<i)pref(yi∣y<i)r(y)=\sum_{i=1}^{L}\log\frac{p_\theta(y_i|y_{<i})}{p_{\text{ref}}(y_i|y_{<i})}, which is unnormalized and whose range varies from dataset to dataset, so a threshold fixed on one dataset transfers poorly to another. Our curvature d=r(y)−μ~rσ~rd=\frac{r(y)-\tilde{\mu}_r}{\tilde{\sigma}_r} instead scores each text relative to its own perturbations, which cancels the dataset-dependent offset and yields a self-calibrated score that is comparable across datasets, consistently placing human-written text at low scores and machine-generated text at clearly higher scores. Thus IRM's threshold sits on a floating absolute scale, while ours sits on a stable relative scale that generalizes better.

2. Threshold selection and sensitivity. Following the standard evaluation protocol in prior detection work, our main experiments (Section 5) report threshold-free metrics (AUROC, AUPR, TPR5%) that assess ranking quality independent of any specific cutoff.

For real-world deployment, we calibrate the optimal threshold on a held-out set and apply it to wild test data, which raises the question of how well this threshold holds when the test distribution differs from the calibration one. We evaluate exactly this via cross-dataset threshold transfer (Appendix B.2, Table 7), where the accuracy-optimal threshold calibrated on one dataset is applied to the others, following the same protocol for IRM. Each column corresponds to one calibration dataset, and reports the average transfer accuracy on the other three. As shown below, a threshold calibrated on one dataset transfers well to the others and stays consistently more accurate than IRM's (0.9274 vs. 0.8754 average accuracy, a 5.94% relative gain), showing that our decision threshold is robust to distribution shift.

Calibrated on DetectRL HART MIRAGE-DIG MIRAGE-SIG Avg.
IRM 0.8536 0.9027 0.8719 0.8733 0.8754
Pref-DetectGPT 0.9425 0.9355 0.9166 0.9151 0.9274

Response to Question 2

We thank the reviewer for this question, as the sampling strategy is central to how the perturbation distribution is constructed and is important for reproducibility. We detail it below.

We follow the conditional probability sampling of Fast-DetectGPT. At each position ii, the sampling model qϕq_\phi defines a distribution over the vocabulary V\mathcal{V}, conditioned on the original (unperturbed) left context y<iy_{<i}. For each candidate token ww, we multiply its sampling probability qϕ(w∣y<i)q_\phi(w|y_{<i}) by its implicit reward under the reward model, and sum over the whole vocabulary to obtain the expected perturbed reward at that position. Summing over all positions gives the perturbed reward score in Eq. 17:

r~(y)=∑i=1L∑w∈Vqϕ(w∣y<i)⋅log⁡pθ(w∣y<i)pref(w∣y<i).\tilde{r}(y) = \sum_{i=1}^{L} \sum_{w \in \mathcal{V}} q_\phi(w|y_{<i}) \cdot \log \frac{p_\theta(w|y_{<i})}{p_{\text{ref}}(w|y_{<i})}.

The final detection score is then the normalized deviation of the original reward from this perturbed reward. Because this expectation is taken analytically over the full vocabulary, it recovers the entire perturbation distribution in a single forward pass and avoids sampling variance.

For the sampling model qϕq_\phi, we use Llama-3.2-1B, matching our direct baseline Fast-DetectGPT for fair comparison. We further verify in Appendix C.1 (Table 10) that Pref-DetectGPT remains consistently strong under other choices of qϕq_\phi (Llama-3-8B, Llama-3.1-8B, Llama-3.2-3B), confirming that our effectiveness is robust to the choice of sampling model qϕq_\phi.

Sampling Model qϕq_\phi Fast-DetectGPT Pref-DetectGPT
Llama-3-8B 0.8951 0.9797
Llama-3.1-8B 0.8427 0.9555
Llama-3.2-1B 0.9160 0.9793
Llama-3.2-3B 0.8786 0.9718

Response to Question 3

We thank the reviewer for this valuable suggestion. To see which examples drive the improvement, we compare per-example against Fast-DetectGPT on HART, using 2,000 human-written and 2,000 macine-generated texts. This shares our model configuration, so any difference isolates the preference signal. Assigning each method its accuracy-optimal threshold (Fast: 1.63; Pref: 3.54), we cross-tabulate the two detectors:

Fast. correct Fast. incorrect Total
Pref. correct 2,942 649 3,591
Pref. incorrect 156 253 409
Total 3,098 902 4,000

Pref-DetectGPT preserves what the baseline already solves, staying correct on 95.0% of the examples Fast-DetectGPT classifies correctly, and it introduces new errors on only 3.9% of all examples. Its residual errors are dominated by intrinsically ambiguous text that Fast-DetectGPT also misses, rather than a failure of the preference signal. The typical case is highly polished human writing: it is so carefully optimized that, like machine text, its original scores far above its perturbations, yielding the same machine-like curvature. One such human-written excerpt, mislabeled as machine by both detectors, is shown below (higher score => more machine-like).

Excerpt (human-written, true label: human) Fast. Pref.
"In this paper, we introduce several algorithmic developments and refinements of FeTrIL… We delve deeper into the capabilities of this recently proposed EFCIL method through comprehensive experimentation." 2.16 7.06

The gain comes from the Figure 1(a) overlap region: of the 902 examples Fast-DetectGPT gets wrong, Pref-DetectGPT corrects 649 / 902 (72.0%) of Fast-DetectGPT’s errors, including 488 machine texts previously misclassified as human, raising accuracy from 77.5% to 89.8% and AUROC from 81.18% to 95.95%. Notably, 88% of these recovered texts read as natural human prose. They are surface-fluent and coherent, yet these surface cues provide only a weak signal for separating machine from human text, as modern LLMs mimic them well. Fast-DetectGPT thus assigns many of them human-like (low) scores, whereas the preference signal still separates them (Figure 1b), confirming the gain reflects a genuine preference signal rather than superficial artifacts (higher score => more machine-like).

Surface property Excerpt (machine-generated) Fast. Pref.
Fluent, human-like prose "A solitary silhouette emerged from the silken veil of morning fog, drifting along a road void of travelers…" -5.17 9.04
Strong discourse coherence "The 'Face on Mars' has intrigued enthusiasts of the extraterrestrial… as a scientist at NASA… I firmly posit…" -3.53 9.01

Overall, this error analysis shows that Pref-DetectGPT’s gains come precisely from the hardest cases for log-probability—fluent, coherent machine text—while its few residual errors are the intrinsically ambiguous examples shared by all curvature-based detectors.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…