LLM审查:机器学习挑战还是计算机安全问题?
LLM Censorship: A Machine Learning Challenge or a Computer Security Problem?
AI总结:
本文指出大语言模型语义审查存在理论局限性,属于不可判定问题,且攻击者可通过合法输出重构违规内容,因此应将LLM审查重新定义为安全问题,采用安全领域方法应对风险。
摘要:
大语言模型(LLM)在理解复杂指令方面展现出了出色的能力。然而,它们对所提供指令的盲目遵循引发了关于恶意使用风险的担忧。现有的防御机制,例如模型微调或使用LLM进行输出审查,已被证明存在缺陷,因为LLM仍然可能生成有问题的响应。常用的审查方法将该问题视为机器学习问题,并依赖另一个语言模型(LM)来检测LLM输出中的不良内容。在本文中,我们阐述了这类语义审查方法的理论局限性。具体而言,我们证明语义审查可被视为一个不可判定问题,凸显了由LLM的编程能力和指令遵循能力所带来的审查固有挑战。此外,我们认为这些挑战超出了语义审查的范畴,因为具备相关知识的攻击者可以从一系列可允许的输出中重构出不被允许的输出。因此,我们提出审查问题需要被重新评估;它应被视为一个安全问题,需要采用基于安全的方法来缓解潜在风险。
英文摘要:
Large language models (LLMs) have exhibited impressive capabilities in comprehending complex instructions. However, their blind adherence to provided instructions has led to concerns regarding risks of malicious use. Existing defence mechanisms, such as model fine-tuning or output censorship using LLMs, have proven to be fallible, as LLMs can still generate problematic responses. Commonly employed censorship approaches treat the issue as a machine learning problem and rely on another LM to detect undesirable content in LLM outputs. In this paper, we present the theoretical limitations of such semantic censorship approaches. Specifically, we demonstrate that semantic censorship can be perceived as an undecidable problem, highlighting the inherent challenges in censorship that arise due to LLMs' programmatic and instruction-following capabilities. Furthermore, we argue that the challenges extend beyond semantic censorship, as knowledgeable attackers can reconstruct impermissible outputs from a collection of permissible ones. As a result, we propose that the problem of censorship needs to be reevaluated; it should be treated as a security problem which warrants the adaptation of security-based approaches to mitigate potential risks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。