STL-SVPIO: Signal Temporal Logic guided Stein Variational Path Integral Optimization
Organizations: Department of Electrical and Systems Engineering, University of Pennsylvania, Philadelphia, PA, USA. · Mechanical Engineering and Mechanics Department, Lehigh University, Bethlehem, PA, USA.
Abstract
Signal Temporal Logic (STL) enables formal specification of complex spatiotemporal constraints for robotic task planning. However, synthesizing long-horizon continuous control trajectories from complex STL specifications is fundamentally challenging due to the nested structure of STL robustness objectives. Existing solver-based methods, such as Mixed-Integer Linear Programming (MILP), suffer from exponential scaling, whereas sampling methods, such as Model-Predictive Path Integral control (MPPI), struggle with sparse, long-horizon costs. We introduce Signal Temporal Logic guided Stein Variational Path Integral Optimization (STL-SVPIO), which reframes STL as a globally informative, differentiable reward-shaping mechanism. By leveraging Stein Variational Gradient Descent and differentiable physics engines, STL-SVPIO transports a mutually repulsive swarm of control particles toward high robustness regions. Our method transforms sparse logical satisfaction into tractable variational inference, mitigating the severe local minima traps of standard gradient-based methods. We demonstrate that STL-SVPIO significantly outperforms existing methods in both robustness and efficiency for traditional STL tasks. Moreover, it solves complex long-horizon tasks, including multi-agent coordination with synchronization and queuing while baselines either fail to discover feasible solutions, or become computationally intractable. Finally, we use STL-SVPIO in agile robotic motion planning tasks with nonlinear dynamics, such as 7-DoF manipulation and half cheetah back flips to show the generalizability of our algorithm.
Figures & tables
| Method | # Samples | # Iterations | Runtime (ms) | Robustness |
| STL-SVPIO | 10 | 20 | 19.152 | 0.108 |
| MPPI | 10 | 200 | 187.125 | 0.005 |
| SVMPC | 64 | 200 | 178.389 | -0.098 |
| DPI | 1024 | 200 | 194.492 | 0.179 |
| STLCG++ | N/A | 200 | 926.704 | -0.068 |
| MILP | N/A | N/A | 324.578 | 0.495 |