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:
- 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.
- 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.
- 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.
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.
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