通过多语言询问对 ChatGPT 可靠性进行综合评估
Comprehensive Evaluation of ChatGPT Reliability Through Multilingual Inquiries
AI总结:
本文采用模糊测试与提示词注入,通过单语、多语言及异语回答三类恶意提问评估 ChatGPT,发现多语言包装可导致越狱且注入会放大风险。
摘要:
ChatGPT 目前是最受欢迎的大型语言模型(LLM),拥有超过 1 亿用户,对人们的生活产生了重大影响。然而,由于存在越狱漏洞,ChatGPT 可能会对人们的生活造成负面影响,甚至可能助长犯罪活动。测试 ChatGPT 是否会被越狱至关重要,因为这可以提升 ChatGPT 的安全性、可靠性和社会责任。受先前研究揭示的 LLM 在不同语言翻译中表现各异的启发,我们怀疑用多种语言包装提示词可能会导致 ChatGPT 越狱。为研究这一点,我们设计了一项采用模糊测试方法的研究,以分析 ChatGPT 的跨语言能力。我们的研究包含三种策略,通过自动向 ChatGPT 提出不同形式的恶意问题来实现:(1)每个恶意问题仅涉及一种语言;(2)多语言恶意问题;(3)指定 ChatGPT 使用与提示词不同的语言进行回答。此外,我们还利用提示词注入模板包装上述三类问题,从而组合这些策略。我们共检查了 7,892 条问答数据,发现多语言包装确实可能导致 ChatGPT 越狱,并且不同包装方法对越狱概率有不同影响。提示词注入会放大多语言包装所导致的越狱概率。本工作为 OpenAI 开发者增强 ChatGPT 对语言多样性和包容性的支持提供了洞见。
英文摘要:
ChatGPT is currently the most popular large language model (LLM), with over 100 million users, making a significant impact on people's lives. However, due to the presence of jailbreak vulnerabilities, ChatGPT might have negative effects on people's lives, potentially even facilitating criminal activities. Testing whether ChatGPT can cause jailbreak is crucial because it can enhance ChatGPT's security, reliability, and social responsibility. Inspired by previous research revealing the varied performance of LLMs in different language translations, we suspected that wrapping prompts in multiple languages might lead to ChatGPT jailbreak. To investigate this, we designed a study with a fuzzing testing approach to analyzing ChatGPT's cross-linguistic proficiency. Our study includes three strategies by automatically posing different formats of malicious questions to ChatGPT: (1) each malicious question involving only one language, (2) multilingual malicious questions, (3) specifying that ChatGPT responds in a language different from the prompts. In addition, we also combine our strategies by utilizing prompt injection templates to wrap the three aforementioned types of questions. We examined a total of 7,892 Q&A data points, discovering that multilingual wrapping can indeed lead to ChatGPT's jailbreak, with different wrapping methods having varying effects on jailbreak probability. Prompt injection can amplify the probability of jailbreak caused by multilingual wrapping. This work provides insights for OpenAI developers to enhance ChatGPT's support for language diversity and inclusion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。