HarmLLaMA: Harmful Language Detection with Large Language Models

Online platforms are complex systems that influence the commercial, social, and political environment, debating important real-life topics, e.g., health, emigration, elections, climate change, etc. These online environments offer users freedom of expression through anonymous posting. In addition to their obvious advantages, some users abuse this freedom to spread harmful content, e.g., misinformation, propaganda, harmful conspiracy theories, or abusive, aggressive, and offensive speech. Automated detection techniques can effectively reduce the negative influence of antisocial behavior used by these malicious actors. In this article, we propose HarmLLAMA, a fine-tuned LLAMA2 model using LORA. The experimental results on two real-world datasets show that our model, HarmLLaMA, outperforms current state-of-the-art models in terms of Accuracy, Precision, Recall, and F1-Score.

Authors

Institutions

Publication Details

Published
2025-10-16
DOI
https://doi.org/10.1109/iccp68926.2025.11427180
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

HarmLLaMA: Harmful Language Detection with Large Language Models

E. S. Apostol, Adrian Paschke, Alexandru-Gabriel Ilie, Ciprian-Octavian Truică
Hate Speech and Cyberbullying Detection
article

HarmLLaMA: Harmful Language Detection with Large Language Models

E. S. Apostol, Adrian Paschke, Alexandru-Gabriel Ilie, Ciprian-Octavian Truică
article en

Abstract

Online platforms are complex systems that influence the commercial, social, and political environment, debating important real-life topics, e.g., health, emigration, elections, climate change, etc. These online environments offer users freedom of expression through anonymous posting. In addition to their obvious advantages, some users abuse this freedom to spread harmful content, e.g., misinformation, propaganda, harmful conspiracy theories, or abusive, aggressive, and offensive speech. Automated detection techniques can effectively reduce the negative influence of antisocial behavior used by these malicious actors. In this article, we propose HarmLLAMA, a fine-tuned LLAMA2 model using LORA. The experimental results on two real-world datasets show that our model, HarmLLaMA, outperforms current state-of-the-art models in terms of Accuracy, Precision, Recall, and F1-Score.

Fraunhofer Institute for Open Communication Systems (DE), Academia Oamenilor de Știință din România (RO), Universitatea Națională de Știință și Tehnologie Politehnica București (RO), Freie Universität Berlin (DE)
Openalex Percentile: Top 13%
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.