Transferable E2e Absa

Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning (EMNLP'19)
Alternatives To Transferable E2e Absa
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Kingdom34
3 years agoPython
Domain Adaptation using External Knowledge for Sentiment Analysis
Transferable E2e Absa31
4 years ago1mitPython
Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning (EMNLP'19)
Unsupervised Domain Adaptation With Bert6
3 years agogpl-3.0Jupyter Notebook
Unsupervised domain adaptation with BERT for Amazon food product reviews sentiment analysis.
Alternatives To Transferable E2e Absa
Select To Compare


Alternative Project Comparisons
Readme

Transferable-E2E-ABSA

Data and source code for our EMNLP'19 Long paper, oral, "Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning".

Update:

Oct 6th, 2019: The experimental code (not fully clean version) has been released.

Oct 31th, 2019: The paper has been released in the arkiv.

Introduction

1) E2E-ABSA: This task aims to jointly learn aspects as well as their sentiments from user reviews, whch can be effectively formulated as an end-to-end sequence labeling problem based on the unified tagging scheme.

The unified tagging is similar to the NER tagging.

unified tag = aspect boundary tag + sentiment tag

NER tag = entity boundary tag + entity type tag

As we all know, labeling sequence data behaves much more expensive and time-comsuming.

2) Transferable-E2E-ABSA: we firstly explore an unsupervised domain adaptation (UDA) setting for cross-domain E2E-ABSA. Unlike the traditional UDA in classification problems, this task aims to leverage knowledge from a labeled source domain to improve the sequence learning in an unlabeled target domain.

Requirements

  • Python 2.7.12

  • Tensorflow-gpu 1.4.1

  • numpy 1.15.4

Environment

  • OS: CentOS Linux release 7.5.1804
  • GPU: NVIDIA TITAN Xp
  • CUDA: 8.0

Running

Download (Password: zlyc) the word embedding and then move it to the data directory. The embedding is pre-trained on Yelp and Electronics dataset.

AD-SAL (full Model):

selective adversairal learning on the low-level AD task.

python main.py --train --test -s rest -t service -model_name AD-SAL --selective

AD-AL (ablation Model):

pure adversairal learning without selectivity on the low-level AD task.

python main.py --train --test -s rest -t service -model_name AD-AL

Training over all transfer pairs:

./scripts/train_AD-AL.sh
./scripts/train_AD-SAL.sh

Citation

If the source code and data are useful for your research, please be kindly to give us stars and cite our paper as follows:

@article{li2019sal,
  title={Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning},
  author={Li, Zheng and Li, Xin and Wei Ying and Bing Lidong and Zhang Yu and Yang, Qiang},
  conference={EMNLP},
  year={2019}
}
Popular Sentiment Projects
Popular Adversarial Learning Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Sentiment
Sentiment Analysis
E2e
Domain Adaptation
Adversarial Learning
Sequence Labeling