Skip to main content
QUICK REVIEW

[Paper Review] Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa

Junqi Dai, Hang Yan|arXiv (Cornell University)|Apr 11, 2021
Sentiment Analysis and Opinion MiningComputer Science16 references12 citations
TL;DR

This paper demonstrates that RoBERTa fine-tuned on aspect-based sentiment analysis (ABSA) implicitly learns a sentiment-word-oriented syntactic structure, enabling a simple RoBERTa+MLP model to achieve state-of-the-art or near-state-of-the-art performance across six datasets in four languages—surpassing more complex models that rely on external dependency trees. The study shows that fine-tuned RoBERTa's induced tree structure outperforms both parser-provided trees and off-the-shelf PTM-induced trees, indicating that pre-trained models can internalize task-specific syntactic inferences without explicit syntactic feature engineering.

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. 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.

Motivation & Objective

  • To investigate whether pre-trained models like RoBERTa implicitly learn syntactic structures useful for aspect-based sentiment analysis.
  • To compare the performance of dependency trees from standard parsers versus trees induced from pre-trained models (PTMs) and fine-tuned PTMs (FT-PTMs).
  • To evaluate whether incorporating induced syntactic trees improves ABSA performance over pure RoBERTa-based models.
  • To analyze the structural properties of trees induced from fine-tuned RoBERTa and determine their alignment with sentiment words.

Proposed method

  • Induce dependency-like trees from pre-trained RoBERTa using the Perturbed Masking method on hidden representations.
  • Fine-tune RoBERTa on six ABSA datasets to generate task-adapted induced trees (FT-RoBERTa trees).
  • Compare performance of tree-based ABSA models using parser-provided trees, off-the-shelf PTM-induced trees, and FT-PTM-induced trees.
  • Evaluate models using RoBERTa with a simple MLP head, without external syntactic features, across six datasets in four languages.
  • Analyze tree structures via two metrics: proportion of neighboring connections and aspects-sentiment distance (AsD).
  • Conduct ablation studies to assess whether adding induced trees to RoBERTa improves performance compared to RoBERTa-only baseline.

Experimental results

Research questions

  • RQ1Does the tree induced from fine-tuned RoBERTa outperform the dependency tree produced by a standard parser in ABSA tasks?
  • RQ2Can the syntactic structure implicitly learned by RoBERTa during fine-tuning on ABSA be more beneficial than handcrafted or parsed syntactic features?
  • RQ3To what extent does fine-tuning RoBERTa alter the induced tree structure to become more sentiment-word-oriented?
  • RQ4Does incorporating induced trees from RoBERTa improve performance over a pure RoBERTa+MLP baseline on ABSA?
  • RQ5Why do previous RoBERTa-based ABSA models underperform, and can this be attributed to optimization or architectural choices?

Key findings

  • The RoBERTa model with a simple MLP head achieves state-of-the-art or near-state-of-the-art performance on all six ABSA datasets across four languages, outperforming more complex models that rely on external syntactic structures.
  • The tree induced from fine-tuned RoBERTa (FT-RoBERTa) outperforms both the parser-provided dependency tree and off-the-shelf PTM-induced trees in downstream ABSA tasks.
  • The FT-RoBERTa-induced tree exhibits significantly lower aspects-sentiment distance (AsD), indicating shorter and more direct connections between aspects and their sentiment words.
  • The proportion of neighboring connections in the FT-RoBERTa-induced tree decreases after fine-tuning, suggesting a shift toward modeling long-range dependencies relevant to sentiment classification.
  • Incorporating induced trees into RoBERTa-based models does not improve performance and sometimes leads to degradation, indicating a potential conflict between implicit and explicit syntactic structures.
  • The analysis confirms that fine-tuning RoBERTa on ABSA implicitly adapts its induced tree structure to be more sentiment-word-oriented, enhancing model performance without explicit syntactic feature engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.