Data-Driven Stochastic Optimal Control Using Kernel Gradients

Adam J. Thorpe, Jake A. Gonzales, Meeko M. K. OishiarXiv 2022 · DOI

Introduction

Autonomous systems, such as self-driving vehicles and drones, must operate in environments characterized by significant stochasticity. Traditional control strategies typically rely on rigid mathematical models, often assuming linear dynamics or Gaussian noise distributions. When real-world conditions deviate from these assumptions, system performance degrades.

Data-driven control offers a promising alternative by learning dynamics directly from observations. However, a persistent challenge in kernel-based data-driven methods has been the "action selection" problem. Previous state-of-the-art approaches required engineers to pre-define a finite "control library" of possible actions. The algorithm would then select the best candidate from this discrete set. This approach is inherently limited; if the optimal action is not present in the library, the system can never achieve true optimality.

Methodology: Continuous Optimization via Kernel Gradients

This research introduces a method to optimize control actions over a continuous space using Kernel Gradients. The approach leverages the mathematical properties of Reproducing Kernel Hilbert Spaces (RKHS) to bypass the need for a predefined control library.

1. Kernel Embeddings

The system represents unknown dynamics as operators within an RKHS. By embedding the problem in this high-dimensional function space, complex integrals—such as the expected cost of an action—are transformed into efficient matrix-vector multiplications.

2. The Gradient Trick

Rather than attempting to differentiate an unknown cost function directly, the authors differentiate the kernel function itself (e.g., the Gaussian/RBF kernel). Due to the "partial derivative reproducing property," the gradient of the kernel serves as a reliable proxy for the gradient of the underlying cost surface. This allows the controller to compute "gradients for free" for arbitrary cost functions.

3. Kernel-Based Gradient Descent

The optimization process begins with an initial guess, often derived from a discrete linear programming baseline. The algorithm then performs gradient descent along the empirical cost surface to find the precise optimal control input $u$. This "polishing" step ensures the final action is truly optimal rather than just the "least bad" option from a list.

Experimental Evaluation

The method was evaluated in two simulated stochastic environments to provide a ground truth for comparison.

Double Integrator System

In a standard 2D point-mass regulation task using $M = 1600$ observations, the data-driven kernel solution demonstrated remarkable accuracy. As shown in the vector field comparison, the gradients derived from data almost perfectly align with the true physical optimal solution.

Comparison of the data-driven kernel gradient solution against the deterministic ground truth.

Nonholonomic Vehicle Tracking

A more complex challenge involved a car-like robot model performing a target-tracking task, trained on $M = 3000$ observations. The proposed gradient-based method achieved a total tracking cost of 1.363, a significant improvement over the discrete-action baseline cost of 1.447.

Trajectory tracking performance for a nonholonomic vehicle, comparing paths with and without kernel gradient optimization.

Visual analysis of the trajectories confirms that the gradient descent refinement allows the vehicle to follow the target path much more closely than methods restricted to a discrete control library.

Key Insights and Limitations

A critical finding of this work is that accuracy scales with data: the control solution's error consistently decreases as the sample size $M$ increases. Furthermore, the use of differentiable kernels like RBF provides a robust framework for handling arbitrary, non-convex cost surfaces, provided the optimization is initialized effectively.

However, challenges remain regarding computational complexity, as the method scales polynomially with the number of samples. Additionally, while the current approach excels at "point-wise" optimization for the immediate next step, future research will focus on extending these kernel gradients to multi-step dynamic programming and constrained optimization (e.g., obstacle avoidance).

Summary updated

BibTeX
@misc{thorpe2022data,
  author = {Adam J. Thorpe and Jake A. Gonzales and Meeko M. K. Oishi},
  title = {{Data-Driven Stochastic Optimal Control Using Kernel Gradients}},
  year = {2022},
  eprint = {2209.09205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.09205},
}
Figure