arXiv:2610.38312cs.CLOct 2026

Manuscript Offprint

arXiv:2610.38312

Robust LLM-Generated Text Detection through Matched Conditional-Response Probing

Junfeng Hao, Wenxian Wang, Tao Leng, Xingshu Chen, Hao Ren, Haizhou Wang

Abstract

Reliable detection of large language model (LLM)-generated text must remain effective under meaning-preserving text revisions, such as rewriting, polishing, and expansion. In practice, LLM outputs are often rewritten, polished, expanded, translated, or lightly edited before publication, weakening the lexical, syntactic, and local discourse cues used by many existing detectors. We introduce Matched Conditional-Response Probing (MCRP), a frozen-LLM probing framework that measures how a candidate text responds when a semantically matched condition is introduced, removed, or replaced. For each candidate, the frozen probe LLM first generates a short semantic condition and then compares token-level losses and prompt-target attention measurements under matched, null, and control conditions. It aggregates bidirectional conditioned alignment, counterfactual sensitivity, and internal attention coupling into a probe representation, on which it trains a lightweight supervised random-forest classifier while keeping the probe LLM frozen. Across standard detection, robustness to meaning-preserving text revisions, multilingual, and multidomain evaluations, MCRP achieves consistently strong performance. Under rewriting, polishing, and expansion, it reaches 93.97% F1 and 96.24% ROC-AUC, outperforming the strongest evaluated baseline by 19.50 and 25.77 percentage points, respectively. Component ablations show that the response feature groups make complementary contributions to predictive performance. In the condition-control study, matched conditions consistently outperform random, mismatched, and corrupted alternatives, demonstrating a measurable incremental benefit from semantic matching.

Introduction

Large language models are now used for news summaries, product reviews, question answering, academic drafts, social media posts, and writing assistance, making the detection of LLM-generated text important to trustworthy AI and information governance (Sadasivan et al., 2025; Solaiman et al., 2019; Yang et al., 2023; Wu et al., 2024). Real outputs, however, rarely remain in their original form. Before publication or submission, they may be rewritten, polished, expanded, translated, or lightly edited (Pu et al., 2023; Koike et al., 2024; Pedrotti et al., 2025; Dugan et al., 2024; Wang et al., 2024b; Cornelius et al., 2024; Wang et al., 2024c; Li et al., 2024; He et al., 2024; Macko et al., 2023). Such operations change word choice, syntax, local discourse organization, and stylistic regularities while often retaining the core topic and information structure. Consequently, post-processing can weaken surface-level evidence without necessarily removing every relation between the text and an LLM-conditioned generation process (Krishna et al., 2023).

*Corresponding author.

Figure

Figure 1: Motivation under meaning-preserving text revisions. Human-written and LLM-generated texts may both be paraphrased, polished, expanded, or translated, making static surface evidence less separable. We instead reintroduce a semantic condition matched to the transformed candidate and measure its conditional-response profile.

Most existing detectors assign a score or label to an observed candidate using likelihood, perplexity, token rank, probability curvature, model discrepancy, rewriting behavior, repair effort, stylistic features, or supervised representations (Gehrmann et al., 2019; Su et al., 2023; Venkatraman et al., 2024; Verma et al., 2024; Bao et al., 2024; Mitchell et al., 2023; Hans et al., 2024; Chen et al., 2025; Kirchenbauer et al., 2023; Liu and Bu, 2024; Wang et al., 2023; Wu et al., 2023; Liu et al., 2023; Corizzo and Leal-Arenas, 2023; Lee and Jang, 2024; Zhou et al., 2024; Hou et al., 2024). These forms of evidence are effective in many unchanged, in-distribution, or closed-set settings. Yet their behavior can change after paraphrasing, polishing, translation, domain shift, or generator shift (Pu et al., 2023; Dugan et al., 2024; Yu et al., 2025; Fraser et al., 2025). This motivates a complementary question: rather than asking only whether a text appears LLM-generated under a static score, can we test whether its response changes systematically when a semantically matched condition is introduced, removed, or replaced?

Figure 1 illustrates the test performed by MCRP. Given a candidate text (x), we first use the frozen probe model ( fθf_{\theta}) to generate a short title (c) summarizing its main topic. The same model then processes (x) under two contexts: a matched context containing (c) and a null context containing only the completion instruction. For each target token, we measure how the matched condition changes its prediction loss and how much attention it receives from the target sequence; we also measure how well the candidate predicts the condition. Our hypothesis is that LLM-generated text is often organized as an expansion of a compact instruction or topic specification. Consequently, even after rewriting or polishing, introducing a candidate-matched condition may produce a systematically different loss-reduction and attention profile for machine- and human-written text. This is a testable difference between the two classes, not an attempt to recover the original prompt or infer the true causal generation process.

Based on this view, we propose Matched Conditional-Response Probing (MCRP). Given a candidate text, MCRP constructs a matched semantic condition and evaluates the candidate using a frozen probe model under matched and null contexts. The difference between the resulting responses characterizes sensitivity to the presence of matched semantic information. MCRP extracts three complementary feature groups: (i) bidirectional conditioned loss alignment, which measures predictability between the condition and text; (ii) counterfactual sensitivity, which measures the response change between matched and null conditions; and (iii) prompt-target intra-attention coupling, an internal-dependence proxy based on attention from target tokens to condition tokens. Segment-level statistics are concatenated into a probe representation and used to train a lightweight supervised random-forest classifier, while the probe language model remains frozen.

We evaluate MCRP on clean detection tasks, rewriting, polishing, expansion, multilingual data, multidomain data, surface transformation settings, and out-of-distribution (OOD) language and domain transfer. To distinguish the proposed conditional signal from simpler alternatives, we use source-group-disjoint splits and replace matched conditions with random, mismatched, and corrupted controls. These experiments quantify

Figure

Figure 2: Given a candidate (x), the same frozen LLM first generates the matched semantic condition (c) and then processes (x) through matched- and null-condition paths. MCRP extracts bidirectional conditioned alignment, matched-versus-null sensitivity, and prompt-target attention coupling, aggregates them over text segments, and trains a lightweight supervised classifier.

the incremental contribution of semantic correspondence beyond absolute predictability, prompt length, and prompt format. Our contributions are:

  • New empirical finding. We reveal that although meaning-preserving text revisions weaken static artifacts, human- and LLM-generated texts retain distinct response profiles under candidate-matched semantic conditions.

  • Matched conditional-response probing. We introduce MCRP, which uses the same frozen LLM for sample-adaptive condition construction and matched-versus-null probing, integrating bidirectional alignment, counterfactual sensitivity, and prompt-target attention coupling.

  • Comprehensive empirical validation. We validate this conditional detection strategy across clean, revised, multilingual, and multidomain settings through OOD transfer, condition controls, component ablations, frozen-probe comparisons, and efficiency analysis.

References (46)