Effective Token Graph Modeling using a Novel Labeling Strategy for Structured Sentiment Analysis

Wenxuan Shi, Fei Li, Jingye Li, Hao Fei, Donghong Ji
3/21/2022
cs.CL

Official code: Xgswlg/TGLS (21 stars, Python, last commit 2022-06-13).

Abstract

The state-of-the-art model for structured sentiment analysis casts the task as a dependency parsing problem, which has some limitations: (1) The label proportions for span prediction and span relation prediction are imbalanced. (2) The span lengths of sentiment tuple components may be very large in this task, which will further exacerbate the imbalance problem. (3) Two nodes in a dependency graph cannot have multiple arcs, therefore some overlapped sentiment tuples cannot be recognized. In this work, we propose nichetargeting solutions for these issues.

Show full abstract

First, we introduce a novel labeling strategy, which contains two sets of token pair labels, namely essential label set and whole label set. The essential label set consists of the basic labels for this task, which are relatively balanced and applied in the prediction layer. The whole label set includes rich labels to help our model capture various token relations, which are applied in the hidden layer to softly influence our model. Moreover, we also propose an effective model to well collaborate with our labeling strategy, which is equipped with the graph attention networks to iteratively refine token representations, and the adaptive multi-label classifier to dynamically predict multiple relations between token pairs. We perform extensive experiments on 5 benchmark datasets in four languages. Experimental results show that our model outperforms previous SOTA models by a large margin.

View on arXivView PDF

Code Implementations(1)

Xgswlg/TGLSOfficial100%

Code for the paper in ACL2022: Effective Token Graph Modeling using a Novel Labeling Strategy for Structured Sentiment Analysis

212PythonMar 5, 20224 years ago

Similar Papers

Cite this paper

@article{shi2022effective,
  title  = {Effective Token Graph Modeling using a Novel Labeling Strategy for Structured Sentiment Analysis},
  author = {Wenxuan Shi and Fei Li and Jingye Li and Hao Fei and Donghong Ji},
  year   = {2022},
  eprint = {2203.10796},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10796}
}

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

Discussion