尽管大语言模型(LLM)对齐技术的最新进展已能有效识别涉及场景嵌套和关键词改写的恶意目标,但本研究发现,这些方法仍无法充分检测嵌套在无害目标内、通过上下文表达的恶意目标。本研究发现了一种此前被忽视的漏洞,我们将其命名为Attack via Implicit Reference(隐式引用攻击,AIR)。AIR将恶意目标分解为多个可允许的目标,并通过上下文中的隐式引用将它们关联起来。该方法利用多个相关的无害目标生成恶意内容,不会触发拒绝响应,从而有效绕过现有检测技术。我们的实验证明了AIR在多款前沿大语言模型上的有效性,在包括GPT-4o、Claude-3.5-Sonnet和Qwen-2-72B在内的大多数模型上,攻击成功率(ASR)超过90%。值得注意的是,我们观察到一种逆缩放现象,即模型规模越大,越容易受到这种攻击方法的影响。这些发现凸显了开发能够理解并防范上下文攻击的防御机制的迫切需求。此外,我们提出了一种跨模型攻击策略,利用安全性较低的模型生成恶意上下文,从而进一步提升针对其他模型的攻击成功率。我们的代码和越狱样本可在https://github.com/Lucas-TY/llm_Implicit_reference获取。
英文摘要:
While recent advancements in large language model (LLM) alignment have enabled the effective identification of malicious objectives involving scene nesting and keyword rewriting, our study reveals that these methods remain inadequate at detecting malicious objectives expressed through context within nested harmless objectives. This study identifies a previously overlooked vulnerability, which we term Attack via Implicit Reference (AIR). AIR decomposes a malicious objective into permissible objectives and links them through implicit references within the context. This method employs multiple related harmless objectives to generate malicious content without triggering refusal responses, thereby effectively bypassing existing detection techniques.Our experiments demonstrate AIR's effectiveness across state-of-the-art LLMs, achieving an attack success rate (ASR) exceeding 90% on most models, including GPT-4o, Claude-3.5-Sonnet, and Qwen-2-72B. Notably, we observe an inverse scaling phenomenon, where larger models are more vulnerable to this attack method. These findings underscore the urgent need for defense mechanisms capable of understanding and preventing contextual attacks. Furthermore, we introduce a cross-model attack strategy that leverages less secure models to generate malicious contexts, thereby further increasing the ASR when targeting other models.Our code and jailbreak artifacts can be found at https://github.com/Lucas-TY/llm_Implicit_reference.
PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
Beijing Institute of AI Safety and Governance (Beijing-AISI)(北京人工智能安全与治理研究院);Beijing Key Laboratory of Safe AI and Superalignment(北京安全人工智能与超对齐重点实验室);BrainCog Lab, CASIA(CASIA脑认知实验室)
Beyond the Tip of Efficiency: Uncovering the Submerged Threats of Jailbreak Attacks in Small Language Models
Tsinghua University(清华大学);Zhongguancun Laboratory(中关村实验室);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Shandong Key Laboratory of Artificial Intelligence Security(山东省人工智能安全重点实验室)
Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinking
University of Southern California(南加州大学);University of Pennsylvania(宾夕法尼亚大学);University of Wisconsin Madison(威斯康星大学麦迪逊分校);University of California, Davis(加利福尼亚大学戴维斯分校)
xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreaking
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shenzhen University of Advanced Technology(深圳理工大学);WUST(武汉科技大学);HITSZ(哈尔滨工业大学(深圳));School of Biomedical Engineering, UNSW Sydney(新南威尔士大学悉尼分校生物医学工程学院)
What Intermediate Layers Know: Detecting Jailbreaks from Entropy Dynamics
LMU Munich(慕尼黑大学);relAI – Konrad Zuse School of Excellence in Reliable AI(relAI – 康拉德·楚泽可靠人工智能卓越学校);University of Pisa(比萨大学);Munich Center for Machine Learning(慕尼黑机器学习中心);School of Engineering, Computing and Mathematics, Oxford Brookes University(牛津布鲁克斯大学工程、计算与数学学院)
BAIT: Boundary-Guided Disclosure Escalation LLM Jailbreaking via Self-Conditioned Reasoning
The Harbin Institute of Technology(哈尔滨工业大学);The Hong Kong Polytechnic University(香港理工大学);Shenzhen University(深圳大学);Shenzhen Loop Area Institute(深圳河套学院)
Jailbreaking for the Average Jane: Choosing Optimal Jailbreaks via Bandit Algorithms for Automatically Enhanced Queries
Centre for Machine Intelligence and Data Science, IIT Bombay(印度理工学院班加罗尔机器智能与数据科学中心);Department of Computer Science and Engineering, IIT Bombay(印度理工学院班加罗尔计算机科学与工程系)
Scalable Defense against In-the-wild Jailbreaking Attacks with Safety Context Retrieval
School of EECS, Peking University(电子工程系,北京大学);School of Mathematical Sciences, Peking University(数学系,北京大学);State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(通用人工智能国家重点实验室,智能科学与技术学校,北京大学);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学)
DoubtProbe: Black-Box Jailbreak Defense via Structural Verification and Semantic Auditing
East China Normal University(东华大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所)
Saying What You're Looking For: Linguistics Meets Video Search
Purdue University(普渡大学)
我们提出了一种方法来搜索大型视频语料库中的视频剪辑描述的自然语言查询的形式的句子。这种方法使用组合语义来编码在其他系统中丢失的微妙含义,例如具有相同单词但含义完全不同的两个句子之间的差异:“The person rode the horse}与\emph {The horse rode the person”。给定一个视频句子对和一个自然语言解析器,以及一个描述语义查询空间的语法,我们会产生一个分数,表明视频对句子的描述有多好。我们为语料库中的每个视频片段生成这样的分数,并返回片段的排名列表。此外,该方法同时解决了两个基本问题:检测和跟踪对象,并识别这些轨迹是否描述了查询。因为跟踪和目标检测都是不可靠的,所以这使用关于预期的初步查询的知识来将跟踪器集中在相关参与者上,并确保所得到的轨迹由初步查询描述。虽然早期的工作仅限于对应于动词或名词的单字查询,我们展示了如何搜索包含多个短语(如介词短语)和修饰语(如副词)的复杂查询。我们证明了这种方法,通过搜索141个查询,涉及人和马相互作用,在10个全长好莱坞电影。
A Mousetrap: Fooling Large Reasoning Models for Jailbreak with Chain of Iterative Chaos
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学);Fudan University(复旦大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))