PromptSense: Sentiment-Aware Mental Health Chatbot with Dynamic Prompting
Abstract
Current Large Language Models (LLMs)-based mental health chatbots often lack sufficient empathy, contextual awareness, and safety mechanisms, potentially leading to ineffective or harmful interactions. This paper proposes a novel framework that integrates sentiment and depression analysis with a rule-based filtering mechanism prior to model inference. By dynamically constructing prompts based on emotional and risk-related insights, the framework aims to significantly improve the contextual relevance, empathy, and risk-aware of model-generated responses. We evaluated four model strategies and two prompt engineered variants across qualitative metrics such as empathy, helpfulness, clarity, relevance, safety, as well as toxicity assessments using the Perspective API. Experimental results indicate that the prompt engineering approaches outperforms DSFT and RLAIF by 1.8\% and 1.1\% respectively.
Create a lesson
Related papers
Goal-Aware Dynamic Multi-Agent Collaboration for Long-Horizon Tasks
Shared title terminologycs.AIXu Shen, Lingyong Yan, Shuaiqiang Wang et al.
Beyond Physical Illness: Can Clinical Narratives Reveal Emerging Mental Health Risks in Chronically Ill Patients?
Shared title terminologycs.AISudeshna Jana, Siddhartha Laha, Manjira Sinha et al.
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminologycs.AIMichael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
When Wrong Answers Remain Unsettled: Failure Dynamics in Recurrent Reasoners
Shared title terminologycs.AIJiucheng Zang, Congkai Peng, Yankai Wei
PruneNAS: Constraint Aware Neural Architecture Search based Pruning
Shared title terminologycs.AISudhakar Sah, Nikhil Chhabra, Honnesh Rohmetra et al.
Beyond Unit Tests: Path-Aware Rubric-Guided LLM Autograding of Notebooks
Shared title terminologycs.AISalman Hajizada, Mohammed Yusuf Ansari, Gianni Di Caro