arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.20286cs.CRcs.LG
收藏

适应性探针引导用于鲁棒大语言模型劫持

Adaptive Probe-based Steering for Robust LLM Jailbreaking

School of Computer Science(计算机科学学院);Engineering, Sun Yat-Sen University, China(中山大学工程学院,中国);Nanyang Technological University, Singapore(南洋理工大学,新加坡)

Junxi Chen, Junhao Dong, Xiaohua Xie

AI总结:

本文提出了一种基于模型提取的适应性探针引导方法,通过动态调整引导强度来提升大语言模型劫持的鲁棒性和有效性,无需额外对比提示或手动调参,显著提高了攻击效果。

摘要:

近期研究表明,对比引导在大语言模型(LLMs)劫持中具有潜力。然而,现有方法依赖于有限且本质上偏见的对比提示,并需要繁琐的手动调整引导强度,限制了其鲁棒性和有效性。本文利用模型提取的想法来引导学习到的引导向量以近似理想向量,并提出基于对比激活统计信息适应性地调整引导强度。实验表明,我们的方法显著提高了基于探针的引导的有效性和鲁棒性,无需任何额外的对比提示或繁琐的手动调参。作为一篇攻击论文,本文旨在揭示加固LLMs的崩溃,将平均有害性得分从6%提升到70%。我们的代码可在https://github.com/fhdnskfbeuv/adaptiveSteering上获得。

英文摘要:

Recent work has demonstrated the potential of contrastive steering for jailbreaking Large Language Models (LLMs). However, existing methods rely on limited and inherently biased contrastive prompts and require laborious manual tuning of steering strength, limiting their robustness and effectiveness. In this paper, we leverage the idea of model extraction to guide the learned steering vectors to approximate the ideal one and propose tuning the steering strength adaptively based on contrastive activations' statistics. Experiments demonstrate that our method notably improves the effectiveness and robustness of probe-based steering, without any extra contrastive prompts or laborious manual tuning. Being an attack paper, this paper focuses on revealing the breakdown of fortified LLMs, raising the average harmfulness score from 6\% to 70\%. Our code is available at https://github.com/fhdnskfbeuv/adaptiveSteering.

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

↑