Detection of Hate Speech with Attention-Enhanced Deep Learning Techniques

One of the pressing issues on user-generated platforms and social media is hate speech, a threat to online communities. Conventional detection methods, such as keyword matching or basic classification, often miss hate speech's subtleties and contextual dependencies. This paper introduces a pioneering deep learning approach, leveraging transformer architectures and attention mechanisms, to advance the state-of-the-art in hate speech detection. Our model's unique feature is its ability to focus on words that carry more contextual relevance, thereby interpreting the intended meaning of the words more accurately. The multi-head self-attention mechanism allows for differential weighting of various input parts, thereby enhancing the model's ability to distinguish between hostile and hateful language, even in cases of word similarity. We explain the architecture of our model with further explanation of the calculation involved in queries, keys, and values, followed by a description of the mathematical foundation of the attention mechanism. In fine-tuning the pre-trained transformer model, say BERT, from the hate speech dataset, our optimised model uses the Adam optimiser. We run experiments to check the performance of the proposed model by using accuracy, precision, recall, and F1-score to prove that our proposed model outperforms the base models like CNNs and RNNs. Our attention-based approach successfully highlights hate speech in subtle, context-sensitive ways. As this is one of the first studies where attention has been explored in the context of hate speech detection, it provides a good platform for further work on hate speech and multimodal inputs in many other languages. The results of our experiments indicate the promise of attention-based models as a powerful and scalable solution to the real-world challenges of hate speech detection.

Authors

Publication Details

Published
2025-03-28
DOI
https://doi.org/10.1109/icdsaai65575.2025.11011579
Citations
1
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection of Hate Speech with Attention-Enhanced Deep Learning Techniques

D Kishore, R. Ponnusamy, Veeramalai Sankaradass, S. Senthilkumar et al.
1 citations
Hate Speech and Cyberbullying Detection
2.48
article

Detection of Hate Speech with Attention-Enhanced Deep Learning Techniques

D Kishore, R. Ponnusamy, Veeramalai Sankaradass, S. Senthilkumar, Angelin Blessy, M Yuvadarshan
article en
1 citations

Abstract

One of the pressing issues on user-generated platforms and social media is hate speech, a threat to online communities. Conventional detection methods, such as keyword matching or basic classification, often miss hate speech's subtleties and contextual dependencies. This paper introduces a pioneering deep learning approach, leveraging transformer architectures and attention mechanisms, to advance the state-of-the-art in hate speech detection. Our model's unique feature is its ability to focus on words that carry more contextual relevance, thereby interpreting the intended meaning of the words more accurately. The multi-head self-attention mechanism allows for differential weighting of various input parts, thereby enhancing the model's ability to distinguish between hostile and hateful language, even in cases of word similarity. We explain the architecture of our model with further explanation of the calculation involved in queries, keys, and values, followed by a description of the mathematical foundation of the attention mechanism. In fine-tuning the pre-trained transformer model, say BERT, from the hate speech dataset, our optimised model uses the Adam optimiser. We run experiments to check the performance of the proposed model by using accuracy, precision, recall, and F1-score to prove that our proposed model outperforms the base models like CNNs and RNNs. Our attention-based approach successfully highlights hate speech in subtle, context-sensitive ways. As this is one of the first studies where attention has been explored in the context of hate speech detection, it provides a good platform for further work on hate speech and multimodal inputs in many other languages. The results of our experiments indicate the promise of attention-based models as a powerful and scalable solution to the real-world challenges of hate speech detection.

Reduced inequalities
Openalex Percentile: Top 10%
Hate Speech and Cyberbullying Detection
2.48
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.