Target-Sensitive Memory Networks for Aspect Sentiment Classification

Shuai Wang, Sahisnu Mazumder, Bing Liu, Mianwei Zhou, Yi ChangACL 2018

Introduction

Aspect Sentiment Classification (ASC) is a fine-grained sentiment analysis task that aims to identify the sentiment polarity of a specific target within a sentence. While Memory Networks (MNs) and attention mechanisms have shown promise by identifying relevant context words, they often fail to capture target-sensitive sentiment. This occurs when a word's polarity is conditioned on the target it describes—for instance, "high" is positive for "resolution" but negative for "price."

The authors identify a "linearity trap" in standard MNs: because they typically sum target and context representations, they are mathematically incapable of distinguishing between opposite polarities for the same word across different targets. This paper introduces Target-Sensitive Memory Networks (TMNs) to overcome this fundamental limitation.

Methodology: Target-Sensitive Memory Networks (TMNs)

To address the limitations of linear models, the authors propose six TMN architectures that move away from simple additive combinations toward non-linear projections and explicit interaction terms:

  • Non-linear Projection (NP & CNP): These models use tanh activation functions to couple target and context vectors, either after aggregation (NP) or individually for each context word (CNP).
  • Interaction Term (IT): This variant introduces a dot-product term to explicitly model the sentiment-oriented interaction between the target and context.
  • Coupled Interaction (CI & JCI): These versions incorporate additional embeddings to capture global correlations between context words and sentiment classes.
  • Joint Projected Interaction (JPI): This model projects context vectors into separate spaces for target-independent sentiment and target-dependent interaction, maintaining model interpretability.

Experimental Setup

The proposed models were evaluated on the SemEval 2014 Task 4 datasets, covering the Laptop and Restaurant domains. These datasets are challenging due to class imbalance and complex sentences containing multiple aspects with potentially conflicting sentiments.

Key Results

The experimental results demonstrate that TMN variants consistently outperform standard Memory Networks and state-of-the-art attention-based LSTMs like ATAE-LSTM.

Performance comparison of various TMN variants against standard Memory Networks and LSTM baselines.

As shown in the table above, the JCI and JPI variants show significant improvements in F1-Macro scores. For example, on the Restaurant dataset, JCI (with multiple hops) achieved a 68.84% F1-Macro, a substantial gain over the 64.34% achieved by the baseline (BL-MN). Notably, TMNs provide more stable performance across multiple computational "hops" and show the most significant gains in identifying the more challenging "Negative" and "Neutral" sentiment classes.

Furthermore, integrating the JCI technique into a recurrent memory network framework (TRMN) yielded even higher performance, setting a new benchmark for the task.

Comparison of the integrated TRMN model against the RMN baseline.

As seen in the final results, TRMN reached an F1-Macro of 69.00% on Restaurants and 68.18% on Laptops, significantly outperforming the standard recurrent memory network (RMN).

Conclusion

The success of TMNs highlights that for ASC, identifying where sentiment resides via attention is insufficient; models must also understand how that sentiment interacts with the specific target. By moving beyond linear representations, TMNs effectively resolve the contradictions inherent in target-sensitive sentiment. Future work will focus on improving the handling of complex negations and multi-word phrases to further enhance sentiment compositionality.

Summary updated

BibTeX
@inproceedings{wang2018target,
  author = {Shuai Wang and Sahisnu Mazumder and Bing Liu and Mianwei Zhou and Yi Chang},
  title = {{Target-Sensitive Memory Networks for Aspect Sentiment Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-1088},
}
Figure