Dhia Tawakalna
Universitas Dian Nuswantoro

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

SISTEM CHATBOT KESEHATAN MENTAL BERBASIS LLM DENGAN DETEKSI EMOSI DAN RETRIEVAL AUGMENTED GENERATION Dhia Tawakalna; Junta Zeniarja
Rabit : Jurnal Teknologi dan Sistem Informasi Univrab Vol 11 No 1 (2026): Januari
Publisher : LPPM Universitas Abdurrab

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.36341/rabit.v11i1.7347

Abstract

Mental health challenges in Indonesia highlight the urgent need for accessible, safe, and responsible early psychological support systems. Recent advances in Large Language Models (LLMs) enable the development of mental health chatbots capable of generating empathetic and context-aware responses. This study proposes and evaluates a hybrid LLM-based mental health chatbot architecture that integrates parameter-efficient fine-tuning (QLoRA), short-term user profiling through emotion detection, and Retrieval-Augmented Generation (RAG) to improve response quality, relevance, and safety. The research methodology is designed to be modular and reproducible, encompassing Indonesian mental health dialogue preprocessing, QLoRA-based LLM fine-tuning, IndoBERT-based emotion recognition, and a FAISS-powered RAG framework using sentence embeddings. The contribution of each component is systematically assessed through a staged ablation study, while response quality is evaluated using BLEU, ROUGE-L, METEOR, and CIDEr metrics, complemented by qualitative analysis and safety stress testing. Results indicate that although BLEU scores remain relatively low—consistent with open-domain dialogue systems—higher METEOR and CIDEr scores demonstrate strong semantic alignment and informational relevance. Furthermore, the system consistently identifies user emotions, rejects high-risk requests, and produces non-diagnostic responses aligned with AI safety principles. These findings demonstrate that the proposed hybrid LLM–RAG architecture is effective as a context-aware, safe, and responsible early-stage mental health support system, without replacing professional clinical services.