Bidirectional Generative Framework for Cross-domain Aspect-based Sentiment Analysis

Yue Deng, Wenxuan Zhang, Sinno Jialin Pan, Lidong Bing
5/16/2023
cs.CL

Official code: DAMO-NLP-SG/BGCA (41 stars, MIT, last commit 2023-08-02).

Abstract

Cross-domain aspect-based sentiment analysis (ABSA) aims to perform various fine-grained sentiment analysis tasks on a target domain by transferring knowledge from a source domain. Since labeled data only exists in the source domain, a model is expected to bridge the domain gap for tackling cross-domain ABSA. Though domain adaptation methods have proven to be effective, most of them are based on a discriminative model, which needs to be specifically designed for different ABSA tasks. To offer a more general solution, we propose a unified bidirectional generative framework to tackle various cross-domain ABSA tasks. Specifically, our framework trains a generative model in both text-to-label and label-to-text directions. The former transforms each task into a unified format to learn domain-agnostic features, and the latter generates natural sentences from noisy labels for data augmentation, with which a more accurate model can be trained. To investigate the effectiveness and generality of our framework, we conduct extensive experiments on four cross-domain ABSA tasks and present new state-of-the-art results on all tasks. Our data and code are publicly available at \url{https://github.com/DAMO-NLP-SG/BGCA}.

View on arXivView PDF

Code Implementations(1)

DAMO-NLP-SG/BGCAOfficial100%
MIT

[ACL 2023] Code and Data for "Bidirectional Generative Framework for Cross-domain Aspect-based Sentiment Analysis"

414Shell, PythonMay 16, 20233 years agoMIT
aspect-based-sentiment-analysisnatural-language-processingnlp

Cite this paper

@article{deng2023bidirectional,
  title  = {Bidirectional Generative Framework for Cross-domain Aspect-based Sentiment Analysis},
  author = {Yue Deng and Wenxuan Zhang and Sinno Jialin Pan and Lidong Bing},
  year   = {2023},
  eprint = {2305.09509},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.09509v1}
}

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

Discussion