Let's Rectify Step by Step: Improving Aspect-based Sentiment Analysis with Diffusion Models

Shunyu Liu, Jie Zhou, Qunxi Zhu, Qin Chen, Qingchun Bai +2 more
2/23/2024
cs.CLcs.LG

Official code: Qlb6x/DiffusionABSA (24 stars, last commit 2024-10-06).

Abstract

Aspect-Based Sentiment Analysis (ABSA) stands as a crucial task in predicting the sentiment polarity associated with identified aspects within text. However, a notable challenge in ABSA lies in precisely determining the aspects' boundaries (start and end indices), especially for long ones, due to users' colloquial expressions. We propose DiffusionABSA, a novel diffusion model tailored for ABSA, which extracts the aspects progressively step by step. Particularly, DiffusionABSA gradually adds noise to the aspect terms in the training process, subsequently learning a denoising process that progressively restores these terms in a reverse manner. To estimate the boundaries, we design a denoising neural network enhanced by a syntax-aware temporal attention mechanism to chronologically capture the interplay between aspects and surrounding text. Empirical evaluations conducted on eight benchmark datasets underscore the compelling advantages offered by DiffusionABSA when compared against robust baseline models. Our code is publicly available at https://github.com/Qlb6x/DiffusionABSA.

View on arXivView PDF

Code Implementations(1)

LREC-COLING 2024: DiffusionABSA: Let’s Rectify Step by Step: Improving Aspect-based Sentiment Analysis with Diffusion Models

242PythonFeb 20, 20242 years ago

Similar Papers

Cite this paper

@article{liu2024lets,
  title  = {Let's Rectify Step by Step: Improving Aspect-based Sentiment Analysis with Diffusion Models},
  author = {Shunyu Liu and Jie Zhou and Qunxi Zhu and Qin Chen and Qingchun Bai and Jun Xiao and Liang He},
  year   = {2024},
  eprint = {2402.15289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15289v1}
}

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

Discussion