{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,2]],"date-time":"2026-07-02T16:25:57Z","timestamp":1783009557608,"version":"3.54.5"},"reference-count":38,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,10,17]],"date-time":"2025-10-17T00:00:00Z","timestamp":1760659200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Big Data"],"abstract":"<jats:p>The mental health of students plays an important role in their overall wellbeing and academic performance. Growing pressure from academics, co-curricular activities such as sports and personal challenges highlight the need for modern methods of monitoring mental health. Traditional approaches, such as self-reported surveys and psychological evaluations, can be time-consuming and subject to bias. With advancement in artificial intelligence (AI), particularly in natural language processing (NLP), sentiment analysis has emerged as an effective technique for identifying mental health patterns in textual data. However, analyzing students' mental health remains a challenging task due to the intensity of emotional expressions, linguistic variations, and context-dependent sentiments. In this study, our primary objective was to investigate the mental health of students by conducting sentiment analysis using advanced deep learning models. To accomplish this task, state-of-the-art Large Language Model (LLM) approaches, such as RoBERTa (a robustly optimized BERT approach), RoBERTa-Large, and ELECTRA, were used for empirical analysis. RoBERTa-Large, an expanded architecture derived from Google's BERT, captures complex patterns and performs more effectively on various NLP tasks. Among the applied algorithms, RoBERTa-Large achieved the highest accuracy of 97%, while ELECTRA yielded 91% accuracy on a multi-classification task with seven diverse mental health status labels. These results demonstrate the potential of LLM-based approaches for predicting students' mental health, particularly in relation to the effects of academic and physical activities.<\/jats:p>","DOI":"10.3389\/fdata.2025.1615788","type":"journal-article","created":{"date-parts":[[2025,10,17]],"date-time":"2025-10-17T04:14:05Z","timestamp":1760674445000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":15,"title":["Analyzing student mental health with RoBERTa-Large: a sentiment analysis and data analytics approach"],"prefix":"10.3389","volume":"8","author":[{"given":"Hikmat Ullah","family":"Khan","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anam","family":"Naz","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fawaz Khaled","family":"Alarfaj","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Naif","family":"Almusallam","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,10,17]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","first-page":"54408","DOI":"10.1109\/ACCESS.2023.3281889","article-title":"Attention-based multi-channel gated recurrent neural networks: a novel feature-centric approach for aspect-based sentiment classification","volume":"11","author":"Ahmad","year":"2023","journal-title":"IEEE Access"},{"key":"B2","doi-asserted-by":"publisher","first-page":"130","DOI":"10.1145\/3603398","article-title":"Contextaware answer selection in community question answering exploiting spatial temporal bidirectional long short-term memory","volume":"22","author":"Ahmed","year":"2023","journal-title":"ACM Trans. Asian Low Resour. Lang. Inf. Process"},{"key":"B3","doi-asserted-by":"publisher","first-page":"1888","DOI":"10.1109\/TCSS.2023.3281492","article-title":"Conversational AI: an explication of few-shot learning problem in transformers-based Chabot systems","volume":"11","author":"Ahmed","year":"2024","journal-title":"IEEE Trans. Comput. Soc. Syst."},{"key":"B4","doi-asserted-by":"publisher","first-page":"29875","DOI":"10.1038\/s41598-024-81506-8","article-title":"Using deep learning and word embeddings for predicting human agreeableness behavior","volume":"14","author":"Alsini","year":"2024","journal-title":"Sci. Rep"},{"key":"B5","doi-asserted-by":"publisher","first-page":"594","DOI":"10.14569\/IJACSA.2023.0140766","article-title":"A transformer-CNN hybrid model for cognitive behavioral therapy in psychological assessment and intervention for enhanced diagnostic accuracy and treatment efficiency","volume":"14","author":"Ankalu Vuyyuru","year":"2023","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"B6","doi-asserted-by":"publisher","first-page":"211","DOI":"10.1109\/TAFFC.2021.3075638","article-title":"Detecting mental disorders in social media through emotional patterns - the case of anorexia depression","volume":"14","author":"Arag\u00f3n","year":"2023","journal-title":"IEEE Trans. Affect Comput."},{"key":"B7","doi-asserted-by":"publisher","first-page":"74","DOI":"10.1007\/s42979-021-00958-1","article-title":"Sentiment analysis in social media data for depression detection using artificial intelligence: a review","volume":"3","author":"Babu","year":"2021","journal-title":"SN Comput. Sci."},{"key":"B8","doi-asserted-by":"publisher","first-page":"18171","DOI":"10.1109\/ACCESS.2020.2968393","article-title":"Context deep neural network model for predicting depression risk using multiple regression","volume":"8","author":"Baek","year":"2020","journal-title":"IEEE Access"},{"key":"B9","doi-asserted-by":"publisher","first-page":"e34492","DOI":"10.2196\/34492","article-title":"Traditional machine learning models and bidirectional encoder representations from transformer (BERT)\u2013based automatic classification of tweets about eating disorders: algorithm development and validation study","volume":"10","author":"Ben\u00edtez-Andrades","year":"2022","journal-title":"JMIR Med. Inform"},{"key":"B10","doi-asserted-by":"publisher","first-page":"106645","DOI":"10.1016\/j.chb.2020.106645","article-title":"Social media use intensity, social media use problems, and mental health among adolescents: investigating directionality and mediating processes","volume":"116","author":"Boer","year":"2021","journal-title":"Comput. Human Behav."},{"key":"B11","doi-asserted-by":"publisher","first-page":"3980","DOI":"10.3390\/electronics13203980","article-title":"Advanced comparative analysis of machine learning and transformer models for depression and suicide detection in social media texts","volume":"13","author":"Bokolo","year":"2024","journal-title":"Electronics"},{"key":"B12","doi-asserted-by":"publisher","first-page":"43","DOI":"10.1038\/s41746-020-0233-7","article-title":"Methods in predictive techniques for mental health status on social media: a critical review","volume":"3","author":"Chancellor","year":"2020","journal-title":"NPJ Digit Med."},{"key":"B13","doi-asserted-by":"publisher","first-page":"50","DOI":"10.1007\/s11227-024-06499-7","article-title":"Enhancing Chinese comprehension and reasoning for large language models: an efficient LoRA fine-tuning and tree of thoughts framework","volume":"81","author":"Chen","year":"2024","journal-title":"J. Supercomput"},{"key":"B14","doi-asserted-by":"publisher","first-page":"104499","DOI":"10.1016\/j.compbiomed.2021.104499","article-title":"A textual-based featuring approach for depression detection using machine learning classifiers and social media texts","volume":"135","author":"Chiong","year":"2021","journal-title":"Comput. Biol. Med."},{"key":"B15","doi-asserted-by":"publisher","first-page":"103610","DOI":"10.1016\/j.jbi.2020.103610","article-title":"Deep learning with wearable based heart rate variability for prediction of mental and general health","volume":"112","author":"Coutts","year":"2020","journal-title":"J. Biomed. Inform."},{"key":"B16","doi-asserted-by":"publisher","first-page":"20481","DOI":"10.1007\/s11227-023-05439-1","article-title":"DialogueINAB: an interaction neural network based on attitudes and behaviors of interlocutors for dialogue emotion recognition","volume":"79","author":"Ding","year":"2023","journal-title":"J. Supercomput."},{"key":"B17","doi-asserted-by":"publisher","first-page":"1465","DOI":"10.1109\/TCSS.2021.3084154","article-title":"Depression intensity estimation via social media: a deep learning approach","volume":"8","author":"Ghosh","year":"2021","journal-title":"IEEE Trans. Comput. Soc. Syst."},{"key":"B18","doi-asserted-by":"publisher","first-page":"E2352590","DOI":"10.1001\/jamanetworkopen.2023.52590","article-title":"Mental health counseling from conversational content with transformer-based machine learning","volume":"7","author":"Imel","year":"2024","journal-title":"JAMA Netw. Open"},{"key":"B19","doi-asserted-by":"publisher","first-page":"241","DOI":"10.1007\/s13278-024-01396-6","article-title":"Exploring the role of sentiment analysis with network and temporal features for finding influential users in social media platforms","volume":"14","author":"Ishfaq","year":"2025","journal-title":"Soc. Netw. Anal. Min"},{"key":"B20","doi-asserted-by":"publisher","first-page":"274","DOI":"10.1109\/TCSS.2024.3487168","article-title":"Effective analysis of machine and deep learning methods for diagnosing mental health using social media conversations","volume":"12","author":"Kasanneni","year":"2025","journal-title":"IEEE Trans. Comput. Soc. Syst"},{"key":"B21","doi-asserted-by":"publisher","first-page":"11846","DOI":"10.1038\/s41598-020-68764-y","article-title":"A deep learning model for detecting mental illness from user content on social media","volume":"10","author":"Kim","year":"2020","journal-title":"Sci. Rep"},{"key":"B22","doi-asserted-by":"publisher","first-page":"11885","DOI":"10.1007\/s10489-022-04060-8","article-title":"Identifying suicidal emotions on social media through transformer-based deep learning","volume":"53","author":"Kodati","year":"2023","journal-title":"Appl. Intell."},{"key":"B23","doi-asserted-by":"publisher","first-page":"108607","DOI":"10.1016\/j.chb.2025.108607","article-title":"An optimal approach for predicting cognitive performance in education based on deep learning","volume":"167","author":"Li","year":"2025","journal-title":"Comput. Human Behav"},{"key":"B24","doi-asserted-by":"publisher","first-page":"101186","DOI":"10.1016\/j.cogsys.2023.101186","article-title":"XAI transformer based approach for interpreting depressed and suicidal user behavior on online social networks","volume":"84","author":"Malhotra","year":"2024","journal-title":"Cogn. Syst. Res."},{"key":"B25","first-page":"155","article-title":"\u201cReducing risk for mental health conditions associated with social media use: encouraging \u201cREAL\u201d communication,\u201d","author":"Primack","year":"2018","journal-title":"Families and Technology"},{"key":"B26","doi-asserted-by":"publisher","first-page":"CSCW2","DOI":"10.1145\/3476049","article-title":"Data Subjects' conceptualizations of and attitudes toward automatic emotion recognition-enabled wellbeing interventions on social media","volume":"5","author":"Roemmich","year":"2021","journal-title":"Proc. ACM Hum.-Comput. Interact."},{"key":"B27","doi-asserted-by":"publisher","first-page":"123","DOI":"10.1038\/s41598-021-03423-4","article-title":"Social media discussions predict mental health consultations on college campuses","volume":"12","author":"Saha","year":"2022","journal-title":"Sci. Rep."},{"key":"B28","doi-asserted-by":"publisher","first-page":"e53","DOI":"10.1017\/S2045796022000373","article-title":"An outstanding message of hope: The WHO World Mental Health Report 2022","volume":"31","author":"Saraceno","year":"2022","journal-title":"Epidemiol. Psychiatr. Sci."},{"key":"B29","doi-asserted-by":"publisher","first-page":"141","DOI":"10.1007\/s13278-023-01145-1","article-title":"Identifying discernible indications of psychological well-being using ML: explainable AI in reddit social media interactions","volume":"13","author":"Thushari","year":"2023","journal-title":"Soc. Netw. Anal. Min"},{"key":"B30","doi-asserted-by":"publisher","first-page":"480","DOI":"10.1016\/j.future.2021.05.032","article-title":"An emotion and cognitive based analysis of mental health disorders from social media data","volume":"124","author":"Uban","year":"2021","journal-title":"Future Gener. Comput. Syst."},{"key":"B31","doi-asserted-by":"crossref","first-page":"1077","DOI":"10.1109\/BIBM52615.2021.9669469","article-title":"\u201cPsychBERT: a mental health language model for social media mental health behavioral analysis,\u201d","volume-title":"2021 IEEE International Conference on Bioinformatics and Biomedicine (BIBM)","author":"Vajre","year":"2021"},{"key":"B32","doi-asserted-by":"crossref","first-page":"56","DOI":"10.1109\/ICUMT61075.2023.10333301","article-title":"\u201cAI-enhanced mental health diagnosis: leveraging transformers for early detection of depression tendency in textual data,\u201d","volume-title":"2023 15th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT)","author":"Verma","year":"2023"},{"key":"B33","doi-asserted-by":"publisher","first-page":"211","DOI":"10.1109\/TKDE.2023.3280555","article-title":"Human cognition-based consistency inference networks for multi-modal fake news detection","volume":"36","author":"Wu","year":"2024","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"B34","doi-asserted-by":"publisher","first-page":"101944","DOI":"10.1016\/j.inffus.2023.101944","article-title":"MFIR: multimodal fusion and inconsistency reasoning for explainable fake news detection","volume":"100","author":"Wu","year":"2023","journal-title":"Inf. Fusion"},{"key":"B35","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2405.00949","article-title":"The role of model architecture and scale in predicting molecular properties: insights from fine-tuning RoBERTa, BART, and LLaMA","author":"Youngmin","year":"2024","journal-title":"arXiv"},{"key":"B36","doi-asserted-by":"publisher","first-page":"7893775","DOI":"10.1155\/2022\/7893775","article-title":"[Retracted] A novel text mining approach for mental health prediction using Bi-LSTM and BERT model","volume":"2022","author":"Zeberga","year":"2022","journal-title":"Comput. Intell. Neurosci."},{"key":"B37","doi-asserted-by":"publisher","first-page":"227","DOI":"10.33168\/JSMS.2023.0515","article-title":"Research on emotion recognition-based smart assistant system: emotional intelligence and personalized services","volume":"13","author":"Zhu","year":"2023","journal-title":"J. Syst. Manag. Sci."},{"key":"B38","doi-asserted-by":"publisher","first-page":"281","DOI":"10.1007\/s11280-021-00992-2","article-title":"Explainable depression detection with multi-aspect features using a hybrid deep learning model on social media","volume":"25","author":"Zogan","year":"2022","journal-title":"World Wide Web"}],"container-title":["Frontiers in Big Data"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdata.2025.1615788\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,17]],"date-time":"2025-10-17T04:14:06Z","timestamp":1760674446000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdata.2025.1615788\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,17]]},"references-count":38,"alternative-id":["10.3389\/fdata.2025.1615788"],"URL":"https:\/\/doi.org\/10.3389\/fdata.2025.1615788","relation":{},"ISSN":["2624-909X"],"issn-type":[{"value":"2624-909X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,17]]},"article-number":"1615788"}}