Introduction
Deep neural networks have revolutionized robot policy learning, yet they often operate as "black boxes" lacking formal safety guarantees. A critical requirement for autonomous systems is stability: the mathematical assurance that a robot will eventually reach its target (an attractor) or follow a specific path (a limit cycle) regardless of its starting position.
Traditional methods to ensure stability often rely on simple linear models that restrict the types of motions a robot can learn. Conversely, expressive deep models often sacrifice these guarantees. This paper, presented at the NeurIPS 2020 Robot Learning Workshop, introduces a framework using Conditioned Invertible Neural Networks (INN) to bridge this gap, enabling the learning of highly nonlinear, globally stable policies that can be conditioned on arbitrary environmental contexts.
Methodology: Marrying Normalizing Flows with Dynamic Systems
The proposed approach leverages the properties of Normalizing Flows (NF) to transform simple, stable latent dynamics into complex real-world behaviors.
Latent Dynamics and Invertible Mapping
The core of the framework is a latent space $Z$ governed by a simple, inherently stable dynamic system, such as a linear system that always converges to the origin. An INN serves as a bijective, differentiable mapping (a diffeomorphism) between this latent space and the robot's observation space $Y$. Because the mapping is invertible and differentiable, the global stability properties of the latent space are mathematically preserved when mapped to the robot's workspace.
Arbitrary Conditioning and Space Warping
A key innovation is the ability to condition the INN on an external context $c$, such as the position of an obstacle or a target. This allows the network to nonlinearly "warp" the underlying dynamics to suit the environment.
As illustrated in Figure 2, the environment is treated like a deformable sheet. To avoid obstacles, the network stretches the space, ensuring the "flow" of the policy remains directed toward the attractor without intersecting forbidden regions. To make this work on real hardware, the authors abstract the policy to "desired acceleration," using the robot's known physical model to cancel out gravity and friction.
Experimental Validation
The authors evaluated the framework across synthetic and real-world tasks to test its generalization and robustness.
Nonlinear Limit Cycles: The Vitruvian Man
To demonstrate the ability to learn complex, non-point-attractor dynamics, the authors used a synthetic 2D dataset where trajectories form the shape of a Vitruvian Man with limbs in various positions.
The model successfully captured these intricate limit cycles (Figure 1), showing that stability as an inductive bias allows for high-fidelity extrapolation even from as few as five training trajectories. Unlike previous state-of-the-art methods like SEDS, this model handled complex, nonlinear context transformations with ease.
Real-World Robot Pouring
The system was further validated on a robot arm performing a pouring task. Using 220 kinesthetic demonstrations, the policy was conditioned on a 6D vector representing the target pot's pose. The stability guarantee proved vital; when physically perturbed by a human, the robot did not fail or "freeze" but instead generated immediate corrective commands to return to the task.
Discussion and Conclusion
By imposing stability as an inductive bias, the authors provide a powerful prior that ensures reasonable behavior even in states far from the training data. The use of Normalizing Flows also enables training via exact Maximum Likelihood Estimation (MLE), making the process efficient.
While the method currently assumes a known physical model of the robot and requires the user to define the "type" of latent stability, it represents a significant step toward safe, expressive robot learning. Future work may address the automatic discovery of latent structures and reducing the computational complexity of the underlying invertible architectures.
Summary updated