arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.12390cs.CLcs.AI
收藏

基于生成式推理的毒性检测

Toxicity Detection with Generative Prompt-based Inference

Carnegie Mellon University(卡内基梅隆大学)

Yau-Shian Wang, Yingshan Chang

摘要:

由于文本的微妙性、隐含性和不同人可能感知到的不同解释,从文本中检测不受欢迎的内容是一个微妙的困难。语言模型(LM)一旦在包含不受欢迎内容的语料库上训练,就有能力表现出偏见和毒性,这是一个众所周知的风险。然而,最近的研究表明,作为一种补救措施,LM也能够识别有毒内容,而无需额外的微调。已经证明,自动诊断方法可以有效地获得这种令人惊讶的自我诊断能力。然而,现有的基于语义的方法通常以区别性的方式向语言模型指定指令。在这项工作中,我们探讨了生成的变种zero-shot基于毒性检测与全面试验的提示工程。我们对三个数据集进行了评估,这些数据集在社交媒体帖子上标注了毒性标签。我们的分析突出了我们的生成分类方法的优势,无论是定量还是定性。有趣的方面自我诊断及其伦理影响进行了讨论。

英文摘要:

Due to the subtleness, implicity, and different possible interpretations perceived by different people, detecting undesirable content from text is a nuanced difficulty. It is a long-known risk that language models (LMs), once trained on corpus containing undesirable content, have the power to manifest biases and toxicity. However, recent studies imply that, as a remedy, LMs are also capable of identifying toxic content without additional fine-tuning. Prompt-methods have been shown to effectively harvest this surprising self-diagnosing capability. However, existing prompt-based methods usually specify an instruction to a language model in a discriminative way. In this work, we explore the generative variant of zero-shot prompt-based toxicity detection with comprehensive trials on prompt engineering. We evaluate on three datasets with toxicity labels annotated on social media posts. Our analysis highlights the strengths of our generative classification approach both quantitatively and qualitatively. Interesting aspects of self-diagnosis and its ethical implications are discussed.

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

↑