IDEAS home Printed from https://ideas.repec.org/a/igg/jwsr00/v21y2024i1p1-22.html
   My bibliography  Save this article

Predictive Analytics in Mental Health Leveraging LLM Embeddings and Machine Learning Models for Social Media Analysis

Author

Listed:
  • Ahmad Radwan

    (Arab American University, Palestine)

  • Mohannad Amarneh

    (Arab American University, Palestine)

  • Hussam Alawneh

    (Arab American University, Palestine)

  • Huthaifa I. Ashqar

    (Arab American University, Palestine)

  • Anas AlSobeh

    (Southern Illinois University, Carbondale, USA & Yarmouk University, Jordan)

  • Aws Abed Al Raheem Magableh

    (Yarmouk University, Jordan & Prince Sultan University, Saudi Arabia)

Abstract

The prevalence of stress-related disorders has increased significantly in recent years, necessitating scalable methods to identify affected individuals. This paper proposes a novel approach utilizing large language models (LLMs), with a focus on OpenAI's generative pre-trained transformer (GPT-3) embeddings and machine learning (ML) algorithms to classify social media posts as indicative or not of stress disorders. The aim is to create a preliminary screening tool leveraging online textual data. GPT-3 embeddings transformed posts into vector representations capturing semantic meaning and linguistic nuances. Various models, including support vector machines, random forests, XGBoost, KNN, and neural networks, were trained on a dataset of >10,000 labeled social media posts. The top model, a support vector machine, achieved 83% accuracy in classifying posts displaying signs of stress.

Suggested Citation

  • Ahmad Radwan & Mohannad Amarneh & Hussam Alawneh & Huthaifa I. Ashqar & Anas AlSobeh & Aws Abed Al Raheem Magableh, 2024. "Predictive Analytics in Mental Health Leveraging LLM Embeddings and Machine Learning Models for Social Media Analysis," International Journal of Web Services Research (IJWSR), IGI Global, vol. 21(1), pages 1-22, January.
  • Handle: RePEc:igg:jwsr00:v:21:y:2024:i:1:p:1-22
    as

    Download full text from publisher

    File URL: http://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/IJWSR.338222
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:igg:jwsr00:v:21:y:2024:i:1:p:1-22. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Journal Editor (email available below). General contact details of provider: https://www.igi-global.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.