Ensemble Classifier for Hindi Hostile Content Detection

Author:

Chakraborty Angana1ORCID,Joardar Subhankar1ORCID,Sekh Arif Ahmed2ORCID

Affiliation:

1. Haldia Institute of Technology, Haldia, India

2. School of Computer Science & Engineering, Xim University, Bhubaneswar, India

Abstract

Detection of hostile content from social media posts (Facebook, Twitter, etc.) is a demanding task in the field of Natural Language Processing. The increase of hostile content in different electronic media has opened up new challenges in language understanding. It becomes more difficult in regional languages. AI-based solutions are required to identify hostile content on a large scale. Although a satisfactory amount of research has been carried out in the English language, finding hostile content in regional languages is still under development due to the unavailability of suitable datasets and tools. In terms of the number of speakers, Hindi ranks third in the world and first on the Indian subcontinent. The objective of this article is to design a hostile content detection system in Hindi using coarse-grained (binary) classification and fine-grained (multi-class, multi-label) classification. We note that different baseline learning methods with different pre-trained language models perform differently. Using the Constraint 2021 Hindi Dataset, this research proposes a Bidirectional Encoder Representations from Transformers–(BERT) based contextual embedding technique with a concatenation of emoji2vec embeddings to classify social media posts in Hindi Devanagari script as hostile or non-hostile. Additionally, for the fine-grained tasks where hostile posts are sub-categorized as defamation, fake, hate, and offensive, we develop an ensemble classifier varying different learning methods and embedding models. With an F1-Score of 0.9721, it is found that our proposed Indic-BERT+emoji model outperforms the baseline model and other existing models for the coarse-grained task. We have also observed that our proposed ensemble method provides better results than the existing models and the baseline model for the fine-grained tasks with F1-Scores of 0.43, 0.82, 0.58, and 0.62 for the defamation, fake, hate, and offensive classes, respectively. The code and the data are available at https://github.com/skarifahmed/hostile .

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference49 articles.

1. 2015. Coarse-grained vs. Fine-grained Sentiment Analysis. Retrieved May 25 2015 from https://www.linkedin.com/pulse/coarse-grained-vs-fine-grained-sentiment-analysis-wei-li.

2. 2021. SHARED TASK@CONSTRAINT 2021. Retrieved February 8 2021 from https://constraint-shared-task-2021.github.io/.

3. 2022. bert-base-multilingual-cased. Retrieved January 25 2022 from https://huggingface.co/bert-base-multilingual-cased.

4. 2022. Documentation/Evaluation View/Classification Loss Metrics/Macro F1-score. Retrieved from https://peltarion.com/knowledge-center/documentation/evaluation-view/classification-loss-metrics/macro-f1-score.

5. 2022. flax-community/roberta-hindi. Retrieved from https://huggingface.co/flax-community/roberta-hindi.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3