TIC: Translate-Infer-Compile for accurate "text to plan" using LLMs and Logical Representations

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Agarwal, Sudhir, Sreepathy, Anu
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909233551769600
author Agarwal, Sudhir
Sreepathy, Anu
author_facet Agarwal, Sudhir
Sreepathy, Anu
contents We study the problem of generating plans for given natural language planning task requests. On one hand, LLMs excel at natural language processing but do not perform well on planning. On the other hand, classical planning tools excel at planning tasks but require input in a structured language such as the Planning Domain Definition Language (PDDL). We leverage the strengths of both the techniques by using an LLM for generating the PDDL representation (task PDDL) of planning task requests followed by using a classical planner for computing a plan. Unlike previous approaches that use LLMs for generating task PDDLs directly, our approach comprises of (a) translate: using an LLM only for generating a logically interpretable intermediate representation of natural language task description, (b) infer: deriving additional logically dependent information from the intermediate representation using a logic reasoner (currently, Answer Set Programming solver), and (c) compile: generating the target task PDDL from the base and inferred information. We observe that using an LLM to only output the intermediate representation significantly reduces LLM errors. Consequently, TIC approach achieves, for at least one LLM, high accuracy on task PDDL generation for all seven domains of our evaluation dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2402_06608
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TIC: Translate-Infer-Compile for accurate "text to plan" using LLMs and Logical Representations
Agarwal, Sudhir
Sreepathy, Anu
Computation and Language
Artificial Intelligence
We study the problem of generating plans for given natural language planning task requests. On one hand, LLMs excel at natural language processing but do not perform well on planning. On the other hand, classical planning tools excel at planning tasks but require input in a structured language such as the Planning Domain Definition Language (PDDL). We leverage the strengths of both the techniques by using an LLM for generating the PDDL representation (task PDDL) of planning task requests followed by using a classical planner for computing a plan. Unlike previous approaches that use LLMs for generating task PDDLs directly, our approach comprises of (a) translate: using an LLM only for generating a logically interpretable intermediate representation of natural language task description, (b) infer: deriving additional logically dependent information from the intermediate representation using a logic reasoner (currently, Answer Set Programming solver), and (c) compile: generating the target task PDDL from the base and inferred information. We observe that using an LLM to only output the intermediate representation significantly reduces LLM errors. Consequently, TIC approach achieves, for at least one LLM, high accuracy on task PDDL generation for all seven domains of our evaluation dataset.
title TIC: Translate-Infer-Compile for accurate "text to plan" using LLMs and Logical Representations
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2402.06608