IDEAS home Printed from https://ideas.repec.org/a/bjc/journl/v12y2025i2p325-332.html
   My bibliography  Save this article

A Predictive Model for Anticipated Hate and Speech Violence in Social Media: Large Language Model Approach

Author

Listed:
  • Gimhani Samindika Dissanayake

    (Postgraduate Institute of Science, University of Peradeniya)

  • Sudesh Jayathunge Bandara

    (Postgraduate Institute of Science, University of Peradeniya)

  • Hemalika T.K. Abeysundara

    (Department of Statistics & Computer Science, University of Peradeniya)

Abstract

This study explores the application of Large Language Models (LLMs), specifically a BERT-based architecture, coupled with predictive analytics for proactive hate speech and violence identification and forecasting in social media comment moderation. The research addresses the critical need to shift from reactive to proactive content moderation strategies in order to enhance digital safety and foster inclusivity. Using a dataset of 44,000 public comments from Facebook that are unfiltered and generalized, the methodology includes data collection through the Facebook Graph API, preprocessing phases, and model training using a balanced dataset to improve detection accuracy. The study highlights the importance of ethical deployment in artificial intelligence, noting the role of predictive analytics in identifying patterns and signals that indicate the existence of harmful content before its widespread circulation. From this, the results show that a balanced dataset helped the model to achieve strong performance metrics: accuracy of 82.63%, precision of 82.5%, recall of 82.88%, and F1 score of 82.69%. Results like this have shown the promise that advanced AI technologies hold when integrated into content moderation to successfully handle and pre-empt online hate speech and violence. This research helps to contribute to the larger discussion on ethical AI, responsible digital citizenship, and safer online communities through the promotion of proactive moderation systems.

Suggested Citation

  • Gimhani Samindika Dissanayake & Sudesh Jayathunge Bandara & Hemalika T.K. Abeysundara, 2025. "A Predictive Model for Anticipated Hate and Speech Violence in Social Media: Large Language Model Approach," International Journal of Research and Scientific Innovation, International Journal of Research and Scientific Innovation (IJRSI), vol. 12(2), pages 325-332, February.
  • Handle: RePEc:bjc:journl:v:12:y:2025:i:2:p:325-332
    as

    Download full text from publisher

    File URL: https://www.rsisinternational.org/journals/ijrsi/digital-library/volume-12-issue-2/325-332.pdf
    Download Restriction: no

    File URL: https://rsisinternational.org/journals/ijrsi/articles/a-predictive-model-for-anticipated-hate-and-speech-violence-in-social-media-large-language-model-approach/
    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:bjc:journl:v:12:y:2025:i:2:p:325-332. 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: Dr. Renu Malsaria (email available below). General contact details of provider: https://rsisinternational.org/journals/ijrsi/ .

    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.