Shadow Program Inversion with Differentiable Planning: A Framework for Unified Robot Program Parameter and Trajectory Optimization
Benjamin Alt, Claudius Kienle, Darko Katic, Rainer Jäkel, Michael Beetz
TL;DR
SPI-DP addresses the challenge of jointly optimizing robot program parameters and motion trajectories under motion-level constraints by unifying differentiable shadow programs with a differentiable planner. It introduces DGPMP2-ND, a differentiable motion planner for N-DoF serial manipulators, enabling gradient backpropagation through planning and integration into an end-to-end optimization of program inputs $\bm{x}$ and trajectories $\bm{\theta}$ with task-level objectives $\Phi$. The framework supports arbitrary parameterized robot programs via shadow graphs and optimizes objectives such as cycle time, path length, and success probability while enforcing collision-freeness and other constraints. Real-world experiments in household pick-and-place and industrial hole-search tasks demonstrate collision-free trajectories and substantial cycle-time reductions when jointly optimizing parameters and trajectories. This work offers a practical, differentiable approach to certifiable robot programming by optimization for complex, multi-skill tasks.
Abstract
This paper presents SPI-DP, a novel first-order optimizer capable of optimizing robot programs with respect to both high-level task objectives and motion-level constraints. To that end, we introduce DGPMP2-ND, a differentiable collision-free motion planner for serial N-DoF kinematics, and integrate it into an iterative, gradient-based optimization approach for generic, parameterized robot program representations. SPI-DP allows first-order optimization of planned trajectories and program parameters with respect to objectives such as cycle time or smoothness subject to e.g. collision constraints, while enabling humans to understand, modify or even certify the optimized programs. We provide a comprehensive evaluation on two practical household and industrial applications.
