Large language model enabled mental health app recommendations using structured datasets
Kris Prasad , Md Abdullah Al Hafiz Khan , Yong Pei
Applied Computing and Intelligence ›› 2025, Vol. 5 ›› Issue (2) : 154 -167.
The increasing use of large language models (LLMs) in mental health support necessitates a detailed evaluation of their recommendation capabilities. This study compared four modern LLMs-Gemma 2, GPT-3.5-Turbo, GPT-4o, and Claude 4 Sonnet-in recommending mental health applications. We constructed a structured dataset of 55 mental health apps using RoBERTa-based sentiment analysis and keyword similarity scoring, focusing on depression, anxiety, ADHD, and insomnia. Baseline LLMs demonstrated inconsistent total accuracy (ranging from 60% to 75%) and often relied on outdated or generic information. In contrast, our retrieval-augmented generation (RAG) pipeline enabled all models to achieve 100% accuracy, while maintaining good diversity and recommending apps with significantly better user ratings. These findings demonstrated that dataset-enhanced LLMs, regardless of being open-source or proprietary, can excel in domain-specific applications like mental health resource recommendations, potentially improving accessibility to quality mental health support tools.
mental health applications / retrieval-augmented generation (RAG) / large language models (LLMs) / natural language processing (NLP) / data analysis
| [1] |
World Health Organization, COVID-19 pandemic triggers 25% increase in prevalence of anxiety and depression worldwide, World Health Organization news release, 2022. Available from: https://www.who.int/news/item/02-03-2022-covid-19-pandemic-triggers-25-increase-in-prevalence-of-anxiety-and-depression-worldwide. |
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
Hugging Face, All-roberta-large-v1, Sentence-Transformers, 2025. Available from: https://huggingface.co/sentence-transformers/all-roberta-large-v1. |
| [11] |
Hugging Face, Twitter-roberta-base for sentiment analysis, Cardiff NLP, 2020. Available from: https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment. |
| [12] |
GitHub, Get up and running with large language models, Ollama, 2025. Available from: https://ollama.com/. |
| [13] |
GitHub, Langchain, LangChain, 2025. Available from: https://github.com/hwchase17/langchain. |
| [14] |
OpenAI platform, OpenAI API, OpenAI, 2025. Available from: https://platform.openai.com/docs/api-reference. |
/
| 〈 |
|
〉 |