Detection of ChatGPT fake science with the xFakeSci learning algorithm
Open Access
- 14 July 2024
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 14 (1) , 1-15
Abstract
Generative AI tools exemplified by ChatGPT are becoming a new reality. This study is motivated by the premise that “AI generated content may exhibit a distinctive behavior that can be separated from scientific articles”. In this study, we show how articles can be generated using means of prompt engineering for various diseases and conditions. We then show how we tested this premise in two phases and prove its validity. Subsequently, we introduce xFakeSci, a novel learning algorithm, that is capable of distinguishing ChatGPT-generated articles from publications produced by scientists. The algorithm is trained using network models driven from both sources. To mitigate overfitting issues, we incorporated a calibration step that is built upon data-driven heuristics, including proximity and ratios. Specifically, from a total of a 3952 fake articles for three different medical conditions, the algorithm was trained using only 100 articles, but calibrated using folds of 100 articles. As for the classification step, it was performed using 300 articles per condition. The actual label steps took place against an equal mix of 50 generated articles and 50 authentic PubMed abstracts. The testing also spanned publication periods from 2010 to 2024 and encompassed research on three distinct diseases: cancer, depression, and Alzheimer’s. Further, we evaluated the accuracy of the xFakeSci algorithm against some of the classical data mining algorithms (e.g., Support Vector Machines, Regression, and Naive Bayes). The xFakeSci algorithm achieved F1 scores ranging from 80 to 94%, outperforming common data mining algorithms, which scored F1 values between 38 and 52%. We attribute the noticeable difference to the introduction of calibration and a proximity distance heuristic, which underscores this promising performance. Indeed, the prediction of fake science generated by ChatGPT presents a considerable challenge. Nonetheless, the introduction of the xFakeSci algorithm is a significant step on the way to combating fake science.Keywords
All Related Versions
Funding Information
- European Union’s Horizon 2020 Research and Innovation Programme (857533)
- Ministerstwo Edukacji i Nauki (MEiN/2023/DIR/3796)
- National Natural Science Foundation of China (62120106008)
This publication has 45 references indexed in Scilit:
- Safeguarding authenticity for mitigating the harms of generative AI: Issues, research agenda, and policies for detection, fact-checking, and ethical AIiScience, 2024
- The ChatGPT conundrum: Human-generated scientific manuscripts misidentified as AI creations by AI text detection toolJournal of Pathology Informatics, 2023
- Evaluating the efficacy of AI content detection tools in differentiating between human and AI-generated textInternational Journal for Educational Integrity, 2023
- JACC Journals’ Pathway Forward With AI ToolsJACC: Advances, 2023
- Nonhuman “Authors” and Implications for the Integrity of Scientific Publication and Medical KnowledgeJAMA, 2023
- Feature selection for text classification: A reviewMultimedia Tools and Applications, 2018
- Fish tales: Combating fake science in popular mediaOcean & Coastal Management, 2015
- A comparative study of TF*IDF, LSI and multi-words for text classificationExpert Systems with Applications, 2011
- Misinformation about Vaccines2009
- Top 10 algorithms in data miningKnowledge and Information Systems, 2007