Planning proficiency via LLM: research paper code
Top 71.1% on sourcepulse
LLM+P empowers large language models (LLMs) with optimal planning capabilities by translating natural language task descriptions into PDDL (Planning Domain Definition Language) for execution by classical planners. This project is targeted at researchers and developers working on AI planning, natural language understanding, and intelligent agents. It offers a novel approach to bridge the gap between human-readable instructions and formal planning representations.
How It Works
The core innovation lies in using LLMs to generate PDDL problem files from natural language descriptions. The system supports multiple methods: directly generating a plan from natural language, generating PDDL from natural language and then planning, or generating PDDL with contextual information for improved planning. This approach leverages the LLM's understanding of language to automate the creation of formal planning inputs, a traditionally manual and error-prone process.
Quick Start & Requirements
keys/openai_keys.txt
file.python main.py --domain DOMAIN --method METHOD --task TASK_ID
or use bash run.sh DOMAIN METHOD TASK_ID
.barman
, blocksworld
, floortile
, grippers
, storage
, termes
, tyreworld
.llm_ic_pddl_planner
, llm_pddl_planner
, llm_planner
, llm_ic_planner
.Highlighted Details
Maintenance & Community
The project is associated with a pre-print: Liu et al., "LLM+P: Empowering Large Language Models with Optimal Planning Proficiency." Further community or maintenance information is not detailed in the README.
Licensing & Compatibility
The license is not specified in the README. Compatibility for commercial use or closed-source linking is undetermined.
Limitations & Caveats
The project requires access to the OpenAI API, which may incur costs. The Fast Downward planner is a significant external dependency. The README does not specify the exact LLM models used or provide performance benchmarks.
1 year ago
1 day