OnRL-RAG: Real-Time Personalized Mental Health Dialogue System
Journal:
arXiv
Published Date:
Apr 2, 2025
Abstract
Large language models (LLMs) have been widely used for various tasks and
applications. However, LLMs and fine-tuning are limited to the pre-trained
data. For example, ChatGPT's world knowledge until 2021 can be outdated or
inaccurate. To enhance the capabilities of LLMs, Retrieval-Augmented Generation
(RAG), is proposed to augment LLMs with additional, new, latest details and
information to LLMs. While RAG offers the correct information, it may not best
present it, especially to different population groups with personalizations.
Reinforcement Learning from Human Feedback (RLHF) adapts to user needs by
aligning model responses with human preference through feedback loops. In
real-life applications, such as mental health problems, a dynamic and
feedback-based model would continuously adapt to new information and offer
personalized assistance due to complex factors fluctuating in a daily
environment. Thus, we propose an Online Reinforcement Learning-based
Retrieval-Augmented Generation (OnRL-RAG) system to detect and personalize the
responding systems to mental health problems, such as stress, anxiety, and
depression. We use an open-source dataset collected from 2028 College Students
with 28 survey questions for each student to demonstrate the performance of our
proposed system with the existing systems. Our system achieves superior
performance compared to standard RAG and simple LLM via GPT-4o, GPT-4o-mini,
Gemini-1.5, and GPT-3.5. This work would open up the possibilities of real-life
applications of LLMs for personalized services in the everyday environment. The
results will also help researchers in the fields of sociology, psychology, and
neuroscience to align their theories more closely with the actual human daily
environment.