Learning Neuro-symbolic Programs for Language Guided Robot Manipulation

Namasivayam Kalithasan, Himanshu Singh, Vishal Bindal, Arnav Tuli, Vishwajeet Agrawal, Rahul Jain, Parag Singla, Rohan Paul · DOI

Abstract

This paper introduces a novel neuro-symbolic framework designed to translate complex, multi-step natural language instructions into executable robot programs. By combining a symbolic reasoning engine with neural perception, the model learns to ground spatial relations and object attributes using only "before and after" scene images as distant supervision. This modular approach allows for significant improvements in generalization compared to end-to-end neural baselines, particularly in cluttered environments and tasks requiring long-horizon reasoning.

Introduction

For robots to operate effectively in human-centric environments, they must possess the ability to interpret and execute complex instructions such as "put the block which is behind the green dice to the right of the red cube." Achieving this level of competence requires solving three fundamental challenges: linguistic parsing of nested sentences, visual grounding of object attributes and spatial relationships, and understanding the semantics of actions that alter the world state.

Current methodologies typically fall into two categories: symbolic systems that rely on hand-coded rules, which often fail to generalize to novel objects, and end-to-end neural networks. While powerful, these "black-box" neural models often require dense, step-by-step supervision and struggle with the compositional nature of multi-step reasoning. This paper proposes a middle ground: a neuro-symbolic architecture that learns a Domain Specific Language (DSL) that is both interpretable and trainable from minimal supervision.

Methodology

The proposed architecture is modular, consisting of four primary components that work in concert to translate language into action.

The neuro-symbolic architecture overview, showing the flow from natural language and initial scene to a predicted final state.

Component Breakdown

  1. Language Reasoner (LR): Utilizing an LSTM-based seq2tree architecture, the LR parses natural language into a hierarchical symbolic program. This structure naturally handles the nested dependencies found in complex human instructions.
  2. Visual Extractor (VE): A pre-trained object detector identifies objects within the scene, providing bounding boxes and feature embeddings that represent visual attributes.
  3. Visual Reasoner (VR): The VR executes the symbolic program generated by the LR over the visual features. It employs operators like Filter to isolate objects by attributes (e.g., color, shape) and Relate to compute spatial relationships (e.g., "behind," "left of") using neural embeddings.
  4. Action Simulator (AS): After identifying the target object and its destination, the AS predicts the final 2D coordinates. These are then converted to 3D coordinates for a low-level motion planner to execute.

Training and Supervision

A key innovation is the model's ability to learn from "distant supervision"—using only the initial and final states of a scene. Because the symbolic parsing is non-differentiable, the authors employ the REINFORCE algorithm to train the Language Reasoner. The remaining neural modules are trained via standard backpropagation. To stabilize training, a curriculum learning strategy is used, beginning with simple attribute-based tasks and gradually introducing complex spatial relations and multi-step instructions.

Experimental Evaluation

The framework was evaluated in a PyBullet simulation using a 7-DOF Franka Emika Panda robot arm. The dataset comprised approximately 5,000 synthetic scenes with 3–5 objects. To test the limits of the model, generalization sets were created with up to 10 objects and instructions requiring up to 7 manipulation steps.

Results and Discussion

The neuro-symbolic model was compared against strong baselines, including Neural Module Networks (NMN+) and CLIPort.

Performance comparison showing Mean IoU of the moved object across varying object counts and instruction step counts.

Key Findings

  • Superior Accuracy: In complex reasoning tasks, the model outperformed the NMN+ baseline by 33 points in the Mean IoU-M metric.
  • Robust Generalization: As shown in the evaluation plots, the model's performance remains remarkably stable as the number of objects increases from 4 to 10. In contrast, end-to-end baselines show a significant performance degradation in cluttered scenes.
  • Compositional Reasoning: The use of a symbolic DSL allows the model to handle long-horizon tasks (up to 7 steps) effectively, even when trained on shorter sequences. This demonstrates the power of compositional learning.
  • Interpretability: Unlike black-box models, the output of this system is a readable symbolic program, providing clear insights into the robot's decision-making process and facilitating easier debugging.

Conclusion and Future Work

This work demonstrates that neuro-symbolic integration is a powerful path toward robust robot manipulation guided by language. By disentangling perception, reasoning, and action, the model achieves state-of-the-art generalization.

Future research will focus on relaxing the "closed world" assumption to handle dynamic environments and expanding the DSL to include more complex logic like loops and conditionals. Additionally, bridging the "sim-to-real" gap by addressing real-world sensor noise and physical interaction complexities remains a critical next step for deploying such systems on physical hardware.

Summary updated

BibTeX
@inproceedings{kalithasan2023learning,
  author = {Namasivayam Kalithasan and Himanshu Singh and Vishal Bindal and Arnav Tuli and Vishwajeet Agrawal and Rahul Jain and Parag Singla and Rohan Paul},
  title = {{Learning Neuro-symbolic Programs for Language Guided Robot Manipulation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10160545},
}
Figure