Automatic Hate Speech Detection Based on BERT and CNN

With the rise of social media, billions of users post and browse various topics and content daily. Text data contains rich information, reflecting users' opinions and attitudes towards products, services, events, and more. Detecting hate speech and offensive language in text helps platform administrators, governments, and organizations quickly identify and address inappropriate content, promoting a civilized and harmonious online environment. This paper proposes an automatic method for detecting hate speech and offensive language based on BERT and CNN. First, the pre-trained BERT model converts the text into vector representations. Then, the CNN extracts text features, followed by classification using a softmax layer. Experiments on a public hate speech and offensive language detection dataset demonstrate the effectiveness and superiority of the proposed method compared to other commonly used approaches. This method not only accurately detects hate speech and offensive language but also provides valuable insights for platform administrators, aiding them in better handling such issues.

Authors

Institutions

Publication Details

Published
2024-10-25
DOI
https://doi.org/10.1109/icbaie63306.2024.11116918
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Hate Speech Detection Based on BERT and CNN

Chenyu Li
Hate Speech and Cyberbullying Detection
article

Automatic Hate Speech Detection Based on BERT and CNN

Chenyu Li
article en

Abstract

With the rise of social media, billions of users post and browse various topics and content daily. Text data contains rich information, reflecting users' opinions and attitudes towards products, services, events, and more. Detecting hate speech and offensive language in text helps platform administrators, governments, and organizations quickly identify and address inappropriate content, promoting a civilized and harmonious online environment. This paper proposes an automatic method for detecting hate speech and offensive language based on BERT and CNN. First, the pre-trained BERT model converts the text into vector representations. Then, the CNN extracts text features, followed by classification using a softmax layer. Experiments on a public hate speech and offensive language detection dataset demonstrate the effectiveness and superiority of the proposed method compared to other commonly used approaches. This method not only accurately detects hate speech and offensive language but also provides valuable insights for platform administrators, aiding them in better handling such issues.

Nanjing University of Science and Technology (CN)
Reduced inequalities
Openalex Percentile: Top 72%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Automatic Hate Speech Detection Based on BERT and CNN — Chenyu Li · (2024) | TGRS Research Map | TGRS