Abstract
Trajectory optimization under uncertainty underpins a wide range of applications in robotics. However, existing methods are limited in terms of reasoning about sources of epistemic and aleatoric uncertainty, space and time correlations, nonlinear dynamics, and non-convex constraints. In this work, we first introduce a continuous-time planning formulation with an average-value-at-risk constraint over the entire planning horizon. Then, we propose a sample-based approximation that unlocks an efficient and general-purpose algorithm for risk-averse trajectory optimization. We prove that the method is asymptotically optimal and derive finite-sample error bounds. Simulations demonstrate the high speed and reliability of the approach on problems with stochasticity in nonlinear dynamics, obstacle fields, interactions, and terrain parameters.
Introduction
Robots operate in environments characterized by significant uncertainty, ranging from noisy sensor data to unpredictable external forces like wind or varying terrain friction. Traditional trajectory optimization often relies on simplifying assumptions, such as Gaussian noise distributions, which fail to account for "tail events"—rare but catastrophic failures. Furthermore, point-wise safety constraints (ensuring safety at discrete time steps) do not guarantee safety over an entire trajectory, as risks can compound over time.
This work addresses the challenge of "joint" risk-averse optimization: ensuring a robot remains safe over its entire planning horizon while navigating nonlinear dynamics and non-convex obstacles, without becoming overly conservative.
Methodology: AV@R and Sample Average Approximation
The proposed framework utilizes Average-Value-at-Risk (AV@R) instead of standard chance constraints. While chance constraints merely measure the probability of failure, AV@R quantifies the expected severity of the worst-case outcomes. This measure is mathematically well-behaved (convex) and effectively accounts for the long tails of risk distributions.
To handle the complexity of nonlinear systems where exact risk calculation is impossible, we employ Sample Average Approximation (SAA). By using a collection of $M$ random scenarios, the stochastic problem is transformed into a deterministic one. The "secret sauce" of this approach is a smooth reformulation: auxiliary variables are introduced to convert AV@R constraints into a smooth and sparse set of constraints. This allows the use of efficient solvers like Sequential Convex Programming (SCP) or IPOPT.
The method provides strong theoretical foundations, including asymptotic optimality (convergence to the true optimal solution as $M \to \infty$) and finite-sample error bounds, allowing practitioners to determine the necessary sample size for a target safety level.
Experimental Evaluation
The algorithm was tested on three simulated benchmarks:
- Drone Planning: A quadrotor navigating uncertain ellipsoidal obstacles with an uncertain payload.
- Autonomous Driving: A vehicle interacting with a pedestrian whose behavior includes epistemic uncertainty modeled via the Social Force Model.
- Legged Locomotion: A hopper robot jumping across terrain with spatially varying friction modeled using Random Fourier Features.
Key Results and Discussion
A major finding is that sample-based planning, often dismissed as too slow for real-time applications, can be highly efficient with the right mathematical structure.
In the drone task, the solver reached solutions in approximately 300-400ms using 50 samples, making it viable for online replanning. Compared to deterministic baselines (which crashed 73.8% of the time) and Gaussian approximations (which were overly conservative), the SAA approach strictly met target risk levels while achieving lower costs. Furthermore, because the theory is derived in continuous time, safety guarantees remain robust regardless of the discretization used by the solver.
Conclusion and Future Work
While the current framework demonstrates high speed and reliability, future work will address scaling to extremely high-dimensional problems where sample requirements might increase. Additionally, extending this open-loop trajectory optimization into a closed-loop feedback controller (e.g., robust MPC) and integrating it with learned environment models like Neural Radiance Fields (NeRFs) represent promising directions for enhancing robotic autonomy in uncertain worlds.
Summary updated