Few-Shot Detection of Machine-Generated Text using Style Representations
The DOI matches its DataCite record; 6 of the 6 references it cites were found in a registry or an index.
Abstract
The advent of instruction-tuned language models that convincingly mimic human writing poses a significant risk of abuse. However, such abuse may be counteracted with the ability to detect whether a piece of text was composed by a language model rather than a human author. Some previous approaches to this problem have relied on supervised methods by training on corpora of confirmed human- and machine- written documents. Unfortunately, model under-specification poses an unavoidable challenge for neural network-based detectors, making them brittle in the face of data shifts, such as the release of newer language models producing still more fluent text than the models used to train the detectors. Other approaches require access to the models that may have generated a document in question, which is often impractical. In light of these challenges, we pursue a fundamentally different approach not relying on samples from language models of concern at training time. Instead, we propose to leverage representations of writing style estimated from human-authored text. Indeed, we find that features effective at distinguishing among human authors are also effective at distinguishing human from machine authors, including state-of-the-art large language models like Llama-2, ChatGPT, and GPT-4. Furthermore, given a handful of examples composed by each of several specific language models of interest, our approach affords the ability to predict which model generated a given document. The code and data to reproduce our experiments are available at https://github.com/LLNL/LUAR/tree/main/fewshot_iclr2024.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“The proposed algorithm performs well experimentally; however, it requires that we know which model generated the text.”
From Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods (2025) · cites this paper as Soto et al., 2024
In the citing paper
“However, Soto et al. (2024) note that when detecting AI-generated text, the syntactic component is most relevant, as both humans and AI can generate texts with the same underlying meaning.”
From Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods (2025) · cites this paper as Soto et al., 2024
In the citing paper
“The method still performs well when extended to multiple AI generators, but only under the assumption that we have access to a sample of training data from each model (i.e., the generating model is not completely unknown).”
From Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods (2025) · cites this paper as Soto et al., 2024
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Baumgartner, J., Zannettou, S., Keegan, B., Squire, M., & Blackburn, J. (2020) · Proceedings of the International AAAI Conference on Web and Social Media · doi:10.1609/icwsm.v14i1.7347 · Cited by 881
Release Strategies and the Social Impacts of Language Models
Solaiman, I., Brundage, M., Clark, J., Askell, A., Herbert-Voss, A., Wu, J., Radford, A., Krueger, G., Kim, J. W., Kreps, S., et al. (2019) · arXiv · doi:10.48550/arxiv.1908.09203 · Cited by 292 · cited 6×
“Perhaps the most widely-applied machine-text detector is OpenAI’s AI Detector, which is intended to predict whether a given document was human-or machine-generated (Solaiman et al., 2019).”
BackgroundMethodInfluentialAutomatic Detection of Machine Generated Text: A Critical Survey
Jawahar, G., Abdul-Mageed, M., & Lakshmanan, V. S. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.208 · Cited by 156
Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
Krishna, K., Song, Y., Karpinska, M., Wieting, J., & Iyyer, M. (2023) · arXiv · doi:10.48550/arxiv.2303.13408 · Cited by 150 · cited 2×
“For the CISR baseline, we used the open-source PyTorch implementation available at https:// github.com/nlpsoc/Style-Embeddings .”
BackgroundMethodCrosslingual Generalization through Multitask Finetuning
Muennighoff, N., Wang, T., Sutawika, L., Roberts, A., Biderman, S., Scao, T. L., Bari, M. S., Shen, S., Yong, Z.-X., Schoelkopf, H., et al. (2022) · arXiv · doi:10.48550/arxiv.2211.01786 · Cited by 29
Spear Phishing With Large Language Models
Hazell, J. (2023) · arXiv · doi:10.48550/arxiv.2305.06972 · Cited by 28 · cited 2×
“Although much of this usage may be well-intentioned and benign, a growing concern is the usage of LLM for deception, such as for phishing attacks, disinformation, spam, and plagiarism (Hazell, 2023; Weidinger et al., 2022).”
Cited by
Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods
Fraser, K. C., Dawkins, H., & Kiritchenko, S. (2025) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.16665 · Cited by 139
Authorship Attribution in the Era of LLMs: Problems, Methodologies, and Challenges
Huang, B., Chen, C., & Shu, K. (2025) · ACM SIGKDD Explorations Newsletter · doi:10.1145/3715073.3715076 · Cited by 42
“Manually collecting data for large datasets is time-consuming and costly, motivating researchers to utilize web data sources such as Wikipedia and Red-dit.”
Yang, Z., Feng, Z., Huo, R., Lin, H., Zheng, H., Nie, R., & Chen, H. (2025) · Expert Systems with Applications · doi:10.1016/j.eswa.2025.126694 · Cited by 17
ChatGPT as speechwriter for the French presidents
Labbé, D., Labbé, C., & Savoy, J. (2024) · arXiv · doi:10.48550/arxiv.2411.18382 · Cited by 3
RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectors
Dugan, L., Hwang, A., Trhlik, F., Ludan, J. M., Zhu, A., Xu, H., Ippolito, D., & Callison-Burch, C. (2024) · arXiv · doi:10.48550/arxiv.2405.07940 · Cited by 1
“Our work is one of the first shared resources to fix and disclose FPR, following the rise of this evaluation paradigm in recent robustness research (Hans et al., 2024; Krishna et al., 2023; Soto et al., 2024 Figure 4: Detection accuracy (y-axis) vs. False Positive Rate (x-axis) for all detectors.”
Background
Metadata
- Authors
- Soto, R. R., Koch, K., Khan, A., Chen, B., Bishop, M., & Andrews, N.
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2024
- arXiv
- 2401.06712
- References
- 6
- Type
- Preprint
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.