Translating Natural Language to Planning Goals with Large-Language Models, Yaqi Xie★, Chen Yu★, Tongyao Zhu, Jinbin Bai, Ze Gong★, Harold Soh★, arXiv preprint, 2023

Recent large language models (LLMs) have demonstrated remarkable performance on a variety of natural language processing (NLP) tasks, leading to intense excitement about their applicability across various domains. Unfortunately, recent work has also shown that LLMs are unable to perform accurate reasoning nor solve planning problems, which may limit their usefulness for robotics-related tasks.

In this work, our central question is whether LLMs are able to translate goals specified in natural language to a structured planning language. If so, LLM can act as a natural interface between the planner and human users; the translated goal can be handed to domain-independent AI planners that are very effective at planning.

Our empirical results on GPT 3.5 variants show that LLMs are much better suited towards translation rather than planning. We find that LLMs are able to leverage commonsense knowledge and reasoning to furnish missing details from under-specified goals (as is often the case in natural language). However, our experiments also reveal that LLMs can fail to generate goals in tasks that involve numerical or physical (e.g., spatial) reasoning, and that LLMs are sensitive to the prompts used. As such, these models are promising for translation to structured planning languages, but care should be taken in their use.

## Resources

You can find our paper here. Check out our repository here on github.

## Citation

Please consider citing our paper if you build upon our results and ideas.

Yaqi Xie★, Chen Yu★, Tongyao Zhu, Jinbin Bai, Ze Gong★, Harold Soh★, “Translating Natural Language to Planning Goals with Large-Language Models”, arXiv preprint, 2023

@article{yaqi23translating,
url = {https://arxiv.org/abs/2302.05128},
author = {Xie, Yaqi and Yu, Chen and Zhu, Tongyao and Bai, Jinbin and Gong, Ze and Soh, Harold},
title = {Translating Natural Language to Planning Goals with Large-Language Models},
publisher = {arXiv},
year = {2023} }