用大模型打造心理顾问的个性化数字分身,模拟其独特咨询风格。
PsyDT: Using LLMs to Construct the Digital Twin of Psychological Counselor with Personalized Counseling Style for Psychological Counseling
- 通过GPT-4动态捕捉咨询师的语言与技术风格,实现快速建模。
- 合成多轮对话数据集,使生成内容接近真实案例。
- 适合需要个性化心理辅导的用户或研究者使用。
当前大语言模型在心理辅导领域取得显著进展,但现有心理健康类LLM忽视了不同咨询师具有不同个人风格(如语言风格和治疗技巧)这一关键问题,导致无法满足客户对多样化咨询风格的需求。为弥补这一差距,我们提出PsyDT框架,利用大模型构建具备个性化咨询风格的心理咨询师数字分身。相较于耗时耗资的真实咨询案例收集,该框架更快速且成本更低。通过GPT-4进行动态单样本学习,捕捉咨询师的独特风格;再基于已有单轮长文本对话,引导GPT-4生成多轮对话;最后在合成数据集PsyDTCorpus上微调模型,实现个性化数字分身。实验表明,PsyDT生成的多轮对话高度贴近真实案例,性能优于其他基线方法,证明其能有效构建具有特定咨询风格的心理咨询师数字分身。
原文摘要 · Abstract (English)
Currently, large language models (LLMs) have made significant progress in the field of psychological counseling. However, existing mental health LLMs overlook a critical issue where they do not consider the fact that different psychological counselors exhibit different personal styles, including linguistic style and therapy techniques, etc. As a result, these LLMs fail to satisfy the individual needs of clients who seek different counseling styles. To help bridge this gap, we propose PsyDT, a novel framework using LLMs to construct the Digital Twin of Psychological counselor with personalized counseling style. Compared to the time-consuming and costly approach of collecting a large number of real-world counseling cases to create a specific counselor's digital twin, our framework offers a faster and more cost-effective solution. To construct PsyDT, we utilize dynamic one-shot learning by using GPT-4 to capture counselor's unique counseling style, mainly focusing on linguistic style and therapy techniques. Subsequently, using existing single-turn long-text dialogues with client's questions, GPT-4 is guided to synthesize multi-turn dialogues of specific counselor. Finally, we fine-tune the LLMs on the synthetic dataset, PsyDTCorpus, to achieve the digital twin of psychological counselor with personalized counseling style. Experimental results indicate that our proposed PsyDT framework can synthesize multi-turn dialogues that closely resemble real-world counseling cases and demonstrate better performance compared to other baselines, thereby show that our framework can effectively construct the digital twin of psychological counselor with a specific counseling style.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。