Skip to main content

Toxic Comment Classification Using Hybrid Deep Learning Model

  • Conference paper
  • First Online:
Sustainable Communication Networks and Application

Part of the book series: Lecture Notes on Data Engineering and Communications Technologies ((LNDECT,volume 55))

Abstract

With the increasing availability of affordable data services and social media presence, our life is not untouched with ‘cyber,’ i.e., electronic technology. With it, various challenges and issues are faced, and the most sensitive among them is Cyberbullying. Cyberbullying is the form of ‘abusive,’ ‘offensive,’ ‘inappropriate,’ and ‘toxic’ comments that are present on the platforms. With the fear of online abuse and bullying, many people give-up on perceiving different opinions and stop expressing themselves. Nowadays, various online platforms like Quora, Wikipedia, Twitter, and Facebook have become part and parcel of everybody’s life. These stages battle to viably encourage discussions, driving numerous networks to restrict or shutdown client remarks. Unfortunately, online comments with toxicity cause online badgering, bullying, and personal attacks. Therefore, toxic comment classification problem has attracted the attention of many organizations from the past few years. Hence, in this paper, we present a hybrid Deep Learning model that will detect such toxic comments and classify them according to the type of toxicity. As an outcome, we achieved the best results with an accuracy of 98.39% and an f1 score of 79.91%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Reference

  1. Duggan, M.: Online harassment (2017)

    Google Scholar 

  2. Risch, J., Krestel, R.: Toxic comment detection in online discussions. In: Deep Learning-Based Approaches for Sentiment Analysis, pp. 85–109. Springer, Singapore (2020)

    Google Scholar 

  3. Georgakopoulos, S.V., Tasoulis, S.K., Vrahatis, A.G., Plagianakos, V.P.: Convolutional neural networks for toxic comment classification. In: Proceedings of the 10th Hellenic Conference on Artificial Intelligence, pp. 1–6 (2018)

    Google Scholar 

  4. Perspective. https://perspectiveapi.com/

  5. Yin, D., Xue, Z., Hong, L., Davison, B.D., Kontostathis, A., Edwards, L.: Detection of harassment on web 2.0. In: Proceedings of the Content Analysis in the WEB, vol. 2, pp.1–7 (2009)

    Google Scholar 

  6. Nguyen, H., Nguyen, M.L.: A deep neural architecture for sentence-level sentiment classification in twitter social networking. In: International Conference of the Pacific Association for Computational Linguistics, pp. 15–27. Springer, Singapore (2017)

    Google Scholar 

  7. Chu, T., Jue, K., Wang, M.: Comment abuse classification with deep learning. Von https://web.stanford.edu/class/cs224n/reports/2762092.pdf abgerufen (2016)

  8. Khieu, K., Narwal, N.: Detecting and classifying toxic comments. Web: https://web.stanford.edu/class/archive/cs/cs224n/cs224n, 1184

  9. Toxic Comment Classification Challenge|Kaggle. https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/data

  10. Maalej, W., Nabil, H.: Bug report, feature request, or simply praise? On automatically classifying app reviews. In: IEEE 23rd International Requirements Engineering Conference (RE), pp. 116–125 (2015)

    Google Scholar 

  11. Mullen, L.A., Benoit, K., Keyes, O., Selivanov, D., Arnold, J.: Fast, consistent tokenization of natural language text. J. Open Source Softw. 3(23), 655 (2018)

    Article  Google Scholar 

  12. Dey, R., Salemt, F.M.: Gate-variants of gated recurrent unit (GRU) neural networks. In: IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), pp. 1597–1600 (2017)

    Google Scholar 

  13. Saeed, H.H., Shahzad, K., Kamiran, F.: Overlapping toxic sentiment classification using deep neural architectures. In: IEEE International Conference on Data Mining Workshops (ICDMW), pp. 1361–1366 (2018)

    Google Scholar 

  14. Precision and recall. https://en.wikipedia.org/wiki/Precision_and_recall

  15. Van Aken, B., Risch, J., Krestel, R., Löser, A.: Challenges for toxic comment classification: an in-depth error analysis. arXiv preprint arXiv:1809.07572 (2018)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Archna Maurya .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Beniwal, R., Maurya, A. (2021). Toxic Comment Classification Using Hybrid Deep Learning Model. In: Karuppusamy, P., Perikos, I., Shi, F., Nguyen, T.N. (eds) Sustainable Communication Networks and Application. Lecture Notes on Data Engineering and Communications Technologies, vol 55. Springer, Singapore. https://doi.org/10.1007/978-981-15-8677-4_38

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-8677-4_38

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-8676-7

  • Online ISBN: 978-981-15-8677-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics