Related Experiment Video
Updated: May 16, 2025

Author Spotlight: Addressing Technical and Subjective Challenges in Measuring Classroom Attention
Published on: December 15, 2023
Artificial intelligence strategies based on random forests for detection of AI-generated content in public health
Igor V Pantic1, Snezana Mugosa2
1University of Belgrade, Faculty of Medicine, Dr. Subotića 8, 11129, RS-11129, Belgrade, Serbia; University of Haifa, 199 Abba Hushi Blvd, Mount Carmel, Haifa, IL-3498838, Israel; Ben-Gurion University of the Negev, Faculty of Health Sciences, 84105, Be'er Sheva, Israel.
Objectives:
To train and test a Random Forest machine learning model with the ability to distinguish AI-generated from human-generated textual content in the domain of public health, and public health policy.
Study Design:
Supervised machine learning study.
Methods:
A dataset comprising 1000 human-generated and 1000 AI-generated paragraphs was created. Textual features were extracted using TF-IDF vectorization which calculates term frequency (TF) and Inverse document frequency (IDF), and combines the two measures to produce a score for individual terms. The Random Forest model was trained and tested using the Scikit-Learn library and Jupyter Notebook service in the Google Colab cloud-based environment, with Google CPU hardware acceleration.
Results:
The model achieved a classification accuracy of 81.8 % and an area under the ROC curve of 0.9. For human-generated content, precision, recall, and F1-score were 0.85, 0.78, and 0.81, respectively. For AI-generated content, these metrics were 0.79, 0.86, and 0.82. The MCC value of 0.64 indicated moderate to strong predictive power. The model demonstrated robust sensitivity (recall for AI-generated class) of 0.86 and specificity (recall for human-generated class) of 0.78.
Conclusions:
The model exhibited acceptable performance, as measured by classification accuracy, area under the receiver operating characteristic curve, and other metrics. This approach can be further improved by incorporating additional supervised machine learning techniques and serves as a foundation for the future development of a sophisticated and innovative AI system. Such a system could play a crucial role in combating misinformation and enhancing public trust across various government platforms, media outlets, and social networks.
Related Concept Videos
Non-equilibrium in the Cell
Steps in Outbreak Investigation
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...

