arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.12407cs.CL
收藏

基于GPT-3的仇恨语音检测

Detecting Hate Speech with GPT-3

University of Toronto(多伦多大学);Schwartz Reisman Institute(施瓦茨·赖斯曼研究所)

Ke-Li Chiu, Annie Collins, Rohan Alexander

摘要:

像OpenAI的GPT-3这样复杂的语言模型可以生成针对边缘化群体的仇恨文本。鉴于这种能力,我们感兴趣的是大语言模型是否可以用来识别仇恨言论,并将文本分类为性别歧视或种族主义。我们使用GPT-3来识别具有性别歧视和种族主义的文本段落,其中包括零,一次和少样本学习。我们发现,通过零次和一次性学习,GPT-3可以识别性别歧视或种族主义文本,平均准确率在55%到67%之间,具体取决于文本类别和学习类型。通过少样本学习,该模型的准确率可高达85%。大语言模型在仇恨言论检测中发挥作用,随着进一步的发展,它们最终可用于打击仇恨言论。

英文摘要:

Sophisticated language models such as OpenAI's GPT-3 can generate hateful text that targets marginalized groups. Given this capacity, we are interested in whether large language models can be used to identify hate speech and classify text as sexist or racist. We use GPT-3 to identify sexist and racist text passages with zero-, one-, and few-shot learning. We find that with zero- and one-shot learning, GPT-3 can identify sexist or racist text with an average accuracy between 55 per cent and 67 per cent, depending on the category of text and type of learning. With few-shot learning, the model's accuracy can be as high as 85 per cent. Large language models have a role to play in hate speech detection, and with further development they could eventually be used to counter hate speech.

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

↑