arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.09338cs.CLcs.LG
收藏

基于Transformer的编码混合文本中的上下文仇恨语音检测

Contextual Hate Speech Detection in Code Mixed Text using Transformer Based Approaches

Sri Jayachamarajendra College of Engineering(斯里贾亚查马拉杰德拉工程学院);Indian Institute of Technology Madras(印度理工学院马德拉斯分校)

Ravindra Nayak, Raviraj Joshi

摘要:

最近,社交媒体平台帮助人们与更广泛的受众进行联系和沟通。但这也导致了网络欺凌的急剧增加。必须检测和遏制仇恨言论,以保持社交媒体平台的正常运作。此外,在这些平台上经常使用包含多种语言的代码混合文本。因此,我们提出了自动化技术,从刮Twitter的代码混合文本中的仇恨言论检测。我们特别关注混合英语-印地语文本和基于transformer的方法的代码。虽然常规方法独立分析文本,但我们也以父推文的形式使用内容文本。我们尝试评估多语言BERT和Indic-BERT在单编码器和双编码器设置下的性能。第一种方法是使用分隔符标记连接目标文本和上下文文本,并从BERT模型中获得单个表示。第二种方法使用双BERT编码器独立地对两个文本进行编码,并且对相应的表示进行平均。我们表明,双编码器的方法,使用独立的表示产生更好的性能。我们还采用简单的集成方法,以进一步提高性能。使用这些方法,我们在HASOC 2021 ICHCL代码混合数据集上报告了73.07%的最佳F1得分。

英文摘要:

In the recent past, social media platforms have helped people in connecting and communicating to a wider audience. But this has also led to a drastic increase in cyberbullying. It is essential to detect and curb hate speech to keep the sanity of social media platforms. Also, code mixed text containing more than one language is frequently used on these platforms. We, therefore, propose automated techniques for hate speech detection in code mixed text from scraped Twitter. We specifically focus on code mixed English-Hindi text and transformer-based approaches. While regular approaches analyze the text independently, we also make use of content text in the form of parent tweets. We try to evaluate the performances of multilingual BERT and Indic-BERT in single-encoder and dual-encoder settings. The first approach is to concatenate the target text and context text using a separator token and get a single representation from the BERT model. The second approach encodes the two texts independently using a dual BERT encoder and the corresponding representations are averaged. We show that the dual-encoder approach using independent representations yields better performance. We also employ simple ensemble methods to further improve the performance. Using these methods we report the best F1 score of 73.07% on the HASOC 2021 ICHCL code mixed data set.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑