IDEAS home Printed from https://ideas.repec.org/a/igg/jcac00/v15y2025i1p1-29.html
   My bibliography  Save this article

Unified Transformer Framework for Automated Cyberbullying Detection

Author

Listed:
  • Enas Alikhashashneh

    (Department of Information Systems, Yarmouk University, Jordan)

  • Hedaia Alsawan

    (Department of Information Systems, Yarmouk University, Jordan)

  • Khalid M. O. Nahar

    (Yarmouk University, Jordan)

  • Nahla Shatnawi

    (Yarmouk University, Jordan)

  • Ammar Almomani

    (Department of Computer Information Science, Higher Colleges of Technology, UAE)

  • Mohammad Alauthman

    (Department of Information Security, University of Petra, Jordan)

  • Shavi Bansal

    (Insights2Techinfo, India & University of Petroleum and Energy Studies, India)

  • Vincent Shin-Hung Pan

    (Department of Information Management, Chaoyang University of Technology, Taiwan)

Abstract

Cyberbullying is a fast-growing public-health hazard, demanding reliable, real-time detection of abusive language online. This study presents a unified transformer framework that compares bidirectional encoder representations from transformers, generative pre-trained transformer-2 and text-to-text transfer transformer (T5) on the 90 356-message Mendeley Cyber-Bullying corpus. A shared pipeline normalises text, removes stop-words, and using T5, augments minority classes to curb imbalance. Models are fine-tuned under identical splits (70% train/15% val/15% test, 15 epochs) and scored with accuracy, precision, recall, and F1. Augmented T5 leads with 92.7% accuracy, surpassing generative pre-trained transformer-2 (90.1%) and bidirectional encoder representations from transformers (89.4%). Confusion-matrix analysis shows T5 best balances true- and false-positive rates. Results validate (a) casting cyberbullying detection as sequence-to-sequence; (b) transformer-driven augmentation as an efficient remedy for skewed data; and (c) the feasibility of lightweight, fine-tuned transformers for scalable safety tool.

Suggested Citation

  • Enas Alikhashashneh & Hedaia Alsawan & Khalid M. O. Nahar & Nahla Shatnawi & Ammar Almomani & Mohammad Alauthman & Shavi Bansal & Vincent Shin-Hung Pan, 2025. "Unified Transformer Framework for Automated Cyberbullying Detection," International Journal of Cloud Applications and Computing (IJCAC), IGI Global Scientific Publishing, vol. 15(1), pages 1-29, January.
  • Handle: RePEc:igg:jcac00:v:15:y:2025:i:1:p:1-29
    as

    Download full text from publisher

    File URL: https://services.igi-global.com/resolvedoi/resolve.aspx?doi=10.4018/IJCAC.386166
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:igg:jcac00:v:15:y:2025:i:1:p:1-29. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Journal Editor (email available below). General contact details of provider: https://www.igi-global.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.