FATS:利用伪装安全代理与欺骗性少样本学习的提示注入攻击
FATS: A Prompt Injection Attack Utilizing Feign Security Agents with Deceptive Few-shots Learning
AI总结:
提出FATS攻击方法,通过伪装安全代理和毒性样本诱导LLM生成有害内容,实验显示GPT-4.1和Deepseek-R1等主流模型易受攻击,强调需严格审查训练数据源。
摘要:
大型语言模型(LLMs)尽管能力先进,仍面临显著的安全风险。虽然基于人类反馈的强化学习(RLHF)等技术提升了伦理对齐,但过度接触与安全相关的训练数据可能导致LLMs过度信任此类信息,从而产生新的漏洞。针对这一问题,我们提出了一种名为FATS(伪装代理攻击与毒性样本)的新型攻击方法。通过混淆偏好提取、污染毒性样本并诱导恶意行为,我们能够有效误导LLMs生成有害输出。为评估FATS的有效性,我们引入了FAQuery数据集,并在多种LLMs上进行了实验。我们选取了如Advbench等知名基准来评估该方法。结果表明,包括GPT-4.1(61.6%)和Deepseek-R1(99.3%)在内的主流模型高度易受攻击。这强调了在模型训练期间严格分析安全相关数据源的必要性,以开发更安全可靠的LLMs。
英文摘要:
Large Language Models (LLMs) face significant security risks despite their advanced capabilities. While techniques like Reinforcement Learning with Human Feedback (RLHF) improve ethical alignment, excessive exposure to security-related training data may cause LLMs to overtrust such information, creating new vulnerabilities. Investigating this issue, we propose a novel attack method termed FATS (Feign Agent Attack with Toxic-shots). By obfuscating preference extraction, compromising toxicity samples, and inducing malicious behavior, we can effectively mislead LLMs into generating harmful outputs. To evaluate FATS effectiveness, we introduce the FAQuery dataset and conduct experiments on various LLMs. Well-known benchmarks like Advbench were selected to assess the approach. Results demonstrate that mainstream models, including GPT-4.1 (61.6\%) and Deepseek-R1 (99.3\%) are highly susceptible. It underscored the need to rigorously analyze security-related data sources during model training, developing more secure and reliable LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。