Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

This paper evaluates out-of-the-box methods for detecting user frustration in real-world task-oriented dialog systems, comparing keyword-based, open-source sentiment/emotion models, dialog breakdown detection, and in-context learning (ICL) with large language models (LLMs). The LLM-based ICL approach achieves a 16% relative F1 score improvement over baselines, demonstrating superior performance in capturing nuanced frustration beyond explicit negative language.

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.

Motivation & Objective

  • To assess the feasibility of out-of-the-box methods for detecting user frustration in a production task-oriented dialog (TOD) system.
  • To identify the gap between academic benchmarks and real-world user frustration patterns, especially in urgency and emotional nuance.
  • To compare the performance of keyword-based, open-source sentiment/emotion models, dialog breakdown detection, and emerging LLM-based in-context learning (ICL) approaches.
  • To provide industry-relevant insights into frustration detection, emphasizing practical limitations and scalability.

Proposed method

  • Proposes a novel in-context learning (ICL) approach using large language models (LLMs), where the model is prompted to classify user utterances as frustrated based on context and task-specific instructions.
  • Employs a rule-based keyword method grounded in sentiment analysis, relying on profanity and negative language detection.
  • Evaluates open-source sentiment and emotion detection models (e.g., Hartmann et al., 2023; Huang, 2024) on internal real-world TOD data.
  • Adapts dialog breakdown detection (DBD) features—such as repetition and negation—as indicators of frustration.
  • Trains and benchmarks all methods on an internal, real-world frustration detection benchmark derived from live user interactions.
  • Uses GPT-4o and Llama-3.1 in the ICL setup to assess model generalization across LLM architectures.
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.

Experimental results

Research questions

  • RQ1How do open-source sentiment and emotion detection models perform on real-world user frustration detection in deployed TOD systems?
  • RQ2To what extent do rule-based keyword methods capture real user frustration, especially when frustration is expressed implicitly?
  • RQ3Can dialog breakdown detection features (e.g., repetition, negation) serve as reliable proxies for user frustration in real conversations?
  • RQ4How effective is in-context learning with LLMs for detecting subtle, context-dependent frustration in task-oriented dialogues?
  • RQ5What are the key limitations of existing approaches when applied to real-world, high-stakes dialogues with urgency and unpredictability?

Key findings

  • The LLM-based in-context learning (ICL) approach achieves a 16% relative improvement in F1 score over the next best baseline on the internal benchmark.
  • Open-source sentiment and emotion models perform poorly on real-world data, likely due to mismatched data distribution and over-sensitivity to non-emotional text.
  • The rule-based keyword method suffers from extremely low recall, failing to detect frustration when it is not expressed through explicit negative or profane language.
  • Dialog breakdown detection features (e.g., repetition, negation) show strong correlation with frustration and outperform general sentiment models.
  • LLM-based methods generalize well across different models, as GPT-4o and Llama-3.1 achieve similar performance on the ICL setup.
  • Short conversations (<3 turns) pose a challenge for LLMs due to insufficient context, leading to higher false positives and reduced performance.
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

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.