Improved Exploration for Safety-Embedded Differential Dynamic Programming Using Tolerant Barrier States

Joshua E. Kuperman, Hassan Almubarak, Augustinos D. Saravanos, Evangelos A. Theodorou

Abstract

Trajectory optimization in autonomous robotics often faces a trade-off between strict safety enforcement and the ability to explore complex environments. Traditional barrier-based methods can lead to local minima or failure when initialized in unsafe regions. This paper presents Tolerant Discrete Barrier States (T-DBaS), a safety-embedding technique for Differential Dynamic Programming (DDP). By utilizing a novel barrier function composed of sigmoid and softplus components, the T-DBaS-DDP algorithm allows for temporary constraint violations during optimization. This "tolerant" approach enables the solver to navigate through unsafe regions to discover globally optimal, safe trajectories, effectively addressing the limitations of hard barriers and soft constraints.

1. Introduction

In autonomous robotics, trajectory planning must balance goal-reaching efficiency with rigorous safety constraints. While safety is paramount, overly restrictive mathematical formulations often hinder a robot's ability to find optimal paths in cluttered or complex environments. Standard methods, such as Control Barrier Functions (CBFs), provide safety guarantees but frequently suffer from "myopia"—the optimizer may become trapped in local minima because it cannot even temporarily consider paths that intersect with unsafe zones.

Researchers from the Georgia Institute of Technology have addressed this challenge by introducing Tolerant Discrete Barrier States (T-DBaS). This method integrates safety directly into the trajectory optimization process while allowing the solver the flexibility to "tunnel" through unsafe regions during the planning phase, ultimately converging on a safe and optimal solution.

2. The Challenge of Safety-Constrained Optimization

Current approaches to safety in trajectory optimization generally fall into two categories:

  1. Hard Barriers: These methods ensure the robot never enters an unsafe state. However, if a robot begins in an unsafe configuration or must navigate a "horseshoe" obstacle where the goal is behind a barrier, the optimizer often fails. The infinite penalty at the boundary creates numerical instability and prevents exploration.
  2. Soft Constraints (Penalty Methods): These allow for constraint violations but often fail to guarantee safety in the final trajectory. They also require extensive manual parameter tuning to balance safety against performance.

The objective of T-DBaS is to bridge this gap by providing an exploratory solver that remains safety-embedded, ensuring that the final output adheres to all safety requirements while maintaining the ability to escape local minima.

3. Methodology: Tolerant Discrete Barrier States (T-DBaS)

The proposed T-DBaS-DDP framework combines the efficiency of Differential Dynamic Programming (DDP) with a novel barrier function ($\tilde{B}$).

3.1 The T-DBaS Barrier Function

The core innovation lies in the construction of the barrier function, which is the sum of a sigmoid and a softplus function:

  • Sigmoid Component: Acts as a traditional penalty as the robot approaches a boundary.
  • Softplus Component: Crucially, this component ensures that even if the state enters an unsafe region, the gradient remains well-defined and points back toward the safe set.

Unlike classical barriers that approach infinity at the boundary, the T-DBaS function remains differentiable and provides useful gradient information everywhere. This allows the DDP solver to explore trajectories that may be temporarily unsafe during internal iterations, facilitating the discovery of safe paths that a "hard" barrier would have blocked.

3.2 Self-Regularization and Initialization

T-DBaS-DDP retains the self-regularization properties of DDP, meaning the safety constraints contribute to the numerical stability of the solver. Furthermore, because the algorithm can handle temporary violations, it eliminates the common requirement for a "safe start" initialization, allowing the robot to recover even if it begins the optimization process in an unsafe state.

4. Experimental Evaluation

The researchers evaluated T-DBaS-DDP across several challenging scenarios:

  • Horseshoe Obstacle: A differential drive robot must reach a goal located directly behind a U-shaped wall.
  • High-Dimensional Quadrotor Control: A 12-dimensional model tracking a complex "figure-eight" path while navigating moving obstacles.
  • Randomized Obstacle Fields: A large-scale test involving 600 experiments with non-convex and rotated obstacles to test robustness.
  • Hardware Validation (The Robotarium): Real-world testing on a multi-robot testbed at Georgia Tech to confirm performance under noisy conditions.

5. Key Results and Insights

The experiments demonstrated several advantages of the T-DBaS approach:

  • Enhanced Exploration: In the horseshoe test, T-DBaS-DDP successfully navigated around the wall to the goal, whereas standard barrier methods (DBaS-DDP) became trapped at the front of the obstacle.
  • Convergence Efficiency: When compared to Augmented Lagrangian (AL-DDP) methods, T-DBaS-DDP converged in significantly fewer iterations. In dense obstacle fields (up to 25 obstacles), it maintained a high success rate where other state-of-the-art methods failed.
  • Computational Performance: Although the T-DBaS barrier function is more complex—leading to a roughly 2x increase in computation time per iteration—the overall time to solution is often lower because the algorithm requires fewer iterations to reach convergence.

6. Limitations and Future Directions

While T-DBaS-DDP offers significant improvements, it introduces specific tuning parameters ($p, m, c_1, c_2$) that define the barrier's shape. Determining the optimal values for these parameters currently requires some manual iteration.

Future research aims to utilize differentiable optimal control to automatically learn these parameters. By adapting the barrier shape based on specific obstacle geometries and state uncertainties, the method could become a fully autonomous, "plug-and-play" safety solution for a wide range of robotic systems.

7. Conclusion

Tolerant Discrete Barrier States represent a significant step forward in safety-embedded trajectory optimization. By allowing for temporary, informed violations of safety constraints during the optimization process, T-DBaS-DDP provides robots with the exploratory capability needed to navigate complex environments without sacrificing the rigorous safety guarantees required for real-world deployment.

Summary updated

BibTeX
@inproceedings{kuperman2023improved,
  author = {Joshua E. Kuperman and Hassan Almubarak and Augustinos D. Saravanos and Evangelos A. Theodorou},
  title = {{Improved Exploration for Safety-Embedded Differential Dynamic Programming Using Tolerant Barrier States}},
  booktitle = {ICAR},
  year = {2023},
  doi = {10.1109/icar58858.2023.10406518},
}
Figure