Comparative Study of SVM and CNN with TF-IDF and Word2Vec for Indonesian Hate Speech Detection on Social Media X

The rapid advancement of information technology has reshaped human interaction, embedding platforms like Facebook, X (formerly Twitter), Instagram, and WhatsApp into daily life. While these platforms enhance connectivity, they also facilitate the spread of hate speech, threatening social harmony. This study compares the performance of two text classification models Support Vector Machine (SVM) with four kernels and Convolutional Neural Network (CNN) in detecting Indonesian hate speech on platform X. A dataset of 11,488 entries was collected through manual crawling and processed using TF-IDF and Word2Vec. Experiments were conducted across four scenarios: varying train-test ratios, N-Gram types, N-Gram combinations, and Word2Vec vector dimensions. Results show that CNN with TF-IDF and Unigram + Bigram achieved the best accuracy of 82.90%, while SVM with a Sigmoid kernel reached 81.94%. These findings support the development of automated and reliable hate speech detection systems for social media.

Authors

Institutions

Publication Details

Published
2025-07-30
DOI
https://doi.org/10.1109/icoict66265.2025.11193039
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

Comparative Study of SVM and CNN with TF-IDF and Word2Vec for Indonesian Hate Speech Detection on Social Media X

Kemas Muslim Lhaksmana, Diaz Ramzy Naufal
Hate Speech and Cyberbullying Detection
article

Comparative Study of SVM and CNN with TF-IDF and Word2Vec for Indonesian Hate Speech Detection on Social Media X

Kemas Muslim Lhaksmana, Diaz Ramzy Naufal
article en

Abstract

The rapid advancement of information technology has reshaped human interaction, embedding platforms like Facebook, X (formerly Twitter), Instagram, and WhatsApp into daily life. While these platforms enhance connectivity, they also facilitate the spread of hate speech, threatening social harmony. This study compares the performance of two text classification models Support Vector Machine (SVM) with four kernels and Convolutional Neural Network (CNN) in detecting Indonesian hate speech on platform X. A dataset of 11,488 entries was collected through manual crawling and processed using TF-IDF and Word2Vec. Experiments were conducted across four scenarios: varying train-test ratios, N-Gram types, N-Gram combinations, and Word2Vec vector dimensions. Results show that CNN with TF-IDF and Unigram + Bigram achieved the best accuracy of 82.90%, while SVM with a Sigmoid kernel reached 81.94%. These findings support the development of automated and reliable hate speech detection systems for social media.

Telkom University (ID)
Openalex Percentile: Top 85%
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.

Comparative Study of SVM and CNN with TF-IDF and Word2Vec for Indonesian Hate Speech Detection on Social Media X — Kemas Muslim Lhaksmana, Diaz Ramzy Naufal · (2025) | TGRS Research Map | TGRS