Imperative Learning: A Self-supervised Neural-Symbolic Learning Framework for Robot Autonomy

Chen Wang, Kaiyi Ji, Junyi Geng, Zhongqiang Ren, Taimeng Fu, Fan Yang, Yifan Guo, Haonan He, Xiangyu Chen, Zitong Zhan, Qiwei Du, Shaoshu Su, Bowen Li, Yuheng Qiu, Yi Du, Qihang Li, Yifan Yang, Xiao Lin, Zhipeng Zhao · DOI

Introduction

In the pursuit of truly autonomous robots, a significant challenge remains: bridging the gap between high-dimensional sensory perception and structured, logical reasoning. While deep learning has revolutionized perception, it often lacks the interpretability and geometric grounding required for complex robotic tasks. Conversely, symbolic reasoning systems are robust but struggle with raw sensory data. Imperative Learning (IL) is a novel self-supervised framework designed to unify these paradigms. By formulating the interaction between neural networks and symbolic solvers as a bilevel optimization (BLO) problem, IL enables robots to learn tasks such as path planning, control, and SLAM without the need for expensive human-labeled data.

The Challenge of Robotic Data

Data acquisition in robotics is notoriously difficult. Unlike computer vision, where static images can be labeled at scale, robotic data—such as optimal trajectories or physical parameters—often requires specialized sensors or expert demonstrations. Furthermore, purely data-driven models, like those trained via Reinforcement Learning, frequently fail to generalize to novel environments because they do not inherently understand the underlying physical laws or logical constraints of the world. Imperative Learning addresses this by leveraging the "rules" of the environment—physics, geometry, and logic—as a source of self-supervision.

The Imperative Learning Framework

The IL architecture is composed of three primary modules that work in a reciprocal loop:

  1. Neural Module: Processes high-dimensional inputs (e.g., camera images) to extract semantic attributes.
  2. Reasoning Engine: A symbolic module that encodes domain-specific knowledge, such as A* search for planning or Model Predictive Control (MPC) for stabilization.
  3. Memory System: Stores maps, rules, and experiences to support both perception and reasoning.
The Imperative Learning (IL) architecture, illustrating the reciprocal learning loop between the Neural Network (perception) and the Reasoning Engine (spatial reasoning).

Bilevel Optimization (BLO)

The "imperative" nature of the framework comes from its hierarchical optimization structure. In the Lower-Level (LL), the symbolic engine solves a specific task based on the current output of the neural module. In the Upper-Level (UL), the neural module's weights are updated based on the quality of the symbolic engine's solution. This creates a feedback loop where the symbolic engine effectively "instructs" the neural network on how to improve its perception to achieve better task performance.

To handle the diverse mathematical nature of different symbolic solvers, IL employs various optimization strategies, ranging from unrolled and implicit differentiation to control variate estimators for non-differentiable discrete solvers.

Overview of the diverse robotic applications and optimization strategies supported by the IL framework.

Key Insights and Technical Contributions

  • Self-Supervision via Structure: IL eliminates the need for ground-truth labels by using physical and logical constraints as gradients. If a predicted path violates a traffic rule or a physical law, that violation provides the signal needed for the neural network to adjust.
  • Reciprocal Learning: The framework allows for mutual refinement. The neural network learns to produce "symbol-like" attributes that make symbolic reasoning more efficient, such as predicting better heuristics for search algorithms.
  • Bridging the Differentiability Gap: A major contribution of IL is the use of surrogate networks as a "memory" to provide low-variance gradient estimates, allowing end-to-end training even when the symbolic solver (like the Traveling Salesman Problem) is discrete and non-differentiable.

Experimental Results

The authors evaluated IL across five distinct robotic domains, consistently outperforming state-of-the-art (SOTA) supervised and reinforcement learning methods:

  • Path Planning: The iA variant achieved a 23% runtime improvement over Neural A and demonstrated superior generalization in unseen indoor environments (Matterport3D).
  • SLAM: iSLAM reduced absolute trajectory error (ATE) by 42-76% on the EuRoC dataset by enabling the front-end perception and back-end optimization to correct each other.
  • Control: iMPC successfully stabilized a quadrotor under severe wind gusts where standard RL models failed. It also identified physical parameters, such as the Moment of Inertia, with less than 3.5% error without explicit labels.
  • Routing: For the Multi-Robot Traveling Salesman Problem (iMTSP), the framework converged 20x faster than traditional RL-based routing algorithms.

Conclusion and Future Work

Imperative Learning represents a significant step toward self-improving robotic systems. While the computational intensity of bilevel optimization remains a challenge, the framework's ability to learn from the inherent structure of the world offers a scalable alternative to human-labeled datasets. Future research will focus on extending IL to complex bimanual manipulation and integrating these tools into the open-source PyPose library to support the broader robotics community.

Summary updated

BibTeX
@misc{wang2024imperative,
  author = {Chen Wang and Kaiyi Ji and Junyi Geng and Zhongqiang Ren and Taimeng Fu and Fan Yang and Yifan Guo and Haonan He and Xiangyu Chen and Zitong Zhan and Qiwei Du and Shaoshu Su and Bowen Li and Yuheng Qiu and Yi Du and Qihang Li and Yifan Yang and Xiao Lin and Zhipeng Zhao},
  title = {{Imperative Learning: A Self-supervised Neural-Symbolic Learning Framework for Robot Autonomy}},
  year = {2024},
  eprint = {2406.16087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.16087},
}
Figure