Skip to main content
QUICK REVIEW

[论文解读] "Stupid robot, I want to speak to a human!" User Frustration Detection in Task-Oriented Dialog Systems

Mireia Hernandez Caralt, Ivan Sekulić|arXiv (Cornell University)|Nov 26, 2024
AI in Service InteractionsComputer Science被引用 3
一句话总结

本文评估了在真实世界任务导向对话系统中检测用户挫败感的即插即用方法,比较了基于关键词、开源情绪/情感模型、对话中断检测以及大型语言模型(LLMs)的上下文学习(ICL)方法。基于LLM的ICL方法相比基线模型在F1分数上实现了16%的相对提升,证明其在捕捉超越显性负面语言的细微挫败感方面表现更优。

ABSTRACT

Detecting user frustration in modern-day task-oriented dialog (TOD) systems is imperative for maintaining overall user satisfaction, engagement, and retention. However, most recent research is focused on sentiment and emotion detection in academic settings, thus failing to fully encapsulate implications of real-world user data. To mitigate this gap, in this work, we focus on user frustration in a deployed TOD system, assessing the feasibility of out-of-the-box solutions for user frustration detection. Specifically, we compare the performance of our deployed keyword-based approach, open-source approaches to sentiment analysis, dialog breakdown detection methods, and emerging in-context learning LLM-based detection. Our analysis highlights the limitations of open-source methods for real-world frustration detection, while demonstrating the superior performance of the LLM-based approach, achieving a 16\% relative improvement in F1 score on an internal benchmark. Finally, we analyze advantages and limitations of our methods and provide an insight into user frustration detection task for industry practitioners.

研究动机与目标

  • 评估即插即用方法在生产环境任务导向对话(TOD)系统中检测用户挫败感的可行性。
  • 识别学术基准与真实世界用户挫败感模式之间的差距,尤其是在紧迫感和情感细微差别方面。
  • 比较基于关键词、开源情绪/情感模型、对话中断检测以及新兴的基于大型语言模型的上下文学习(ICL)方法的性能。
  • 为工业界提供关于挫败感检测的实用见解,强调实际限制与可扩展性问题。

提出的方法

  • 提出一种新颖的基于大型语言模型(LLMs)的上下文学习(ICL)方法,通过上下文和特定任务指令提示模型,将用户话语分类为挫败状态。
  • 采用基于规则的关键词方法,基于情感分析,依赖于粗俗语和负面语言检测。
  • 在内部真实世界TOD数据上评估开源情感与情绪检测模型(如Hartmann等人,2023;Huang,2024)在用户挫败感检测中的表现。
  • 将对话中断检测(DBD)特征(如重复、否定)作为挫败感的指标进行适配。
  • 在从实际用户交互中提取的内部真实世界挫败感检测基准上,训练并对比所有方法。
  • 在ICL设置中使用GPT-4o和Llama-3.1,以评估不同LLM架构下的泛化能力。
Figure 1: Example of user frustration in a deployed TOD system. The user can only come after 6PM due to work, but the system misses this and suggests the next available slot. Traditional sentiment models often fail to detect such nuances, as there is no explicit mention of negative sentiment.
Figure 1: Example of user frustration in a deployed TOD system. The user can only come after 6PM due to work, but the system misses this and suggests the next available slot. Traditional sentiment models often fail to detect such nuances, as there is no explicit mention of negative sentiment.

实验结果

研究问题

  • RQ1开源情感与情绪检测模型在实际部署的TOD系统中,对真实用户挫败感检测的表现如何?
  • RQ2基于规则的关键词方法在多大程度上能捕捉真实用户的挫败感,尤其是在挫败感以隐含方式表达时?
  • RQ3对话中断检测特征(如重复、否定)能否作为真实对话中用户挫败感的可靠代理指标?
  • RQ4基于大型语言模型的上下文学习在检测任务导向对话中微妙且依赖上下文的挫败感方面有多高效?
  • RQ5当应用于具有紧迫感和不可预测性的高风险真实对话时,现有方法的关键局限性是什么?

主要发现

  • 基于LLM的上下文学习(ICL)方法在内部基准上相比次优基线模型,F1分数实现了16%的相对提升。
  • 开源情感与情绪模型在真实世界数据上的表现较差,可能由于数据分布不匹配以及对非情感文本过度敏感。
  • 基于规则的关键词方法召回率极低,当挫败感未通过显性负面或粗俗语言表达时,无法有效检测。
  • 对话中断检测特征(如重复、否定)与挫败感表现出强相关性,且优于通用情感模型。
  • 基于LLM的方法在不同模型间具有良好的泛化能力,GPT-4o与Llama-3.1在ICL设置中表现相近。
  • 短对话(少于3轮)对LLM构成挑战,因上下文不足导致误报率升高,性能下降。
Figure 2: a) Negative sentiment prediction influenced by the apologetic behavior of the system b) Frustration caused by the system’s failure to transfer the user to live agent. Yellow exclamation sign indicates that the example has been correctly classified by the FC-based sentiment approach only. c
Figure 2: a) Negative sentiment prediction influenced by the apologetic behavior of the system b) Frustration caused by the system’s failure to transfer the user to live agent. Yellow exclamation sign indicates that the example has been correctly classified by the FC-based sentiment approach only. c

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。