Safe, Optimal, Real-Time Trajectory Planning With a Parallel Constrained Bernstein Algorithm

Shreyas Kousik, Bohao Zhang, Ram Vasudevan · OpenReview

TL;DR

This paper introduces a novel algorithm, the Parallel Constrained Bernstein Algorithm (PCBA), to solve complex optimization problems that arise in real-time robot navigation. By guaranteeing globally optimal solutions and bounding computation time, PCBA enables a safer, more efficient, and more reliable trajectory planning system (RTD*) for mobile robots.

What Problem Does This Paper Address?

Mobile robots navigating dynamic environments need to constantly replan their paths as new information becomes available. This "receding-horizon" approach requires solving an optimization problem at each planning step. The key challenges are:

  • Dynamic Feasibility: The robot's plan must respect its physical limitations (e.g., acceleration, turning radius) and avoid obstacles.
  • Liveness: The robot must continuously move and complete tasks within a reasonable timeframe. If planning takes too long, the robot might have to stop or brake, hindering progress.
  • Optimality: The robot should aim for the "best" plan, often meaning the shortest path or quickest arrival time, according to a defined cost function.

Existing methods, like Reachability-based Trajectory Design (RTD), can generate dynamically feasible plans in real-time. However, they often rely on gradient-based solvers that can get stuck in local minima, compromising optimality and liveness. This paper aims to solve these Polynomial Optimization Problems (POPs) that arise in RTD with a method that guarantees global optimality and predictable real-time performance.

Methods

The core innovation is the Parallel Constrained Bernstein Algorithm (PCBA). This is a branch-and-bound method designed to solve POPs. Here's how it works:

  • Bernstein Polynomials: PCBA leverages Bernstein polynomials to represent the cost and constraint functions. These polynomials provide guaranteed upper and lower bounds on the function's value over specific regions (boxes) of the search space.
  • Subdivision: The algorithm recursively subdivides these search space boxes. With each subdivision, the bounds on the polynomial values become tighter, allowing for more precise estimations.
  • Cut-Off Tests: PCBA uses these bounds to intelligently prune the search space. If a box is determined to be infeasible (violates constraints) or suboptimal (cannot contain the global optimum), it's eliminated, significantly reducing computation.
  • Parallelization: The subdivision and bound-checking steps are highly parallelizable, allowing PCBA to run efficiently on GPUs and achieve real-time performance.
  • RTD*: By integrating PCBA into the RTD framework, the authors create RTD*, which inherits RTD's dynamic feasibility guarantees while adding provable global optimality and improved liveness.

Datasets

Not discussed in the paper. The evaluation uses benchmark POPs and simulated/real-world robot navigation scenarios.

Key Insights and Ideas

  • Guaranteed Global Optimality for POPs: Traditional solvers often struggle with non-convex POPs, getting stuck in local minima. PCBA's branch-and-bound approach, combined with Bernstein polynomial bounds, provides a way to systematically explore the entire feasible space and guarantee finding the global optimum.
  • Bridging the Gap Between Theory and Practice: The paper demonstrates that a theoretically sound method for solving POPs (PCBA) can be practically implemented for real-time robot control, overcoming the limitations of existing solvers.
  • Liveness Through Predictable Performance: By bounding computation time and memory usage, PCBA ensures that the robot can consistently replan within its real-time constraints, leading to smoother and more reliable navigation.
  • The Power of Bernstein Polynomials in Optimization: The paper highlights the effectiveness of Bernstein polynomials for providing tight bounds and enabling efficient pruning in complex optimization problems.

Key Results

  • Benchmark Performance: PCBA outperformed state-of-the-art solvers (BSOS and MATLAB's fmincon) on a suite of benchmark POPs, finding globally optimal solutions with comparable or better accuracy and often faster solve times, especially for problems with many constraints.
  • Real-World Robot Navigation: The RTD* system, powered by PCBA, successfully navigated a Segway robot through challenging scenarios with static obstacles.
  • Improved Liveness: RTD* demonstrated significantly fewer instances of emergency braking compared to RTD using fmincon, indicating more consistent and frequent successful replanning.
  • Optimality: RTD* consistently found better (lower cost) trajectories than fmincon when navigating complex environments with numerous constraints.
  • Real-Time Performance: PCBA consistently found solutions within the strict time limits required for real-time robot control, with low standard deviation in solve times, unlike fmincon.

Limitations and Future Work

  • Dimensionality: The current PCBA implementation is primarily tested and proven for problems up to four dimensions. While theoretically applicable to higher dimensions, the number of Bernstein patches can grow exponentially, posing memory challenges.
  • Polynomial Assumption: The method is designed for Polynomial Optimization Problems. Extending it to non-polynomial functions would require further research.
  • Future Work: The authors plan to explore non-polynomial optimization problems, improve PCBA's time and space complexity bounds, and apply RTD* and PCBA to a wider variety of robot platforms.

Summary updated

BibTeX
@article{kousik2021safe,
  author = {Shreyas Kousik and Bohao Zhang and Ram Vasudevan},
  title = {{Safe, Optimal, Real-Time Trajectory Planning With a Parallel Constrained Bernstein Algorithm}},
  journal = {IEEE Trans. Robotics},
  year = {2021},
  doi = {10.1109/tro.2020.3036617},
}
Figure