Riemannian Motion Policy Fusion through Learnable Lyapunov Function Reshaping

Mustafa Mukadam, Ching-An Cheng, Dieter Fox, Byron Boots, Nathan D. Ratliff

Abstract

RMPflow is a recently proposed policy-fusion framework based on differential geometry. While RMPflow has demonstrated promising performance, it requires the user to provide sensible subtask policies and importance matrices. This work introduces RMPfusion, an extension that allows for learning these importance weights from data while maintaining rigorous mathematical guarantees of stability throughout the learning process.

Introduction

In modern robotics, motion planning often involves balancing multiple competing objectives, such as reaching a target, avoiding obstacles, and respecting joint limits. This process, known as motion policy fusion, is traditionally handled by frameworks like RMPflow, which uses differential geometry to blend subtask policies. However, RMPflow relies on manually designed "importance matrices" (metrics) to prioritize tasks. Tuning these matrices is a complex, expert-level task that often leads to suboptimal or awkward robot behavior.

The authors propose RMPfusion to address this "designer's block." By parameterizing the importance weights with neural networks, the system can learn to balance tasks from expert demonstrations. Crucially, RMPfusion ensures that the robot remains stable even when the neural network's weights are random or untrained.

Methods: Learnable RMP-Trees and Stable Pullbacks

RMPfusion evolves the original framework through two primary innovations:

  1. The RMP-tree*: The researchers modified the standard task tree structure. Every edge in the tree is now assigned a multiplicative weight function ($w$). These weights act as state-dependent gates, allowing the system to dynamically prioritize or suppress specific subtasks (e.g., ignoring obstacle avoidance when the robot is in a known clear zone).
  2. Pullback* with Correction: Simply applying weights to policies can break the underlying physics-based stability of the system. To solve this, the authors derived a new mathematical operator called the "pullback*." This operator includes a correction term ($h_i$) that accounts for the rate of change in the weights. This effectively reshapes the system's Lyapunov function—an energy-like metric used to prove stability—ensuring that the total energy of the system decreases monotonically.
The RMPfusion architecture integrates neural networks (FC + ReLU) to learn weights within the RMP-tree structure, utilizing a specialized pullback operator to maintain stability.

Because the entire framework is structured as a differentiable computational graph, the weight functions can be trained end-to-end using standard imitation learning techniques.

Key Results

The framework was evaluated on simulated 2D particle tasks and a 7-DOF Franka Panda robot arm.

  • Guaranteed Safety: A critical finding was that RMPfusion maintains stability throughout the entire learning process. Unlike unstructured neural network controllers, which can cause erratic oscillations during early training, RMPfusion's Lyapunov function decreased consistently even with immature weights.
  • Performance vs. Baselines: In a complex 2D environment with multiple obstacles, standard neural networks suffered a 28% collision rate. In contrast, RMPfusion achieved a 100% success rate with a 0% collision rate using the same training data.
  • Interpretability: Because the weights are tied to specific branches of the RMP-tree, the system's decisions are transparent. Researchers can observe exactly which subtask the robot is prioritizing at any moment.
Experimental results showing (a, b, e) trajectories of the learner vs. expert, (c) the monotonic decrease of the Lyapunov function over time, and (d) the training loss curve.

Conclusion

RMPfusion represents a significant step forward in making geometric motion planning frameworks more accessible and performant. By treating stability as a structural property of the architecture rather than a training goal, it provides a safe and interpretable method for learning complex robotic behaviors. Future work will explore learning the subtask policies themselves and handling more complex, high-dimensional inputs.

Summary updated

BibTeX
@inproceedings{mukadam2019riemannian,
  author = {Mustafa Mukadam and Ching-An Cheng and Dieter Fox and Byron Boots and Nathan D. Ratliff},
  title = {{Riemannian Motion Policy Fusion through Learnable Lyapunov Function Reshaping}},
  booktitle = {Conference on Robot Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=LQt3n1SaDS3},
}
Figure