Abstract
Researchers have developed the Role-Selected Sharing Network (RSSN), a multi-task learning framework that simultaneously predicts when a chatbot should hand off to a human and estimates overall customer satisfaction. By intelligently filtering information based on whether the speaker is the customer or the agent, the model achieves state-of-the-art results, proving that these two tasks are more effective when solved together.
Introduction
Despite the rapid advancement of conversational AI, chatbots often struggle with the messy complexity of human conversation. When a bot fails, it doesn't just provide a bad answer; it erodes trust and diminishes customer satisfaction. To mitigate this, industry and academia focus on two distinct tasks: Machine-Human Chatting Handoff (MHCH), which predicts at the utterance level when a bot needs to transfer a call to a human, and Service Satisfaction Analysis (SSA), which estimates dialogue-level customer happiness.
Historically, these tasks have been treated as separate silos. However, they are intrinsically linked: a sequence of "dissatisfied" utterances is a strong signal that a handoff is needed, and a late-stage handoff is often a sign of a failed automated experience. The challenge lies in sharing information between these tasks without introducing "noise"—for instance, an agent’s polite apology shouldn't be treated with the same weight as a customer’s angry complaint when calculating satisfaction.
Proposed Method: Role-Selected Sharing Network (RSSN)
The authors propose the Role-Selected Sharing Network (RSSN), built on the philosophy that "who says what" matters as much as "what is said."
The architecture consists of three primary components:
- Shared Utterance and Matching Encoder: The model utilizes a BiLSTM to represent individual utterances and a masked matching mechanism to capture conversational flow without looking at future utterances.
- Role-Selected Interaction Layer: This core innovation uses two directional interactions:
- SSA to MHCH: Local satisfaction cues from the customer inform the handoff predictor. Agent utterances are masked here to avoid introducing noise from neutral agent responses.
- MHCH to SSA: Handoff signals help predict final satisfaction. The model applies positional weights, prioritizing handoff signals that occur later in the conversation, as these more strongly indicate user frustration.
- Task-Specific Decoders: An LSTM predicts the sequence of handoff labels, while a Transformer-based attention mechanism aggregates customer utterances into a final global satisfaction score.
Datasets and Evaluation
The model was evaluated on two public Chinese customer service datasets from Taobao:
- Clothes: A large dataset (10,000 dialogues) with an imbalanced satisfaction distribution.
- Makeup: A smaller dataset (3,540 dialogues) with a more balanced distribution.
The researchers manually annotated these datasets for "transferable" (handoff-ready) vs. "normal" utterances to create a gold standard for the MHCH task.
Results and Key Insights
RSSN outperformed 14 strong baselines, including state-of-the-art models like BERT+LSTM and DialogueRNN. On the Clothes dataset, RSSN achieved an F1-score of 69.2% for handoff prediction and a Macro F1 of 71.7% for satisfaction analysis.
Key insights from the study include:
- The "Role" Filter: Directly sharing all information between tasks is counterproductive. Explicitly selecting information based on the speaker's role avoids the "noise" of polite agent scripts and focuses on the customer's emotional state.
- Temporal Sensitivity: The timing of a handoff is critical. A handoff after many turns of circular logic is a failure. Positional weights allow the model to capture this temporal nuance.
- Mutual Reinforcement: The multi-task approach creates a virtuous cycle. The handoff task helps identify "breaking points," while the satisfaction task provides context for user frustration.
Conclusion
The RSSN framework demonstrates that joint modeling of handoff and satisfaction tasks significantly improves performance in both. Future work may incorporate personalized user profiles to calibrate handoff priorities and test the model's applicability across different languages and cultural contexts.
Summary updated