Cited by 43Hate Speech and Cyberbullying DetectionText and Document Classification TechnologiesMisinformation and Its Impacts

Fine-Tuning Llama 2 Large Language Models for Detecting Online Sexual Predatory Chats and Abusive Texts

Open access
Nguyen, Thanh Thi, Wilson, Campbell, Dalins, Janis·2024·ESANN 2024 proceesdings

Abstract

This paper proposes an approach to detection of online harmful content using the open-source pretrained Llama 2 model, recently released by Meta GenAI.We fine-tune the LLM using datasets with different sizes, imbalance degrees, and languages.Based on the power of LLMs, our approach is generic and automated without a manual search for a synergy between feature extraction and classifier design steps like conventional methods.Experimental results show a strong performance of the proposed approach, which is proficient and consistent across three distinct datasets with five sets of experiments.This study's outcomes indicate that the proposed method can be implemented in real-world applications (even with non-English languages) for flagging sexual predators, offensive or toxic content, and hate speech in online discussions and comments to maintain respectful digital communities.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.14428/esann/2024.es2024-222

Cites

3 of 3 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 6

  1. Parisa Rezaee Borj, Kiran Raja, and Patrick Bours. Detecting online grooming by sim- ple contrastive chat embeddings. In 9th ACM Int. Workshop on Security and Privacy Analytics, pages 57-65, 2023.
  2. Muhammad Pervez Akhter, Zheng Jiangbin, Irfan Raza Naqvi, Mohammed Abdelmajeed, and Muhammad Tariq Sadiq. Automatic detection of offensive language for Urdu and Roman Urdu. IEEE Access, 8:91213-91226, 2020.
  3. Kanishk Verma, Maja Popović, Alexandros Poulis, Yelena Cherkasova, Angela Mazzone, Tijana Milosevic, Brian Davis, et al. Leveraging machine translation for cross-lingual fine-grained cyberbullying classification amongst pre-adolescents. Natural Language Engi- neering, pages 1-23, 2022.
  4. Armen Aghajanyan, Sonal Gupta, and Luke Zettlemoyer. Intrinsic dimensionality explains the effectiveness of language model fine-tuning. In 59th Annual Meeting of the ACL, volume 1, pages 7319-7328, 2021.
  5. Giacomo Inches and Fabio Crestani. Overview of the international sexual predator iden- tification competition at PAN-2012. In CLEF (Online Working Notes/Labs/Workshop), volume 30, 2012.
  6. Muhammad Pervez Akhter, Zheng Jiangbin, Irfan Raza Naqvi, Mohammed AbdelMajeed, and Tehseen Zia. Abusive language detection from social media comments using conven- tional machine learning and deep learning approaches. Multimedia Systems, pages 1-16, 2021.

Cited by

Sorted by citations

Authors
Nguyen, T. T., Wilson, C., & Dalins, J.
Affiliations
  • Monash University (AU)
  • Australian Federal Police (AU)
Venue
ESANN 2024 proceesdings
Published
2024
Pages
613-618
OpenAlex
W4402364221
Cited by
43
References
3
Citations by year
2026: 7 · 2025: 19 · 2024: 15 · 2023: 2
FWCI
12.08
Type
conference paper
Language
en
Open access
Locations
  • European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning (ESANN) (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by-nc-nd)
  • arXiv (Cornell University)
Funders
  • National Computational Infrastructure
  • Australian Government
  • National Cancer Institute
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Hate Speech and Cyberbullying Detection
  • Physical Sciences › Computer Science › Artificial Intelligence › Text and Document Classification Technologies
  • Social Sciences › Sociology and Political Science › Misinformation and Its Impacts
Keywords
Llama 2, fine-tuning, online sexual predators, toxic content, hate speech, class imbalance, multilingual text classification

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review