CoChat

Do Language Models Plagiarize?

Open access
Lee, Jooyoung, Le, Thai, Chen, Jinghui, Lee, Dongwon · 2023 · Proceedings of the ACM Web Conference 2023

The DOI matches its Crossref record, with a small difference in title or year; 36 of the 36 references it cites were found in a registry or an index.

Abstract

Past literature has illustrated that language models (LMs) often memorize parts of training instances and reproduce them in natural language generation (NLG) processes. However, it is unclear to what extent LMs “reuse” a training corpus. For instance, models can generate paraphrased sentences that are contextually similar to training samples. In this work, therefore, we study three types of plagiarism (i.e., verbatim, paraphrase, and idea) among GPT-2 generated texts, in comparison to its training data, and further analyze the plagiarism patterns of fine-tuned LMs with domain-specific corpora which are extensively used in practice. Our results suggest that (1) three types of plagiarism widely exist in LMs beyond memorization, (2) both size and decoding methods of LMs are strongly associated with the degrees of plagiarism they exhibit, and (3) fine-tuned LMs’ plagiarism patterns vary based on their corpus similarity and homogeneity. Given that a majority of LMs’ training data is scraped from the Web without informing content owners, their reiteration of words, phrases, and even core ideas from training sets into generated texts has ethical implications. Their patterns are likely to exacerbate as both the size of LMs and their training data increase, raising concerns about indiscriminately pursuing larger models with larger training corpora. Plagiarized content can also contain individuals’ personal and sensitive information. These findings overall cast doubt on the practicality of current LMs in mission-critical writing tasks and urge more discussions around the observed phenomena. Data and source code are available at https://github.com/Brit7777/LM-plagiarism.

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3543507.3583199

Cites

36 of 36 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1 Document percentage w.r.t. three plagiarism types from pre-training data
Figure 1 Document percentage w.r.t. three plagiarism types from pre-training dataCC-BY · From the PDF
Figure 2 Number of unique PII-exposing substrings associated with plagiarism categories
Figure 2 Number of unique PII-exposing substrings associated with plagiarism categoriesCC-BY · From the PDF
Figure 3 Perplexity (left) and similarity scores (right) of training data. Plagiarism rate represents the average percentage of all plagiarism categories using the three decoding methods.
Figure 3 Perplexity (left) and similarity scores (right) of training data. Plagiarism rate represents the average percentage of all plagiarism categories using the three decoding methods.CC-BY · From the PDF

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 36 references

Research works printed but not linked: 24

  1. David H Ackley, Geofrey E Hinton, and Terrence J Sejnowski. 1985. A learning algorithm for Boltzmann machines. Cognitive science 9, 1 (1985), 147-169.
  2. Asim M El Tahir Ali, Hussam M Dahwa Abdulla, and Vaclav Snasel. 2011. Overview and comparison of plagiarism detection tools.. In Dateso. 161-172.
  3. Salha Alzahrani. 2015. Arabic plagiarism detection using word correlation in N-Grams with K-overlapping approach. In Proceedings of the Workshops at the 7th Forum for Information Retrieval Evaluation (FIRE). 123-125.
  4. Nicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos, and Dawn Song. 2019. The secret sharer: Evaluating and testing unintended memorization in neural networks. In 28th USENIX Security Symposium (USENIX Security 19). 267-284.
  5. Alexandra DeLucia, Aaron Mueller, Xiang Lisa Li, and João Sedoc. 2020. Decoding methods for neural narrative generation. arXiv preprint arXiv:2010.07375 (2020). · arXiv
  6. Ish Kumar Dhammi and Rehan Ul Haq. 2016. What is plagiarism and how to avoid it? Indian journal of orthopaedics 50, 6 (2016), 581.
  7. Adam Kilgarrif and Tony Rose. 1998. Measures for corpus similarity and homo- geneity. In Proceedings of the Third Conference on Empirical Methods for Natural Language Processing. 46-52.
  8. Robin Küppers and Stefan Conrad. 2012. A Set-Based Approach to Plagiarism Detection.. In CLEF (Online Working Notes/Labs/Workshop).
  9. Laida Kushnareva, Daniil Cherniavskii, Vladislav Mikhailov, Ekaterina Arte- mova, Serguei Barannikov, Alexander Bernstein, Irina Piontkovskaya, Dmitri Piontkovski, and Evgeny Burnaev. 2021. Artifcial text detection via examining the topology of attention maps. arXiv preprint arXiv:2109.04825 (2021). · arXiv
  10. Sharon Levy, Michael Saxon, and William Yang Wang. 2021. Investigating Memorization of Conspiracy Theories in Text Generation. arXiv preprint arXiv:2101.00379 (2021). · arXiv
  11. Zehui Lin, Xiao Pan, Mingxuan Wang, Xipeng Qiu, Jiangtao Feng, Hao Zhou, and Lei Li. 2020. Pre-training multilingual neural machine translation by leveraging alignment information. arXiv preprint arXiv:2010.03142 (2020). · arXiv
  12. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692 (2019). · arXiv
  13. John X Morris, Eli Lifand, Jin Yong Yoo, Jake Grigsby, Di Jin, and Yanjun Qi. 2020. Textattack: A framework for adversarial attacks, data augmentation, and adversarial training in nlp. arXiv preprint arXiv:2005.05909 (2020). · arXiv
  14. Nathan Ng, Kyra Yee, Alexei Baevski, Myle Ott, Michael Auli, and Sergey Edunov. 2019. Facebook FAIR's WMT19 news translation task submission. arXiv preprint arXiv:1907.06616 (2019). · arXiv
  15. John Pavlopoulos, Jefrey Sorensen, Lucas Dixon, Nithum Thain, and Ion An- droutsopoulos. 2020. Toxicity detection: Does context really matter? arXiv preprint arXiv:2006.00998 (2020). · arXiv
  16. Alec Radford, Jefrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog 1, 8 (2019), 9.
  17. Colin Rafel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, et al. 2020. Exploring the limits of transfer learning with a unifed text-to-text transformer. J. Mach. Learn. Res. 21, 140 (2020), 1-67.
  18. Stephen E Robertson, Steve Walker, Susan Jones, Micheline M Hancock-Beaulieu, Mike Gatford, et al. 1995. Okapi at TREC-3. Nist Special Publication Sp 109 (1995), 109.
  19. Ahmed Salem, Apratim Bhattacharya, Michael Backes, Mario Fritz, and Yang Zhang. 2020. {Updates-Leak}: Data Set Inference and Reconstruction Attacks in Online Learning. In 29th USENIX Security Symposium (USENIX Security 20). 1291-1308.
  20. Zhonghao Sheng, Kaitao Song, Xu Tan, Yi Ren, Wei Ye, Shikun Zhang, and Tao Qin. 2020. Songmass: Automatic song writing with pre-training and alignment constraint. arXiv preprint arXiv:2012.05168 (2020). · arXiv
  21. Adaku Uchendu, Zeyu Ma, Thai Le, Rui Zhang, and Dongwon Lee. 2021. Tur- ingBench: A Benchmark Environment for Turing Test in the Age of Neural Text Generation. In Findings of Conf. on Empirical Methods in Natural Language Processing (EMNLP-Findings).
  22. Lucy Lu Wang, Kyle Lo, Yoganand Chandrasekhar, Russell Reas, Jiangjiang Yang, Darrin Eide, Kathryn Funk, Rodney Kinney, Ziyang Liu, William Merrill, et al. 2020. Cord-19: The covid-19 open research dataset. ArXiv (2020).
  23. Debora Weber-Wulf. 2019. Plagiarism detectors are a crutch, and a problem. Nature 567, 7749 (2019), 435-436.
  24. Chiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski, Florian Tramèr, and Nicholas Carlini. 2021. Counterfactual Memorization in Neural Language Models. arXiv preprint arXiv:2112.12938 (2021). · arXiv

Cited by

Items 101–104 of 104

Metadata

Authors
Lee, J., Le, T., Chen, J., & Lee, D.
Affiliations
  • Pennsylvania State University (US)
  • University of Mississippi (US)
Venue
Proceedings of the ACM Web Conference 2023
Publisher
ACM
Published
2023-04-30
Pages
3637-3647
OpenAlex
W4320458011
Cited by
51
References
20
Citations by year
2026: 9 · 2025: 15 · 2024: 16 · 2023: 9
FWCI
8.70
Type
conference paper
Language
en
Open access
Locations
  • International World Wide Web Conference (WWW) (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • Zenodo (CERN European Organization for Nuclear Research) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Funders
NSF (1934782,2114824)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Social Sciences › Education › Academic integrity and plagiarism
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
GPT-2, fine-tuned language models, model size, decoding algorithms, natural language generation

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.