Skip to main content
QUICK REVIEW

[Paper Review] How Secure Are Large Language Models (LLMs) for Navigation in Urban Environments?

Congcong Wen, Jiazhao Liang|arXiv (Cornell University)|Feb 14, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper introduces the Navigational Prompt Suffix (NPS) Attack, a novel adversarial method that manipulates LLM-based navigation systems in urban environments by appending gradient-derived suffixes to prompts, causing incorrect navigation decisions. The attack demonstrates high transferability and effectiveness across multiple LLMs and datasets, with performance drops of up to 463.16% in key metrics, highlighting critical security vulnerabilities in real-world LLM navigation systems.

ABSTRACT

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.

Motivation & Objective

  • To investigate the security vulnerabilities of LLM-based navigation systems in real-world urban outdoor environments.
  • To identify and exploit previously unexamined adversarial attack surfaces in LLM-driven navigation, particularly through prompt manipulation.
  • To evaluate the transferability and generalizability of adversarial attacks across different LLM architectures and fine-tuning configurations.
  • To propose and validate an initial defense mechanism—Navigational Prompt Engineering (NPE) Defense—that improves resilience against such attacks.
  • To underscore the urgent need for stronger, scalable defense strategies in LLM-based autonomous systems for safety-critical applications.

Proposed method

  • Developed the Navigational Prompt Suffix (NPS) Attack by generating adversarial suffixes using gradient information from the LLM model.
  • Applied the NPS Attack in both white-box and black-box settings to test transferability across different LLMs (GPT-3, LLaMA, LLaMA2) and model configurations (few-shot and fine-tuned).
  • Utilized two real-world street-view datasets—Touchdown and Map2Seq—to evaluate model performance under adversarial conditions.
  • Designed the NPE Defense strategy by focusing on navigation-relevant keywords in prompts to reduce susceptibility to adversarial suffixes.
  • Evaluated the NPS Attack and NPE Defense using three metrics: Success Rate (SPD), Knowledge Probing Accuracy (KPA), and Task Completion (TC).
  • Conducted ablation studies comparing performance across different LLMs and defense strategies under both clean and adversarial conditions.

Experimental results

Research questions

  • RQ1How vulnerable are LLM-based navigation models to prompt-based adversarial attacks in real urban environments?
  • RQ2To what extent can adversarial suffixes derived from one LLM transfer to and compromise other LLM-based navigation models?
  • RQ3How effective is the NPE Defense strategy in mitigating the impact of adversarial suffixes across diverse LLM architectures and fine-tuning regimes?
  • RQ4What is the quantitative impact of the NPS Attack on key navigation performance metrics (SPD, KPA, TC) under white-box and black-box settings?
  • RQ5Can the NPE Defense strategy consistently improve robustness without degrading performance on clean, non-adversarial inputs?

Key findings

  • The NPS Attack caused a performance decline of up to 463.16% in the Task Completion (TC) metric on the Touchdown dataset when applied to the fine-tuned VELMA-FT model.
  • On the Map2Seq dataset, the NPE-RP defense strategy improved the KPA metric by 120.68% and TC by 154.39% for the VELMA-RBL model, demonstrating strong resilience gains.
  • The NPE Defense strategy reduced the Success Rate (SPD) by 53.33% and increased KPA by 125.21% for the VELMA-FT model on the Touchdown dataset, indicating significant robustness improvement.
  • The NPS Attack showed high transferability: suffixes crafted for one LLM (e.g., GPT-3) successfully misled other LLMs (e.g., LLaMA, LLaMA2), indicating a systemic vulnerability.
  • Performance degradation was consistently observed across all three metrics (SPD, KPA, TC) in both few-shot and fine-tuned configurations, confirming the attack’s broad effectiveness.
  • The NPE Defense strategy improved SPD by 0.84% and KPA by 21.05% on the Map2Seq dataset for VELMA-GPT3, and by up to 37.01% in KPA for VELMA-LLaMa2, showing measurable yet limited gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.