Exploiting Position Bias for Robust Aspect Sentiment Classification

Fang Ma, Chen Zhang, Dawei Song
5/29/2021
cs.CLcs.LG

Official code: BD-MF/POS4ASC (27 stars, Python, last commit 2021-08-05).

Abstract

Aspect sentiment classification (ASC) aims at determining sentiments expressed towards different aspects in a sentence. While state-of-the-art ASC models have achieved remarkable performance, they are recently shown to suffer from the issue of robustness.

Show full abstract

Particularly in two common scenarios: when domains of test and training data are different (out-of-domain scenario) or test data is adversarially perturbed (adversarial scenario), ASC models may attend to irrelevant words and neglect opinion expressions that truly describe diverse aspects. To tackle the challenge, in this paper, we hypothesize that position bias (i.e., the words closer to a concerning aspect would carry a higher degree of importance) is crucial for building more robust ASC models by reducing the probability of mis-attending. Accordingly, we propose two mechanisms for capturing position bias, namely position-biased weight and position-biased dropout, which can be flexibly injected into existing models to enhance representations for classification. Experiments conducted on out-of-domain and adversarial datasets demonstrate that our proposed approaches largely improve the robustness and effectiveness of current models.

View on arXivView PDF

Code Implementations(1)

BD-MF/POS4ASCOfficial100%

The code and preprocessed data for ACL 2021 paper titled "Exploiting Position Bias for Robust Aspect Sentiment Classification"

273Python, ShellMay 23, 20215 years ago

Similar Papers

Cite this paper

@article{ma2021exploiting,
  title  = {Exploiting Position Bias for Robust Aspect Sentiment Classification},
  author = {Fang Ma and Chen Zhang and Dawei Song},
  year   = {2021},
  eprint = {2105.14210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14210}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.14210.svg)](https://codeofpaper.com/paper/2105.14210)

Discussion