确保大语言模型(LLMs)的安全对齐对于生成符合人类价值观的响应至关重要。然而,LLMs 仍然容易受到越狱攻击的影响,精心构造的提示可以操纵它们生成有害内容。其中一类攻击将任务重新表述为优化问题,旨在诱导 LLM 给出肯定性回应。然而,这些方法严重依赖预定义的有害行为,限制了它们对多样化有害查询的有效性和适应性。在本研究中,我们首先识别了原始目标损失为何次优,然后提出了对损失目标的改进。我们引入了 DSN(Don't Say No)攻击,它将余弦衰减调度方法与拒绝抑制相结合,以实现更高的成功率。大量实验表明,DSN 优于基线攻击,并达到了最先进的攻击成功率(ASR)。DSN 还表现出对未见数据集和黑盒模型的强大通用性和可迁移性。
英文摘要:
Ensuring the safety alignment of Large Language Models (LLMs) is critical for generating responses consistent with human values. However, LLMs remain vulnerable to jailbreaking attacks, where carefully crafted prompts manipulate them into producing toxic content. One category of such attacks reformulates the task as an optimization problem, aiming to elicit affirmative responses from the LLM. However, these methods heavily rely on predefined objectionable behaviors, limiting their effectiveness and adaptability to diverse harmful queries. In this study, we first identify why the vanilla target loss is suboptimal and then propose enhancements to the loss objective. We introduce DSN (Don't Say No) attack, which combines a cosine decay schedule method with refusal suppression to achieve higher success rates. Extensive experiments demonstrate that DSN outperforms baseline attacks and achieves state-of-the-art attack success rates (ASR). DSN also shows strong universality and transferability to unseen datasets and black-box models.
Understanding Refusal in Language Models with Sparse Autoencoders
Nanyang Technological University(南洋理工大学);Singapore University of Technology and Design(新加坡科技设计大学);Digital Trust Centre(数字信任中心);Institute of High Performance Computing (IHPC)(高性能计算研究所)
Utilize the Flow before Stepping into the Same River Twice: Certainty Represented Knowledge Flow for Refusal-Aware Instruction Tuning
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Peking University(北京大学);Southwest Jiaotong University(西南交通大学);Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences(中国科学院大学杭州高等研究院)
PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips
Oregon State University(俄勒冈州立大学);University of British Columbia(不列颠哥伦比亚大学);University of Toronto(多伦多大学);George Mason University(乔治·梅森大学);Rutgers University(罗格斯大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校)
Alignment Quality Index (AQI) : Beyond Refusals: AQI as an Intrinsic Alignment Diagnostic via Latent Geometry, Cluster Divergence, and Layer wise Pooled Representations
Manipal University Jaipur(Manipal大学贾ipur分校);LinkedIn;IIT Kharagpur(印度理工学院Kharagpur分校);IIIT Guwahati(印度冈瓦提理工学院);Texas A&M University(德克萨斯A&M大学);Vellore Institute of Technology(维洛雷理工学院);Meta AI;Evalueserve;New York University(纽约大学);Amazon AI;BITS Goa(果阿理工学院)
Strategic Deflection: Defending LLMs from Logit Manipulation
International Artificial Intelligence Center of Morocco(摩洛哥国际人工智能中心);Mohammed VI Polytechnic University(摩洛哥穆莱·伊斯梅尔理工学院);AgriEdge;Sorbonne University, LIP6 - UMR 7606 CNRS(索邦大学,LIP6 - UMR 7606 CNRS)
Toward Understanding the Transferability of Adversarial Suffixes in Large Language Models
Ludwig-Maximilians-Universität München(慕尼黑莱布尼茨-马克斯大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Carnegie Mellon University(卡内基梅隆大学);University of Maryland(马里兰大学)
Beyond "I Don't Know": Evaluating LLM Self-Awareness in Discriminating Data and Model Uncertainty
Dept. of Comp. Sci. & Tech., Institute for AI, Tsinghua University, Beijing, China(计算机科学与技术系,人工智能研究院,清华大学,北京,中国);Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China(人工智能产业研究院(AIR),清华大学,北京,中国)
Multilingual Collaborative Defense for Large Language Models
Key Laboratory of Big Data & Artificial Intelligence in Transportation (Beijing Jiaotong University), Ministry of Education(大数据与人工智能交通运输 key laboratory(北京交通大学));School of Computer Science and Technology, Beijing Jiaotong University(计算机科学与技术学院(北京交通大学));University of Montreal(蒙特利尔大学)