Introduction
Signal Temporal Logic (STL) has emerged as a robust framework for specifying complex, time-sensitive missions for robotic systems. Whether a robot is tasked with visiting multiple regions in a specific sequence or maintaining safety constraints over a duration, STL provides the formal language necessary to define these requirements. However, translating these logical specifications into executable trajectories remains a significant computational challenge. Existing methods generally fall into two categories: Mixed-Integer Programming (MIP), which is computationally expensive and scales poorly, and Sequential Quadratic Programming (SQP), which is faster but prone to local minima.
This paper introduces a structure-exploiting optimization algorithm that bridges this gap. By decomposing non-convex STL specifications into a Difference of Convex (DC) program and applying the Convex-Concave Procedure (CCP), the proposed method achieves high reliability and real-time performance.
The Challenge of STL Optimization
The primary difficulty in STL-constrained motion planning lies in the non-convexity of the robustness landscape. For example, a mission like "Visit Region A OR Region B" creates a disjunctive requirement that standard gradient-based solvers struggle to navigate. While MIP solvers can find global optima, their computation time grows exponentially with the time horizon, making them unsuitable for long-duration missions. Conversely, standard SQP methods often linearize the entire problem, losing critical structural information and frequently getting trapped in suboptimal "potholes."
Methodology: Structure-Exploiting CCP
The authors propose a framework that leverages the inherent structure of STL formulas to simplify the optimization process without sacrificing accuracy. The approach is built on three pillars:
- Reversed Robustness: The authors redefine robustness measures to simplify the mathematical structure. This redefinition makes it easier to distinguish between convex (mathematically "easy") and concave (mathematically "hard") components of the mission.
- Robustness Decomposition: Instead of treating the entire STL formula as a single monolithic equation, the algorithm decomposes it into a tree structure. This allows the solver to isolate "disjunctive" logic (the "OR" operators), which are the primary sources of non-convexity.
- Structure-Exploiting CCP: Unlike standard SQP, which approximates the entire problem at each iteration, this method applies the Convex-Concave Procedure. It only linearizes the troublesome concave parts while keeping the convex parts intact. By preserving more information about the mission's constraints, the solver is guided more effectively toward feasible solutions.
By transforming the mission into a Difference of Convex (DC) program, the problem is reduced to a sequence of Quadratic Programs (QPs), which can be solved efficiently using modern numerical solvers.
Experimental Evaluation
The algorithm was evaluated using a standard "Two-target scenario" benchmark. In this setup, a robot navigates a 2D environment with the following requirements:
- Choose between two dwelling regions ($B_1$ or $B_2$).
- Remain in the chosen region for a specified duration.
- Reach a final goal ($G$) while avoiding an obstacle ($O$).
The researchers tested the algorithm's performance across varying time horizons, ranging from $T = 50$ to $140$ time steps, to assess scalability and robustness.
Key Results and Performance
The proposed method was benchmarked against a global MIP solver (GUROBI) and a state-of-the-art NLP solver (SNOPT).
- Reliability: The structure-exploiting method demonstrated superior reliability, succeeding in 93 out of 95 trials. In contrast, the standard NLP approach frequently failed to find valid trajectories as the complexity of the mission increased.
- Computational Efficiency: As the time horizon ($T$) scaled, the computation time for the proposed method remained stable and low, finishing in seconds. The MIP solver, however, became exponentially slower, eventually timing out after $T=100$ (exceeding two hours of computation).
- Solution Quality: The trajectories generated by the CCP-based approach achieved high robustness scores, often matching the global optimum found by the MIP solver while requiring only a fraction of the time.
Conclusion and Future Work
The structure-exploiting SQP algorithm provides a powerful alternative for robots performing complex missions. By recognizing that not all constraints need to be linearized, the method maintains the integrity of the mission requirements while ensuring computational speed. The authors prove that if their algorithm finds a feasible solution to their simplified sub-problem, that solution is guaranteed to satisfy the original, complex STL mission.
Currently, the framework is optimized for linear systems and affine predicates (straight-line boundaries). Future research will focus on extending these "structure-exploiting" principles to non-linear robot dynamics—such as those found in quadrotors or legged robots—and non-affine predicates to accommodate more complex environmental geometries.
Summary updated