Contractive Dynamical Imitation Policies for Efficient Out-of-Sample Recovery
Amin Abyaneh, Mahrokh G. Boroujeni, Hsiu-Chin Lin, Giancarlo Ferrari-Trecate
TL;DR
The paper addresses the brittleness of imitation learning in out-of-sample scenarios by introducing contractive dynamical-system policies (SCDS) built from recurrent equilibrium networks (RENs) and coupling layers to guarantee contraction for any parameter values. By solving a differentiable IVP via Neural ODEs, and employing a trajectory-space loss with differentiable soft-DTW, the method learns state-only policies that robustly recover from perturbations and unseen initial states. Theoretical guarantees are provided: an upper bound on the deployment loss decomposes into a data-fit term and a contraction-dependent term, with a corollary bounding the true loss under an initial-condition region. Empirically, SCDS demonstrates superior out-of-sample recovery on LASA and Robomimic datasets, outperforming baselines like SNDS, SDS-EF, and BC, and enabling practical deployment in robotic simulators, thereby offering reliable, contractive imitation in high-dimensional control tasks.
Abstract
Imitation learning is a data-driven approach to learning policies from expert behavior, but it is prone to unreliable outcomes in out-of-sample (OOS) regions. While previous research relying on stable dynamical systems guarantees convergence to a desired state, it often overlooks transient behavior. We propose a framework for learning policies modeled by contractive dynamical systems, ensuring that all policy rollouts converge regardless of perturbations, and in turn, enable efficient OOS recovery. By leveraging recurrent equilibrium networks and coupling layers, the policy structure guarantees contractivity for any parameter choice, which facilitates unconstrained optimization. We also provide theoretical upper bounds for worst-case and expected loss to rigorously establish the reliability of our method in deployment. Empirically, we demonstrate substantial OOS performance improvements for simulated robotic manipulation and navigation tasks.
