A Speaker Turn-Aware Multi-Task Adversarial Network for Joint User Satisfaction Estimation and Sentiment Analysis

Kaisong Song, Yangyang Kang, Jiawei Liu, Xurui Li, Changlong Sun, Xiaozhong Liu

Introduction

In the domain of automated customer service, understanding user satisfaction is a critical metric for evaluating service quality. This task, known as User Satisfaction Estimation (USE), is closely related to but distinct from Sentiment Analysis (SA). While SA focuses on the emotional tone of individual messages, USE reflects the user's overall fulfillment regarding their goals. A user might maintain a neutral sentiment while remaining unsatisfied due to an unresolved issue.

Existing AI models often struggle with joint learning for these tasks due to feature interference, where sentiment-specific noise degrades satisfaction predictions. Furthermore, many models treat dialogues as flat text sequences, ignoring the crucial dynamics of who is speaking and when the speaker changes.

An example of a service dialogue illustrating how sentiment states and speaker changes contribute to an overall "Unsatisfied" label.

The STMAN Architecture

To address these challenges, researchers developed the Speaker Turn-Aware Multi-Task Adversarial Network (STMAN). The architecture is designed to disentangle task-specific features while explicitly modeling dialogue dynamics.

Core Components

  • Shared Utterance Encoder: Utilizes BiLSTM or BERT to transform dialogue utterances into dense mathematical vectors.
  • Multi-Task Interactive Layer: Employs a "soft-parameter sharing" approach with Gated Recurrent Units (GRUs). This allows the model to separate features into a shared space for common patterns and private spaces for task-specific nuances.
  • Speaker Turn-Aware (ST) Strategy: The model explicitly tracks speaker changes (e.g., user vs. staff) and incorporates "turn embeddings." This helps the model understand that a negative sentiment from a staff member (e.g., refusing a refund) has a different impact on satisfaction than a negative sentiment from a user.
  • Multi-Task Adversarial (MT) Layer: A Task Discriminator is trained to guess which task a feature belongs to, while the rest of the network is trained to "fool" it. This adversarial game forces the network to produce highly distinct, task-specific features, preventing "feature creep."
The detailed architecture of the STMAN model, showing the flow from the utterance encoder through the interactive and adversarial layers.

Experimental Results

STMAN was evaluated on two real-world service dialogue datasets from the Chinese e-commerce platform Taobao: Clothes (10,000 dialogues) and Makeup (3,540 dialogues). The model achieved state-of-the-art (SOTA) performance across both:

  • Satisfaction Estimation: Reached a 71.11% Macro F1 on the Clothes dataset and 80.11% on the Makeup dataset, consistently outperforming previous baselines.
  • Sentiment Accuracy: Improved sentiment analysis accuracy to 93.05% on the Clothes dataset.

Ablation studies confirmed that both the adversarial separation and the speaker-turn information are necessary for the model's success; removing either component led to a measurable drop in performance.

Key Insights and Future Work

The research highlights that user satisfaction is most heavily influenced by the user’s own utterances and the sentiment expressed at the end of a dialogue. While sentiment and satisfaction are distinct, they are highly correlated—persistent negative sentiment almost always results in low satisfaction.

Future work will focus on incorporating temporal factors, such as the time delay between messages, and improving performance in "low-resource" environments where labeled data is scarce. Additionally, the researchers aim to better handle complex linguistic nuances like sarcasm and indirect accusations.

Summary updated

BibTeX
@inproceedings{song2023speaker,
  author = {Kaisong Song and Yangyang Kang and Jiawei Liu and Xurui Li and Changlong Sun and Xiaozhong Liu},
  title = {{A Speaker Turn-Aware Multi-Task Adversarial Network for Joint User Satisfaction Estimation and Sentiment Analysis}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26592},
}
Figure