Sound gradient method improves trajectory planning with temporal logic

SparseMax-dSTL: Sound Robustness with Horizon-Independent Gradient Allocation for Temporal Logic Trajectory Optimization

Logic in Computer ScienceRobotics

Summary

Planning safe robot movements often involves checking if they meet certain timing rules, called temporal logic. The authors found current ways to measure how well a plan meets these rules can give misleading results and weaken the solving process, especially for longer tasks. They propose a new method that guarantees safety checks never wrongly approve a bad plan and keeps the computer’s guidance strong even for long sequences. Their tests show that this method works better than existing ones on robot simulation tasks, ensuring safer and more reliable paths.

What this means in practice

  • For robotics engineers: Improve robot motion planning tools by ensuring temporal logic constraints are robustly and accurately enforced over long tasks.
  • For industrial automation teams: Build safer automated systems by using gradient methods that provide reliable safety margin guarantees in trajectory constraints.

Authors

Sai Sandeep Damera, Ryan Matheu, John S. Baras, Calin Belta

Abstract

A gradient-based solver that enforces a Signal Temporal Logic (STL) specification uses a smooth approximation of its quantitative semantics, the robustness. In safety-critical trajectory optimization, this approximation must have two properties. First, it must be sound, that is, nonnegative only on trajectories that satisfy the specification. Second, at each temporal operator, the weight of its gradient on the violating samples must stay bounded away from zero, however long the horizon. The approximations in use, including the log-sum-exp, its sound variant, and the generalized-mean robustness, do not have both. We introduce lower approximations of the minimum and the maximum whose gradients are sparsemax projections, and we prove that the robustness built from them has both. It lies below the exact robustness and is therefore sound, and its error has a bound that is independent of the number of samples and known before optimization. The gradient of each approximation is exactly zero on every sample beyond a data-dependent threshold, so the weight on violating samples a gap beyond the others has a positive lower bound at every horizon. On a planar unicycle and on a seven-joint manipulator beside a person in simulation, the log-sum-exp approximation is positive on a violating trajectory. As the horizon of the manipulator's task grows from 10 to 80 s, the gradient weight of the sound variant on the violating samples falls from 0.22 to 0.04, while that of sparsemax stays at 1. In a constrained trajectory optimization of the unicycle, the constraint on the log-sum-exp robustness returns a violating trajectory, whereas the constraint on the sparsemax robustness returns a trajectory that satisfies the specification with the required margin.