Aspect Sentiment Classification Towards Question-Answering with Reinforced Bidirectional Attention Network

Jingjing Wang, Changlong Sun, Shoushan Li, Xiaozhong Liu, Luo Si, Min Zhang, Guodong Zhou

Introduction

Traditional Aspect Sentiment Classification (ASC) typically focuses on static, single-block reviews. However, modern e-commerce platforms like Amazon and Taobao increasingly utilize interactive Customer Question-Answering (QA) systems. This shift introduces a new task: Aspect Sentiment Classification towards Question-Answering (ASC-QA).

Unlike standard ASC, ASC-QA must navigate two major hurdles:

  1. Semantic Dependency: The sentiment of an answer (e.g., "Yes, very durable") is only interpretable within the context of its question.
  2. Cross-Aspect Noise: In multi-aspect dialogues, words highly relevant to one aspect (like "slow") act as confusing noise when evaluating another (like "battery life").

Methodology: Reinforced Bidirectional Attention Network (RBAN)

To address these challenges, the authors propose the Reinforced Bidirectional Attention Network (RBAN). The architecture consists of two primary components designed to bridge the semantic gap and eliminate noise.

The RBAN architecture, integrating the RAWS module for word selection and bidirectional attention for QA context.

Reinforced Aspect-relevant Word Selector (RAWS)

Standard "soft" attention mechanisms often fail to completely ignore irrelevant words. RAWS functions as a "hard" attention filter using a Policy Network trained via reinforcement learning. It makes binary decisions to keep or discard words based on their relevance to a specific aspect. Since this discrete selection is non-differentiable, a reward function based on cosine similarity and classification accuracy guides the policy gradient optimization.

Reinforced Bidirectional Attention

Following noise filtration, the model employs a bidirectional attention mechanism to capture the interplay between the question and the answer. By calculating Question-to-Answer (Q2A) and Answer-to-Question (A2Q) attention, the model ensures that specific answer segments are correctly mapped to the corresponding queries in the question.

Dataset and Experimental Setup

As no benchmark existed for ASC-QA, the authors developed a new annotated corpus from Taobao, comprising 150,000 QA pairs across three domains: Bags, Cosmetics, and Electronics. From this, 12,000 pairs were manually annotated for Aspect Terms, Aspect Categories, and Sentiment Polarity (Positive, Negative, Neutral).

Results and Discussion

RBAN was evaluated against state-of-the-art baselines like RAM, GCAE, and BIDAF. The model consistently outperformed all competitors, achieving an average improvement of 7.97% in F1 score for term-level classification and 9.1% for category-level classification over a standard LSTM.

Comparison of attention heatmaps with and without the RAWS module, demonstrating effective noise reduction.

Ablation studies highlighted the critical role of the RAWS module. As shown in the attention heatmaps, the inclusion of RAWS significantly reduces noise, preventing "sentiment leakage" where words related to one aspect (e.g., "slow" for speed) erroneously influence the sentiment score of another (e.g., "battery life"). Furthermore, the results indicated that Answer-to-Question (A2Q) attention is generally more vital, as the sentiment is typically contained within the answer while the question defines the aspect.

Conclusion and Future Work

The RBAN model successfully addresses the unique challenges of interactive QA sentiment analysis through reinforced "hard" selection and bidirectional attention. While the model shows significant promise, the authors identified several remaining challenges, including handling complex negations, extremely brief answers (e.g., "No."), and data imbalance in neutral sentiment categories. Future work will focus on incorporating better negation detection and exploring the model's effectiveness in other languages.

Summary updated

BibTeX
@inproceedings{wang2019aspect,
  author = {Jingjing Wang and Changlong Sun and Shoushan Li and Xiaozhong Liu and Luo Si and Min Zhang and Guodong Zhou},
  title = {{Aspect Sentiment Classification Towards Question-Answering with Reinforced Bidirectional Attention Network}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1345},
}
Figure