A Role-Selected Sharing Network for Joint Machine-Human Chatting Handoff and Service Satisfaction Analysis

Jiawei Liu, Kaisong Song, Yangyang Kang, Guoxiu He, Zhuoren Jiang, Changlong Sun, Wei Lu, Xiaozhong Liu

Abstract

Chatbot is increasingly thriving in different domains, however, because of unexpected discourse complexity and training data sparseness, its potential distrust hatches vital apprehension. Recently, Machine-Human Chatting Handoff (MHCH), predicting chatbot failure and enabling human-algorithm collaboration to enhance chatbot quality, has attracted increasing attention from industry and academia. In this study, we propose a novel model, Role-Selected Sharing Network (RSSN), which integrates both dialogue satisfaction estimation and handoff prediction in one multi-task learning framework. Unlike prior efforts in dialog mining, by utilizing local user satisfaction as a bridge, global satisfaction detector and handoff predictor can effectively exchange critical information. Specifically, we decouple the relation and interaction between the two tasks by the role information after the shared encoder. Extensive experiments on two public datasets demonstrate the effectiveness of our model.

Introduction

Despite the rise of AI chatbots in customer service, they often struggle with complex human discourse, leading to user frustration. Researchers have traditionally looked at two ways to mitigate this: Machine-Human Chatting Handoff (MHCH), predicting at the utterance level when a bot is failing so a human can step in, and Service Satisfaction Analysis (SSA), estimating the final satisfaction level of a dialogue.

The relationship between local satisfaction, handoff prediction, and global satisfaction in a dialogue.

The authors argue that these tasks are two sides of the same coin. A bot’s failure (handoff signal) is a direct cause of dissatisfaction, and local dissatisfaction is a primary trigger for a handoff. However, previous models treated these tasks in isolation or failed to account for the different roles in a conversation. For instance, an agent’s polite "I'm sorry" shouldn't be weighted the same as a customer's angry "This is useless" when calculating satisfaction.

Methodology

The Role-Selected Sharing Network (RSSN) model uses a multi-task architecture with a novel Role-Selected Interaction Layer to facilitate two-way communication between tasks.

The architecture of the Role-Selected Sharing Network (RSSN).

The pipeline consists of three primary components:

  1. Shared Utterance and Matching Encoder: Uses a Bidirectional LSTM (BiLSTM) to create representations. It includes a masked matching mechanism that allows the model to look at previous context without "cheating" by looking at future utterances.
  2. Role-Selected Interaction Layer: This core innovation selectively shares information. For SSA to MHCH, it filters out agent utterances (which are usually polite and noisy for handoff prediction) to focus on customer satisfaction signals. For MHCH to SSA, it uses "positional weights" to inform satisfaction, recognizing that a handoff occurring late in a conversation is a stronger indicator of low final satisfaction.
  3. Task-Specific Decoders: For MHCH, an LSTM processes the sequence to predict handoff labels. For SSA, a Transformer block captures long-range dependencies, followed by an attention mechanism to identify critical customer utterances.

Evaluation and Key Results

The researchers evaluated RSSN on two public Chinese customer service dialogue datasets from Taobao: Clothes (10,000 dialogues) and Makeup (3,540 dialogues). RSSN outperformed 14 strong baselines, including task-specific SOTA models like DAMI (for handoff) and CAMIL (for satisfaction).

  • Handoff Prediction: On the Clothes dataset, RSSN achieved an F1 score of 69.2%, significantly higher than the best baseline (DAMI at 66.7%).
  • Satisfaction Analysis: The model improved Accuracy and Macro F1 across both datasets. Notably, it was much better at identifying "Unsatisfied" (US) customers, which is the most critical category for businesses to catch.
  • Ablation Success: Removing the "Role-Select" or "Interaction" components led to a measurable drop in performance, proving that selective information sharing is critical.

Conclusion and Future Work

RSSN demonstrates that role information acts as a vital filter, allowing models to focus on customer pain points rather than agent politeness. By acknowledging the temporal importance of events—the "peak-end rule"—the model effectively links local signals to global satisfaction. Future work may include incorporating personalized user profiles to account for individual customer temperaments and prioritizing handoff requests based on business constraints like agent availability.

Summary updated

BibTeX
@inproceedings{liu2021role,
  author = {Jiawei Liu and Kaisong Song and Yangyang Kang and Guoxiu He and Zhuoren Jiang and Changlong Sun and Wei Lu and Xiaozhong Liu},
  title = {{A Role-Selected Sharing Network for Joint Machine-Human Chatting Handoff and Service Satisfaction Analysis}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.767},
}
Figure