mlsanityData to 7 Oct 2026

Semantic and Contextual Modeling for Malicious Comment Detection with BERT-BiLSTM

arXiv 2503.11084 ↗First posted 14 Mar 2025cs.CLcited by 5

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

This study aims to develop an efficient and accurate model for detecting malicious comments, addressing the increasingly severe issue of false and harmful content on social media platforms. We propose a deep learning model that combines BERT and BiLSTM. The BERT model, through pre-training, captures deep semantic features of text, while the BiLSTM network excels at processing sequential data and can further model the contextual dependencies of text. Experimental results on the Jigsaw Unintended Bias in Toxicity Classification dataset demonstrate that the BERT+BiLSTM model achieves superior performance in malicious comment detection tasks, with a precision of 0.94, recall of 0.93, and accuracy of 0.94. This surpasses other models, including standalone BERT, TextCNN, TextRNN, and traditional machine learning algorithms using TF-IDF features. These results confirm the superiority of the BERT+BiLSTM model in handling imbalanced data and capturing deep semantic features of malicious comments, providing an effective technical means for social media content moderation and online environment purification.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 10 of its 26 references that are in the map. First posted on arXiv 14 Mar 2025.

Builds on

10 of 26 references.

References · 10

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2024Transforming Multidimensional Time Series into Interpretable Event Sequences for Advanced Data Miningcited by 47
  3. 2021Transformer based Automatic COVID-19 Fake News Detection Systemcited by 14
  4. 2025Contrastive Learning for Cold Start Recommendation with Adaptive Feature Fusioncited by 11
  5. 2025Graph Neural Network-Driven Hierarchical Mining for Complex Imbalanced Datacited by 11
  6. 2025Optimized Unet with Attention Mechanism for Multi-Scale Semantic Segmentationcited by 9
  7. 2025A Structured Reasoning Framework for Unbalanced Data Classification Using Probabilistic Modelscited by 7
  8. 2025Multi-Scale Transformer Architecture for Accurate Medical Image Classificationcited by 5
  9. 2025A Deep Learning Approach to Interface Color Quality Assessment in HCIcited by 5
  10. 2025A Hybrid CNN-Transformer Model for Heart Disease Prediction Using Life History Datacited by 2

Built on by

Cited by year

Citing papers per year: 2025: 5.

5 papers.