Vietnamese Hate and Offensive Detection using PhoBERT-CNN and Social Media Streaming Data

Khanh Q. Tran, An T. Nguyen, Phu Gia Hoang, Canh Duc Luu, Trong-Hop Do +1 more
6/1/2022
cs.CLcs.AIcs.LG

Official code: kh4nh12/ViSoMeCens (15 stars, Jupyter Notebook, last commit 2023-09-06).

Abstract

Society needs to develop a system to detect hate and offense to build a healthy and safe environment. However, current research in this field still faces four major shortcomings, including deficient pre-processing techniques, indifference to data imbalance issues, modest performance models, and lacking practical applications.

Show full abstract

This paper focused on developing an intelligent system capable of addressing these shortcomings. Firstly, we proposed an efficient pre-processing technique to clean comments collected from Vietnamese social media. Secondly, a novel hate speech detection (HSD) model, which is the combination of a pre-trained PhoBERT model and a Text-CNN model, was proposed for solving tasks in Vietnamese. Thirdly, EDA techniques are applied to deal with imbalanced data to improve the performance of classification models. Besides, various experiments were conducted as baselines to compare and investigate the proposed model's performance against state-of-the-art methods. The experiment results show that the proposed PhoBERT-CNN model outperforms SOTA methods and achieves an F1-score of 67,46% and 98,45% on two benchmark datasets, ViHSD and HSD-VLSP, respectively. Finally, we also built a streaming HSD application to demonstrate the practicality of our proposed system.

View on arXivView PDF

Code Implementations(1)

kh4nh12/ViSoMeCensOfficial100%

Vietnamese Social Media Censorship Application

151Jupyter Notebook, PythonMar 29, 20223 years ago

Similar Papers

Cite this paper

@article{tran2022vietnamese,
  title  = {Vietnamese Hate and Offensive Detection using PhoBERT-CNN and Social Media Streaming Data},
  author = {Khanh Q. Tran and An T. Nguyen and Phu Gia Hoang and Canh Duc Luu and Trong-Hop Do and Kiet Van Nguyen},
  year   = {2022},
  eprint = {2206.00524},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00524}
}

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

Discussion