Grounding Classical Task Planners via Vision-Language Models

Xiaohan Zhang, Yan Ding, Saeid Amiri, Hao Yang, Andy Kaminski, Chad Esselink, Shiqi ZhangarXiv 2023

Abstract

Classical planning systems have shown great advances in utilizing rule-based human knowledge to compute accurate plans for service robots, but they face challenges due to the strong assumptions of perfect perception and action executions. To tackle these challenges, one solution is to connect the symbolic states and actions generated by classical planners to the robot's sensory observations, thus closing the perception-action loop. This research proposes a visually-grounded planning framework, named TPVQA, which leverages Vision-Language Models (VLMs) to detect action failures and verify action affordances towards enabling successful plan execution. Results from quantitative experiments show that TPVQA surpasses competitive baselines from previous studies in task completion rate.

Introduction

Classical task planners, such as those utilizing PDDL (Planning Domain Definition Language), excel at long-horizon reasoning for complex tasks like "serving breakfast." However, these systems typically operate under the "perfect perception and execution" assumption. They assume that if a command to pick up an object is issued, it will succeed and the state will remain unchanged until the next action. In real-world environments, robots frequently encounter failures—dropping objects, lighting shifts, or unexpected obstacles. Traditionally, addressing these issues required labor-intensive manual engineering of state monitors. This paper introduces TPVQA (Task Planning via Visual Question Answering), a framework designed to solve the grounding problem by connecting abstract symbolic states to raw visual data using off-the-shelf Vision-Language Models (VLMs).

Methodology: The TPVQA Framework

TPVQA bridges the gap between high-level logic and low-level perception by treating plan monitoring as a VQA task. The framework operates in four primary stages:

  1. Precondition Checking: Before an action (e.g., wash(plate)) is executed, TPVQA extracts symbolic requirements from the PDDL domain. These are translated into natural language queries, such as "Is there a sink?" or "Is the plate in the robot's hand?"
  2. VLM Inference: A pre-trained VLM analyzes the robot's live camera feed to answer these queries.
  3. Dynamic Re-planning: If a precondition is unmet—for instance, if the robot detects it is no longer holding the plate—TPVQA updates the symbolic world state and invokes a classical planner (FAST-DOWNWARD) to generate a new plan from the current state.
  4. Effect Monitoring: Post-execution, the system verifies the intended outcome (e.g., "Is the plate clean?"). If the effect is not satisfied, the system triggers a retry or a broader replan.
The VQA-based monitoring loop used by TPVQA to verify action effects and decide whether to continue or repeat an action.

This modular approach leverages the strengths of both worlds: classical planners for deterministic logic and VLMs for flexible visual recognition.

Experimental Evaluation

The researchers evaluated TPVQA using a diverse dataset comprising realistic photos, DALL-E augmented images to simulate varying conditions, and synthetic diffusion-generated images to capture rare failure states. The evaluation focused on long-horizon tasks such as "clean dishes," "serve breakfast," and "eat apple."

Key Insights

  • Granularity of Queries: A critical finding was that VLMs perform significantly better on specific property-based questions (e.g., "Is the plate clean?") than on abstract success queries (e.g., "Was the action successful?"). Property-based queries achieved ~79% accuracy, compared to only ~45% for success-based queries.
  • The Hallucination Risk: The study noted that "bad" feedback from a VLM can be more detrimental than no feedback. TPVQA mitigates this by using multiple specific queries to establish a consensus, preventing the planner from being misled by false positives.

Results and Discussion

TPVQA consistently outperformed competitive baselines, including PaLM-E and SuccessVQA, in task completion rates. In real-robot trials using a UR5e arm, the system demonstrated high robustness. For example, when a container was intentionally dropped by a human, TPVQA detected the state change via the VLM, updated the planner, and successfully navigated to a new container to complete the task.

A UR5e robot arm operating in a laboratory environment, used to validate the TPVQA framework in real-world scenarios.

Conclusion

While TPVQA shows promise, challenges remain regarding VLM inconsistency and logical contradictions. Future work will explore fine-tuning VLMs on robot-centric datasets like EGO4D and scaling the framework to handle the complexity of industrial environments. By grounding symbolic logic in natural language perception, TPVQA provides a scalable path toward more resilient autonomous service robots.

Summary updated

BibTeX
@misc{zhang2023grounding,
  author = {Xiaohan Zhang and Yan Ding and Saeid Amiri and Hao Yang and Andy Kaminski and Chad Esselink and Shiqi Zhang},
  title = {{Grounding Classical Task Planners via Vision-Language Models}},
  year = {2023},
  eprint = {2304.08587},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.08587},
}
Figure