ConceptioArchivearXiv CS
arXiv CSopen access

Black-Box Forensics for Conversational LLM Agents

Unknown · 2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
cryptography, security, privacy, cybersecurity

Black-Box Forensics for Conversational LLM Agents

Isadora White, Yasaman Jafari, Taylor Berg-Kirkpatrick University of California, San Diego

arXiv:2606.22698v1 [cs.CR] 21 Jun 2026

Abstract

by construction: an investigator observes nothing but conversational behavior, with no access to model weights or hidden instructions. This paper develops black-box forensics for conversational LLM agents—techniques that recover identifying information about an agent’s base model and system prompt purely by conversing with it. We study two complementary capabilities: attribution, identifying which base model or system prompt powers an endpoint from a closed set of options, and fingerprinting, detecting whether two endpoints share the same—possibly never-beforeseen—system prompt. Beyond scam investigation, these capabilities serve everyday platform governance. API users depend on stable model behavior, yet providers may silently update backend checkpoints, safety layers, or system prompts, and such unannounced revisions can materially shift downstream behavior (Chen et al., 2023; Gao et al., 2025). Fingerprinting conversations sampled from an endpoint over time reveals exactly these silent drifts—without any knowledge of what the configuration was or what it became. Security teams face the complementary problem: jailbreaks transfer only partially across models and prompt templates (Zou et al., 2023; Wei et al., 2023), so red-teaming must be tailored to a specific vulnerability profile, and attribution tells defenders which model they are actually facing. A practical forensic tool must also be covert. Traditional probing techniques rely on nonsensical adversarial strings or recognizable prompt-injection patterns; a human monitoring the target endpoint can spot these probes and evade. We therefore restrict ourselves to entirely non-adversarial dialogue: a “detective” agent initiates and steers ordinary conversations with the target. Beyond covertness, this active elicitation paradigm offers a second advantage over auditing static text dumps—fine-grained control over topic and conversational flow, letting us isolate the target’s behavioral signature from

As LLM-powered scams proliferate, black-box forensics for conversational LLM agents offers a path to accountability for systems hidden behind anonymous endpoints. Identifying the base model behind a chatbot endpoint (attribution), without model parameter access or knowledge of the hidden system prompt, would let investigators trace AI-enabled scams back to the providers whose models power them. Detecting when two endpoints run the exact same system prompt (fingerprinting), even one novel and unseen, would link individual scams into criminal networks and expose silent API changes. We conduct an empirical investigation of both capabilities. Our attribution classifiers identify the base model behind an agent with 98% accuracy from a few turns of nonadversarial conversation. Attribution of system prompts, while possible, requires retraining on a large amount of data for each prompt; system prompts in the wild are unbounded and ever-changing, making this approach costly. To tackle this more open-ended setting, our cross-encoder fingerprinting method achieves an AUC of 0.768 and an F1 of 0.703 on entirely unseen system prompts, and aggregating 50 interaction conversations from each target agent boosts AUC to 0.943. Conversational agents with unseen system prompts can thus be fingerprinted with robust accuracy from a few turns of ordinary conversation.

1

Introduction

As LLM adoption grows, so does abuse. AIassisted fraud and social-engineering campaigns now operate at scale (Federal Bureau of Investigation, Internet Crime Complaint Center (IC3), 2025; Federal Trade Commission, 2025), bots spread misinformation unchecked across the internet, and the models behind API endpoints are swapped without disclosure. These agents are anonymous 1

Example Use Cases

Agent Configurations Unseen Agent A

Black-Box Fingerprinting

Unseen Agent B

•Is the new scam message I got from the same source as the one from last week? •Has the API I’m paying for quietly switched to Prompt: Gain the user’s trust… a weaker model? •What model family does the website’s conversational agent use? It was recently attacked, so we should ask them to fix it ASAP!

Prompt: You are a supportive peer… Model: gpt-4.1-nano Model: gpt-4.1-nano Detective Agent

Prompt: Have a natural conversation Model: Qwen-4BInstruct

Conversation Transcript A

CrossEncode

Conversation Transcript B

Are these conversations from the same agent?

Yes

No

Figure 1: Black-box forensics for conversational LLM agents. Each target agent is defined by a hidden system prompt and base model (center), observable only through conversation with our detective agent. Forensic questions (left) map onto our two capabilities: black-box attribution (not depicted) identifies the base model behind an endpoint, while black-box fingerprinting (right) determines whether two conversation transcripts originate from the same agent—even one never seen during training—by cross-encoding the pair. This suffices to link scams into criminal networks, expose silent API changes, and target red-teaming to the right model.

semantic noise. We first study black-box attribution: mapping a conversation to a base model or system prompt drawn from a fixed candidate set. Adapting ideas from static human-vs-LLM detection and authorship attribution (Uchendu et al., 2020; Venkatraman et al., 2024; Guggilla et al., 2025), we attribute conversations to six base models with 98% accuracy using stylistic and n-gram features, distinguishing even models from the same family but of different sizes (GPT-OSS-120B vs. GPT-OSS20B). The same machinery extends to attributing system prompts, but there, accuracy is gated by (1) the semantic similarity of the candidate prompts and (2) how responsive the base model is to its prompt: on models such as GPT-OSS-120B and LLAMA-3.1-8B-INSTRUCT, prompt differences are markedly harder to detect. Attribution, however, presumes a fixed candidate set—and system prompts in the wild are unbounded and ever-changing. Collecting roughly 1k labeled conversations per model–prompt pair, as our attribution pipeline requires, is infeasible at the cadence with which deployed prompts are revised. We therefore introduce black-box fingerprinting: determining whether two conversational threads originate from the same system prompt on the same base model, even when that configuration has never been seen during training. Because fingerprinting requires no examples from the target configuration, it scales to the open world: investigators can cluster distinct scam campaigns, and auditors can detect silent drift, without ever training on the new configuration. Prior work has largely pursued three adjacent directions: (i) detecting whether text is human- or

machine-generated (Mitchell et al., 2023; Kirchenbauer et al., 2023), (ii) extracting hidden instructions from proprietary systems via prompt-stealing attacks (Perez and Ribeiro, 2022; Levin et al., 2025), and (iii) injecting identifiable signatures into models via instruction fine-tuning (Xu et al., 2024), probes (Bhardwaj and Mishra, 2025), or watermarking (Ye et al., 2026; Kirchenbauer et al., 2023). In contrast, our methods require no perturbation of the base model, no access to its output logits, and no ground-truth system prompts—or even prior conversations with the target agent—at training time. Our key contributions and findings are as follows: • Attribution of base models and system prompts. From a few turns of non-adversarial conversation, base models can be attributed with 98% accuracy. System-prompt attribution is also achievable, but accuracy depends on the base model’s prompt-responsiveness and the semantic similarity of the candidate prompts. • Fingerprinting of unseen system prompts. Without model weights, system prompts, or any training conversations from the target agent, our cross-encoder achieves an AUC of 0.768 and an F1 of 0.703 on entirely unseen system prompts. • Fingerprinting scales with evidence. Aggregating from 1 to 50 conversations per target raises performance to an AUC of 0.943 and an F1 of 0.77. 2

2

Related Work

use of jailbreaks, which may be observable by a human intermediary.

LLM output detection. Recent work on distinguishing LLM from human text has achieved over 99% accuracy and low false positive rates, such as the pangram AI detector (Emi and Spero, 2024), DetectGPT (Mitchell et al., 2023), GLTR (Prajapati et al., 2024), and GPT-Who (Venkatraman et al., 2024). Notably, some works, such as (Joshi et al., 2024), show that using traditional ML techniques can perform similarly to more modern NLP techniques. Other works focus on the attribution of a specific model from generations (Guggilla et al., 2025; Venkatraman et al., 2024). We update these approaches by focusing on more modern models for attribution and expanding them to not only attribute a base model but also the system prompt that was used to generate the conversations.

Model-targeted jailbreaks and robustness variation. Jailbreak studies show that adversarial prompting can transfer across aligned models but with substantial model-specific variation in vulnerability (Zou et al., 2023; Wei et al., 2023). This motivates deployment-specific forensics: defenders need tools that attribute behavior to a concrete model–prompt configuration rather than to a generic model family. Zero-shot methods and our setting. Similar zero-shot methods to our fingerprinting approach have been used for the detection of coding agents (Canonne et al., 2025) or the zero-shot detection of AI-generated images (Cozzolino et al., 2024). Our setting instead studies multi-turn conversational forensics with prompt-level variation, including paraphrastic edits and backend-change scenarios relevant to API governance and incident response.

Prompt extraction and prompt-injection attacks. While detecting differences in system prompts may not have been studied, prompt extraction of proprietary system prompts, especially those containing private data, has been studied extensively (Perez and Ribeiro, 2022; Greshake et al., 2023; Das et al., 2025; Levin et al., 2025; Agarwal et al., 2024; Wang et al., 2024). A common attack for this is a sandwich attack, where a harmful query is placed between harmless queries (Upadhayay and Behzadan, 2024), or leveraging the sycophancy effect (Agarwal et al., 2024). Our approach is similar, but avoids directly querying for the information in any discernible fashion - if the agent we are trying to fingerprint suspects our intentions, they might be able to evade.

3

Approach

This paper explores two methods for black-box forensics: (1) attribution and (2) fingerprinting. A note on terminology: prior work uses ‘fingerprinting’ to identify a base model, often via signatures injected during training (Xu et al., 2024; Yang and Wu, 2024) or query-based probing (Pasquini et al., 2025). In our taxonomy, that task is attribution; we reserve fingerprinting for matching two conversations to the same hidden configuration. We refer to our methods as black-box because we have no access to model internals or system prompts at test time, and as zero-shot because we fingerprint system prompts not observed during training. We define a conversational LLM agent (m, p) to be parametrized by its base model m and system prompt p. Because system prompts are modified much more frequently than fine-tuned models, evaluating variations in p provides a realistic metric for tracking rapid behavioral shifts. In our paper, we refer to the agent we are trying to fingerprint as the "target" agent t, and its interlocutor in conversation, the "detective" agent d. Unlike passive fingerprinting, our framework uses an active elicitation paradigm. By having the detective agent d steer the conversation, we control the topic and isolate the target’s structural fingerprint from semantic noise. To reflect real-world forensic auditing and honeypot scam detection, we

LLM Model Family and Prompt Attribution (Gao et al., 2025; Dima et al., 2025) present a technique for attributing different base models through a statistical test based on their distributions, while (Pasquini et al., 2025) distinguishes between 42 unique LLMs from only 8 queries. (He et al., 2024) attempts model attribution in addition to base model detection, but finds that the technique is not robust to paraphrase attacks, and (Antoun et al., 2024) comprehensively explores the interplay between model size and detectability for attribution. Prior methods validate the feasibility of black-box attribution (Iourovitski et al., 2024; Yang and Wu, 2024; Bai et al., 2025) and (Gubri et al., 2024) specifically creates jailbreaks for honeypot LLM systems. We build on this direction, extending the detection of subtle variations covertly without the 3

Method

System Prompts

Attribution

Active Querying

Conversational

Black-Box

LLMmap (Pasquini et al., 2025) Model Equality Testing (Gao et al., 2025) Anubis (Canonne et al., 2025) (Guggilla et al., 2025) GPT-Who (Venkatraman et al., 2024) DetectGPT (Mitchell et al., 2023) Prompt Stealing (Perez and Ribeiro, 2022) TRAP (Gubri et al., 2024) Black-Box Attribution (Bai et al., 2025)

× × × × × × ✓ × ×

✓ × × ✓ ✓ × × ✓ ✓

✓ ✓ × × × × ✓ ✓ ×

× × × × × × × × ×

× ✓ × ✓ ✓ × ✓ ✓ ✓

Ours

Table 1: Comparison of our fingerprinting framework against existing auditing and attribution methodologies across key operational axes. Our paper is the first to study the attribution of system prompts in a conversational black-box setting, where we have no access to model weights or system prompt internals. System prompts refers to attributing or fingerprinting system prompts to outputs. Attribution refers to our closed-set attribution pipeline. Active querying refers to the ability of our detective agent to steer the conversation to control the topic, and conversational refers to our conversational setting. We refer to our methods as black-box as they do not rely on model internals or ground-truth system prompts to function.

t1 , t2 . Then the goal of our model is to determine whether the target agents t1 and t2 are the same or different. Two target agents t1 , t2 are considered to not be the same if they differ either in their base model m or their system prompt p. As there are a limited number of base models, this problem is more well-suited for black-box attribution, and we focus our attention on fingerprinting system prompts p. Namely, fingerprinting differences between (m, pi ) and (m, pj ).

center these controlled interactions on common customer support and negotiation scenarios. 3.1

Tasks

Attribution of Base Models Suppose you encounter a scam bot and want to know the underlying base model, irrespective of the prompt. To solve this problem, we introduce our attribution techniques. Black-box attribution identifies the base model m ∈ M (and system prompt p ∈ P when it comes from a known set) of a target agent from fixed candidate sets, given a conversation c with a detective agent. We attribute M and P independently rather than jointly to isolate the distinct forensic markers of models versus prompts. For prompt attribution, we perform both multi-class and pairwise detection; distinguishing a specific pair pa , pb ∈ P allows us to systematically trace how isolated prompt modifications manifest as detectable behaviors in conversations c.

3.2

Datasets

Training and evaluating a robust attribution and fingerprinting system require a large-scale dataset, where the base model and system prompt of every conversation are precisely known. Obtaining real-world labeled data of a sufficient scale is infeasible because the extraction of system prompts from API providers breaches a gray area in copyright law, and malicious actors do not disclose their backend architectures or operational system prompts. Relying on scraped data introduces confounding variables, as the exact prompt, model version, and generation hyperparameters remain hidden. Therefore, synthetic generation is the most effective path to the level of control we require. Leveraging our detective LLM agent (powered by Q WEN -4B-I NSTRUCT) to conduct standardized interactions with target agents, we can produce a supervised corpus of 240k labeled transcripts from six base models and 40 system prompts over 70 customer support and negotiation topics. This synthetic data provides the foundation for training the forensic methods described in the sections below. As real-world system prompts may be more diverse

Fingerprinting of System Prompts Suppose you encounter a scammer agent and have a conversation with it. Now, in a new context on a new social media platform, you encounter another scammer agent. Our objective is to determine whether these two conversations originated from the same criminal organization. A high-fidelity proxy for this is if the scammer agents share the same system prompt and the same base model. Therefore, our approach to fingerprinting is to train a model to be able to detect when two conversations were with agents that shared the same system prompt. More formally, our black-box fingerprinting method involves two conversations c1 , c2 between a detective model d and two different target agents 4

4

in their behaviors than those studied in this paper, it is possible that our reported metrics on our synthetic system prompts are a lower bound on true in-the-wild performance.

Experiments

Below, we articulate our experimental setup and evaluation splits for both black-box attribution and zero-shot black-box fingerprinting. For all of these experiments, we train our methods only on target agent utterances to amplify the signal from target agent stylistic and semantic signatures.

Curating base system prompts. To simulate a reasonable range of operational diversity, we curated a library of base system prompts exhibiting distinct behavioral profiles, including specific role framing, verbosity constraints, and analytical reasoning styles. To ensure a plausible variety of instructions without relying on leaked or legally ambiguous proprietary data, we synthesized an initial pool of 20 diverse system prompts using GPT-5.2 (Singh et al., 2025) found in Appendix C.

4.1

Attribution Techniques

Taking inspiration from established authorship attribution methodologies (Uchendu et al., 2020; Venkatraman et al., 2024; Guggilla et al., 2025), we apply these to our multi-turn conversational paradigm. We implement two standard classifier families—previously validated primarily on static text generations—and evaluate their performance within our active elicitation framework. The first approach is a sparse baseline that mirrors traditional stylometric methodologies commonly deployed in LLM provenance studies (e.g., Uchendu et al., 2020; Venkatraman et al., 2024). Specifically, we utilize unigram and character-level TF–IDF alongside stylometric features (e.g., punctuation frequencies and utterance lengths) paired with a multinomial logistic regression classifier (Salton and Buckley, 1988) trained with scikitlearn (Pedregosa et al., 2011). See Section F for details regarding our stylometric feature extraction. While works like GPT-Who (Venkatraman et al., 2024) leverage similar statistical and stylometric markers to attribute isolated text snippets, our evaluation tests whether these features remain robust discriminative signals across continuous, multi-turn dialogue. The second approach evaluates the modern paradigm of utilizing language models as dense classifiers (e.g., Guggilla et al., 2025). We implement an LLM-based classifier by fine-tuning Q WEN -4B-I NSTRUCT with LoRA adapters (rank 64) (Hu et al., 2022), utilizing Unsloth for optimized training efficiency (Unsloth AI, 2024). We deploy these two baseline techniques across two primary tasks: (1) multi-way black-box attribution of base models, (2) two-class differentiation to detect variations between underlying system prompts differentiating (m, p1 ) from (m, p2 ), and (3) multi-way black-box attribution of system prompts. To ensure a rigorous evaluation, we perform a 5-fold cross-validation across our dataset of elicited conversations. Furthermore, for the multiway base model attribution, we conduct experiments conditioning the classifiers on either a sin-

Conversation topics. Each conversation has a "topic prompt" as a seed to the conversation in addition to the target agent-specific system prompt p. We use 70 seed topics spanning customer support as well as adjacent dialogue settings such as negotiation and interpersonal communication, and can be found in Appendix D. Controlled prompt variations. One question that remains underexplored is how possible it is to attribute highly similar system prompts. To evaluate our classifier’s sensitivity to these subtle semantic shifts, we randomly selected five of our base prompts and generated four tightly controlled variants for each: (1) severe truncation (retaining only the first and last sentences), (2) and (3) two distinct semantic paraphrases, and (4) a high-density summary (maximum two sentences). This setup tests whether the classifier can distinguish highly similar prompts. Transcript collection. We use Q WEN -4BI NSTRUCT as a fixed “detective” agent (Yang et al., 2025). Each target chatbot corresponds to one (m, p) pair, and the detective agent conducts multi-turn conversations with every target under standardized generation settings. This yields a labeled corpus for supervised attribution and a paired corpus for same-vs-different matching. All models have the same generation settings: temperature of 0.7 and max tokens of 512 per generation step. We collect data from six base models: GPT-OSS-20B, GPT-OSS-120B (Agarwal et al., 2025), L LAMA -3.1-8B-I NSTRUCT (Grattafiori et al., 2024), Q WEN -4B-I NSTRUCT (Yang et al., 2025), GPT-4 O -M INI, and GPT-4.1NANO (Achiam et al., 2023). 5

gle system prompt or the complete set of system prompts.

In this section, we illustrate the experimental details of our fingerprinting techniques, from baselines to our cross-encoder and bi-encoder methods.

and BERT (Devlin et al., 2019) and train them with a contrastive learning objective. The contrastive objective pulls embedding vectors from the same agent closer in cosine similarity while pushing vectors from different agents apart. For binary classification (same vs. different), we calibrate an optimal decision threshold using a hold-out validation set.

Model Equality Testing Baseline We adapt (Gao et al., 2025) to our problem by framing conversation-origin detection as a per-pair twosample test on the dataset described in Table 2, calibrating on the train set and reporting on the test set. For each pair, we compared only the conversations using target agent utterances, tokenized to Unicode and truncated/padded to length 512, then computed an MMD Hamming statistic with m=1 (prompt-agnostic within pair) to avoid sparse-turn instability and to focus on responsestyle distribution differences. Instead of a single global threshold or prompt-specific thresholds, we learned thresholds per unordered base model pair, because this would allow us to generalize to other pairs of system prompts on the same base model at test time. At test time, we leverage the threshold computed at train time to predict same versus different, given the information from target agent utterances in each conversation.

Cross-encoder Methods. Cross-encoders can leverage cross-attention to learn neural features that n-grams and bi-encoders cannot capture. We leverage ELECTRA-large (Clark et al., 2020) and BERT-base to encode the conversations and then output log probabilities for classifying same vs different, and use a cross-entropy loss to update the encoder. Since ELECTRA-large has a context window of 512 tokens, we truncate each conversation to the first three turns to allow it to fit in context. While long-context architectures such as Longformer (Beltagy et al., 2020) could permit a longer context window, we find that utilizing these architectures degrades performance and is unstable during training. ELECTRA-large was pre-trained as a discriminator with Replaced Token Detection, matching it more closely to our fingerprinting task. We use a batch size of 64, a learning rate of 1e − 5 and a weight decay of 0.01 over 3 epochs while training.

N-gram Overlap Baseline. We test a simple ngram overlap baseline on zero-shot black-box fingerprinting. This method involves counting the number of unigram overlaps between the two conversations and predicting "same" if over a certain threshold and "different" if less than. We tune this threshold for optimal performance to a threshold of 0.16 on a validation set.

4.3

4.2

Fingerprinting Techniques

Evaluation

N-gram and Style Zero-Shot Baselines We train logistic regression, gradient boosting, and a random forest classifier. First, we use TF–IDF similarity features by computing the cosine similarity, L2 distance, average distance, and standard deviation between the TF–IDF vectors of both conversations. Next, we compute stylometric difference features, calculating the absolute difference and the normalized ratio between the rate of certain punctuations and the length of the text. Finally, we compute the word-level and bi-gram Jaccard overlap between the two conversations.

Evaluation Splits Using the conversations generated in section 3.2, we match the conversations based on topic and create an even number of pairs with the same agent and with a different agent in both splits. For the training set, we use the first 15 system prompts, and the test set comprises the remaining 5 original system prompts. We enforce intra-topic pairing for the agents to actively prevent the model from confounding semantic variance (topic differences) with algorithmic variance. We split on the system prompts to demonstrate generalization to new system prompts not seen during training. All of the ‘different’ pairs in our primary evaluation set share the exact same base model and differ exclusively by their system prompt. For each conversation, we train all of our methods exclusively on the target agent utterances separated by newline delimiters. Dataset statistics can be found in Table 2.

Bi-Encoders: Contrastive Learning and Sentence Embeddings We leverage sentence embedding spaces such as MPNET (Song et al., 2020)

Robustness Checks: Topic Shifts, Unseen Detective Agent, Sampling Parameters and Style To test the robustness of our zero-shot fingerprinting 6

Train

Test

Same pairs Different pairs Avg. # target turns Pairs/topic mean Pairs/topic std Pairs/topic min Pairs/topic max Avg. Tokens

31,500 44,100 4.7857 1080.0 0.0000 1080 1080 614

4,200 4,200 4.7645 120.0 5.8870 109 133 624

ROC Curves by Number of Conversation Pairs (Majority Vote)

1.0

0.8

True Positive Rate

Metric

0.6

k=1 (0.77) k=3 (0.78) k=5 (0.82) k=7 (0.84) k=10 (0.87) k=20 (0.91) k=50 (0.94) Chance

0.4

0.2

Table 2: Dataset summary for zero-shot fingerprinting of system prompts. Same pairs are those that have the same system prompt and base model (m, p), and different pairs have the same base model but different system prompts: (m, pi ) and (m, pj ), where pi ̸= pj . We ensure that the train and test sets are equally balanced in terms of the number of same pairs and the number of different pairs.

0.0

0.4

0.6

0.8

1.0

False Positive Rate

Figure 2: ROC AUC curves for different numbers of conversation pairs (k). In Table 7, we report the recommended confidence thresholds for each value of k and for an F P R ≤ 0.10. The feasibility of collecting k interactions depends on the forensic context: aggregating k = 50 pairs is highly practical for governance teams auditing high-volume API endpoints for silent drift, whereas smaller thresholds (k = 3 to 5) are optimized for tracking individual, low-volume scam actors where interactions are scarce.

method to shifts, we (1) create a disjoint training and test set with 59 train topics and 11 test topics from the original 70, (2) test generalization to a new detective agent GPT-OSS-20B in conversation with the target agent GPT-4.1-NANO, (3) check robustness to sampling parameters from the target agent such as temperature and max tokens (4) test different context lengths such as shorter or longer conversations effect performance and (5) test how removing punctuation or using proxy prompting (e.g. rewriting with a different LLM) effects performance. See Section A for details on how GPT-4 O M INI was prompted to rewrite each utterance in the conversation. We perform these tests by creating small evaluation datasets for each condition with Q WEN -4B-I NSTRUCT as the detective agent and GPT-4.1-NANO as the target base model, where we sample one same and one different pair for each of the 70 topics for each of the 5 test prompts, for a total evaluation of 700 pairs.

5

0.2

SFT classifier struggling to exceed 63% accuracy. To understand what factors drive these attribution rates, we analyzed performance across different base models and prompt variations. First, we find that accuracy is heavily gated by the base model’s inherent responsiveness to instructions. Models like Q WEN -4B-I NSTRUCT, GPT-4 O -M INI, and GPT-4.1-NANO are highly sensitive to prompt constraints, yielding pairwise accuracies above 90%. Conversely, GPT-OSS-20B and GPT-OSS-120B exhibit much lower attribution accuracies and a negligible correlation (r < 0.2) between prompt semantic similarity and detectability. Confusion matrices detailing these model-specific distributions can be found in Section H. We evaluate our binary classifiers on tightly controlled prompt variants. We find that structural modifications generate highly discriminative markers: distinguishing a summary of a prompt from the original yields nearly 99% accuracy. However, when the semantic intent is preserved (e.g., applying a paraphrase or retaining only the first and last sentences), accuracy drops below 80%.

Results

Attribution. Our attribution framework accurately classifies agent model families and sizes 98% of the time, distinguishing even between highly similar models (e.g., GPT-OSS-20B and GPTOSS-120B) with 95% accuracy. Black-box attribution of system prompts is effective in the binary classification setting as well, but it is dependent on (1) the base model and (2) the semantic similarity of system prompts. In Table 3, we evaluate both binary and multi-way prompt attribution. While sparse features (TF–IDF) achieve a strong 0.914 average accuracy in pairwise settings, multi-way classification proves significantly more challenging, with our Q WEN -4B-I NSTRUCT

Fingerprinting. Table 4 shows that our best method, a cross-encoder with the ELECTRA-large base model, achieves 0.768 AUC and an F1 of 0.703. Our baselines, such as simply using the n-gram overlap or a simple logistic regression classifier, perform significantly worse, with an AUC of 0.59 and 0.68, respectively, indicating that our 7

Model

Pairwise Classification Avg. TF–IDF Acc Pearson

Q WEN -4B-I NSTRUCT GPT-4 O -M INI GPT-4.1-NANO L LAMA -3.1-8B-I NSTRUCT GPT-OSS-20B GPT-OSS-120B

0.914 0.964 0.971 0.809 0.775 0.793

Spearman

-0.411 -0.302 -0.358 -0.342 -0.162 -0.128

-0.328 -0.170 -0.156 -0.316 -0.142 -0.128

Multi-way Classification SFT Acc TF–IDF Acc 0.39 0.63 0.59 0.05 0.04 0.05

0.37 0.51 0.55 0.21 0.20 0.21

Table 3: We report average pairwise classification accuracy and multi-way classification on 20 system prompts, as well as the Pearson and Spearman correlation coefficients between the semantic similarity of system prompts according to miniLM-v6 and downstream accuracy. TF–IDF outperforms SFT on these tasks due to its ability to leverage stylistic content rather than semantics, a potentially more useful signal when a model responds more strongly to stylistic signals. Method

Type

AUC

F1

Bal. Acc

Precision

Recall

Model Equality Testing (Gao et al., 2025) N-gram Overlap N-gram LogReg N-gram GBDT N-gram RF StyleDistance nomic-modernbert MPNET contrastive CE BERT-base CE ELECTRA-large

Distribution Testing Threshold Feature-based Feature-based Feature-based Bi-encoder Bi-encoder Bi-encoder Cross-encoder Cross-encoder

0.604 0.590 0.667 0.673 0.680 0.686 0.747 0.752 0.754 0.768

0.509 0.480 0.636 0.646 0.651 0.659 0.694 0.692 0.700 0.703

0.574 0.568 0.616 0.625 0.625 0.631 0.670 0.675 0.676 0.682

0.601 0.530 0.605 0.612 0.609 0.612 0.648 0.658 0.653 0.659

0.442 0.580 0.670 0.684 0.700 0.714 0.747 0.730 0.754 0.754

Table 4: Our cross-encoder and bi-encoder methods using BERT, MPNET, and ELECTRA-large outperform our baseline methods across all subsets. Model equality testing (Gao et al., 2025) is not well-suited to this problem as its methodology relies on 10 repeated queries for 25 prompts rather than covert conversational fingerprinting tested in our setup.

cross-encoder and bi-encoder methods perform significantly better. Our method scales with the number of pairs. Using 50 conversations for each target model, we can increase the zero-shot fingerprinting results to an AUC of 0.943 and an F1 of 0.79. Significant gains can also be achieved by using only 5 pairs of conversations for an AUC of 0.83 F1 of 0.72. Practitioners can use the curves found in Figure 2 to calibrate performance and the false positive rate against their budget for sampling conversations. Namely, for k = 1, practitioners can obtain a precision FPR of 0.095 and TPR of 0.367 Increasing to k = 50, practitioners can get an FPR of 0.073 and a TPR of 0.761. To assess stability across conversation topics, we calculated the zeroshot AUC for each of the 70 topics individually with a per-topic standard deviation of 0.048.

ever, changes in conversation length and paraphrase attacks cause more significant performance degradation (AUC drops of 0.10 to 0.20). First, we evaluate the minor impacts. When trained on 59 topics and tested on 11, the method retains strong performance across six base models in the test set, with the overall target model AUC dropping slightly by 0.02. As shown in Table 5, an ELECTRA-large cross-encoder trained exclusively on Q WEN -4B-I NSTRUCT conversations generalizes to conversations with GPT-OSS-20B as the base model for the detective agent with only a 0.03 drop in AUC. Similarly, Table 6 demonstrates that altering sampling parameters (such as temperature and max tokens) or removing punctuation reduces AUC by less than 0.02. Conversely, context length significantly impacts performance. Compared to a three-turn conversation, a two-turn conversation drops the AUC by 0.06, and a one-turn conversation causes a steeper 0.20 decrease. Performance also degrades when evaluating later stages of a long interaction. We collected 700 24-turn conversations between Q WEN -4B-I NSTRUCT and GPT-4.1-NANO (two per prompt/topic) and split them into three-turn

Robustness of Fingerprinting to Sampling, Style, and Shifts in Distribution In this section, we investigate the robustness of our fingerprinting method to variations in topic, sampling, detective agent base model, punctuation, conversation length, and paraphrase attacks. We find that changes in topic, sampling, punctuation, and the detective model result in AUC drops of less than 0.03. How8

Q WEN -4B-I NSTRUCT

GPT-OSS-20B

Context Length

AUC

F1

Bal. Acc

Prec.

Rec.

AUC

F1

Bal. Acc

Prec.

Rec.

First Turn Second Turn Third Turn

0.688 0.623 0.606

0.484 0.312 0.196

0.613 0.569 0.537

0.732 0.774 0.743

0.362 0.196 0.113

0.644 0.624 0.619

0.443 0.267 0.143

0.599 0.549 0.519

0.726 0.714 0.659

0.319 0.164 0.080

First Two Turns All Three Turns

0.815 0.871

0.743 0.813

0.734 0.802

0.728 0.781

0.758 0.849

0.794 0.846

0.717 0.783

0.717 0.775

0.717 0.756

0.717 0.811

Table 5: Comparison of Q WEN -4B-I NSTRUCT and GPT-OSS-20B detective agents across turns with GPT-4.1-NANO as the target base model. Changing the number of turns labeled has a big impact (7% decrease in accuracy), but changing the detective agent does not, with less than a 3% decrease in accuracy. The zero-shot detector was not trained on GPT-OSS-20B, but still maintains a good performance of 0.846 AUC. The context is truncated to three turns, as the ELECTRA-large encoder model has a limited context window of 512 tokens. Punctuation (Original)

No Punctuation

Experiment

Value

AUC

F1

Bal. Acc

Prec.

Rec.

AUC

F1

Bal. Acc

Prec.

Rec.

Max Tokens

50 100 150

0.892 0.902 0.921

0.819 0.850 0.856

0.816 0.833 0.857

0.806 0.770 0.861

0.831 0.949 0.851

0.871 0.892 0.908

0.812 0.826 0.842

0.794 0.826 0.831

0.748 0.826 0.793

0.889 0.826 0.897

Temperature

0.0 0.5 1.0

0.914 0.900 0.896

0.858 0.847 0.827

0.844 0.841 0.823

0.790 0.817 0.807

0.937 0.880 0.849

0.902 0.880 0.875

0.845 0.816 0.812

0.830 0.816 0.809

0.776 0.815 0.797

0.929 0.817 0.829

Table 6: On conversations between Q WEN -4B-I NSTRUCT detective agent and GPT-4.1-NANO target base model, we assess the performance of our ELECTRA-large cross-encoder model under adversarial perturbations such as a change in temperature, max tokens, or punctuation.

chunks. As shown in Table 15, chunks from the first six turns maintain a high AUC of 0.87, but chunks after the first six turns drop to 0.77. However, applying majority voting to these later chunks recovers the AUC to 0.81. Finally, paraphrase attacks via proxy prompting (e.g., using GPT-4 O -M INI to rephrase each utterance) reduce performance by 0.10 AUC. Despite this, by using k = 10 conversation pairs, we can still achieve an AUC of 0.94 against GPT4.1-NANO. While proxy prompting meaningfully degrades our method, such obfuscation is typically fatal to watermarking or statistical detection techniques like DetectGPT (Mitchell et al., 2023) absent specific defenses (Li, 2024). Our relative success suggests that the cross-encoder relies more on underlying content and tone rather than stylistic artifacts from the model or system prompt.

6

trast, our work fingerprints models through nonadversarial interaction. Future work should include integrating this system into real-world workflows, such as a honeypot LLM system, designed to entrap scammers and use this information to trace cyber criminals defrauding the globe. For the deployment of our methods, we recommend using attribution in conjunction with fingerprinting. Fingerprinting can be used to group conversations together, and multiple conversations from different endpoints can be used to decrease uncertainty. Once a specific suspicious set of outputs is linked to one another, our attribution techniques can be leveraged to trace these outputs to the specific model provider.

Conclusion

This work introduces techniques for black-box forensics. Namely, (1) attribution of base models and system prompts and (2) fingerprinting of system prompts on known base models. Previous works such as DetectGPT (Mitchell et al., 2023) require access to model internals, while other works, such as (Pasquini et al., 2025), leverage prompt injections and out-of-distribution inputs. In con9

7

Limitations

References Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, and 1 others. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.

While evaluating black-box fingerprinting on live, wild-caught scam deployments remains an ultimate objective for industry deployment, utilizing a meticulously controlled synthetic corpus is a deliberate and vital methodological choice. This approach bypasses significant ethical and legal gray areas regarding prompt extraction from proprietary systems. Instead, we curate a set of system prompts from a critical deployment sector: customer support and negotiation. Using our active elicitation paradigm with the detective agent interlocutor, we can control the flow of conversations to similar directions, mitigating the risk of topic drift. By enforcing strict intra-topic pairing across 70 distinct negotiation and support environments, we actively isolate semantic topic variables from structural stylistic footprints. This evaluation design ensures that when our cross-encoder models successfully evaluate conversational pairs under entirely unseen system prompts, they are mapping prompt-driven behavioral blueprints rather than topic-driven semantic shifts.

8

Divyansh Agarwal, Alexander Fabbri, Ben Risher, Philippe Laban, Shafiq Joty, and Chien-Sheng Wu. 2024. Prompt leakage effect and mitigation strategies for multi-turn LLM applications. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: Industry Track, pages 1255–1275, Miami, Florida, US. Association for Computational Linguistics. Sandhini Agarwal, Lama Ahmad, Jason Ai, Sam Altman, Andy Applebaum, Edwin Arbus, Rahul K Arora, Yu Bai, Bowen Baker, Haiming Bao, and 1 others. 2025. gpt-oss-120b & gpt-oss-20b model card. arXiv preprint arXiv:2508.10925. Wissam Antoun, Benoît Sagot, and Djamé Seddah. 2024. From text to source: Results in detecting large language model-generated content. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 7531–7543. Xiaofan Bai, Pingyi Hu, Xiaojing Ma, Linchen Yu, Dongmei Zhang, Qi Zhang, and Bin Benjamin Zhu. 2025. Esf: Efficient sensitive fingerprinting for blackbox tamper detection of large language models. In Findings of the Association for Computational Linguistics: ACL 2025, pages 10477–10494.

Ethical Considerations

Idiosyncratic system prompts in personalized LLMs could inadvertently serve as proxies for deanonymization. To mitigate these surveillance risks, the methodology must be strictly restricted to auditing public-facing commercial APIs and investigating coordinated, mass-scale malicious operations (e.g., automated social engineering, scam infrastructure, or API abuse). To enforce these boundaries, real-world deployments should adhere to the following operational protocols: (1) pre-flight target validation to ensure endpoints belong to commercial entities or suspected adversarial networks, structurally prohibiting the scanning of residential IP spaces; (2) data minimization and automated sanitization that prioritizes structural markers over raw text and redacts personally identifiable information (PII) before storage or analysis; (3) context-aware abort mechanisms that immediately terminate probing if initial outputs reveal highly personalized data or private histories; and (4) mandatory auditability and responsible disclosure, requiring deployments to log explicit threat intelligence justifications and open-source releases to hardcode these safety guardrails by default.

Iz Beltagy, Matthew E Peters, and Arman Cohan. 2020. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150. Devansh Bhardwaj and Naman Mishra. 2025. Invisible traces: Using hybrid fingerprinting to identify underlying llms in genai apps. arXiv preprint arXiv:2501.18712. Clément L Canonne, Yash Pote, and Uddalok Sarkar. 2025. Zero-shot attribution for large language models: A distribution testing approach. arXiv preprint arXiv:2506.20197. Lingjiao Chen, Matei Zaharia, and James Zou. 2023. How is chatgpt’s behavior changing over time? arXiv preprint arXiv:2307.09009. Kevin Clark, Minh-Thang Luong, Quoc V Le, and Christopher D Manning. 2020. Electra: Pre-training text encoders as discriminators rather than generators. In International Conference on Learning Representations. Davide Cozzolino, Giovanni Poggi, Matthias Nießner, and Luisa Verdoliva. 2024. Zero-shot detection of ai-generated images. In European conference on computer vision, pages 54–72. Springer.

10

Badhan Chandra Das, M Hadi Amini, and Yanzhao Wu. 2025. System prompt extraction attacks and defenses in large language models. arXiv preprint arXiv:2505.23817.

Ai generated text detection using instruction finetuned large language and transformer-based models. arXiv preprint arXiv:2507.05157. Xinlei He, Xinyue Shen, Zeyuan Chen, Michael Backes, and Yang Zhang. 2024. Mgtbench: Benchmarking machine-generated text detection. Preprint, arXiv:2303.14822.

Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics.

Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. Lora: Low-rank adaptation of large language models. In ICLR 2022. Dmitri Iourovitski, Sanat Sharma, and Rakshak Talwar. 2024. Hide and seek: Fingerprinting large language models with evolutionary learning. arXiv preprint arXiv:1810.04805.

Alden Dima, James Foulds, Shimei Pan, and Philip Feldman. 2025. You’ve changed: Detecting modification of black-box large language models. arXiv preprint arXiv:2504.12335. Bradley Emi and Max Spero. 2024. Technical report on the pangram ai-generated text classifier. arXiv preprint arXiv:2402.14873.

Prathamesh Dinesh Joshi, Sahil Pocker, Raj Abhijit Dandekar, Rajat Dandekar, and Sreedath Panat. 2024. Hullmi: Human vs llm identification with explainability. arXiv preprint arXiv:2409.04808.

Federal Bureau of Investigation, Internet Crime Complaint Center (IC3). 2025. Internet crime report 2024. https://www.ic3.gov/AnnualReport/ Reports/2024_IC3Report.pdf. Accessed: 202603-03.

John Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz, Ian Miers, and Tom Goldstein. 2023. A watermark for large language models. In International conference on machine learning, pages 17061– 17084. PMLR.

Federal Trade Commission. 2025. Consumer sentinel network data book 2024. https://www.ftc.gov/reports/ consumer-sentinel-network-data-book-2024. Accessed: 2026-03-03.

Roman Levin, Valeriia Cherepanova, Abhimanyu Hans, Avi Schwarzschild, and Tom Goldstein. 2025. Has my system prompt been used? large language model prompt membership inference. arXiv preprint arXiv:2502.09974.

Irena Gao, Percy Liang, and Carlos Guestrin. 2025. Model equality testing: Which model is this api serving? In International Conference on Learning Representations, volume 2025, pages 86369–86382.

Suning Li. 2024. Enhancing the robustness of fastdetectgpt against paraphrase attacks. In 2024 5th International Conference on Computers and Artificial Intelligence Technology (CAIT), pages 422–428. IEEE.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad AlDahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, and 542 others. 2024. The llama 3 herd of models. Preprint, arXiv:2407.21783.

Eric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning, and Chelsea Finn. 2023. Detectgpt: Zero-shot machine-generated text detection using probability curvature. In Proceedings of the 40th International Conference on Machine Learning. Dario Pasquini, Evgenios M Kornaropoulos, and Giuseppe Ateniese. 2025. {LLMmap}: Fingerprinting for large language models. In 34th USENIX Security Symposium (USENIX Security 25), pages 299–318.

Kai Greshake, Sahar Abdelnabi, Shailesh Mishra, Christoph Endres, Thorsten Holz, and Mario Fritz. 2023. Not what you’ve signed up for: Compromising real-world llm-integrated applications with indirect prompt injection. In Proceedings of the 16th ACM workshop on artificial intelligence and security, pages 79–90.

Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, and 1 others. 2011. Scikit-learn: Machine learning in python. the Journal of machine Learning research, 12:2825–2830.

Martin Gubri, Dennis Ulmer, Hwaran Lee, Sangdoo Yun, and Seong Joon Oh. 2024. Trap: Targeted random adversarial prompt honeypot for black-box identification. In Findings of the Association for Computational Linguistics: ACL 2024, pages 11496–11517.

Fábio Perez and Ian Ribeiro. 2022. Ignore previous prompt: Attack techniques for language models. arXiv preprint arXiv:2211.09527.

Chinnappa Guggilla, Budhaditya Roy, Trupti Ramdas Chavan, Abdul Rahman, and Edward Bowen. 2025.

11

Manish Prajapati, Santos Kumar Baliarsingh, Chinmayee Dora, Ashutosh Bhoi, Jhalak Hota, and Jasaswi Prasad Mohanty. 2024. Detection of aigenerated text using large language model. In 2024 international conference on emerging systems and intelligent computing (ESIC), pages 735–740. IEEE.

An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, and 41 others. 2025. Qwen3 technical report. Preprint, arXiv:2505.09388.

Gerard Salton and Christopher Buckley. 1988. Termweighting approaches in automatic text retrieval. Information processing & management, 24(5):513– 523.

Zhiguang Yang and Hanzhou Wu. 2024. A fingerprint for large language models. arXiv preprint arXiv:2407.01235. Peigen Ye, Huali Ren, Zhengdao Li, Anli Yan, Hongyang Yan, Shaowei Wang, and Jin Li. 2026. Securing large language models: A survey of watermarking and fingerprinting techniques. ACM Computing Surveys, 58(7):1–35.

Aaditya Singh, Adam Fry, Adam Perelman, Adam Tart, Adi Ganesh, Ahmed El-Kishky, Aidan McLaughlin, Aiden Low, AJ Ostrow, Akhila Ananthram, and 1 others. 2025. Openai gpt-5 system card. arXiv preprint arXiv:2601.03267.

Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J. Zico Kolter, and Matt Fredrikson. 2023. Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043.

Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and TieYan Liu. 2020. Mpnet: Masked and permuted pretraining for language understanding. Advances in neural information processing systems, 33:16857– 16867. Adaku Uchendu, Thai Le, Kai Shu, and Dongwon Lee. 2020. Authorship attribution for neural text generation. In Proceedings of the 2020 conference on empirical methods in natural language processing (EMNLP), pages 8384–8395. Unsloth AI. 2024. Unsloth. https://github.com/ unslothai/unsloth. Accessed: 2026-03-05. Bibek Upadhayay and Vahid Behzadan. 2024. Sandwich attack: Multi-language mixture adaptive attack on llms. In Proceedings of the 4th Workshop on Trustworthy Natural Language Processing (TrustNLP 2024), pages 208–226. Saranya Venkatraman, Adaku Uchendu, and Dongwon Lee. 2024. Gpt-who: An information density-based machine-generated text detector. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 103–115. Junlin Wang, Tianyi Yang, Roy Xie, and Bhuwan Dhingra. 2024. Raccoon: Prompt extraction benchmark of llm-integrated applications. In Findings of the Association for Computational Linguistics: ACL 2024, pages 13349–13365. Alexander Wei, Nika Haghtalab, and Jacob Steinhardt. 2023. Jailbroken: How does LLM safety training fail? In Thirty-seventh Conference on Neural Information Processing Systems. Jiashu Xu, Fei Wang, Mingyu Ma, Pang Wei Koh, Chaowei Xiao, and Muhao Chen. 2024. Instructional fingerprinting of large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 3277–3306.

12

Appendix A

Proxy Prompting Details

We use the following prompt to rewrite the utterances using GPT-4 O -M INI. { " task ": " Rewrite each utterance ." , " requirements ": [ " Keep same number and order of utterances ." , " Preserve meaning and factual content ." , " No meta commentary ." , " Do not output markdown ." , " Return JSON object with key rewritten_utterances ." ], " utterances ": ["..."] , " output_schema ": {" rewritten_utterances ": [" string ", "..."]} }

B

Recommended Decision Thresholds

We report recommended decision thresholds for different values of k under two false-positive-rate constraints, illustrating the trade-off between conservative and more permissive attribution decisions. Table 7: Recommended decision thresholds by k under an F P R < 0.10 constraint (maximize TPR). There is no feasible threshold for k = 3 where the FPR is less than 0.10 so it is listed as N/A.

k

Threshold

FPR

TPR

1 3 5 7 10 20 50

0.870 N/A 1.000 1.000 0.900 0.800 0.720

0.095 N/A 0.053 0.023 0.039 0.051 0.073

0.367 N/A 0.322 0.211 0.367 0.558 0.761

Table 8: Recommended decision thresholds by k under an F P R ≤ 0.30 constraint (maximize TPR).

C

System Prompts

C.1

System Prompts

k

Threshold

FPR

TPR

1 3 5 7 10 20 50

0.690 1.000 0.800 0.714 0.700 0.650 0.620

0.293 0.140 0.219 0.274 0.248 0.265 0.292

0.645 0.487 0.698 0.801 0.821 0.900 0.969

1. Professional: “You are a professional conversational assistant. Be clear, direct, and helpful at all times. Answer the user’s questions efficiently without unnecessary filler. Maintain a polite and competent tone. When something is unclear, ask brief clarifying questions.” 13

2. Warm and Supportive: “You are a warm, supportive conversational assistant. Speak with kindness, patience, and encouragement. Help the user feel heard while still being practical and useful. Avoid sounding overly formal or robotic. Aim to be reassuring without being overly emotional.” 3. Friendly and Conversational: “You are a friendly, conversational assistant. Speak naturally, like a thoughtful and approachable person. Keep your tone relaxed but still informative and respectful. Avoid stiff phrasing unless the user asks for formality. Make the interaction feel easy and comfortable.” 4. Concise: “You are a concise assistant. Give the shortest answer that still fully helps the user. Avoid repetition, preambles, and unnecessary explanation. Prefer direct language and compact phrasing. Expand only when the user asks for more detail.” 5. Thorough and Explanatory: “You are a thorough and explanatory assistant. Provide clear reasoning, step-by-step explanations, and enough detail for the user to understand the answer deeply. Anticipate likely confusion points and address them proactively. Organize information in a structured way. Do not sacrifice clarity for brevity.” 6. Socratic Guide: “You are a Socratic conversational guide. Rather than always giving the answer immediately, help the user think through problems by asking thoughtful questions. Encourage reflection, reasoning, and gradual discovery. Be patient and adaptive to the user’s level of understanding. When appropriate, still provide direct answers to avoid frustration.” 7. Educational: “You are an educational assistant with the style of a clear, organized teacher. Break down complex ideas into manageable pieces. Use examples, analogies, and step-by-step instruction when useful. Check for conceptual understanding by highlighting key takeaways. Keep your tone encouraging and precise.” 8. Creative: “You are a creative conversational assistant. Approach requests with originality, flexible thinking, and vivid language when appropriate. Offer interesting alternatives and imaginative possibilities, especially for brainstorming and writing tasks. Stay grounded in the user’s goals. Do not become whimsical when the user needs strict precision.” 9. Analytical: “You are an analytical assistant who values precision and logical consistency. Break problems into components, examine assumptions, and reason carefully. Be explicit about uncertainty and tradeoffs. Avoid hand-wavy statements or vague claims. Prioritize correctness over style.” 10. Empathetic: “You are an empathetic conversational assistant. Respond in a way that shows careful listening and emotional awareness. Validate the user’s concerns without overdoing it or sounding scripted. Balance empathy with practical help. Be calm, respectful, and nonjudgmental.” 11. Cheerful and Upbeat: “You are a cheerful and upbeat assistant. Bring positive energy into the conversation while remaining useful and grounded. Use lively, encouraging language without becoming distracting or unprofessional. Help the user feel motivated and supported. Match the user’s tone when they prefer something calmer.” 12. Formal and Polished: “You are a formal and polished conversational assistant. Use refined, professional language and a composed tone. Structure your responses clearly and avoid slang or casual phrasing. Be respectful, measured, and articulate. Maintain this style unless the user asks for something more relaxed.” 13. Pragmatic: “You are a pragmatic assistant focused on getting things done. Prioritize actionable advice, concrete next steps, and realistic solutions. Avoid abstract discussion unless it helps solve the problem. Help the user move from uncertainty to action. Keep your tone practical and grounded.” 14

14. Collaborative: “You are a collaborative assistant who works with the user like a thoughtful partner. Frame the interaction as joint problem-solving. Offer suggestions while staying flexible and responsive to the user’s preferences. Make your reasoning visible when helpful so the user can build on it. Be constructive, adaptable, and team-oriented.” 15. Customer Service: “You are a customer service-style assistant. Be polite, patient, and solutionsoriented. Acknowledge the user’s request clearly and guide them through next steps in a calm and professional way. Show accountability and clarity, especially when handling frustration or confusion. Never sound defensive.” 16. Tactful and Diplomatic: “You are a tactful and diplomatic assistant. Handle sensitive topics carefully and respectfully. Use neutral, balanced language and avoid escalating tension. When the user is upset, remain calm and composed. Prioritize clarity, fairness, and emotional intelligence.” 17. Motivational Coach: “You are a motivational conversational coach. Encourage the user to make progress and build confidence. Frame challenges as manageable and focus on momentum, discipline, and practical improvement. Use positive language, but do not ignore real difficulties. Support the user without sounding cliché or exaggerated.” 18. Reflective and Thoughtful: “You are a reflective and thoughtful assistant. Respond with care, nuance, and depth. Take the time to consider multiple perspectives when appropriate. Avoid rushing to oversimplified conclusions. Write in a calm, intelligent tone that invites deeper thinking.” 19. Playful yet Capable: “You are a playful yet capable conversational assistant. Use light humor and a bit of personality when appropriate, while still giving solid, useful answers. Keep the interaction engaging without becoming silly or distracting. Stay sensitive to context and avoid joking during serious moments. Always make sure helpfulness comes first.” 20. Adaptive: “You are an adaptive conversational assistant. Match the user’s tone, pace, and level of formality while staying clear and helpful. If the user is casual, be casual; if they are formal, be formal. Adjust response length based on the user’s apparent preferences. Preserve consistency, competence, and respect across all styles.” 21. Friendly and Conversational variants: • Variant 1 (First/Last): “You are a friendly, conversational assistant. Make the interaction feel easy and comfortable.” • Variant 2 (Paraphrase): “You are an approachable assistant with a natural, human tone. Communicate in a relaxed and respectful way while still being informative. Do not sound overly rigid or formal unless the user wants that style. Help the conversation feel smooth and comfortable.” • Variant 3 (Paraphrase): “You are a warm and easygoing conversational assistant. Respond in a natural, accessible way that feels thoughtful and pleasant. Stay helpful and respectful without sounding stiff. Shift into a more formal style only when the user prefers it.” • Variant 4 (Summary): “Be friendly, natural, and easy to talk to. Keep the tone relaxed, respectful, and informative.” 22. Educational variants: • Variant 1 (First/Last): “You are an educational assistant with the style of a clear, organized teacher. Keep your tone encouraging and precise.” • Variant 2 (Paraphrase): “You are a teaching-focused assistant who explains things in a clear and structured way. Divide difficult concepts into smaller parts and use examples or analogies when they help. Emphasize the main lessons so the user can follow the underlying idea. Stay accurate, supportive, and organized.” 15

• Variant 3 (Paraphrase): “You are an instructional assistant modeled after a good teacher. Present information in a logical order, simplify complicated material, and guide the user step by step when needed. Reinforce understanding by drawing attention to the most important points. Be both encouraging and exact.” • Variant 4 (Summary): “Explain like a clear and organized teacher. Use structure, examples, and key takeaways to make difficult ideas easier to understand.” 23. Cheerful and Upbeat variants: • Variant 1 (First/Last): “You are a cheerful and upbeat assistant. Match the user’s tone when they prefer something calmer.” • Variant 2 (Paraphrase): “You are a positive and energetic assistant. Keep the conversation encouraging and uplifting while still staying practical and helpful. Use enthusiastic language in a professional way that does not overwhelm the user. Adjust to a quieter tone when the user seems to want something more subdued.” • Variant 3 (Paraphrase): “You are a bright and motivating conversational assistant. Offer encouragement and warmth while staying grounded in useful guidance. Let your tone feel lively without becoming excessive or inappropriate. Mirror the user’s preferred energy level when they want a calmer exchange.” • Variant 4 (Summary): “Be upbeat, encouraging, and supportive while still being useful. Keep the energy positive, but adapt to the user’s preferred tone.” 24. Tactful and Diplomatic variants: • Variant 1 (First/Last): “You are a tactful and diplomatic assistant. Prioritize clarity, fairness, and emotional intelligence.” • Variant 2 (Paraphrase): “You are a careful and diplomatic assistant, especially when dealing with sensitive issues. Respond with respect, emotional awareness, and balanced language. Avoid wording that could intensify conflict or frustration. Stay calm, fair, and clear in difficult conversations.” • Variant 3 (Paraphrase): “You are a composed and tactful conversational assistant. Approach delicate subjects with restraint and respect, using neutral language that helps keep the interaction steady. If the user is distressed, respond calmly rather than reactively. Focus on fairness, clarity, and good judgment.” • Variant 4 (Summary): “Handle sensitive matters with calm, balanced, and respectful language. Aim to reduce tension and respond with fairness and emotional intelligence.” 25. Playful yet Capable variants: • Variant 1 (First/Last): “You are a playful yet capable conversational assistant. Always make sure helpfulness comes first.” • Variant 2 (Paraphrase): “You are an assistant with a light, engaging personality. Use gentle humor when it fits, but make sure your answers remain clear and genuinely useful. Keep the conversation lively without becoming goofy or unfocused. Pay close attention to the situation and stay serious when the moment calls for it.” • Variant 3 (Paraphrase): “You are a capable assistant who can be playful in moderation. Bring in small touches of humor or charm when appropriate, but never at the expense of clarity or usefulness. Make the interaction enjoyable without becoming distracting. Read the tone of the situation carefully, especially in serious contexts.” • Variant 4 (Summary): “Be engaging and lightly playful when appropriate, but stay competent and context-aware. Use humor carefully and never let it interfere with being helpful.” 16

D

Topics

D.1

Topic Prompts

T1 Topic: Booking a flight through an airline live-chat agent Role A: You are the customer in this conversation. Role B: You are the airline agent in this conversation. T2 Topic: Reserving a hotel room via hotel website chat Role A: You are the customer in this conversation. Role B: You are the hotel booking agent in this conversation. T3 Topic: Ordering takeout through a restaurant chat bot/agent Role A: You are the customer in this conversation. Role B: You are the restaurant chat agent in this conversation. T4 Topic: Returning a damaged item through e-commerce chat support Role A: You are the customer in this conversation. Role B: You are the e-commerce support agent in this conversation. T5 Topic: Reporting a broken heater to building management chat portal Role A: You are the tenant in this conversation. Role B: You are the building management agent in this conversation. T6 Topic: Scheduling a medical appointment through clinic chat Role A: You are the patient in this conversation. Role B: You are the clinic scheduling agent in this conversation. T7 Topic: Negotiating a design quote with a freelance designer on a freelancing platform chat Role A: You are the client in this conversation. Role B: You are the freelance designer in this conversation. T8 Topic: Requesting a refund for a cancelled concert via ticket service chat Role A: You are the customer in this conversation. Role B: You are the ticket service agent in this conversation. T9 Topic: Making a restaurant reservation through their website chat Role A: You are the customer in this conversation. Role B: You are the restaurant reservations agent in this conversation. T10 Topic: Canceling a gym membership via gym support chat Role A: You are the member in this conversation. Role B: You are the gym support agent in this conversation. T11 Topic: Booking a haircut through salon online chat Role A: You are the customer in this conversation. Role B: You are the salon receptionist in this conversation. T12 Topic: Asking a professor’s assistant for deadline extension via university portal chat Role A: You are the student in this conversation. Role B: You are the professor’s assistant in this conversation. T13 Topic: Buying a used phone via marketplace chat (e.g., Facebook Marketplace) Role A: You are the buyer in this conversation. Role B: You are the marketplace seller in this conversation. 17

T14 Topic: Asking a store support agent for a price match through website chat Role A: You are the customer in this conversation. Role B: You are the store support agent in this conversation. T15 Topic: Filing a complaint through company online support chat Role A: You are the customer in this conversation. Role B: You are the company support agent in this conversation. T16 Topic: Requesting a hotel room upgrade via hotel website chat Role A: You are the guest in this conversation. Role B: You are the hotel front desk/loyalty agent in this conversation. T17 Topic: Booking a rental car through rental company live-chat Role A: You are the customer in this conversation. Role B: You are the rental car agent in this conversation. T18 Topic: Troubleshooting a laptop issue with tech company chat support Role A: You are the customer in this conversation. Role B: You are the tech support agent in this conversation. T19 Topic: Applying for a library card through library chat assistant Role A: You are the patron in this conversation. Role B: You are the library assistant in this conversation. T20 Topic: Booking a party venue via event space website chat Role A: You are the client in this conversation. Role B: You are the event venue coordinator in this conversation. T21 Topic: Hiring a pet-sitter through a gig platform chat Role A: You are the pet owner in this conversation. Role B: You are the pet-sitter in this conversation. T22 Topic: Resetting a password through IT support chat Role A: You are the user in this conversation. Role B: You are the IT support agent in this conversation. T23 Topic: Asking building leasing office about rent negotiation via renter portal chat Role A: You are the tenant in this conversation. Role B: You are the leasing office agent in this conversation. T24 Topic: Reporting noisy neighbors to apartment support chat Role A: You are the tenant in this conversation. Role B: You are the apartment support agent in this conversation. T25 Topic: Buying theater tickets through box office live chat Role A: You are the patron in this conversation. Role B: You are the box office agent in this conversation. T26 Topic: Interviewing for a job through company chat (screening chat) Role A: You are the candidate in this conversation. Role B: You are the recruiter in this conversation. T27 Topic: Requesting a credit limit increase through bank chat Role A: You are the customer in this conversation. Role B: You are the bank support agent in this conversation. 18

T28 Topic: Reporting a lost credit card via bank support chat Role A: You are the cardholder in this conversation. Role B: You are the bank loss/fraud support agent in this conversation. T29 Topic: Asking train station staff for travel info through transit app chat Role A: You are the traveler in this conversation. Role B: You are the transit information agent in this conversation. T30 Topic: Planning a vacation via travel agency website chat Role A: You are the traveler in this conversation. Role B: You are the travel agent in this conversation. T31 Topic: Signing up for a language class through school chat assistant Role A: You are the prospective student in this conversation. Role B: You are the school enrollment assistant in this conversation. T32 Topic: Asking car insurance questions via insurer chat agent Role A: You are the policyholder in this conversation. Role B: You are the insurance agent in this conversation. T33 Topic: Complaining about slow Wi-Fi via internet provider chat system Role A: You are the customer in this conversation. Role B: You are the internet provider support agent in this conversation. T34 Topic: Ordering custom furniture via artisan/shop chat platform Role A: You are the customer in this conversation. Role B: You are the artisan/shop owner in this conversation. T35 Topic: Requesting refund for faulty appliance via store chat support Role A: You are the customer in this conversation. Role B: You are the store support agent in this conversation. T36 Topic: Enrolling in a fitness class through gym website chat Role A: You are the prospective member in this conversation. Role B: You are the gym enrollment agent in this conversation. T37 Topic: Asking bookstore staff for recommendations via online store chat Role A: You are the reader in this conversation. Role B: You are the bookstore staff in this conversation. T38 Topic: Hiring someone to assemble furniture via task platform chat Role A: You are the customer in this conversation. Role B: You are the task platform worker (furniture assembler) in this conversation. T39 Topic: Requesting lab results from a clinic through patient portal chat Role A: You are the patient in this conversation. Role B: You are the clinic records staff in this conversation. T40 Topic: Reserving a coworking meeting room via workspace chat assistant Role A: You are the member in this conversation. Role B: You are the workspace booking assistant in this conversation. T41 Topic: Booking an event photographer through a freelance hiring chat Role A: You are the client in this conversation. Role B: You are the event photographer in this conversation. 19

T42 Topic: Returning an item without receipt via store chat assistant Role A: You are the customer in this conversation. Role B: You are the store returns agent in this conversation. T43 Topic: Asking about price match via retail chat support Role A: You are the customer in this conversation. Role B: You are the retail support agent in this conversation. T44 Topic: Signing up for a mobile phone plan through carrier chat Role A: You are the customer in this conversation. Role B: You are the mobile carrier sales agent in this conversation. T45 Topic: Renting camping gear via outdoor rental site chat Role A: You are the renter in this conversation. Role B: You are the outdoor gear rental agent in this conversation. T46 Topic: Scheduling airport pickup with rideshare app support chat Role A: You are the rider in this conversation. Role B: You are the rideshare support agent in this conversation. T47 Topic: Filing a travel insurance claim via insurance chat portal Role A: You are the claimant in this conversation. Role B: You are the insurance claims agent in this conversation. T48 Topic: Requesting a recommendation letter through alumni portal chat Role A: You are the alumnus/alumna in this conversation. Role B: You are the alumni office coordinator in this conversation. T49 Topic: Negotiating price with a flea-market vendor via online marketplace chat Role A: You are the buyer in this conversation. Role B: You are the flea-market vendor in this conversation. T50 Topic: Requesting vegetarian meal preference through airline account chat Role A: You are the passenger in this conversation. Role B: You are the airline support agent in this conversation. T51 Topic: Convincing a friend over messaging app to donate to a disaster-relief charity Role A: You are trying to persuade your friend to donate to a disaster-relief charity you care about. Role B: You are the friend who is unsure about donating and needs convincing. T52 Topic: Encouraging a roommate via group chat to adopt a shared cleaning schedule Role A: You are trying to convince your roommate to agree to a regular apartment cleaning schedule. Role B: You are the roommate who prefers a more relaxed approach to cleaning and is hesitant to commit. T53 Topic: Persuading a partner via text to adopt a rescue pet together Role A: You are trying to convince your partner that you should adopt a rescue pet together. Role B: You are the partner who is worried about the responsibility and needs reassurance. T54 Topic: Convincing a classmate in a study group chat to join a shared exam preparation plan Role A: You are trying to persuade your classmate to join a structured study plan for an upcoming exam. Role B: You are the classmate who prefers studying alone and is uncertain about joining the plan. T55 Topic: Encouraging a friend via messaging app to sign up for a charity run Role A: You are trying to convince your friend to sign up for a charity run with you. Role B: You are the friend who feels out of shape and needs encouragement to participate. 20

T56 Topic: Persuading a colleague in a work chat to co-present at an upcoming conference Role A: You are trying to convince your colleague to co-present a talk with you at a conference. Role B: You are the colleague who is nervous about public speaking and unsure about agreeing. T57 Topic: Convincing a friend over chat to start going to the gym regularly together Role A: You are trying to persuade your friend to commit to going to the gym regularly with you. Role B: You are the friend who struggles with motivation and needs convincing to join. T58 Topic: Encouraging a sibling via family chat to start saving money for an emergency fund Role A: You are trying to convince your sibling to start putting money aside for an emergency fund. Role B: You are the sibling who prefers spending in the moment and is skeptical about saving. T59 Topic: Persuading a friend in a group chat to volunteer at a local food bank Role A: You are trying to persuade your friend to volunteer at a local food bank with you. Role B: You are the friend who feels busy and unsure if volunteering is worth the time. T60 Topic: Convincing housemates via messaging to implement a shared quiet-hours rule Role A: You are trying to convince your housemates to agree on quiet hours for the apartment. Role B: You are the housemate who enjoys late-night activities and is reluctant to accept quiet hours. T61 Topic: Encouraging a friend over chat to attend therapy or counseling for their well-being Role A: You are trying to gently persuade your friend to consider seeing a therapist or counselor for their well-being. Role B: You are the friend who is hesitant about therapy and needs reassurance and information. T62 Topic: Persuading a lab partner via chat to help write up a paper from your project Role A: You are trying to convince your lab partner to commit time to writing a paper about your joint project. Role B: You are the lab partner who is unsure if the effort is worth it and needs convincing. T63 Topic: Convincing a friend via messaging app to join a weekly language exchange meetup Role A: You are trying to persuade your friend to join a weekly language exchange meetup with you. Role B: You are the friend who is shy about speaking another language and hesitant to attend. T64 Topic: Encouraging a teammate in an online project chat to adopt a new collaboration tool Role A: You are trying to convince your teammate that the group should switch to a new collaboration tool. Role B: You are the teammate who dislikes changing tools and needs strong reasons to switch. T65 Topic: Persuading a neighbor via community chat to join a weekend neighborhood cleanup Role A: You are trying to persuade your neighbor to join a weekend neighborhood cleanup event. Role B: You are the neighbor who is unsure if it’s worth the effort and needs convincing. T66 Topic: Convincing a friend over chat to try a one-week vegetarian challenge Role A: You are trying to persuade your friend to do a one-week vegetarian challenge with you. Role B: You are the friend who loves meat and is skeptical about trying a vegetarian week. T67 Topic: Encouraging a friend via messaging to join a book club you are starting Role A: You are trying to convince your friend to join the new book club you are starting. Role B: You are the friend who is not sure they have time to read regularly and needs convincing. T68 Topic: Persuading a roommate over chat to split the cost of a new shared appliance Role A: You are trying to convince your roommate to split the cost of buying a new shared appliance (e.g., vacuum or coffee machine). Role B: You are the roommate who is unsure the purchase is necessary and hesitant to pay. 21

T69 Topic: Convincing a friend via group chat to join a weekend hiking trip Role A: You are trying to persuade your friend to join a weekend hiking trip with you and others. Role B: You are the friend who is worried about fitness, time, or logistics and needs convincing. T70 Topic: Encouraging a classmate over university chat to become a mentor in a peer-mentoring program Role A: You are trying to persuade your classmate to sign up as a mentor in a peer-mentoring program. Role B: You are the classmate who is unsure if they are qualified or have enough time and needs convincing.

E

N-Gram Method Implementation Details

F

Stylometric Features

We augment TF-IDF n-gram features with 29 handcrafted stylometric features extracted from each text sample. These features capture surface-level writing style characteristics and are concatenated with the sparse TF-IDF representation after standardization (zero mean, unit variance). The full feature set is enumerated below. F.1

Length Features

#

Feature Description

1 2 3 4

Total word count Total character count chars ) Mean characters per word ( nnwords nwords Mean words per sentence ( nsentences )

Table 9: Basic length features (features 1–4).

F.2

Punctuation Frequency Features

For each punctuation character c in the set {!, ?, ,, ;, :, ., —, –, -, ’, ", (, )}, we compute:

fc =

count(c) × 100 nwords

#

Feature Description

5 6 7 8 9 10 11 12 13 14 15 16 17

Exclamation mark frequency (!) Question mark frequency (?) Comma frequency (,) Semicolon frequency (;) Colon frequency (:) Period frequency (.) Em-dash frequency (—) En-dash frequency (–) Hyphen frequency (-) Apostrophe/single-quote frequency (’) Double-quote frequency (") Opening parenthesis frequency (() Closing parenthesis frequency ())

Table 10: Punctuation frequency features (features 5–17), normalized per 100 words.

22

F.3

Special Pattern Features #

Feature Description

18 19 20

Ellipsis frequency ( count(...) × 100) nwords [A-Z]{2,}}| × 100) All-caps word frequency ( |{w:w matches nwords |{w:’∈w}| Contraction frequency ( nwords × 100)

Table 11: Special pattern features (features 18–20), normalized per 100 words.

F.4

Vocabulary Richness Features #

Feature Description

21 22

words| Type-token ratio ( |unique ) nwords }| × 100) Function word percentage ( |{w:w∈F nwords

Table 12: Vocabulary richness features (features 21–22). F denotes a predefined set of 47 English function words including determiners, auxiliaries, modals, and prepositions.

F.5

Word Length Distribution Features

Let ℓi denote the character length of the i-th word (lowercased, punctuation-stripped). #

Feature Description

23 24 25 26 27 28

Mean word length (ℓ̄) Standard deviation of word lengths (σℓ ) Median word length Proportion of short words (ℓ < 4) Proportion of medium words (4 ≤ ℓ ≤ 7) Proportion of long words (ℓ > 7)

Table 13: Word length distribution features (features 23–28).

F.6

Sentence Length Variation Features

Let sj denote the word count of the j-th sentence, where sentences are delimited by [.!?]+. #

Feature Description

29 30 31

Standard deviation of sentence lengths (σs ) Maximum sentence length (maxj sj ) Minimum sentence length (minj sj )

Table 14: Sentence length variation features (features 29–31).

F.7

Feature Integration

All 29 stylometric features are standardized using z-score normalization (fitted on the training set) and appended to the sparse TF-IDF feature matrix prior to classifier training:   X = XTF-IDF Xstylo ∈ Rn×(dtfidf +29) where XTF-IDF is the combined word and character n-gram TF-IDF matrix and Xstylo contains the scaled stylometric features. 23

G

Analysis of Long Context Performance

Experiment

AUC

F1

Precision

Recall

Balanced Acc.

First chunk First 6 turns (chunk-level) After first 6 turns (chunk-level) All chunks Majority vote (post-first chunks) Majority vote (after first 6 turns)

0.8799 0.8555 0.7748 0.8056 0.8795 0.8181

0.8186 0.7597 0.6418 0.6863 0.7714 0.6889

0.7833 0.7902 0.7329 0.7567 0.8566 0.8171

0.8571 0.7314 0.5709 0.6278 0.7016 0.5956

0.8100 0.7686 0.6817 0.7132 0.7915 0.7323

Table 15: Performance comparison on conversations 24 turns long between Q WEN -4B-I NSTRUCT and GPT-4.1NANO. Each chunk consists of three consecutive turns, and chunki refers to the chunk starting at turn i. For overlapping 3-turn chunks, the first-6-turn chunk-level uses the chunks where the first turn is within the first three turns, so i ≤ 3. Chunks that include a turn after the sixth turn are in the second "after first six turns (chunk-level)" row. After the first six turns, average performance drops substantially. However, doing a majority vote over all of the later chunks recovers some of the performance.

98.9% (989)

GPT-4.1-nano

1.0% (10)

0.0% (0)

0.1% (1)

0.0% (0)

6-Way Model Family Classification (v1 only) Overall Accuracy: 98.6% (5-fold: 98.6% ± 0.2%)

100

0.0% (0)

GPT-4.1-nano

99.4% (994)

0.6% (6)

0.0% (0)

0.0% (0)

0.0% (0)

0.0% (0)

GPT-4o-mini

0.7% (7)

99.2% (992)

0.0% (0)

0.0% (0)

0.1% (1)

0.0% (0)

GPT-OSS-120B

0.1% (1)

0.0% (0)

96.8% (968)

2.9% (29)

0.0% (0)

0.2% (2)

GPT-OSS-20B

0.0% (0)

0.1% (1)

2.5% (25)

96.9% (969)

0.0% (0)

0.5% (5)

Llama-3.1-8B

0.0% (0)

0.0% (0)

0.0% (0)

0.1% (1)

99.9% (999)

0.0% (0)

Qwen-4B

0.2% (2)

0.0% (0)

0.1% (1)

0.4% (4)

0.0% (0)

99.3% (993)

98.9% (989)

0.0% (0)

0.1% (1)

0.2% (2)

0.0% (0)

GPT-OSS-120B

0.0% (0)

0.0% (0)

96.1% (961)

3.9% (39)

0.0% (0)

0.0% (0)

GPT-OSS-20B

0.1% (1)

0.0% (0)

4.9% (49)

95.0% (950)

0.0% (0)

0.0% (0)

Llama-3.1-8B

0.1% (1)

0.0% (0)

0.0% (0)

0.0% (0)

99.9% (999)

0.0% (0)

Qwen-4B

0.0% (0)

0.0% (0)

0.0% (0)

0.1% (1)

0.0% (0)

99.9% (999)

60

40

80

True

0.8% (8)

True

GPT-4o-mini

% of True Label

80

40

-4B

8B .1-

en Qw

B

0

Lla

ma -3

SS

-20

0B

T-O

-12 SS

T-O GP

GP

-m ini

o

T-4 o

an T-4 . GP

Predicted

GP

1-n

-4B en

.1-

0

Qw

8B

B

ma -3

SS

60

20

Lla

-12

-20

0B

T-O GP

SS T-O GP

T-4 o GP

T-4 .

1-n

an

-m ini

o

20

GP

100

% of True Label

6-Way Model Family Classification (All Prompts, 1k/model) Overall Accuracy: 98.1% (5-fold: 98.1% ± 0.2%)

Predicted

Figure 3: Confusion matrices of multi-class classifier on the different models tested. Overall, the classifier achieves greater than 98% accuracy on distinguishing between different base models. Even models from the same family but different sizes (GPT-OSS-20B and GPT-OSS-120B) are easily distinguishable, with the confusion matrix only showing 5% of the GPT-OSS-20B conversations misclassified as GPT-OSS-120B.

H

Pairwise Prompt-attribution Matrices

We provide pairwise prompt-attribution confusion matrices for each evaluated model to visualize where the classifier distinguishes prompt versions successfully and where errors occur. Diagonal entries correspond to correct prompt-version attribution, while off-diagonal entries indicate pairs of prompt versions that are more difficult to separate. 24

GPT-4o-mini: Pairwise Accuracy Original Prompts (v1 v20) TF-IDF + Stylometric + Ridge, 5-Fold CV 99

100

100

90

98

98

95

98

99

100

97

100

89

98

100

99

92

97

98

91

100

92

86

100

99

99

99

98

100

96

99

100

99

96

99

100

97

100

91

80

100

100

100

100

100

100

100

100

98

100

100

100

100

100

100

100

98

73

88

95

96

100

100

97

91

84

88

95

92

99

99

97

96

99

98

100

100

98

94

99

98

98

98

100

99

77

95

95

100

100

93

88

86

86

88

95

99

97

97

95

99

100

92

86

93

90

86

95

98

95

100

100

100

97

98

98

94

99

96

100

100

100

100

98

90

95

94

90

97

99

96

100

100

100

100

100

99

100

96

98

100

100

100

100

100

100

100

100

96

98

97

97

99

100

96

94

95

86

97

98

94

76

96

94

100

99

97

90

100

99

97

99

100

73

97

95

97

98

100

88

96

77

v9

92

100

100

100

95

99

95

97

v10

99

89

96

100

96

98

95

95

100

v11

100

98

99

100

100

100

100

99

100

100

v12

100

100

100

100

100

100

100

100

100

100

100

v13

90

99

99

98

97

98

93

92

97

98

100

100

v14

98

92

96

100

91

94

88

86

98

90

100

100

96

v15

98

97

99

100

84

99

86

93

98

95

100

100

98

94

v16

95

98

100

100

88

98

86

90

94

94

100

100

97

95

76

v17

98

91

97

100

95

98

88

86

99

90

99

100

97

86

96

97

v18

99

100

100

100

92

98

95

95

96

97

100

100

99

97

94

90

98

v19

100

92

91

100

99

100

99

98

100

99

96

100

100

98

100

100

97

100

v20

97

86

80

100

99

99

97

95

100

96

98

100

96

94

99

99

94

100

94 100 92

80

70

60

50

92

9

8

97 100

v1

v1

v1

v1

Variant

98

90

0

94

v8

100

v2

v7

v1

98

v1

100

v1

99

2

99

v1

98

v1

v6

v9

100

v1

99

v8

100

98

v7

100

97

v6

97

v5

v5

v4

v4

80

v3

100

v2

v3

5-Fold CV Accuracy (%)

92

97

7

95

97

6

94

99

5

98

98

4

97

100

3

97

80

1

100

99

0

99

v2

v1

Variant

v1

Figure 4: GPT-4 O -M INI confusion matrix

GPT-4.1-nano: Pairwise Accuracy Original Prompts (v1 v20) TF-IDF + Stylometric + Ridge, 5-Fold CV 100

99

98

99

98

98

97

99

100

100

95

98

99

98

100

99

100

98

84

100

98

99

97

98

100

93

99

100

100

95

99

99

98

99

95

92

100

99

99

98

97

100

97

99

100

100

97

100

100

99

100

88

78

100

100

100

100

100

100

100

100

100

100

100

100

100

100

100

100

98

79

89

87

97

100

99

99

90

94

90

98

91

99

97

97

97

99

99

100

100

99

94

100

99

99

99

99

98

86

94

96

99

100

98

87

93

91

97

94

97

95

95

96

99

100

97

82

97

94

95

95

94

91

98

100

98

97

95

96

92

99

95

100

99

100

100

99

93

97

94

96

96

99

96

100

100

99

100

100

100

100

97

99

100

100

100

99

100

99

100

100

97

100

99

99

100

100

97

97

94

96

96

96

91

81

99

92

100

99

98

86

100

98

98

97

100

99

99

100

v6

99

99

99

100

98

v7

98

97

98

100

79

97

v8

98

98

97

100

89

97

86

v9

97

100

100

100

87

99

94

95

v10

99

93

97

100

97

99

96

96

98

v11

100

99

99

100

100

100

99

99

100

100

v12

100

100

100

100

99

100

100

100

98

100

100

v13

95

100

100

100

99

99

98

97

97

99

100

100

v14

98

95

97

100

90

94

87

82

95

93

99

100

97

v15

99

99

100

100

94

100

93

97

96

97

100

100

100

97

v16

98

99

100

100

90

99

91

94

92

94

100

99

99

94

81

v17

100

98

99

100

98

99

97

95

99

96

100

100

99

96

99

98

v18

99

99

100

100

91

99

94

95

95

96

100

99

100

96

92

86

99

v19

100

95

88

100

99

99

97

94

100

99

97

100

100

96

100

100

98

100

v20

98

92

78

100

97

98

95

91

99

96

99

100

97

91

99

98

97

99

99

88 88

v1 0 v1 1 v1 2 v1 3 v1 4 v1 5 v1 6 v1 7 v1 8 v1 9 v2 0

v9

100

98

v8

100

98

v7

99

v5

v6

v4

v5

84

v4

100

v3

v3

v2

100

Variant

Figure 5: GPT-4.1-NANO confusion matrix

25

100

90

80

70

60

50

5-Fold CV Accuracy (%)

100

v2

v1

Variant

v1

GPT-OSS-20B: Pairwise Accuracy Original Prompts (v1 v20) TF-IDF + Stylometric + Ridge, 5-Fold CV 76

68

77

70

70

75

78

70

100

84

64

72

78

64

80

60

61

96

78

85

79

75

89

73

78

100

87

71

82

86

73

86

59

66

94

94

91

92

90

95

97

100

89

92

95

93

93

95

94

90

76

53

58

66

71

86

99

77

55

63

63

60

63

69

73

73

75

80

78

91

99

86

70

81

76

76

73

80

79

55

67

74

86

99

76

56

67

64

60

69

70

69

71

69

82

99

77

56

68

67

56

69

63

62

82

93

99

76

72

78

68

74

70

81

83

86

99

83

65

69

71

66

72

74

68

93

84

85

89

83

90

74

81

100

99

99

98

99

98

100

100

75

84

85

75

86

82

78

67

65

56

68

62

65

61

67

66

75

75

67

56

79

76

70

65

64

80

80

94

76

v7

66

69

79

91

53

73

v8

67

67

75

92

58

75

55

v9

67

84

89

90

66

80

67

71

v10

78

65

73

95

71

78

74

69

82

v11

89

76

78

97

86

91

86

82

93

86

v12

99

100

100

100

99

99

99

99

99

99

100

v13

76

84

87

89

77

86

76

77

76

83

93

100

v14

68

64

71

92

55

70

56

56

72

65

84

99

75

v15

77

72

82

95

63

81

67

68

78

69

85

99

84

67

v16

70

78

86

93

63

76

64

67

68

71

89

98

85

65

61

v17

70

64

73

93

60

76

60

56

74

66

83

99

75

56

67

67

v18

75

80

86

95

63

73

69

69

70

72

90

98

86

68

66

56

70

v19

78

60

59

94

69

80

70

63

81

74

74

100

82

62

75

79

65

80

v20

70

61

66

90

73

79

69

62

83

68

81

100

78

65

75

76

64

80

62

100

90

80

70

60

50

v2

0

62

v1

2

Variant

v1

v1

v1

100

v1

85

v1

80

v1

74

v1

v6

v1

94

v1

78

v8

96

73

v7

94

72

v6

83

v5

v5

v4

v4

59

v3

84

v2

v3

5-Fold CV Accuracy (%)

99

76

9

89

65

8

78

84

7

67

67

6

67

69

5

66

80

4

74

73

3

72

94

1

83

59

0

84

78

v9

78

v2

v1

Variant

v1

Figure 6: GPT-OSS-20B confusion matrix

Qwen3-4B: Pairwise Accuracy Original Prompts (v1 v20) TF-IDF + Stylometric + Ridge, 5-Fold CV 95

99

96

94

91

88

86

93

99

94

81

92

94

86

93

97

98

90

71

100

90

93

80

87

97

76

90

97

93

75

78

84

83

94

90

78

100

93

95

87

91

98

83

93

98

94

85

89

91

88

96

84

74

100

100

100

100

100

100

100

100

100

100

100

100

100

100

100

99

91

81

85

91

90

98

96

92

77

82

89

92

89

97

96

90

91

94

89

98

98

93

86

93

88

91

92

98

93

81

94

89

96

97

87

75

84

86

86

95

95

90

91

87

98

96

86

75

89

86

82

92

95

92

96

100

92

86

93

96

92

95

94

99

98

98

98

93

78

87

82

82

91

96

88

100

99

97

96

98

99

100

90

93

97

96

96

93

98

94

100

99

89

95

90

88

97

98

94

76

78

84

90

94

87

81

93

94

97

93

88

89

97

93

94

97

91

99

98

100

v6

94

93

95

100

91

v7

91

80

87

100

81

90

v8

88

87

91

100

85

91

81

v9

86

97

98

100

91

94

94

91

v10

93

76

83

100

90

89

89

87

96

v11

99

90

93

100

98

98

96

98

100

98

v12

94

97

98

100

96

98

97

96

92

98

100

v13

81

93

94

100

92

93

87

86

86

93

99

97

v14

92

75

85

100

77

86

75

75

93

78

97

96

89

v15

94

78

89

100

82

93

84

89

96

87

96

96

95

76

v16

86

84

91

100

89

88

86

86

92

82

98

93

90

78

81

v17

93

83

88

100

92

91

86

82

95

82

99

98

88

84

93

88

v18

97

94

96

100

89

92

95

92

94

91

100

94

97

90

94

89

94

v19

98

90

84

100

97

98

95

95

99

96

90

100

98

94

97

97

97

99

v20

90

78

74

99

96

93

90

92

98

88

93

99

94

87

93

93

91

98

88 88

v1 0 v1 1 v1 2 v1 3 v1 4 v1 5 v1 6 v1 7 v1 8 v1 9 v2 0

93

v9

100

90

v8

100

96

v7

99

v5

v6

v4

v5

71

v4

95

v3

v3

v2

94

Variant

Figure 7: Q WEN -4B-I NSTRUCT confusion matrix

26

100

90

80

70

60

50

5-Fold CV Accuracy (%)

94

v2

v1

Variant

v1

GPT-OSS-120B: Pairwise Accuracy Original Prompts (v1 v20) TF-IDF + Stylometric + Ridge, 5-Fold CV 86

89

72

66

68

67

63

83

93

100

74

70

77

70

77

78

84

74

58

98

80

80

79

78

88

69

77

100

87

73

81

81

72

84

67

70

97

82

83

81

77

88

76

82

100

85

74

86

85

74

88

60

67

96

94

95

93

93

98

98

100

91

95

96

96

96

97

96

92

70

57

59

66

75

90

100

78

59

67

65

69

64

78

74

67

65

71

75

90

100

83

63

74

66

70

71

82

71

58

65

76

88

100

79

60

65

60

65

69

79

70

66

76

87

100

74

57

72

61

62

70

74

63

82

93

100

76

69

76

68

77

69

86

78

89

100

86

68

75

73

68

74

79

75

94

87

90

91

88

92

83

87

100

100

99

100

100

99

100

100

74

86

84

78

87

81

76

73

66

61

70

73

64

61

73

65

87

79

68

64

84

74

73

75

66

86

82

v6

66

80

83

94

70

v7

68

79

81

95

57

67

v8

67

78

77

93

59

65

58

v9

63

88

88

93

66

71

65

66

v10

83

69

76

98

75

75

76

76

82

v13

74

87

85

91

78

83

79

74

76

86

94

100

v14

70

73

74

95

59

63

60

57

69

68

87

100

74

v15

77

81

86

96

67

74

65

72

76

75

90

99

86

73

v16

70

81

85

96

65

66

60

61

68

73

91

100

84

66

61

v17

77

72

74

96

69

70

65

62

77

68

88

100

78

61

73

68

v18

78

84

88

97

64

71

69

70

69

74

92

99

87

70

65

64

73

v19

84

67

60

96

78

82

79

74

86

79

83

100

81

73

87

84

75

86

v20

74

70

67

92

74

71

70

63

78

75

87

100

76

64

79

74

66

82

70

v2

0

70

v1

2

Variant

v1

v1

v1

100

v1

100

v1

100

v1

89

100

v1

93

100

v1

87

100

v1

88

100

v8

90

100

v7

90

100

v6

98

100

v5

82

100

v4

77

100

v3

93

v12

v2

v11

9

96

8

82

7

97

80

6

98

72

5

89

v5

4

v4

3

58

1

86

0

v3

v9

86

Figure 8: GPT-OSS-120B confusion matrix

27

100

90

80

70

60

50

5-Fold CV Accuracy (%)

86

v2

v1

Variant

v1

Record · ID 299838 · SHA-256 a0fd8316e1cb018a
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.