Neuro-Symbolic Skill Discovery for Conditional Multi-Level Planning

Hakan Aktas, Yigit Yildirim, Ahmet Firat Gamsiz, Deniz Bilge Akkoc, Erhan Oztop, Emre Ugur

TL;DR

This paper introduces a neuro-symbolic framework that automatically discovers high-level symbolic skills from unlabeled robotic trajectories. By combining vector-quantized neural networks with Large Language Models (LLMs), the system bridges the gap between low-level sensorimotor control and high-level reasoning, allowing robots to execute complex, long-horizon tasks in novel environments with minimal human supervision.

What Problem Does This Paper Address?

Robotic planning for long-horizon tasks—like making coffee or loading a dishwasher—is notoriously difficult. It requires a "bi-level" approach: high-level reasoning ("what to do") and low-level control ("how to do it").

While LLMs are excellent at high-level reasoning, they struggle to ground that knowledge in the messy, continuous, and noisy data of real-world robotics. Conversely, traditional motion planning is great at low-level control but lacks the semantic understanding to generalize across different tasks. The authors address the challenge of creating a unified architecture that can discover discrete skills from raw data, label them semantically, and use them for flexible planning in unseen scenarios.

Methods

The authors propose a novel architecture that integrates several key components:

  1. VQ-CNMP (Vector Quantized Conditional Neural Movement Primitives): This is the heart of the skill discovery. Based on the CNMP architecture, it uses a vector quantization (VQ) bottleneck to cluster unlabeled demonstrations into discrete latent vectors. Each vector represents a "high-level skill" (e.g., "picking up"), while the variations within the cluster represent low-level execution details (e.g., "picking up at coordinate X, Y").

    Figure 2: The Overview of our Model
  2. Semantic Labeling via VLMs: Once skills are discovered as clusters, the system generates execution snapshots and feeds them to a Vision-Language Model (like GPT-4 or Gemini). The VLM identifies the action (e.g., "picking up a tomato"), effectively turning a latent vector into a human-readable symbol.

  3. Bi-Level Planning Pipeline:
    • High-Level: An LLM agent receives an environment image and a goal. It generates a sequence of discovered symbolic skills.
  4. Low-Level: For each step in the plan, the system uses gradient-based planning. It adjusts the latent skill vector to minimize the Mean Squared Error (MSE) between the robot's predicted contact point and the actual object location in the scene.

    Figure 3: The detailed training, plan generation, and plan execution pipeline.
  5. Self-Supervised Refinement: After the initial discovery phase, the model is retrained using the discovered labels as self-supervision, which significantly boosts low-level planning reliability.

Datasets

The researchers evaluated their model in two main settings:

  • Simulated Kitchen: A cluttered environment containing items like tomatoes, peppers, lemons, oil, and salt. The robot performed tasks like "making stew," which involved picking, placing, and pouring.
  • Real-World Experiments: Using a UR-10 arm and an XArm 7, the team tested tasks such as loading glasses and plates into a dishwasher, making coffee with a machine, and watering plants.
  • Demonstrations: The system was notably efficient, often requiring only 2 to 10 demonstrations per skill to achieve high success rates.

Key Insights and Ideas

  • Unsupervised Skill Discovery: The model successfully groups similar actions without needing pre-defined labels. It "learns" that different trajectories are actually variations of the same high-level skill.
  • Gradient-Based Latent Tuning: Instead of needing a new demonstration for every possible object location, the system can "nudge" a learned skill vector using gradients to adapt to new coordinates. This allows for impressive generalization to unseen object placements.
  • LLMs as the "Connective Tissue": By using VLMs to label clusters and LLMs to sequence them, the authors avoid the need for manual PDDL (Planning Domain Definition Language) coding, which is a common bottleneck in traditional robotics.
  • The Importance of $\beta$: The authors found that the commitment loss weight ($\beta$) in the VQ layer is highly sensitive; values that are too high cause gradients to explode, necessitating a small $\beta$ (0.25) for stable training.

Key Results

  • Clustering Accuracy: In simulated trials, the model achieved up to 98% accuracy in correctly assigning demonstrations to the proper skill clusters.
  • Planning Performance: The combination of Gemini and DINO (for object detection) reached an overall accuracy of 86.10% across all tasks, significantly outperforming standard GPT-4 setups on long-horizon (>7 actions) tasks.
  • Low-Level Success: When trained with self-supervision and provided with at least 4 demonstrations, the model achieved 100% success in several single-task and multi-task scenarios (like "retrieve" and "water-plant").
Planning and task performance across different configurations and models.

Limitations and Future Work

  • Distribution Dependency: Demonstrations must follow a similar distribution to be clustered correctly; highly erratic or non-expert demonstrations might break the discovery process.
  • Perception Bottleneck: The system's high-level planning is only as good as the LLM's perception. If the VLM misidentifies an object in the initial image, the entire plan fails.
  • State Abstractions: The current model focuses on action abstractions. The authors suggest that incorporating "effect predicates" (predicting how an action changes the world) would allow for better error detection and recovery.
  • Requirement for Exact Locations: While the high-level plan is symbolic, the low-level execution still requires precise object coordinates, which may be difficult to obtain in some real-world sensors.

Summary updated

BibTeX
@inproceedings{aktas2024neuro,
  author = {Hakan Aktas and Yigit Yildirim and Ahmet Firat Gamsiz and Deniz Bilge Akkoc and Erhan Oztop and Emre Ugur},
  title = {{Neuro-Symbolic Skill Discovery for Conditional Multi-Level Planning}},
  booktitle = {LEAP @ CoRL},
  year = {2024},
  url = {https://openreview.net/forum?id=OZ1mOJSJEv},
}
Figure