我们提出一个开源的虚拟代理平台,用于开展实时动机性访谈,该平台结合了先进的语言模型和扩散模型,能够根据用户的行为和特征进行自适应调整。通过使用Greta 2.0平台,该系统支持多种主题,包括以营养和运动为重点的干预措施,为增强数字化治疗互动提供了一种灵活且经过验证的工具。
方法文章
我们提出一个开源的虚拟代理平台,用于开展实时动机性访谈,该平台结合了先进的语言模型和扩散模型,能够根据用户的行为和特征进行自适应调整。通过使用Greta 2.0平台,该系统支持多种主题,包括以营养和运动为重点的干预措施,为增强数字化治疗互动提供了一种灵活且经过验证的工具。
对治疗支持日益增长的需求正不断超过现有专业人员的承载能力。一种能够执行动机性访谈(MI)的虚拟代理为帮助患者在与人类治疗师会话的间隔期间实现行为改变目标提供了有前景的解决方案。MI本质上是一种合作且具有适应性的沟通形式。因此,开发一种能够根据情境调整其对话策略的代理,可显著提升治疗效果。在MI会话过程中,人类治疗师会根据患者的反应及其个人特征,调整自身的言语和非言语行为。根据患者动机水平的不同,治疗师将相应地调整其干预方式。因此,个性化与适应性对于开发有效的MI虚拟代理至关重要。本文介绍了一种能够通过实时动态调整言语和非言语行为来开展MI会话的虚拟代理。该系统依托最先进的模型,实现了MI交互功能。该虚拟代理基于Greta 2.0平台构建,其非言语行为通过一种名为MODIFF的扩散模型生成,该模型能够适应用户的面部表情及其行为改变准备度。这些面部表情特征是在一个MI语料库上训练获得,并通过专门的用户研究进行了验证。对话内容由最先进的大语言模型(LLM)生成,并由专为MI设计的对话管理器进行增强,该管理器采用强化学习方法,并经过用户测试验证。此外,该对话管理器能够适应不同用户特征。最终构建的平台为开源系统,支持生成实时、多模态的MI对话,为数字化辅助的治疗性交互提供了新工具。
Motivational interviewing (MI) is a collaborative therapeutic approach that encourages behavioral change. During MI sessions, MI practitioners help patients articulate and foster their motivation for change1. To this aim, they use dialogue strategies, such as reflections or questions, reinforced by non-verbal behaviors, such as smiles or specific head and body postures.
As the frequency of mental health issues has increased in recent years, a gap has emerged between the demand for mental health services and the available resources2. This has led to longer waiting times for patients before they can access therapy2,3. One proposed solution to alleviate this issue involves virtual agents capable of replicating MI for patients awaiting appointments. By offering immediate support and intervention, these virtual agents can help reduce the impact of waiting periods, especially in therapeutic contexts that require multiple sessions4. Several studies have demonstrated the effectiveness of such agents or chatbots5,6,7,8,9 whose goal is not to replace MI experts; they are intended to serve as a complementary tool within the therapeutic process. For instance, they could provide MI intervention in between sessions.
Although previous MI agents often exhibit limited adaptive behaviors, MI is inherently a cooperative and adaptive form of communication. Therefore, developing an agent capable of adapting its dialogue to the context could significantly enhance the effectiveness of therapy10. During MI sessions, therapists adjust both their verbal (conversational strategies) and nonverbal behaviors based on the patient's responses, motivation, or engagement level11,12, as well as their individual profiles13. Depending on the patient's level of motivation, the therapist will modify their approach accordingly. Thus, personalization and adaptability are essential for developing effective MI virtual agents.
The Greta 2.0 platform14 is a modular virtual agent framework that supports real-time interactions. It has recently been extended to incorporate capabilities that enable the dynamic adaptation of generative AI models during interaction.
The platform includes a model called MODIFF-815, which generates real-time facial expressions that dynamically adapt to the user's own facial expressions. This diffusion-based model was trained on multimodal data collected in the context of MI, namely the AnnoMI corpus, constituted of counselling session videos between therapist and client pairs, collected on streaming platforms, such as YouTube and Viméo, and annotated in dialogue acts (a classification of utterances that denotes the actions performed e.g., Question, Greeting…) and action units (a taxonomy of human facial expression). This data conditions the generation not only on the user's current facial expression but also on MI-specific dialogue acts identified during the interaction, linked to the conversational strategies adopted. These include MI-relevant users' dialogue acts, such as change talk, as well as the agent's own dialogue acts, such as reflection or providing information. By integrating these multimodal signals in real time, the system allows the virtual agent to express socially and contextually appropriate facial expressions. By aligning its non-verbal behavior (NVB) to the context of the interaction, this virtual agent is designed to foster social rapport and support the initiation of intrinsic motivation throughout the interview process15.
Additionally, the platform integrates a dialogue system specifically designed for MI, called DREAM16. DREAM comprises a dialogue manager that selects the agent's next dialogue act based on the current dialogue state and the user's profile. Indeed, our analyses of the AnnoMI corpus revealed three profiles of MI patients: Open to Change (when the patient is motivated to change and seeks support), Receptive (when the patient has not yet considered change), and Resistant (when the patient does not intend to change)13. Before interacting with the virtual agent, users are attributed one of these three profiles according to their answers to the Decision Balance Scale (DBS) questionnaire17. This dialogue system is complemented by a large language model (LLM) that generates the agent's verbal output, corresponding to the dialogue act selected by the dialogue manager. This component enables contextual adaptation of the dialogue, marking an improvement over more rigid, rule-based approaches6. While recent studies have explored the use of LLMs to generate MI-consistent dialogue, they do not account for user profiles18,19. In contrast, this module dynamically adapts to the user's profile, which enhances rapport compared to these baseline systems.
The integration of these models into the Greta 2.0 platform enables dynamic MI interventions. Its modular implementation allows for the independent evaluation of each model's impact. In this paper, we present the method used to conduct experiments that assess the contributions of the MODIFF-8 and DREAM models to the MI dialogue delivered by the platform used. This method can also be used to deliver tailored MI interventions between sessions with MI practitioners. It requires a Windows computer with a 16 GB GPU and the installation of open-source software. Using this method, we demonstrate that our adaptation models improve the perceived quality of the MI delivery agent and enhance rapport building. We also observe improvement in the motivation of patients to change their behaviors when the agent uses adapted behaviors at the verbal and nonverbal levels, and conversational strategies levels. The results presented in this paper demonstrate the positive impact of tailoring the agent's MI intervention to each patient.
To support the design of this system, an in-depth literature review was conducted to explore the theoretical and practical foundations of nutritional coaching, including motivational interviewing, behavior change models, and user typologies. This review led to the development of a qualitative knowledge base structured around the intersection of two key dimensions: 1) users' readiness for change following the Transtheoretical Model19 that identifies 5 stages: pre-contemplation, contemplation, preparation, action, and maintenance, and 2) their eating behavior profiles20 based on diet and psychologically related factors. Three profiles were identified: the intuitive eater (i.e., listens to their hunger and fullness cues, maintains a varied and predominantly plant-based diet, prioritizes high-quality, often organic foods), the emotional eater (i.e., copes with stress, loneliness, and joy through frequent snacking on sweets or fatty foods, often feeling guilty afterward) and, the restrictive eater (i.e., obsessed with food control, they count calories, follow frequent diets with yo-yo effects, and may have an eating disorder).
For each combination of stage and profile, context-specific dialogue strategies were proposed, including tailored SMART goals, motivational formulations, and concrete behavioral suggestions. The aim was to enable the virtual agent to dynamically adapt its interventions based on both psychological readiness and personal tendencies. This groundwork ensures a higher degree of personalization and empathy in interaction, which are crucial to sustaining user engagement and long-term behavioral change.
访问受限。请登录或开始试用以查看此内容。
The method received ethical IRB approval from the INSEAD institute (Institut européen d'administration des affaires) with acceptance numbers: INSEAD 2024-78 and INSEAD 2025-23. All participants provided informed consent and were compensated for their experiment time.
1. Recruitment of participants
2. Pre-installation requirements
3. Greta installation
4. Mistral API key configuration
5. DeepGram API key configuration
6. MODIFF model importation
7. Launching Greta 2.0
8. Launching OpenFace
9. Launching MODIFF-8
10. Launching ASR
11. Launching DREAM
12. Set up the room
13. Welcoming the participant
14. Identify the participant profile
15. Set the theme and profile
16. Start the dialogue
17. During the dialogue
18. Post-intervention
访问受限。请登录或开始试用以查看此内容。
在本方案中,我们采用针对拟测量行为调整的问卷,收集了交互文本记录和用户反馈。我们比较了使用模型与不使用模型时的交互结果。
使用该方案评估 MODIFF-8 自适应表情生成的影响
MODIFF-8 模块旨在通过使虚拟代理生成既符合语境又与用户行为同步的面部表情,从而增强其社交反应能力15。该设计背后的核心假设是,适应性的非语言行为,尤其是与交流内容相协调的面部表情,在动机性访谈(MI)过程中有助于建立融洽关系并促进自我表露19,20,21。
为了评估这种实时自适应能力的影响,我们开展了一项用户研究。通过索邦大学行为实验室的INSEAD招募平台,我们招募了63名参与者(N = 63;年龄18-45岁;男性30名,女性33名)。该研究采用被试间设计,在三个实验...
访问受限。请登录或开始试用以查看此内容。
本文介绍了一种在受控且可重复的交互框架内,实施个性化动机性访谈干预并测试个体行为生成模块的实验方案。该方法基于 Greta 2.0 平台的模块化架构,能够控制智能体行为所涉及的各个组件,使研究人员可轻松开启或关闭特定模块。这种灵活性使 Greta 2.0 非常适用于在人机多模态交互中进行实验性操控以及对新功能进行有针对性的评估。本方案可用于两个目的:测试 Greta 平台中新模块的有效性(例如,生成自动手势的模块),或提供质量达到治疗阈值以上的个性化动机性访谈。如实验结果所示,采用这些适应性模型可增强用户对智能体的感知体验及其行为改变的动机水平。
该平台的一个关键应用是在人类专家会话间隙期间提供动机性访谈(MI)的对话支持,特别是在缺乏经过MI培训人员的环境中。该平台支持非专家监督,从而提高了MI干预的可及性。同时,它还为系统性测试新的行为模块(如全身姿态生成、注视行为和轮流发言策略)提供了研究环境。由于该平台采用预先验证的对话结构以及集成的表情生成模块(DREAM和MODIFF-8),无需从零开始设计和验证新的交互内容,避免了这一耗时过程对实验结果有效性的影响。
访问受限。请登录或开始试用以查看此内容。
作者无任何利益冲突需要披露。
本工作部分由 ANR-DFG-JST Panorama、ANR-JST-CREST TAPAS(19-JSTS-0001-01)、Enhancer(ANR-22-EXEN-0004)和 PEPR-Ensemble PC3(ANR-22-EXEN-0004)项目资助。本文所展示的评估工作由索邦大学卓越大学计划(Idex Sorbonne Université)资助,属于法国“未来投资计划”国家支持项目的一部分。本工作还获得了法国政府资助,该资助由法国国家科研署(Agence Nationale de la Recherche)管理,属于“法国2030”计划的一部分,项目编号为 ANR-22-EXEN-0004(PEPR eNSEMBLE / MATCHING)和 22-PESN-0009(PEPR AUTONOM-HEALTH)。
访问受限。请登录或开始试用以查看此内容。
| 姓名 | 公司 | 目录编号 | 评论 |
|---|---|---|---|
| 计算机 | Dell | 配备 Intel Core i7-14700 处理器和 Nvidia RTX5000 显卡的计算机 | |
| 带麦克风的耳机 | Epos | 带麦克风的耳机 | |
| 网络摄像头 | Logitech | 用于面部表情提取 | |
| 网络摄像头2 | Logitech | 用于视频录制 |
访问受限。请登录或开始试用以查看此内容。
申请许可以重复使用本 JoVE 文章的文本或图表
申请许可