Skip to main content
QUICK REVIEW

[Paper Review] Navigation with Large Language Models: Semantic Guesswork as a Heuristic for Planning

Dhruv Shah, Michael Equi|arXiv (Cornell University)|Oct 16, 2023
Multimodal Machine Learning ApplicationsComputer Science14 citations
TL;DR

LFG uses LLM-derived semantic heuristics to bias frontier-based exploration for navigation, combining language reasoning with planning to accelerate goal-directed search in new environments. It outperforms uninformed exploration and several LLM-based baselines on Habitat ObjectNav and real-world tests.

ABSTRACT

Navigation in unfamiliar environments presents a major challenge for robots: while mapping and planning techniques can be used to build up a representation of the world, quickly discovering a path to a desired goal in unfamiliar settings with such methods often requires lengthy mapping and exploration. Humans can rapidly navigate new environments, particularly indoor environments that are laid out logically, by leveraging semantics -- e.g., a kitchen often adjoins a living room, an exit sign indicates the way out, and so forth. Language models can provide robots with such knowledge, but directly using language models to instruct a robot how to reach some destination can also be impractical: while language models might produce a narrative about how to reach some goal, because they are not grounded in real-world observations, this narrative might be arbitrarily wrong. Therefore, in this paper we study how the ``semantic guesswork'' produced by language models can be utilized as a guiding heuristic for planning algorithms. Our method, Language Frontier Guide (LFG), uses the language model to bias exploration of novel real-world environments by incorporating the semantic knowledge stored in language models as a search heuristic for planning with either topological or metric maps. We evaluate LFG in challenging real-world environments and simulated benchmarks, outperforming uninformed exploration and other ways of using language models.

Motivation & Objective

  • Motivate the use of semantic knowledge from large language models to guide navigation in unfamiliar indoor environments.
  • Develop a heuristic-based planner that grounds LLM-derived semantics to frontier-based exploration.
  • Show that LFG improves goal-directed exploration over uninformed strategies and other LLM-based methods in real-world and simulated benchmarks.
  • Demonstrate robustness of LFG across geometric and topological maps and two pipelines (geometric with hand-designed controller, topological with learned policy).

Proposed method

  • Score subgoal proposals s_i for a given query q using an LLM conditioned on the episodic memory M.
  • Ground subgoal images with a vision-language model to obtain textual descriptors l_i for scoring.
  • Poll the LLM with structured prompts and chain-of-thought reasoning using positive and negative prompts to estimate p(s_i|q,M) and p(¬s_i|q,M).
  • Incorporate LLM-derived scores into a frontier-based exploration planner as a heuristic: h(f_i,q)=w_p·LLM_pos(c_i) − w_n·LLM_neg(c_i) − dist(f_i, p).
  • Combine LFG with either a geometric (2D map) or topological navigation pipeline, enabling both metric planning with a hand-designed controller and learning-based planning with a learned policy.
  • Demonstrate that polling with CoT and negative prompts improves robustness and accuracy of the heuristic.
Figure 1: In constrast to methods that use LLM plans directly, Language Frontier Guide (LFG) uses a language model to score subgoal candidates, and uses these scores to guide a heuristic-based planner.
Figure 1: In constrast to methods that use LLM plans directly, Language Frontier Guide (LFG) uses a language model to score subgoal candidates, and uses these scores to guide a heuristic-based planner.

Experimental results

Research questions

  • RQ1Can LLMs provide useful semantic priors to bias exploration toward frontiers more likely to lead to the goal?
  • RQ2Does using LLM-derived semantic heuristics improve goal-directed navigation in unseen environments over purely geometric or unguided search methods?
  • RQ3How do prompting strategies (positive/negative prompts, chain-of-thought) affect the quality of subgoal scoring and navigation performance?
  • RQ4Is the LFG approach robust across geometric and topological representations and real-world vs simulation settings?
  • RQ5What is the impact of grounding LLM scores within a vision-language grounding step on navigation performance?

Key findings

  • LFG outperforms uninformed frontier-based exploration and several LLM-based baselines on Habitat ObjectNav benchmark.
  • Polling with chain-of-thought and a mix of positive/negative prompts yields substantial improvements in subgoal scoring and navigation success.
  • In real-world tests, LFG with a topological map achieves 16% better performance than language baselines without semantic guidance.
  • Ablations show CoT prompting (+6.6%) and polling (+7.8%) are essential components of LFG’s performance gains.
  • Compared to purely greedy LLM or logprob-based scoring, LFG achieves notably stronger navigation performance.
  • On simulated HM3D ObjectNav, LFG (Ours) reaches 68.9% success rate with 36.0 SPL, outpacing several baselines and approaching state-of-the-art without training.
Figure 2: LFG scores subgoals with an empirical estimate of the likelihoods by sampling an LLM $n_{s}$ times with both positive and negative prompts, and uses chain-of-thought to obtain reliable scores. These scores are used by a high-level planner as heuristics to guide search. For full prompts, se
Figure 2: LFG scores subgoals with an empirical estimate of the likelihoods by sampling an LLM $n_{s}$ times with both positive and negative prompts, and uses chain-of-thought to obtain reliable scores. These scores are used by a high-level planner as heuristics to guide search. For full prompts, se

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.