Turn-Level User Satisfaction Estimation in E-commerce Customer Service

Runze Liang, Ryuichi Takanobu, Feng-Lin Li, Ji Zhang, Haiqing Chen, Minlie Huang2021 · DOI

Abstract

User satisfaction estimation in dialogue-based customer service is critical for identifying system defects and enabling timely human intervention. This paper investigates turn-level satisfaction estimation in E-commerce settings. Since only session-level labels are typically available, we formalize the problem as a reinforcement learning task. Our model, optimized using session-level feedback, outperforms supervised baselines on real-world datasets, particularly in early-stage detection.

Introduction

In e-commerce, automated customer service bots often struggle with complex user intents, leading to frustration. To maintain service quality, companies must identify dissatisfied users in real-time to escalate them to human agents. However, a significant technical challenge exists: the "credit assignment" problem. While users typically provide feedback only at the end of a session (session-level labels), effective intervention requires turn-level estimation—knowing the satisfaction state at any given point in the conversation. Manually labeling every turn is unscalable. This research bridges this gap by training a turn-level estimator using only session-level feedback.

Methods

The proposed approach treats turn-level satisfaction estimation as a reinforcement learning (RL) problem. The architecture consists of three main components:

  1. Dialogue Encoder: User and system utterances at each turn are encoded. These embeddings, combined with metadata like turn index and input channel, are processed by a Gated Recurrent Unit (GRU) to maintain conversation context.
  2. Satisfaction Score Estimator: Rather than predicting an absolute score, the model predicts a satisfaction increment ($\Delta sc_t$) for each turn. The total satisfaction at turn $T$ is the cumulative sum of these increments.
  3. Reinforcement Learning (REINFORCE): The estimator acts as an agent. During training, it compares pairs of dialogues (one satisfying, one dissatisfying). If the model assigns a higher cumulative score to the satisfying dialogue, it receives a positive reward. This allows the model to learn the relative importance of specific dialogue turns without explicit turn-level labels.
Architecture of the RL-based satisfaction estimator.

Experimental Setup

The study utilizes a dataset of 1,294 dialogues from a commercial e-commerce system (840 satisfying, 454 dissatisfying). Beyond textual content, the model incorporates features such as:

  • Frequence: How often a specific question appears system-wide.
  • User Intent: Detected categories like "claiming a refund" or "making a complaint."
  • Input Channel: The method of user input (e.g., keyboard vs. shortcut).

Results and Discussion

The model was evaluated using Area Under the Curve (AUC) to measure its ability to distinguish between satisfying and dissatisfying dialogues at various stages.

AUC performance comparison across different remaining turns.

The RL-based model (Ours-rl) achieved a superior AUC of 0.859, outperforming baselines like DeepFM and ConvSAT. A critical finding is the model's robustness in early detection. As shown in the performance curves, the gap between the RL model and supervised baselines widens as the number of "remaining turns" increases. This indicates that the RL approach is significantly more effective at providing "early warnings" during the initial stages of a conversation, which is vital for proactive human intervention.

Key Insights

  • Cumulative Satisfaction: Modeling satisfaction as an increment ($\Delta$) captures the dynamic nature of human emotion, where frustration builds or dissipates based on system responses.
  • RL Advantage: Supervised models trained on complete dialogues often fail when applied to ongoing chats due to distribution shifts. The RL approach learns the underlying policy of how turns contribute to the final outcome.
  • Feature Importance: Ablation studies highlighted that "User Intent" and "Frequency" are the most critical features. Repeated questions or specific intents like "manual service" are strong indicators of potential dissatisfaction.

Conclusion

This work demonstrates that reinforcement learning can effectively bridge the gap between session-level feedback and turn-level estimation. While the current model serves as a passive observer, future research will explore closed-loop optimization, using the satisfaction estimator as a reward signal to directly train dialogue systems to avoid dissatisfying behaviors.

Summary updated

Abstract

User satisfaction estimation in the dialoguebased customer service is critical not only for helping developers find the system defects, but also making it possible to get timely human intervention for dissatisfied customers. In this paper, we investigate the problem of user satisfaction estimation in E-commerce customer service. In order to apply the estimator to online services for timely human intervention, we need to estimate the satisfaction score at each turn. However, in actual scenario we can only collect the satisfaction labels for the whole dialogue sessions via user feedback. To this end, we formalize the turn-level satisfaction estimation as a reinforcement learning problem, in which the model can be optimized with only session-level satisfaction labels. We conduct experiments on the dataset collected from a commercial customer service system, and compare our model with the supervised learning models. Extensive experiments show that the proposed method outperforms all the baseline models.
BibTeX
@misc{liang2021turn,
  author = {Runze Liang and Ryuichi Takanobu and Feng-Lin Li and Ji Zhang and Haiqing Chen and Minlie Huang},
  title = {{Turn-Level User Satisfaction Estimation in E-commerce Customer Service}},
  year = {2021},
  doi = {10.18653/v1/2021.ecnlp-1.4},
}
Figure