In the wake of the post-pandemic era, marked by social isolation and surging rates of depression and anxiety, conversational agents based on digital psychotherapy can play an influential role compared to traditional therapy sessions. In this work, we develop a voice-capable chatbot in Farsi to guide users through Self-Attachment (SAT), a novel, self-administered, holistic psychological technique based on attachment theory. Our chatbot uses a dynamic array of rule-based and classification-based modules to comprehend user input throughout the conversation and navigates a dialogue flowchart accordingly, recommending appropriate SAT exercises that depend on the user's emotional and mental state. In particular, we collect a dataset of over 6,000 utterances and develop a novel sentiment-analysis module that classifies user sentiment into 12 classes, with accuracy above 92%. To keep the conversation novel and engaging, the chatbot's responses are retrieved from a large dataset of utterances created with the aid of Farsi GPT-2 and a reinforcement learning approach, thus requiring minimal human annotation. Our chatbot also offers a question-answering module, called SAT Teacher, to answer users' questions about the principles of Self-Attachment. Finally, we design a cross-platform application as the bot's user interface. We evaluate our platform in a ten-day human study with N=52 volunteers from the non-clinical population, who have had over 2,000 dialogues in total with the chatbot. The results indicate that the platform was engaging to most users (75%), 72% felt better after the interactions, and 74% were satisfied with the SAT Teacher's performance.
翻译:在后疫情时代,社会隔离与抑郁、焦虑率激增的背景下,基于数字心理疗法的对话智能体相比传统治疗会话可发挥重要作用。本研究开发了一款支持语音的波斯语聊天机器人,用于引导用户实践自我依恋技术(SAT)——一种基于依恋理论的新型自助式整体心理技术。该聊天机器人采用基于规则与基于分类的动态模块组合,在对话过程中理解用户输入,并依据对话流程图导航,根据用户情绪与心理状态推荐合适的SAT练习。具体而言,我们收集了超过6,000条话语的数据集,开发了新型情感分析模块,将用户情感分为12个类别,准确率超过92%。为保持对话的新颖性与参与度,聊天机器人的回复从借助波斯语GPT-2及强化学习方法创建的大规模话语数据集中检索,因而仅需极少的人工标注。此外,聊天机器人还提供名为"SAT教师"的问答模块,解答用户关于自我依恋技术原理的疑问。最后,我们设计了一款跨平台应用程序作为机器人的用户界面。在为期十天的人类研究中,我们招募了N=52名非临床人群志愿者,其与聊天机器人的总对话次数超过2,000次。结果表明,该平台对多数用户(75%)具有吸引力,72%的用户在互动后感觉更好,74%的用户对"SAT教师"的表现感到满意。