EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Generative artificial intelligence and machine learning methods to screen social media content

Kellen Sharp iD, Rachel R Ouellette iD, Rujula Singh Rajendra Singh, Elise E DeVito, Neil Kamdar, Amanda de la Noval iD, Dhiraj Murthy iD, Grace Kong

PeerJ Computer Science · 14.03.2025 · 11 · e2710

DOI: 10.7717/peerj-cs.2710 ↗

Kurz gefasst

Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 14.03.2025. Verfasst von Kellen Sharp und 7 weiteren Autor:innen. Beteiligte Einrichtung: Department of Radio-Television-Film, University of Texas at Austin, Austin, Texas, United States. Die Arbeit wurde bisher 9-mal zitiert (Crossref) und nennt 76 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: NIDA NIH HHS.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Background

Social media research is confronted by the expansive and constantly evolving nature of social media data. Hashtags and keywords are frequently used to identify content related to a specific topic, but these search strategies often result in large numbers of irrelevant results. Therefore, methods are needed to quickly screen social media content based on a specific research question. The primary objective of this article is to present generative artificial intelligence (AI; e.g ., ChatGPT) and machine learning methods to screen content from social media platforms. As a proof of concept, we apply these methods to identify TikTok content related to e-cigarette use during pregnancy.

Methods

We searched TikTok for pregnancy and vaping content using 70 hashtag pairs related to “pregnancy” and “vaping” ( e.g ., #pregnancytok and #ecigarette) to obtain 11,673 distinct posts. We extracted post videos, descriptions, and metadata using Zeeschuimer and PykTok library. To enhance textual analysis, we employed automatic speech recognition via the Whisper system to transcribe verbal content from each video. Next, we used the OpenCV library to extract frames from the videos, followed by object and text detection analysis using Oracle Cloud Vision. Finally, we merged all text data to create a consolidated dataset and entered this dataset into ChatGPT-4 to determine which posts are related to vaping and pregnancy. To refine the ChatGPT prompt used to screen for content, a human coder cross-checked ChatGPT-4’s outputs for 10 out of every 100 metadata entries, with errors used to inform the final prompt. The final prompt was evaluated through human review, confirming for posts that contain “pregnancy” and “vape” content, comparing determinations to those made by ChatGPT.

Results

Our results indicated ChatGPT-4 classified 44.86% of the videos as exclusively related to pregnancy, 36.91% to vaping, and 8.91% as containing both topics. A human reviewer confirmed for vaping and pregnancy content in 45.38% of the TikTok posts identified by ChatGPT as containing relevant content. Human review of 10% of the posts screened out by ChatGPT identified a 99.06% agreement rate for excluded posts.

Conclusions

ChatGPT has mixed capacity to screen social media content that has been converted into text data using machine learning techniques such as object detection. ChatGPT’s sensitivity was found to be lower than a human coder in the current case example but has demonstrated power for screening out irrelevant content and can be used as an initial pass at screening content. Future studies should explore ways to enhance ChatGPT’s sensitivity.

Schlagwörter

Stichwörter der Autor:innen

ChatGPTComputer visionENDSGenerative AIMachine learningPregnancySocial mediaTikTokVapinge-cigarette

Autor:innen und Institutionen

  • Department of Radio-Television-Film, University of Texas at Austin, Austin, Texas, United States.
  • Department of Psychiatry, Yale School of Medicine, New Haven, Connecticut, United States.
  • Department of Computer Science, University of Texas at Austin, Austin, Texas, United States.
  • School of Journalism and Media, University of Texas at Austin, Austin, Texas, United States.

ORCID-Profile: Kellen Sharp, Rachel R Ouellette, Amanda de la Noval, Dhiraj Murthy

Förderung

  • NIDA NIH HHS

Zitieren

APA

Sharp, K., Ouellette, R. R., Singh, R. S. R., DeVito, E. E., Kamdar, N., de la Noval, A., Murthy, D., & Kong, G. (2025). Generative artificial intelligence and machine learning methods to screen social media content. PeerJ Computer Science, 11, e2710. https://doi.org/10.7717/peerj-cs.2710

Vancouver

Sharp K, Ouellette RR, Singh RSR, DeVito EE, Kamdar N, de la Noval A, et al. Generative artificial intelligence and machine learning methods to screen social media content. PeerJ Computer Science. 2025;11:e2710. doi:10.7717/peerj-cs.2710

BibTeX
@article{Sharp2025,
  author = {Sharp, Kellen and Ouellette, Rachel R and Singh, Rujula Singh Rajendra and DeVito, Elise E and Kamdar, Neil and de la Noval, Amanda and Murthy, Dhiraj and Kong, Grace},
  title = {Generative artificial intelligence and machine learning methods to screen social media content},
  journal = {PeerJ Computer Science},
  year = {2025},
  volume = {11},
  pages = {e2710},
  doi = {10.7717/peerj-cs.2710}
}
Kostenlos starten →