CoChat

Fooling MOSS Detection with Pretrained Language Models

Open access
Biderman, Stella, Raff, Edward · 2022 · Proceedings of the 31st ACM International Conference on Information & Knowledge Management

The DOI matches its Crossref record; 35 of the 36 references it cites were found in a registry or an index, and 1 are not checked yet.

Abstract

As artificial intelligence (AI) technologies become increasingly powerful and prominent in society, their misuse is a growing concern. In educational settings, AI technologies could be used by students to cheat on assignments and exams. In this paper we explore whether transformers can be used to solve introductory level programming assignments while bypassing commonly used AI tools to detect similarities between pieces of software. We find that a student using GPT-J [60] can complete introductory level programming assignments without triggering suspicion from MOSS [2], a widely used software similarity and plagiarism detection tool. This holds despite the fact that GPT-J was not trained on the problems in question and is not provided with any examples to work from. We further find that the code written by GPT-J is diverse in structure, lacking any particular tells that future plagiarism detection techniques may use to try to identify algorithmically generated code. We conclude with a discussion of the ethical and educational implications of large language models and directions for future research.

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/3511808.3557079

Cites

35 of 36 references verified0 citation errors · 0 not checkable

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.

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: 32

  1. Moss (measure of software similarity) plagiarism detection system. Alex Aiken, 2000. 2000
  2. Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc V Le, Charles Sutton, arXiv:2108.07732Program synthesis with large language models. 2021. 2021arXiv preprint
  3. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda
  4. The secret sharer: Evaluating and testing unintended memorization in neural networks. Nicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos, Dawn Song, 28th {USENIX} Security Symposium ({USENIX} Security 19. 2019
  5. Extracting training data from large language models. Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, Alina Oprea, and Colin Raffel. 202130th {USENIX} Security Symposium. {USENIX} Security 21
  6. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde, Jared Kaplan, Harrison Edwards, Yura Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, David W Cummings, Matthias Plappert, Fotios Chantzis, arXiv:2107.03374Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating large language models trained on code. Joshua Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew M Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Elizabeth Barnes, Ariel Herbert-Voss, William H. Guss, Alex Nichol, Igor Babuschkin, S. Arun Balaji, Shantanu Jain, Andrew Carr; Bob McGrewJan Leike. 2021arXiv preprint
  7. Adaprompt: Adaptive prompt-based finetuning for relation extraction. Xiang Chen, Xin Xie, Ningyu Zhang, Jiahuan Yan, Shumin Deng, Chuanqi Tan, Fei Huang, Luo Si, Huajun Chen, arXiv:2104.076502021. 2021arXiv preprint
  8. Using natural language processing for automatic detection of plagiarism. Miranda Chong, Lucia Specia, Ruslan Mitkov, Proceedings of the 4th International Plagiarism Conference (IPC-2010). the 4th International Plagiarism Conference (IPC-2010)2010
  9. Katherine Crowson, Stella Biderman, Daniel Kornis, Dashiell Stander, Eric Hallahan, Louis Castricato, Edward Raff, arXiv:2204.08583VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidance. 2022. 2022arXiv preprint
  10. Iddo Drori, Sunny Tran, Roman Wang, Newman Cheng, Kevin Liu, Leonard Tang, Elizabeth Ke, Nikhil Singh, Taylor L Patti, Jayson Lynch, arXiv:2112.15594A Neural Network Solves and Generates Mathematics Problems by Program Synthesis: Calculus, Differential Equations, Linear Algebra, and More. 2021. 2021arXiv preprint
  11. Solving Linear Algebra by Program Synthesis. Iddo Drori, Nakul Verma, arXiv:2111.081712021. 2021arXiv preprint
  12. Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen-Tau Yih, Luke Zettlemoyer, Mike Lewis, arXiv:2204.05999InCoder: A Generative Model for Code Infilling and Synthesis. 2022. 2022arXiv preprint
  13. Meet Your Favorite Character: Open-domain Chatbot Mimicking Fictional Characters with only a Few Utterances. Seungju Han, Beomsu Kim, Jin Yong Yoo, Seokjun Seo, Sangbum Kim, Enkhbayar Erdenee, Buru Chang, arXiv:2204.108252022. 2022arXiv preprint
  14. Measuring Coding Challenge Competence With APPS. Dan Hendrycks, Steven Basart, Saurav Kadavath, Mantas Mazeika, Akul Arora, Ethan Guo, Collin Burns, Samir Puranik, Horace He, Dawn Song, Jacob Steinhardt, Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track. 2021
  15. Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, Yejin Choi, arXiv:1904.09751The curious case of neural text degeneration. 2019. 2019arXiv preprint
  16. Are Algorithms Value-Free? Feminist Theoretical Virtues in Machine Learning. Gabbrielle Johnson, Journal of Moral Philosophy, special issue on. 2022. 2022Justice, Power, and the Ethics of Algorithmic Decision-Making
  17. Thieves on Sesame Street! Model Extraction of BERT-based APIs. Kalpesh Krishna, Gaurav Singh Tomar, Ankur P Parikh, Nicolas Papernot, Mohit Iyyer, International Conference on Learning Representations. 2020
  18. The Hard Problem of Aligning AI to Human Values. Connor Leahy, Stella Biderman, The State of AI Ethics Report. 20214
  19. CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilities. Mina Lee, Percy Liang, Qian Yang, arXiv:2201.067962022. 2022arXiv preprint
  20. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, Graham Neubig, arXiv:2107.135862021. 2021arXiv preprint
  21. Software plagiarism detection techniques: A comparative study. Divya Luke, Divya, L Sony, S Johnson, Elizabeth B Sreeprabha, Varghese, 2018 5th International Symposium on Emerging Trends and Technologies in Libraries and Information Services (ETTLIS). Citeseer2014
  22. Neural Program Generation Modulo Static Analysis. Rohan Mukherjee, Yeming Wen, Dipak Chaudhari, Thomas Reps, Swarat Chaudhuri, Chris Jermaine, Thirty-Fifth Conference on Neural Information Processing Systems. 2021
  23. Prompt Engineering for Text-Based Generative Art. Jonas Oppenlaender, arXiv:2204.139882022. 2022arXiv preprint
  24. Exploring the limits of transfer learning with a unified text-to-text transformer. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, Peter J Liu, arXiv:1910.106832019. 2019arXiv preprint
  25. Teaching C++ programming using automated unit testing and test-driven development-Design and efficacy study. Waseem Sheikh, Computer Applications in Engineering Education. 2022. 2022
  26. Learning Methods for Solving Astronomy Course Problems. Avi Shporer, Sunny Tran, Nikhil Singh, Brandon Kates, Jayson Lynch, Iddo Drori, 2021. 2021preprint
  27. Solving machine learning problems. Sunny Tran, Pranav Krishna, Ishan Pakuwal, Prabhakar Kafle, Nikhil Singh, Jayson Lynch, Iddo Drori, Asian Conference on Machine Learning. PMLR2021
  28. Dingming Wu, and Mohammad Shidujaman. 2021. AI Creativity and the Human-AI Co-creation Model. Zhuohao Wu, Danwen Ji, Kaiwen Yu, Xianxu Zeng, International Conference on Human-Computer Interaction. Springer
  29. Uri Frank F Xu, Graham Alon, Vincent J Neubig, Hellendoorn, arXiv:2202.13169A systematic evaluation of large language models of code. 2022. 2022arXiv preprint
  30. The Policy of Credit Payment Relaxation in Overcoming the Impact of Covid-19 Spread to the Economic Society in Indonesia. Muhammad Yasid, T P Gomgom, Muhammad Siregar, Lubis Ansori, Journal of Advanced Research in Dynamical and Control Systems. 2020. 2020
  31. Wordcraft: Story Writing With Large Language Models. Ann Yuan, Andy Coenen, Emily Reif, Daphne Ippolito, 27th International Conference on Intelligent User Interfaces. 2022
  32. Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, arXiv:2205.01068OPT: Open Pre-trained Transformer Language Models. 2022. 2022arXiv preprint

Cited by

See all 55

Metadata

Authors
Biderman, S., & Raff, E.
Affiliations
Booz Allen Hamilton (United States) (US)
Venue
Proceedings of the 31st ACM International Conference on Information & Knowledge Management
Publisher
ACM
Published
2022-10-17
Pages
2933-2943
ISSN
2155-0751 (ISSN-L)
OpenAlex
W4306317681
Cited by
37
References
26
Citations by year
2026: 2 · 2025: 3 · 2024: 17 · 2023: 14 · 2022: 1
FWCI
8.70
Type
conference paper
Language
en
Open access
Locations
  • ACM International Conference on Information and Knowledge Management (CIKM) (publishedVersion, cc-by-sa)
  • arXiv (Cornell University) (submittedVersion, cc-by-sa)
  • arXiv (Cornell University)
Topics
  • Social Sciences › Education › Academic integrity and plagiarism
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Social Sciences › Education › Artificial Intelligence in Education
Keywords
bryophytes, GPT-J, large language models, code plagiarism detection

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.