SkillWrapper: Generative Predicate Invention for Task-level Robot Planning

Ziyi Yang, Benned Hedegaard, Ahmed Jaafar, Yichen Wei, Skye Thompson, Shreyas S. Raman, Haotian Fu, Stefanie Tellex, George Konidaris, David Paulius, Naman Shah

TL;DR

SkillWrapper is a novel framework that bridges the gap between low-level robot execution and high-level symbolic planning by using foundation models to autonomously invent human-interpretable predicates from raw RGB images. Crucially, it provides the first formal theory in this space to guarantee that these generated abstractions are provably sound and complete for downstream task-level planning.

What Problem Does This Paper Address?

For a robot to successfully execute long-horizon tasks—like cooking a meal or cleaning a room—it needs to reason abstractly. Instead of calculating continuous joint trajectories for every single action, it must think in terms of discrete concepts: preconditions (what must be true to execute a skill) and effects (what changes after the skill is executed). Traditionally, domain experts manually program these symbolic representations using languages like PDDL.

Recently, researchers have turned to Vision-Language Models (VLMs) to automatically discover these concepts from raw pixels—a process known as generative predicate invention. However, prior methods rely on ad-hoc heuristics or greedy searches. They offer no formal guarantees that the invented predicates are accurate or sufficient, often leading to planners generating physically impossible solutions or failing to find valid plans. This paper tackles a fundamental question: How can we guarantee that autonomously invented predicates result in provably correct, sound, and complete task-level planning?

Methods

SkillWrapper introduces an active, three-step learning loop that iteratively refines a robot's abstract transition model:

Figure 1: Overview of SkillWrapper. For a robot equipped with black-box skills, SkillWrapper learns a task-level model M that is compatible with off-the-shelf classical AI planners. Given a planning problem specified by low-level initial and goal states, the system computes the corresponding abstract states, then calls a planner to find a solution plan to reach the goal.
  1. Active Data Collection: Rather than relying on static datasets, the robot autonomously interacts with its environment. It generates candidate skill sequences using an FM, scoring them based on two key metrics: balance (maintaining a healthy mix of successful and failed executions to aid contrastive learning) and coverage (ensuring all pairs of consecutive skills are explored uniformly).
  2. Predicate Invention via Contrastive Analysis: SkillWrapper only invents new predicates when its current symbolic vocabulary fails to explain an observed transition. For instance, if the model predicts a skill will succeed but it fails, or if it cannot distinguish between the effects of a successful and failed execution, a contradiction is triggered. The system then feeds a contrastive pair of images (before and after the failure) to GPT-5 to propose a new, visually grounded predicate.
  3. Operator Learning: Using the accumulated data and predicates, SkillWrapper clusters transitions based on abstract state changes. It then computes the intersections of these states to learn symbolic operators (PDDL actions) that can be fed directly into off-the-shelf classical AI planners.
Figure 2: Example of Predicate Invention. The initial states of the two transitions both satisfy the preconditions of certain operators of the Stack skill, while one transition is successful, but the other is not. In this case, condition 1 is triggered, and the FM is prompted to generate a new predicate.

Datasets

The authors evaluated SkillWrapper across three distinct domains:

  • Robotouille: A simulated kitchen environment benchmark containing 6 objects and 5 skills (Pick, Place, Cut, Cook, Stack). Testing was performed on a suite of 50 tasks categorized into easy, hard, and impossible tasks.
  • Single-Arm Manipulation (Franka Panda): A real-world tabletop setup with 5 objects and 5 parameterized skills, used to evaluate compositional generalization.
  • Bimanual Manipulation (Kuka iiwa): A real-world dual-arm setup with 3 objects and 6 skills, specifically designed with multiple "dead ends" (irreversible actions) to test data efficiency.

Key Insights and Ideas

  • Error-Driven Invention: Instead of generating a massive, redundant pool of predicates upfront, predicate invention should be strictly demand-driven. By only inventing predicates when the current model encounters an unexplainable transition, the state space remains compact and plannable.
  • The Power of Contrastive Pairs: Prompting an FM with a successful execution image alongside a failed execution image provides the necessary context for the model to isolate the exact environmental constraint (e.g., "Is the plate already occupied?") that caused the failure.
  • Formal Rigor Meets Foundation Models: While FMs are excellent at proposing intuitive, human-readable concepts, they lack logical consistency. SkillWrapper demonstrates that wrapping these statistical models in a rigorous symbolic framework can yield provable guarantees of soundness and completeness.

Key Results

  • Identifying the Impossible: In the Robotouille simulation, SkillWrapper achieved a 100% success rate in identifying impossible tasks (returning an empty plan), vastly outperforming purely generative planners like ViLa, which frequently hallucinated invalid solutions.
  • Superior Hard Task Performance: On hard simulation tasks, SkillWrapper successfully solved 40% of problems, outperforming the "System Predicates" baseline (22%), which relied on the simulator's built-in, non-inventive vocabulary.
  • Real-World Generalization: When trained in restricted real-world environments with fewer than 10 abstract states, SkillWrapper successfully generalized to a complex test environment containing 34 abstract states, achieving a 60% success rate on unseen tasks.
  • Data Efficiency: In the challenging bimanual Kuka domain, SkillWrapper converged to a highly effective planning model within just 5 iterations of active exploration, outperforming all non-privileged baselines.

Limitations and Future Work

  • VLM Reliability Dependency: SkillWrapper relies entirely on the VLM to correctly classify the truth value of predicates from images during inference. If the VLM misclassifies an object due to poor lighting or shadows, the downstream symbolic planner will fail.
  • Deterministic Assumption: The current theoretical framework assumes deterministic environment dynamics. Extending these formal guarantees to probabilistic settings (e.g., using Probabilistic PDDL) remains an open challenge.
  • Known Object Types: The system currently assumes that object types are predefined, though the authors note this could be mitigated by integrating open-vocabulary object detectors in future iterations.

Summary updated

BibTeX
@misc{yang2025skillwrapper,
  author = {Ziyi Yang and Benned Hedegaard and Ahmed Jaafar and Yichen Wei and Skye Thompson and Shreyas S. Raman and Haotian Fu and Stefanie Tellex and George Konidaris and David Paulius and Naman Shah},
  title = {{SkillWrapper: Generative Predicate Invention for Task-level Robot Planning}},
  year = {2025},
  eprint = {2511.18203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18203},
}
Figure