Fast second-order cone programming for safe mission planning

Kai Zhong, Prateek Jain, Ashish Kapoor

TL;DR

Researchers have developed a hyper-efficient optimization algorithm that solves Second-Order Cone Programs (SOCPs) up to 1000x faster than industry-standard solvers like SDPT3. By repurposing Wolfe’s algorithm to tackle the dual form of the optimization problem, they’ve enabled complex, safety-critical mission planning to run in real-time on resource-constrained embedded hardware.

What Problem Does This Paper Address?

In robotics, "safety" usually means navigating uncertainty—sensor noise, wind gusts, or moving obstacles. To guarantee a robot won't crash with a high degree of probability, engineers use chance constraints. Mathematically, these constraints often take the form of Second-Order Cone Programs (SOCPs).

The bottleneck? Standard SOCP solvers (like GUROBI or SDPT3) typically rely on interior-point methods. While robust, these are computationally "heavy" and memory-hungry. For a quadrotor trying to recalculate its path every few milliseconds on an embedded chip, these off-the-shelf solvers are often too slow or simply won't fit in memory. This paper aims to bridge the gap between high-level safety theory and low-level real-time implementation.

Methods

The authors' core contribution is a specialized algorithm for SOCPs based on two key insights:

  1. Dual Simplicity: The dual form of an SOCP is significantly easier to handle. It can be viewed as minimizing a convex function over a "polytope with infinite sides."
  2. Wolfe’s Algorithm: Originally designed for finding the nearest point in a polytope (and popular in submodular optimization), Wolfe’s algorithm is perfectly suited for this dual structure. It uses a fast Linear Minimization Oracle (LMO) to navigate the constraint space.

Key Technical Innovations: * Active Set Management: Instead of dealing with the entire high-dimensional space, the algorithm maintains a small set of "atoms" (points on the polytope). It actively removes redundant atoms to keep the memory footprint tiny. * Two-Level Sensing: To handle complex, non-linear obstacles (like cylinders or hills), they use a Gaussian Process (GP) sensing module. It first finds the nearest obstacle point using a sparse grid, then refines the boundary estimation with a dense local grid, feeding these into the SOCP as safety constraints.

Datasets

The paper evaluates the algorithm using:

  • Synthetic SOCP Data: Randomly generated problems with varying numbers of variables ($n$) and constraints ($L$) to test scaling.
  • Simulated Quadrotor Scenarios: A 12-dimensional state-space model of a quadrotor navigating environments with specific obstacles:
  • A "ceiling" at various heights.
  • A half-wall.
  • A 3D hill.
  • A cylinder.

Key Insights and Ideas

  • The "Aha" Moment on Duality: By switching to the dual problem, the authors transformed a complex constrained optimization into a geometry problem: finding the best combination of points within a specific shape.
  • Warm Starting: Unlike interior-point methods, this algorithm can be "warm-started." Since a robot's position changes only slightly between time steps, the solution to the previous SOCP is an excellent starting point for the next one, leading to massive speedups in trajectory tracking.
  • Sparsity is King: Even though the dual problem has many dimensions, the "active set" of constraints that actually matter at any given moment is very small. The algorithm exploits this sparsity to reduce the number of floating-point operations (flops).

Key Results

  • Massive Speedup: On standard quadrotor path-planning tasks, the proposed method achieved a 1000x speedup over SDPT3 without losing solution quality.
  • Efficiency vs. Baselines: It consistently outperformed Projected Gradient Descent (PGD), Cutting Plane Methods (CPM), and FAMA (Fast Alternating Minimization Algorithm) across various problem sizes.
  • Real-Time Performance: In 3D simulations involving complex obstacles (like hills and cylinders), the entire mission planning—including sensing and optimization—took only 5–6 seconds for the entire trajectory (150-200 steps), easily meeting real-time requirements.
  • Low Precision Sufficiency: The authors found that for robotic navigation, you don't need extreme numerical precision. Their "first-order" style approach reaches "good enough" solutions much faster than "second-order" interior-point methods.

Limitations and Future Work

  • Linearized Dynamics: To keep the problem an SOCP, the authors use a linear approximation of the quadrotor's non-linear dynamics. While common in Model Predictive Control (MPC), this approximation can break down during highly aggressive maneuvers.
  • Local Optimality in Sensing: The two-level sensing approach assumes local linearity of obstacles. While the high-frequency updates mitigate this, a very "jagged" or rapidly changing environment might still pose challenges.
  • Future Directions: The authors suggest that this framework could be extended to even more complex logic-based constraints (like PrSTL) or adapted for multi-robot coordination where computational resources are shared.

Reference: Zhong, K., Jain, P., & Kapoor, A. (2017). Fast Second-order Cone Programming for Safe Mission Planning. arXiv:1609.05243v2 [cs.RO].

Summary updated

BibTeX
@inproceedings{zhong2017fast,
  author = {Kai Zhong and Prateek Jain and Ashish Kapoor},
  title = {{Fast second-order cone programming for safe mission planning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2017},
  url = {https://openreview.net/forum?id=C8YA-7VkDgI},
}

Loading related content...

Figure