Graph-enhanced Large Language Models in Asynchronous Plan Reasoning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lin, Fangru, La Malfa, Emanuele, Hofmann, Valentin, Yang, Elle Michelle, Cohn, Anthony, Pierrehumbert, Janet B.
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929370796392448
author Lin, Fangru
La Malfa, Emanuele
Hofmann, Valentin
Yang, Elle Michelle
Cohn, Anthony
Pierrehumbert, Janet B.
author_facet Lin, Fangru
La Malfa, Emanuele
Hofmann, Valentin
Yang, Elle Michelle
Cohn, Anthony
Pierrehumbert, Janet B.
contents Planning is a fundamental property of human intelligence. Reasoning about asynchronous plans is challenging since it requires sequential and parallel planning to optimize time costs. Can large language models (LLMs) succeed at this task? Here, we present the first large-scale study investigating this question. We find that a representative set of closed and open-source LLMs, including GPT-4 and LLaMA-2, behave poorly when not supplied with illustrations about the task-solving process in our benchmark AsyncHow. We propose a novel technique called Plan Like a Graph (PLaG) that combines graphs with natural language prompts and achieves state-of-the-art results. We show that although PLaG can boost model performance, LLMs still suffer from drastic degradation when task complexity increases, highlighting the limits of utilizing LLMs for simulating digital devices. We see our study as an exciting step towards using LLMs as efficient autonomous agents. Our code and data are available at https://github.com/fangru-lin/graph-llm-asynchow-plan.
format Preprint
id arxiv_https___arxiv_org_abs_2402_02805
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Graph-enhanced Large Language Models in Asynchronous Plan Reasoning
Lin, Fangru
La Malfa, Emanuele
Hofmann, Valentin
Yang, Elle Michelle
Cohn, Anthony
Pierrehumbert, Janet B.
Artificial Intelligence
Computation and Language
Machine Learning
Planning is a fundamental property of human intelligence. Reasoning about asynchronous plans is challenging since it requires sequential and parallel planning to optimize time costs. Can large language models (LLMs) succeed at this task? Here, we present the first large-scale study investigating this question. We find that a representative set of closed and open-source LLMs, including GPT-4 and LLaMA-2, behave poorly when not supplied with illustrations about the task-solving process in our benchmark AsyncHow. We propose a novel technique called Plan Like a Graph (PLaG) that combines graphs with natural language prompts and achieves state-of-the-art results. We show that although PLaG can boost model performance, LLMs still suffer from drastic degradation when task complexity increases, highlighting the limits of utilizing LLMs for simulating digital devices. We see our study as an exciting step towards using LLMs as efficient autonomous agents. Our code and data are available at https://github.com/fangru-lin/graph-llm-asynchow-plan.
title Graph-enhanced Large Language Models in Asynchronous Plan Reasoning
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2402.02805