{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,24]],"date-time":"2026-11-24T18:53:56Z","timestamp":1795546436726,"version":"4.11.0"},"reference-count":42,"publisher":"Oxford University Press (OUP)","issue":"10","license":[{"start":{"date-parts":[[2024,8,9]],"date-time":"2024-08-09T00:00:00Z","timestamp":1723161600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000026","name":"National Institute on Drug Abuse","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100000026","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["R01DA057599"],"award-info":[{"award-number":["R01DA057599"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024,10,1]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:sec>\n                    <jats:title>Objectives<\/jats:title>\n                    <jats:p>Large language models (LLMs) have demonstrated remarkable success in natural language processing (NLP) tasks. This study aimed to evaluate their performances on social media-based health-related text classification tasks.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Materials and Methods<\/jats:title>\n                    <jats:p>We benchmarked 1 Support Vector Machine (SVM), 3 supervised pretrained language models (PLMs), and 2 LLMs-based classifiers across 6 text classification tasks. We developed 3 approaches for leveraging LLMs: employing LLMs as zero-shot classifiers, using LLMs as data annotators, and utilizing LLMs with few-shot examples for data augmentation.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>Across all tasks, the mean (SD) F1 score differences for RoBERTa, BERTweet, and SocBERT trained on human-annotated data were 0.24 (\u00b10.10), 0.25 (\u00b10.11), and 0.23 (\u00b10.11), respectively, compared to those trained on the data annotated using GPT3.5, and were 0.16 (\u00b10.07), 0.16 (\u00b10.08), and 0.14 (\u00b10.08) using GPT4, respectively. The GPT3.5 and GPT4 zero-shot classifiers outperformed SVMs in a single task and in 5 out of 6 tasks, respectively. When leveraging LLMs for data augmentation, the RoBERTa models trained on GPT4-augmented data demonstrated superior or comparable performance compared to those trained on human-annotated data alone.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Discussion<\/jats:title>\n                    <jats:p>The results revealed that using LLM-annotated data only for training supervised classification models was ineffective. However, employing the LLM as a zero-shot classifier exhibited the potential to outperform traditional SVM models and achieved a higher recall than the advanced transformer-based model RoBERTa. Additionally, our results indicated that utilizing GPT3.5 for data augmentation could potentially harm model performance. In contrast, data augmentation with GPT4 demonstrated improved model performances, showcasing the potential of LLMs in reducing the need for extensive training data.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>By leveraging the data augmentation strategy, we can harness the power of LLMs to develop smaller, more effective domain-specific NLP models. Using LLM-annotated data without human guidance for training lightweight supervised classification models is an ineffective strategy. However, LLM, as a zero-shot classifier, shows promise in excluding false negatives and potentially reducing the human effort required for data annotation.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.1093\/jamia\/ocae210","type":"journal-article","created":{"date-parts":[[2024,8,9]],"date-time":"2024-08-09T17:09:34Z","timestamp":1723223374000},"page":"2181-2189","source":"Crossref","is-referenced-by-count":79,"title":["Evaluating large language models for health-related text classification tasks with public social media data"],"prefix":"10.1093","volume":"31","author":[{"given":"Yuting","family":"Guo","sequence":"first","affiliation":[{"name":"Department of Biomedical Informatics, Emory University , Atlanta, GA 30322, United States"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anthony","family":"Ovadje","sequence":"additional","affiliation":[{"name":"Department of Biomedical Engineering, Georgia Institute of Technology , Atlanta, GA 30332, United States"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohammed Ali","family":"Al-Garadi","sequence":"additional","affiliation":[{"name":"Department of Biomedical Informatics, Vanderbilt University , Nashville, TN 37235, United States"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7358-544X","authenticated-orcid":false,"given":"Abeed","family":"Sarker","sequence":"additional","affiliation":[{"name":"Department of Biomedical Informatics, Emory University , Atlanta, GA 30322, United States"},{"name":"Department of Biomedical Engineering, Georgia Institute of Technology , Atlanta, GA 30332, United States"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2024,8,9]]},"reference":[{"issue":"5","key":"2024092007534369900_ocae210-B1","doi-asserted-by":"crossref","first-page":"e17917","DOI":"10.2196\/17917","article-title":"Social media use for health purposes: systematic review","volume":"23","author":"Chen","year":"2021","journal-title":"J Med Internet Res"},{"issue":"4","key":"2024092007534369900_ocae210-B2","doi-asserted-by":"crossref","first-page":"991","DOI":"10.1093\/jamia\/ocae010","article-title":"Overview of the 8th Social Media Mining for Health Applications (#SMM4H) shared tasks at the AMIA 2023 Annual Symposium","volume":"31","author":"Klein","year":"2024","journal-title":"J Am Med Inform Assoc"},{"issue":"1","key":"2024092007534369900_ocae210-B3","doi-asserted-by":"crossref","first-page":"433","DOI":"10.1146\/annurev-biodatasci-030320-040844","article-title":"Mining social media data for biomedical signals and health-related behavior","volume":"3","author":"Correia","year":"2020","journal-title":"Annu Rev Biomed Data Sci"},{"key":"2024092007534369900_ocae210-B4","first-page":"21","author":"Magge"},{"key":"2024092007534369900_ocae210-B5","author":"Xu"},{"issue":"6","key":"2024092007534369900_ocae210-B6","doi-asserted-by":"crossref","first-page":"1193","DOI":"10.1017\/S1368980020005248","article-title":"Social media analytics in nutrition research: a rapid review of current usage in investigation of dietary behaviours","volume":"24","author":"Stirling","year":"2021","journal-title":"Public Health Nutr"},{"key":"2024092007534369900_ocae210-B7","doi-asserted-by":"crossref","first-page":"98","DOI":"10.1016\/j.jbi.2018.11.007","article-title":"An unsupervised and customizable misspelling generator for mining noisy health-related text sources","volume":"88","author":"Sarker","year":"2018","journal-title":"J Biomed Inform"},{"key":"2024092007534369900_ocae210-B8","first-page":"4171","author":"Devlin"},{"key":"2024092007534369900_ocae210-B9","author":"Liu"},{"key":"2024092007534369900_ocae210-B10","first-page":"9","author":"Nguyen"},{"key":"2024092007534369900_ocae210-B11","first-page":"45","author":"Guo"},{"key":"2024092007534369900_ocae210-B12","author":"Qudar"},{"issue":"1","key":"2024092007534369900_ocae210-B13","doi-asserted-by":"crossref","first-page":"214","DOI":"10.15265\/IY-2017-029","article-title":"Capturing the patient\u2019s perspective: a review of advances in natural language processing of health-related text","volume":"26","author":"Gonzalez-Hernandez","year":"2017","journal-title":"Yearb Med Inform"},{"key":"2024092007534369900_ocae210-B14"},{"key":"2024092007534369900_ocae210-B15","first-page":"2551","author":"Weissenbacher"},{"key":"2024092007534369900_ocae210-B16","first-page":"221","author":"Weissenbacher","year":"2022"},{"key":"2024092007534369900_ocae210-B17","first-page":"581","author":"Sarker","year":"2016"},{"key":"2024092007534369900_ocae210-B18","first-page":"314","author":"Nguyen","year":"2020"},{"key":"2024092007534369900_ocae210-B19","first-page":"163","article-title":"Classification of fall types in Parkinson\u2019s disease from self-report data using natural language processing","author":"Powell","year":"2023"},{"issue":"13","key":"2024092007534369900_ocae210-B20","doi-asserted-by":"crossref","first-page":"2003","DOI":"10.1161\/JAHA.123.030046","article-title":"Supervised text classification system detects Fontan patients in electronic records with higher accuracy than ICD codes","volume":"12","author":"Guo","year":"2023","journal-title":"J Am Heart Assoc"},{"key":"2024092007534369900_ocae210-B21","first-page":"1877","article-title":"Language models are few-shot learners","author":"Brown"},{"key":"2024092007534369900_ocae210-B22","author":"Kung"},{"issue":"3","key":"2024092007534369900_ocae210-B23","article-title":"Chat GPT as a neuro-score calculator: analysis of a large language model\u2019s performance on various neurological exam grading scales","volume":"2","author":"Chen","journal-title":"PLOS Digit Heal"},{"key":"2024092007534369900_ocae210-B24","first-page":"7480","article-title":"Scaling vision transformers to 22 billion parameters","volume":"202","author":"Dehghani","year":"2023","journal-title":"Proc Mach Learn Res"},{"issue":"8","key":"2024092007534369900_ocae210-B25","doi-asserted-by":"crossref","first-page":"1035","DOI":"10.1007\/s10514-023-10132-6","article-title":"Semantic anomaly detection with large language models","volume":"47","author":"Elhafsi","year":"2023","journal-title":"Auton Robot"},{"issue":"2","key":"2024092007534369900_ocae210-B26","doi-asserted-by":"crossref","first-page":"303","DOI":"10.1007\/s00296-023-05464-6","article-title":"Diagnostic accuracy of a large language model in rheumatology: comparison of physician and ChatGPT-4","volume":"44","author":"Krusche","year":"2023","journal-title":"Rheumatol Int"},{"key":"2024092007534369900_ocae210-B27","first-page":"382","article-title":"ChatGPT-HealthPrompt. Harnessing the power of XAI in prompt-based healthcare decision support using ChatGPT","author":"Nazary"},{"key":"2024092007534369900_ocae210-B28","first-page":"616","author":"Nedilko","year":"2023"},{"key":"2024092007534369900_ocae210-B29","first-page":"200308","article-title":"ChatGPT and finetuned BERT: a comparative study for developing intelligent design support systems","volume":"21","author":"Qiu","year":"2024","journal-title":"Intell Syst with Appl"},{"issue":"10","key":"2024092007534369900_ocae210-B30","doi-asserted-by":"crossref","first-page":"567","DOI":"10.3390\/info14100567","article-title":"Automated assessment of comprehension strategies from self-explanations using LLMs","volume":"14","author":"Nicula","year":"2023","journal-title":"Information"},{"issue":"2","key":"2024092007534369900_ocae210-B31","doi-asserted-by":"crossref","first-page":"723","DOI":"10.3758\/s13428-023-02075-8","article-title":"A general nonparametric classification method for multiple strategies in cognitive diagnostic assessment","volume":"56","author":"Wang","year":"2023","journal-title":"Behav Res Methods"},{"key":"2024092007534369900_ocae210-B32","first-page":"1470","author":"Wo\u017any","year":"2023"},{"key":"2024092007534369900_ocae210-B33","first-page":"7389","author":"Rahamim","year":"2023"},{"key":"2024092007534369900_ocae210-B34","first-page":"73","author":"Jiang","year":"2023"},{"key":"2024092007534369900_ocae210-B35","first-page":"1","author":"Ilani","year":"2023"},{"issue":"3","key":"2024092007534369900_ocae210-B36","doi-asserted-by":"crossref","first-page":"273","DOI":"10.1007\/BF00994018","article-title":"Support-vector networks","volume":"20","author":"Cortes","year":"1995","journal-title":"Mach Learn"},{"key":"2024092007534369900_ocae210-B37","author":"Ye"},{"key":"2024092007534369900_ocae210-B38","author":"OpenAI","year":"2023"},{"issue":"4","key":"2024092007534369900_ocae210-B39","doi-asserted-by":"crossref","first-page":"482","DOI":"10.1109\/TPAMI.2005.78","article-title":"Feature space interpretation of SVMs with indefinite kernels","volume":"27","author":"Haasdonk","year":"2005","journal-title":"IEEE Trans Pattern Anal Mach Intell"},{"key":"2024092007534369900_ocae210-B40","first-page":"86","author":"Guo","year":"2020"},{"key":"2024092007534369900_ocae210-B41","first-page":"59","author":"Murarka","year":"2021"},{"key":"2024092007534369900_ocae210-B42","first-page":"127","author":"Zhu","year":"2020"}],"container-title":["Journal of the American Medical Informatics Association"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/jamia\/article-pdf\/31\/10\/2181\/59206398\/ocae210.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/jamia\/article-pdf\/31\/10\/2181\/59206398\/ocae210.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,9,20]],"date-time":"2024-09-20T03:53:59Z","timestamp":1726804439000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/jamia\/article\/31\/10\/2181\/7731085"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,8,9]]},"references-count":42,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2024,8,9]]},"published-print":{"date-parts":[[2024,10,1]]}},"URL":"https:\/\/doi.org\/10.1093\/jamia\/ocae210","relation":{},"ISSN":["1067-5027","1527-974X"],"issn-type":[{"value":"1067-5027","type":"print"},{"value":"1527-974X","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2024,10]]},"published":{"date-parts":[[2024,8,9]]}}}