Learning Neuro-Symbolic Skills for Bilevel Planning

Tom Silver, Ashay Athalye, Joshua B. Tenenbaum, Tomás Lozano-Pérez, Leslie Pack Kaelbling

Abstract

Decision-making in robotics is notoriously difficult due to the intersection of continuous object-centric states, continuous action spaces, long horizons, and sparse feedback. Traditional Task and Motion Planning (TAMP) addresses this by bifurcating the problem into symbolic high-level planning and continuous low-level execution. However, manually engineering low-level policies for every task is a significant bottleneck. This paper introduces Bilevel Planning with Neuro-Symbolic Skills (BPNS), a framework that learns modular "neuro-symbolic skills" from demonstrations. These skills combine symbolic logic for high-level reasoning with neural networks for low-level motor control and subgoal sampling, enabling robots to solve complex, long-horizon tasks with high data efficiency and generalization.

The Challenge of Continuous Control in Long Horizons

Robotics environments are characterized by high-dimensional, continuous state and action spaces. A seemingly simple task like "make coffee" can involve over 100 individual motor actions. End-to-end reinforcement learning (RL) or behavioral cloning (BC) often struggle with such long horizons because the probability of a random sequence of actions reaching a goal is infinitesimally small.

While TAMP provides a structured way to decompose these tasks, it typically relies on human-designed controllers. The core challenge addressed here is bridging the gap: how can we learn the "how-to" (low-level control) while maintaining the "what-to-do" (symbolic logic) that makes planning efficient?

Methodology: Bilevel Planning with Neuro-Symbolic Skills (BPNS)

The authors propose a neuro-symbolic architecture where each skill is a self-contained module consisting of four components:

  1. Arguments: The specific objects the skill acts upon (e.g., a specific robot arm and a tool).
  2. Symbolic Operator: Defines the preconditions (what must be true to start) and effects (what changes after completion) in symbolic terms.
  3. Subgoal Sampler: A neural network that proposes a target physical state (e.g., a specific grasp point) that satisfies the symbolic effect.
  4. Subgoal-Conditioned Policy: A neural network that generates the continuous actions required to reach the proposed subgoal.
The BPNS architecture integrates symbolic AI planners with learned neural samplers and policies.

The Learning Pipeline

To acquire these skills, the system processes human demonstrations through three stages:

  • Segmentation: Demonstrations are partitioned based on changes in symbolic predicates (e.g., when a Grasped predicate becomes true).
  • Lifting: The data is abstracted from specific instances to generic types, allowing a skill learned on one object to apply to all objects of that class.
  • Training: Subgoal-conditioned policies are trained via Behavioral Cloning. Samplers are trained using a combination of Gaussian distributions and binary classifiers to ensure they propose reachable and effective subgoals.

Experimental Evaluation

The BPNS framework was evaluated across four distinct simulated environments, each designed to test different aspects of robotic reasoning and manipulation.

The four evaluation environments: Cover, Doors, Stick Button, and Coffee, showing both training and evaluation task variations.
  • Cover: Requires picking and placing blocks to cover targets on a 1D line, respecting restricted "hand" regions.
  • Doors: A navigation task requiring the robot to manipulate door handles to move between rooms.
  • Stick Button: A tool-use domain where the robot must grasp a stick to press buttons outside its immediate reach.
  • Coffee: A complex manipulation task involving multiple steps: grasping a pot, activating a hot plate, and pouring into cups of varying sizes.

Key Insights and Results

Symbols as Scaffolding

By anchoring neural networks to symbolic predicates, the learning problem is significantly simplified. Instead of learning a monolithic policy for an entire task, the robot learns small, specialized policies for transitions between symbolic states. This "scaffolding" allows the system to learn complex behaviors from as few as 100–250 demonstrations.

Overcoming Lossy Abstraction

Symbolic plans are often "lossy"—they might say "pick up the stick" but ignore the fact that picking it up at the wrong end will make the subsequent "press button" step impossible. The Subgoal Sampler is the critical bridge here; it allows the robot to "look ahead" during the planning phase, ensuring that the chosen physical parameters for a current skill are compatible with the requirements of future skills in the plan.

Performance and Generalization

BPNS consistently outperformed baselines, including end-to-end Graph Neural Networks. Notably, it demonstrated strong generalization, solving tasks with different object counts and initial configurations than those seen during training. In the "Coffee" and "Stick Button" domains, it successfully executed plans spanning dozens of discrete steps and hundreds of continuous actions.

Conclusion and Future Work

BPNS demonstrates that neuro-symbolic integration is a powerful path toward general-purpose robotic agents. By combining the search efficiency of symbolic AI with the representational power of neural networks, robots can learn to perform long-horizon tasks that were previously out of reach for purely neural methods. Future research will focus on reducing the dependency on predefined symbolic predicates and incorporating reinforcement learning to allow the robot to refine its skills through autonomous practice.

Summary updated

BibTeX
@inproceedings{silver2022learning,
  author = {Tom Silver and Ashay Athalye and Joshua B. Tenenbaum and Tomás Lozano-Pérez and Leslie Pack Kaelbling},
  title = {{Learning Neuro-Symbolic Skills for Bilevel Planning}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=ieyRuqZmvAS},
}
Figure