Immoral post detection using a one-dimensional convolutional neural network-based LSTM network

Bibi Saqia*, Khairullah Khan, Atta Ur Rahman, Aurangzeb Khan, Deepak Kumar Jain

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

In text mining and Natural Language Processing (NLP), extracting emotions from textual data is gaining rapid attraction. The proliferation of online content and the freedom of expression on social media platforms has compelled the advancement of more sophisticated methods for the automatic identification of unwanted content. The One-Dimensional Convolutional Neural Network (1D-CNN) performs best for feature extraction, while the Long Short-Term Memory Network (LSTM) is well-known for extracting sequential features and classification of textual data. This study proposes a novel solution by combining 1D-CNN with LSTM. Utilizing a context-aware model, this study aims to enhance the detection of immoral posts, including hate speech and other forms of immoral content on social media platforms. Various posts are extracted from social media, which are then processed using Glove word embedding models. It depicts the word representations in the text, which yields the form of a real-valued vector determining the words' meaning. The 1D convolution utilizes a filter window over the input time-series data to extract features. Relying on the acquired parameters of the filters, they act as feature extractors. This feature extraction technique allows the model to distinguish detailed patterns and nuances from the textual contents of posts. The sequential processing capabilities of the LSTM network enable an in-depth examination of the text, capturing temporal relationships and context, which is critical for successful content categorization. To validate the proposed model, we utilized a benchmark dataset, called the Twitter dataset. The proposed model achieved the highest accuracy of 95.37% and outperforms state-of-the-art works.

Original languageEnglish
Pages (from-to)39885-39904
Number of pages20
JournalMultimedia Tools and Applications
Volume84
Issue number32
DOIs
StatePublished - Sep 2025
Externally publishedYes

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2025.

Keywords

  • 1D-CNN
  • Immoral content
  • LSTM
  • NLP
  • Social media post

ASJC Scopus subject areas

  • Software
  • Media Technology
  • Hardware and Architecture
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Immoral post detection using a one-dimensional convolutional neural network-based LSTM network'. Together they form a unique fingerprint.

Cite this