TL;DR
VLMFP (VLM-Guided Formal Planning) is a novel dual-VLM framework that autonomously generates both PDDL domain and problem files directly from visual observations. By pairing a fine-tuned simulation model (SimVLM) with a large generation model (GenVLM), it enables formal, long-horizon symbolic planning without requiring human engineering or direct environment interaction.
What Problem Does This Paper Address?
While Vision Language Models (VLMs) show promise in visual tasks, they notoriously struggle with precise spatial reasoning and long-horizon planning. Conversely, classical symbolic planners—using languages like Planning Domain Definition Language (PDDL)—excel at long-horizon reasoning but are entirely blind to visual inputs.
Recent hybrid approaches use VLMs to translate visual scenes into PDDL problem files (which specify the initial state and goal configuration of a specific instance). However, these approaches assume that a human expert has already provided the PDDL domain file (which defines the universal physics, predicates, and action rules of the environment). Generating these domain files automatically from visual and textual descriptions is incredibly difficult because a single missing precondition or effect can completely break a symbolic planner. The authors tackle this bottleneck: how can an AI autonomously deduce both the state of the world and the underlying rules of the game from visual inputs alone?
Methods
The authors introduce VLMFP, a framework that splits the problem between two specialized VLMs in an iterative loop:
- SimVLM (The Oracle/World Model): A smaller VLM (Qwen2-VL-7B) fine-tuned specifically to act as an internal simulator. Given a scene image, a domain description, and a proposed action sequence, it predicts the step-by-step consequences and determines if a goal is reached.
- GenVLM (The Programmer): A powerful general-purpose model (GPT-4o) possessing deep knowledge of PDDL syntax. It writes and refines the actual PDDL code.
The system operates in four distinct steps:
- Candidate Generation: SimVLM translates the visual scene into a structured natural language spatial description. GenVLM uses this description to draft initial PDDL domain and problem files.
- Prescreening: The generated PDDL files are automatically checked by a validator for syntactic correctness and semantic consistency.
- Simulation Consistency Checking: To verify the accuracy of the rules, random action sequences are executed in parallel within both the generated PDDL environment and the SimVLM oracle. The framework calculates an Exploration Walk (EW) score to measure bidirectional similarity.
- PDDL Updating: If discrepancies arise (e.g., the PDDL allows an agent to walk through a wall but SimVLM says it should fail), the natural language discrepancy feedback is given to GenVLM, which refines the PDDL files. This loop repeats until the files match perfectly or a valid plan is found.
Datasets
To train SimVLM, the authors constructed a massive dataset consisting of 430k action sequence simulations across 6 distinct grid-world domains: Frozenlake, Maze, Sokoban, Package, Printer, and Overcooked. Each domain features varying map sizes (from 3x3 to 8x8) and 5–6 distinct visual styles (appearances).
To test scalability beyond 2D grid worlds, they also evaluated the framework on two complex 3D continuous robotics tasks: Assembly (puzzle block insertion) and MultiRob (multi-robot object sorting), collecting 100k datapoints for each.
Key Insights and Ideas
- Decoupling Perception from Code Generation: Rather than forcing a single VLM to simultaneously look at an image and write flawless PDDL code, VLMFP separates the visual "world physics" simulation (SimVLM) from the symbolic code generation (GenVLM).
- Environment-Free Self-Correction: Traditional reinforcement learning or PDDL-learning methods require thousands of interactions with a live environment simulator. VLMFP uses the fine-tuned SimVLM as a proxy oracle, allowing the system to debug its own code entirely offline.
- High Generalizability: Because the domain file captures the abstract rules of the game, once VLMFP generates a valid domain file for one instance, that file can be reused across entirely new maps and unseen visual styles.
Key Results
- Robust Simulation: The fine-tuned SimVLM achieved an average of 87.3% accuracy in scenario understanding and action simulation for seen visual appearances, and maintained a stable 86.0% on completely unseen visual styles.
- Planning Success: Guided by SimVLM, VLMFP achieved a 70.0% planning success rate on unseen instances with seen appearances, and 54.1% on unseen appearances.
- Baseline Comparison: VLMFP dramatically outperformed standard LLM prompting methods. Direct plan generation and Chain-of-Thought (CoT) prompting failed completely (near 0% success) on complex tasks like Sokoban. It also beat the strongest baseline, CodePDDL (which lacks the iterative simulation refinement loop), by up to 39.3%.
- 3D Scaling: In continuous 3D environments, VLMFP scaled remarkably well, achieving an end-to-end planning success rate of 85.9% for Assembly and 73.6% for MultiRob on unseen visual configurations.
Limitations and Future Work
The primary limitation lies in handling entirely novel environment mechanics that fall outside the training distribution. For instance, when tested on a variant of FrozenLake where stepping on an ice hole freezes the agent and skips their next action, SimVLM could semantically explain the rule but failed to accurately simulate it during multi-step execution.
The authors suggest that future work should focus on incorporating temporal image sequences to handle dynamically evolving environments and scaling the framework to larger, real-world robotics datasets.
Summary updated