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

ChatGPT的毒性全面评估

Comprehensive Assessment of Toxicity in ChatGPT

CISPA Helmholtz Center for Information Security(亥姆霍兹信息安全中心);Microsoft(微软);NetApp(网存公司)

Boyang Zhang, Xinyue Shen, Wai Man Si, Zeyang Sha, Zeyuan Chen, Ahmed Salem, Yun Shen, Michael Backes, Yang Zhang

AI总结:

本文利用指令微调数据集全面评估了ChatGPT的毒性,发现其毒性随任务、领域、长度和语言等提示词属性变化,创意写作及德语、葡萄牙语提示会显著增加毒性,而早期设计的部分恶意提示已不再产生有害回复。

摘要:

审核具有攻击性、仇恨性和毒性的语言一直是NLP安全使用领域中一个重要但具有挑战性的课题。新兴的大型语言模型(LLMs),如ChatGPT,可能会进一步加剧这一威胁。先前的研究发现,ChatGPT可以通过精心设计的输入生成有毒回复。然而,关于系统性地探讨ChatGPT何时生成有毒回复的研究仍然有限。在本文中,我们利用与真实世界场景紧密对齐的指令微调数据集,对ChatGPT中的毒性进行了全面评估。我们的结果表明,ChatGPT的毒性会根据提示词的不同属性和设置而变化,包括任务、领域、长度和语言。值得注意的是,创意写作任务中的提示词引发有毒回复的可能性是其他任务的2倍。使用德语和葡萄牙语进行提示也会使回复毒性翻倍。此外,我们发现早期研究中设计的某些故意带有毒性的提示词不再产生有害回复。我们希望我们的发现能够指导模型开发者更好地监管这些AI系统,并指导用户避免不良输出。

英文摘要:

Moderating offensive, hateful, and toxic language has always been an important but challenging topic in the domain of safe use in NLP. The emerging large language models (LLMs), such as ChatGPT, can potentially further accentuate this threat. Previous works have discovered that ChatGPT can generate toxic responses using carefully crafted inputs. However, limited research has been done to systematically examine when ChatGPT generates toxic responses. In this paper, we comprehensively evaluate the toxicity in ChatGPT by utilizing instruction-tuning datasets that closely align with real-world scenarios. Our results show that ChatGPT's toxicity varies based on different properties and settings of the prompts, including tasks, domains, length, and languages. Notably, prompts in creative writing tasks can be 2x more likely than others to elicit toxic responses. Prompting in German and Portuguese can also double the response toxicity. Additionally, we discover that certain deliberately toxic prompts, designed in earlier studies, no longer yield harmful responses. We hope our discoveries can guide model developers to better regulate these AI systems and the users to avoid undesirable outputs.

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

↑