VisualPredicator: Learning Abstract World Models with Neuro-Symbolic Predicates for Robot Planning

Yichao Liang, Nishanth Kumar, Hao Tang, Adrian Weller, Joshua B. Tenenbaum, Tom Silver, Joao F. Henriques, Kevin Ellis

TL;DR

Researchers have developed VisualPredicator, a system that allows robots to autonomously invent "Neuro-Symbolic Predicates"—snippets of Python code that use Vision-Language Models (VLMs) to perceive the world. By bridging raw pixels and high-level logic, robots can learn to solve complex, long-horizon tasks from just a few hours of experience, outperforming both traditional reinforcement learning and pure LLM-based planners.

The Abstraction Gap in Robot Planning

In robot planning, there is a massive "abstraction gap." On one side, raw sensor data (pixels and joint torques) is messy and high-dimensional. On the other, symbolic planning (e.g., "Pick up the spatula") is clean and logical but usually requires a human to hard-code every possible state.

If a robot encounters a new situation—like a balance beam or a greasy kitchen tool—traditional hard-coded systems fail because they lack symbols for "greasy" or "balanced." Conversely, modern "end-to-end" neural networks often require millions of trials to learn these concepts, and Large Language Model (LLM) planners frequently hallucinate physically impossible actions. This paper asks: How can a robot autonomously learn the right logical abstractions to plan in a new environment using only a few interactions?

Neuro-Symbolic Predicates (NSPs)

To bridge this gap, the authors introduce Neuro-Symbolic Predicates (NSPs). An NSP is a Python function that defines a property of the world. For example, a Holding(robot, block) predicate might use a VLM to look at a cropped image of the gripper and return True if the robot is holding the object.

A robot solving the Balance task. The system maps visual observations to abstract states and learns Python-based Neuro-Symbolic Predicates like "DistributedEvenly" to plan its actions.

The core of the system is an Online Invention Algorithm that follows a continuous loop:

  1. Exploration: The robot tries to solve tasks using its current (initially empty) knowledge base.
  2. Proposing Predicates: When the robot fails or succeeds, it asks a VLM (like GPT-4V) to suggest new predicates based on what changed in the scene. It uses three strategies:
  3. Discrimination: "What is the difference between when this skill worked and when it failed?"
    • Transition Modeling: "What changed in the image after I moved the jug?"
    • Unconditional Generation: "What logical rules can I build on top of what I already know?"
  4. Selection: The robot uses a greedy search to pick the simplest, most accurate set of predicates that explain its successes and failures.
  5. Learning Operators: It then learns "High-Level Actions" (HLAs)—logical rules that dictate how actions change the state of the world (e.g., "If Predicate A is true, and I do Action X, then Predicate B will become true").

Evaluated Domains

The approach was evaluated across five simulated robotic domains in the PyBullet physics engine:

  • Cover: Picking and placing blocks to cover targets.
  • Blocks: Building towers in specific configurations.
  • Coffee: A complex task involving rotating a jug, placing it in a machine, and pouring.
  • Cover Heavy: A "trap" environment where some blocks are too heavy to lift, requiring the robot to perceive "heaviness" via VLM.
  • Balance: A logically rich task where the robot must balance a beam by counting and placing blocks on either side.
The Coffee task sequence demonstrates how VisualPredicator tracks abstract states over long-horizon tasks, such as placing a jug in a machine and turning it on.

Key Insights

  • The Power of the Python Wrapper: VLMs are notoriously inconsistent at "zero-shot" logic. By having the VLM write code (NSPs) rather than just answering questions, the system forces perception into a stable, reusable, and debuggable format.
  • Optimistic World Models: Most symbolic learners are conservative, only trying actions they are 100% sure will work. VisualPredicator uses an "optimistic" learner that encourages the robot to try potentially feasible actions, which is critical for discovering new predicates through interaction.
  • Derived Predicates: The system reasons about its environment rather than just seeing it. In the Balance domain, the robot learned to count blocks on each side of a beam using Python logic built on top of VLM detections. This hybrid approach is vastly more efficient than trying to learn the concept of "balanced" from pixels alone.
  • Visual Grounding with IDs: To assist the VLM, the system overlays unique ID numbers on objects in the images. This prevents the VLM from confusing identical objects, such as multiple red blocks.

Results and Performance

  • Superior Generalization: VisualPredicator achieved near-perfect solve rates on test tasks that were more complex (e.g., more objects, longer horizons) than those seen during training.
  • Sample Efficiency: It significantly outperformed Hierarchical Reinforcement Learning (MAPLE). While MAPLE struggled to generalize to new goals, VisualPredicator learned robust models from a tiny fraction of the data.
  • Beating VLM Planners: It outperformed ViLa, a pure VLM planner. ViLa often generated hallucinated or redundant plans (like trying to pick up a block it was already holding), whereas VisualPredicator’s learned logical model prevented such physical impossibilities.
  • Interpretability: Because the learned predicates are readable Python code, researchers can literally read the robot's "thoughts" to understand why it chose a specific plan.

Limitations and Future Work

While highly effective, the system is still bound by the underlying VLM's reliability. In the "Cover Heavy" task, the VLM initially struggled to distinguish between "wood" and "metal" blocks based on appearance alone, leading to planning failures. Furthermore, the study was conducted entirely in simulation. While real-world images might present less distribution shift for VLMs, challenges like lighting and occlusions remain. Finally, the use of complex "derived" predicates (like recursion) makes it harder to use standard fast-planning heuristics, leading to longer planning times in very complex scenes. Future work aims to create "planning-friendly" versions of these neuro-symbolic rules.

Summary updated

BibTeX
@inproceedings{liang2025visualpredicator,
  author = {Yichao Liang and Nishanth Kumar and Hao Tang and Adrian Weller and Joshua B. Tenenbaum and Tom Silver and Joao F. Henriques and Kevin Ellis},
  title = {{VisualPredicator: Learning Abstract World Models with Neuro-Symbolic Predicates for Robot Planning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=QOfswj7hij},
}
Figure