Detection of ChatGPT fake science with the xFakeSci learning algorithm.

Ahmed Abdeen Hamed, Xindong Wu
Author Information
  1. Ahmed Abdeen Hamed: Complex Adaptive Systems and Computational Intelligence Laboratory, State University of New York at Binghamton, Binghamton, NY, 13902, USA. ahamed1@binghamton.edu.
  2. Xindong Wu: Hefei University of Technology, Key Laboratory of Knowledge Engineering with Big Data (the Ministry of Education of China), Hefei, 230009, China. xwu@hfut.edu.cn.

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

References

  1. Psychol Sci Public Interest. 2012 Dec;13(3):106-31 [PMID: 26173286]
  2. Z Gesundh Wiss. 2021 Oct 09;:1-10 [PMID: 34660175]
  3. iScience. 2024 Jan 05;27(2):108782 [PMID: 38318372]
  4. Phys Rev E Stat Nonlin Soft Matter Phys. 2001 Aug;64(2 Pt 2):025101 [PMID: 11497638]
  5. Phys Rev E. 2018 Jan;97(1-1):012309 [PMID: 29448477]
  6. J Med Internet Res. 2023 Aug 31;25:e51584 [PMID: 37651164]
  7. Mol Ther. 2022 Jul 6;30(7):2390 [PMID: 35709762]
  8. JMIR Med Educ. 2023 Mar 6;9:e46885 [PMID: 36863937]
  9. JAMA. 2023 Feb 28;329(8):637-639 [PMID: 36719674]
  10. BMJ Open Sport Exerc Med. 2023 Feb 16;9(1):e001568 [PMID: 36816423]
  11. R Soc Open Sci. 2019 May 1;6(5):190161 [PMID: 31218057]
  12. AMIA Annu Symp Proc. 2005;:724-8 [PMID: 16779135]
  13. Nat Hum Behav. 2021 Mar;5(3):337-348 [PMID: 33547453]
  14. IEEE Trans Neural Netw. 1999;10(5):988-99 [PMID: 18252602]
  15. JACC Adv. 2023 Mar 17;2(2):100296 [PMID: 38938321]
  16. Health Commun. 2021 Nov;36(13):1776-1784 [PMID: 32762260]
  17. Nature. 2023 Oct;622(7982):234-236 [PMID: 37817033]
  18. Science. 2023 Feb 24;379(6634):740-741 [PMID: 36821673]
  19. J Pathol Inform. 2023 Oct 17;14:100342 [PMID: 38116171]
  20. JMIR Med Educ. 2023 Feb 8;9:e45312 [PMID: 36753318]

Grants

  1. 857533/European Union's Horizon 2020 research and innovation programme
  2. MEiN/2023/DIR/3796/Ministerstwo Edukacji i Nauki
  3. 62120106008/National Natural Science Foundation of China

MeSH Term

Algorithms
Humans
Artificial Intelligence
Machine Learning
Publications

Word Cloud

Created with Highcharts 10.0.0articlesalgorithmusingxFakeSciChatGPTgeneratedfakesciencestepGenerativeAIstudypremisecanshowconditionslearningpublicationstrainedcalibrationproximitythree10050publicationdataminingalgorithmsF1introductionFaketoolsexemplifiedbecomingnewrealitymotivated"AIcontentmayexhibitdistinctivebehaviorseparatedscientificarticles"meanspromptengineeringvariousdiseasestestedtwophasesprovevaliditySubsequentlyintroducenovelcapabledistinguishingChatGPT-generatedproducedscientistsnetworkmodelsdrivensourcesmitigateoverfittingissuesincorporatedbuiltupondata-drivenheuristicsincludingratiosSpecificallytotal3952differentmedicalcalibratedfoldsclassificationperformed300perconditionactuallabelstepstookplaceequalmixauthenticPubMedabstractstestingalsospannedperiods20102024encompassedresearchdistinctdiseases:cancerdepressionAlzheimer'sevaluatedaccuracyclassicalegSupportVectorMachinesRegressionNaiveBayesachievedscoresranging8094%outperformingcommonscoredvalues3852%attributenoticeabledifferencedistanceheuristicunderscorespromisingperformanceIndeedpredictionpresentsconsiderablechallengeNonethelesssignificantwaycombatingDetectionHuman-generatedMLAlgorithm

Similar Articles

Cited By