使用对比学习理解和检测恶意内容
Understanding and Detecting Hateful Content using Contrastive Learning
摘要:
网络上仇恨言论和仇恨图像的传播是一个重要的问题,需要加以缓解,以改善我们的网络体验。这项工作有助于通过使用OpenAI的CLIP对4chan's/pol/上的反犹太主义和伊斯兰恐惧症进行多模态分析来检测和理解网络上的仇恨内容。这个大型的预训练模型使用了对比学习范式。我们设计了一种方法来识别一组反犹太主义和仇视伊斯兰教的仇恨文字短语使用谷歌的透视API和手动注释。然后,我们使用OpenAI的CLIP来识别与我们的反犹太/伊斯兰恐惧症文本短语高度相似的图像。通过在一个数据集上运行我们的方法,该数据集包括在4chan的/pol/上共享的6600万个帖子和580万个图像,我们检测到173 K个帖子,其中包含21 K个反犹太/伊斯兰恐惧症图像和246 K个帖子,其中包括420个仇恨短语。除此之外,我们发现我们可以使用OpenAI的CLIP模型来检测仇恨内容,准确率为0.81(F1得分= 0.54)。通过比较CLIP与文献提出的两个基线,我们发现,CLIP优于他们,在准确性,精度和F1得分,在检测反犹太/伊斯兰恐惧症的图像。此外,我们发现,与反犹太主义/仇视伊斯兰教的文本短语相比,反犹太主义/仇视伊斯兰教的图像在4chan的/pol/上的帖子数量相似,这凸显了设计更多工具来检测仇恨图像的必要性。最后,我们提供(应要求)包含420个反犹太/伊斯兰恐惧症短语和21 K可能的反犹太/伊斯兰恐惧症图像(由CLIP自动检测)的246 K帖子的数据集,可以帮助研究人员进一步了解反犹太主义和伊斯兰恐惧症。
英文摘要:
The spread of hate speech and hateful imagery on the Web is a significant problem that needs to be mitigated to improve our Web experience. This work contributes to research efforts to detect and understand hateful content on the Web by undertaking a multimodal analysis of Antisemitism and Islamophobia on 4chan's /pol/ using OpenAI's CLIP. This large pre-trained model uses the Contrastive Learning paradigm. We devise a methodology to identify a set of Antisemitic and Islamophobic hateful textual phrases using Google's Perspective API and manual annotations. Then, we use OpenAI's CLIP to identify images that are highly similar to our Antisemitic/Islamophobic textual phrases. By running our methodology on a dataset that includes 66M posts and 5.8M images shared on 4chan's /pol/ for 18 months, we detect 173K posts containing 21K Antisemitic/Islamophobic images and 246K posts that include 420 hateful phrases. Among other things, we find that we can use OpenAI's CLIP model to detect hateful content with an accuracy score of 0.81 (F1 score = 0.54). By comparing CLIP with two baselines proposed by the literature, we find that CLIP outperforms them, in terms of accuracy, precision, and F1 score, in detecting Antisemitic/Islamophobic images. Also, we find that Antisemitic/Islamophobic imagery is shared in a similar number of posts on 4chan's /pol/ compared to Antisemitic/Islamophobic textual phrases, highlighting the need to design more tools for detecting hateful imagery. Finally, we make available (upon request) a dataset of 246K posts containing 420 Antisemitic/Islamophobic phrases and 21K likely Antisemitic/Islamophobic images (automatically detected by CLIP) that can assist researchers in further understanding Antisemitism and Islamophobia.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。