Introduction
In modern robotics, motion planning is the critical process of navigating a robot from a starting configuration to a goal while satisfying various constraints, such as obstacle avoidance and joint limit adherence. A prominent framework for this is RMPflow, which uses differential geometry to fuse multiple subtask policies into a single global command.
Despite its mathematical elegance, RMPflow requires users to manually design complex "importance matrices" (metrics) for every subtask. These matrices determine the relative priority of tasks across the robot's workspace. Tuning these parameters is notoriously difficult, often requiring expert intuition. Poorly designed metrics can lead to suboptimal performance, even if the system remains theoretically stable. RMPfusion addresses this challenge by introducing learnable weight functions that automate this process while maintaining rigorous safety guarantees.
The RMPfusion Framework
RMPfusion extends the standard RMP data structure by incorporating learnable weight functions directly into the hierarchy of the RMP-tree. This approach allows the robot to "gate" different behaviors dynamically based on the current state of the environment.
Lyapunov Reshaping and the Pullback Operator
Unlike simple output scaling, RMPfusion hierarchically "reshapes" the underlying Lyapunov functions (energy functions) of each subtask. To ensure stability during weight transitions, the authors introduced a modified pullback operator. This operator includes a specific correction term, $h_i$, which accounts for the time-varying nature of the weights. This prevents the robot from experiencing sudden "kicks" or instabilities as it switches priorities between tasks, such as moving from goal-seeking to obstacle avoidance.
Because stability is baked into the architecture, RMPfusion functions as a "structured" neural network. It can be trained via standard back-propagation (imitation learning) while remaining Lyapunov-stable throughout the entire learning process—even when the weights are initially random.
Experimental Evaluation
The researchers evaluated RMPfusion using imitation learning on two primary setups:
- 2D Particle Robot: A simulated point-mass robot tasked with reaching a goal while navigating around obstacles.
- Franka Panda Robot: A 7-degree-of-freedom (7-DOF) industrial manipulator performing tasks in a kitchen-like environment.
In both cases, "expert" trajectories were generated using a hand-tuned RMPflow system. The learner's objective was to recover this expert behavior using only raw state-action pairs, starting from randomly initialized weights.
Key Results and Stability
The standout feature of RMPfusion is its safety during the early stages of learning. In the 2D obstacle task, standard unstructured neural networks frequently failed, showing a 28% collision rate. In contrast, RMPfusion achieved a 0% collision rate and a 100% success rate with the same training data.
As shown in the figure above, the energy (Lyapunov function) of the system consistently decays over time in RMPfusion. This monotonic decay is a hallmark of stable control. While unstructured networks often exhibit erratic energy spikes, RMPfusion remains well-behaved, ensuring the robot does not oscillate or behave dangerously during execution.
Conclusion and Future Work
RMPfusion represents a significant step forward in making complex robot control more accessible and safer to learn. By combining the interpretability of geometric control with the flexibility of deep learning, it allows for the automated tuning of task priorities without sacrificing stability.
While the framework currently learns the weights between tasks, future work aims to automate the discovery of the task hierarchy itself and to learn the underlying subtask policies. Additionally, incorporating more expressive inputs, such as vision-based auxiliary states, could further enhance the framework's versatility in complex, real-world environments.
Summary updated