Specification-Aware Sparse Differentiation: Planning under Signal Temporal Logic with Sparsemax Robustness
Abstract
Gradient-based optimal control under a Signal Temporal Logic (STL) specification involves solving a nonlinear program whose constraints are smoothed robustness functions of the trajectory, and automatic differentiation without knowledge of sparsity computes the Jacobian and the Hessian that its solver needs in full. This often renders the problem computationally intractable. The dynamics and the specification prescribe a sparsity pattern through the STL syntax, the windows of the temporal operators and the variables that the predicates read. Standard tools such as CasADi recover this pattern by structural detection. In this work, we propose a method to prescribe such a pattern directly from the task specification. We show that our method allows us to exploit SparseMax, a recently proposed smooth robustness operator that is certifiably sparse and sound. Its derivative is exactly zero at every operand at or below a data-dependent threshold, which structural detection cannot see. We derive the patterns that expose this trajectory-dependent sparsity to sparse automatic differentiation, with a margin test for their reuse and Hessians confined to the variables of each constraint's support. We demonstrate the method on a dual-arm coordination task in which two arms share a hand-off zone divided into cells and one until constraint per scheduled visit keeps the other arm out of a cell until the visitor has left it. The two scenes are a zone of five cells and a circle of 64 cells, with single solves and closed-loop re-planning on a rigid-body simulation. Our exact-Hessian interior-point solves are up to 27 times faster than those with the sound log-sum-exp robustness in CasADi and IPOPT.
Create a lesson
Related papers
InfoField3D: Differentiable Information Field for Embodied Task-Oriented View Planning
Shared title terminology · Huan Lyu, Yawei Luo
Fast World Planner: Advantage-Aware Action-Chunk Policy for Online Planning
Shared title terminology · Jiangtao Kong, Yuchen Wang, Yandong Luo et al.
What Must a Model Tell a Planner? Outcome Interfaces for Risk-Aware Planning After Robot Damage
Shared title terminology · Hassan Iqbal, Krishna Kumar
GeoSDF-Diff: Geometry-Aware Diffusion Planning for Collision-Free Trajectories
Shared title terminology · Yueming Li, Zhanjiang Yang, Yang Shen et al.
SparQ4D: Learning to Act through Sparse 4D Queries
Shared title terminology · Siyuan Xie, Jinxi Xiao, Ran Ji et al.
Dr. Grasp-RL: Diverse and Robust Dexterous Grasping via Reinforcement Learning
Shared title terminology · Kunqi Xu, Xiaokang Sun, Xueyan Zou