Leveraging GPT-2 for Classifying Spam Reviews with Limited Labeled Data via Adversarial Training

Athirai A. Irissappane, Hanfei Yu, Yankun Shen, Anubha Agrawal, Gray Stanton
12/24/2020
cs.AI

Official code: airesearchuwt/spamGAN (2 stars, Python, last commit 2023-11-12).

Abstract

Online reviews are a vital source of information when purchasing a service or a product. Opinion spammers manipulate these reviews, deliberately altering the overall perception of the service.

Show full abstract

Though there exists a corpus of online reviews, only a few have been labeled as spam or non-spam, making it difficult to train spam detection models. We propose an adversarial training mechanism leveraging the capabilities of Generative Pre-Training 2 (GPT-2) for classifying opinion spam with limited labeled data and a large set of unlabeled data. Experiments on TripAdvisor and YelpZip datasets show that the proposed model outperforms state-of-the-art techniques by at least 7% in terms of accuracy when labeled data is limited. The proposed model can also generate synthetic spam/non-spam reviews with reasonable perplexity, thereby, providing additional labeled data during training.

View on arXivView PDF

Code Implementations(1)

22Python, JavaScriptSep 18, 20203 years ago

Similar Papers

Cite this paper

@article{irissappane2020leveraging,
  title  = {Leveraging GPT-2 for Classifying Spam Reviews with Limited Labeled Data via Adversarial Training},
  author = {Athirai A. Irissappane and Hanfei Yu and Yankun Shen and Anubha Agrawal and Gray Stanton},
  year   = {2020},
  eprint = {2012.13400},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.13400}
}

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

Discussion