Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa

Junqi Dai, Hang Yan, Tianxiang Sun, Pengfei Liu, Xipeng Qiu
4/11/2021
cs.CL

Official code: ROGERDJQ/RoBERTaABSA (131 stars, Python, last commit 2023-03-08).

Abstract

Aspect-based Sentiment Analysis (ABSA), aiming at predicting the polarities for aspects, is a fine-grained task in the field of sentiment analysis. Previous work showed syntactic information, e.g. dependency trees, can effectively improve the ABSA performance.

Show full abstract

Recently, pre-trained models (PTMs) also have shown their effectiveness on ABSA. Therefore, the question naturally arises whether PTMs contain sufficient syntactic information for ABSA so that we can obtain a good ABSA model only based on PTMs. In this paper, we firstly compare the induced trees from PTMs and the dependency parsing trees on several popular models for the ABSA task, showing that the induced tree from fine-tuned RoBERTa (FT-RoBERTa) outperforms the parser-provided tree. The further analysis experiments reveal that the FT-RoBERTa Induced Tree is more sentiment-word-oriented and could benefit the ABSA task. The experiments also show that the pure RoBERTa-based model can outperform or approximate to the previous SOTA performances on six datasets across four languages since it implicitly incorporates the task-oriented syntactic information.

View on arXivView PDF

Code Implementations(1)

Implementation of paper Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa.

13122PythonApr 1, 20213 years ago
absaroberta

Similar Papers

Cite this paper

@article{dai2021does,
  title  = {Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa},
  author = {Junqi Dai and Hang Yan and Tianxiang Sun and Pengfei Liu and Xipeng Qiu},
  year   = {2021},
  eprint = {2104.04986},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04986}
}

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/2104.04986.svg)](https://codeofpaper.com/paper/2104.04986)

Discussion