[论文解读] How Secure Are Large Language Models (LLMs) for Navigation in Urban Environments?
本文提出了一种新型对抗性方法——导航提示后缀攻击(Navigational Prompt Suffix, NPS Attack),通过在提示中附加基于梯度生成的后缀,操纵基于大语言模型(LLM)的导航系统在城市环境中的决策,导致错误的导航结果。该攻击在多种LLM和数据集上展现出极高的可迁移性与有效性,关键指标最高下降达463.16%,揭示了现实世界LLM导航系统中严重的安全漏洞。
In the field of robotics and automation, navigation systems based on Large Language Models (LLMs) have recently demonstrated impressive performance. However, the security aspects of these systems have received relatively less attention. This paper pioneers the exploration of vulnerabilities in LLM-based navigation models in urban outdoor environments, a critical area given the widespread application of this technology in autonomous driving, logistics, and emergency services. Specifically, we introduce a novel Navigational Prompt Attack that manipulates LLM-based navigation models by perturbing the original navigational prompt, leading to incorrect actions. Based on the method of perturbation, our attacks are divided into two types: Navigational Prompt Insert (NPI) Attack and Navigational Prompt Swap (NPS) Attack. We conducted comprehensive experiments on an LLM-based navigation model that employs various LLMs for reasoning. Our results, derived from the Touchdown and Map2Seq street-view datasets under both few-shot learning and fine-tuning configurations, demonstrate notable performance declines across seven metrics in the face of both white-box and black-box attacks. Moreover, our attacks can be easily extended to other LLM-based navigation models with similarly effective results. These findings highlight the generalizability and transferability of the proposed attack, emphasizing the need for enhanced security in LLM-based navigation systems. As an initial countermeasure, we propose the Navigational Prompt Engineering (NPE) Defense strategy, which concentrates on navigation-relevant keywords to reduce the impact of adversarial attacks. While initial findings indicate that this strategy enhances navigational safety, there remains a critical need for the wider research community to develop stronger defense methods to effectively tackle the real-world challenges faced by these systems.
研究动机与目标
- 研究基于大语言模型的导航系统在真实城市户外环境中的安全漏洞。
- 识别并利用此前未被探索的LLM驱动导航中的对抗性攻击面,特别是通过提示操控实现攻击。
- 评估对抗性攻击在不同LLM架构和微调配置下的可迁移性与泛化能力。
- 提出并验证一种初步防御机制——导航提示工程(Navigational Prompt Engineering, NPE)防御,以提升对这类攻击的抗性。
- 强调在安全关键应用中,对LLM驱动自主系统亟需更强、可扩展的防御策略。
提出的方法
- 通过利用LLM模型的梯度信息,生成对抗性后缀,开发了导航提示后缀(NPS)攻击。
- 在白盒与黑盒设置下应用NPS攻击,以测试其在不同LLM(GPT-3、LLaMA、LLaMA2)和模型配置(少样本与微调)间的可迁移性。
- 采用两个真实世界街景数据集——Touchdown与Map2Seq,评估模型在对抗性条件下的性能表现。
- 通过聚焦提示中与导航相关的关键字,设计了NPE防御策略,以降低对对抗性后缀的敏感性。
- 使用三项指标评估NPS攻击与NPE防御:成功率(SPD)、知识探针准确率(KPA)与任务完成度(TC)。
- 通过消融研究,对比在干净与对抗性条件下,不同LLM与防御策略下的性能表现。
实验结果
研究问题
- RQ1基于大语言模型的导航模型在真实城市环境中,对基于提示的对抗性攻击有多脆弱?
- RQ2从一个LLM生成的对抗性后缀,能在多大程度上传播至其他基于LLM的导航模型并造成破坏?
- RQ3NPE防御策略在多种LLM架构与微调模式下,对减轻对抗性后缀影响的效果如何?
- RQ4在白盒与黑盒设置下,NPS攻击对关键导航性能指标(SPD、KPA、TC)的定量影响是什么?
- RQ5NPE防御策略是否能在不降低干净输入下性能的前提下,持续提升系统鲁棒性?
主要发现
- 在Touchdown数据集上,对微调后的VELMA-FT模型应用NPS攻击后,任务完成度(TC)指标最高下降463.16%。
- 在Map2Seq数据集上,NPE-RP防御策略使VELMA-RBL模型的KPA指标提升120.68%,TC指标提升154.39%,展现出显著的抗干扰能力。
- 在Touchdown数据集上,NPE防御策略使VELMA-FT模型的失败率(SPD)降低53.33%,KPA提升125.21%,表明鲁棒性显著增强。
- NPS攻击展现出极高的可迁移性:为某一LLM(如GPT-3)生成的后缀可成功误导其他LLM(如LLaMA、LLaMA2),表明存在系统性安全缺陷。
- 在少样本与微调配置下,三项指标(SPD、KPA、TC)均一致出现性能下降,证实了该攻击的广泛有效性。
- 在Map2Seq数据集上,NPE防御策略使VELMA-GPT3的SPD提升0.84%,KPA提升21.05%;对VELMA-LLaMa2的KPA最高提升达37.01%,表明防御效果可观但有限。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。