Nonparametric Kullback-Leibler Stochastic Control

Yunpeng Pan, Evangelos A. Theodorou

Abstract

This paper introduces two nonparametric, data-driven frameworks—GP-KL and Nyström-KL—designed to solve infinite-horizon Kullback-Leibler (KL) stochastic control problems. Traditional parametric methods for stochastic control often suffer from rigid basis function selection, which can lead to suboptimal or incorrect control policies in complex nonlinear systems. By integrating Gaussian Processes and Nyström approximations, the proposed methods allow for the autonomous discovery of the "desirability function" directly from observed transition data. Our evaluation on classic benchmarks, including the inverted pendulum and car-on-a-hill tasks, demonstrates that these nonparametric approaches achieve high accuracy and computational efficiency, enabling real-time, on-line control updates for robotic systems.

Introduction

Stochastic optimal control is a fundamental challenge in robotics, particularly when dealing with high-dimensional, nonlinear dynamics. A significant simplification in this field is the Kullback-Leibler (KL) control framework, also known as Linearly-Solvable Markov Decision Processes (MDPs). By defining the control cost as the KL divergence between controlled and uncontrolled dynamics, the traditionally nonlinear Hamilton-Jacobi-Bellman (HJB) equation is transformed into a linear equation.

Despite this simplification, a major hurdle remains: approximating the "desirability function"—an exponential transformation of the value function—in continuous state spaces. Existing methods typically rely on parametric approximations where basis functions must be pre-selected. This approach carries the risk of convergence to incorrect solutions if the basis functions are poorly chosen. This paper addresses this gap by proposing nonparametric methods that learn the desirability function from data, providing the flexibility needed for complex, real-world environments.

Theoretical Unified View

The authors provide a theoretical bridge between control theory and information theory. They prove that KL control derived from traditional Dynamic Programming is mathematically equivalent to the version derived from Information Theoretic Dualities (specifically the relationship between Free Energy and Relative Entropy) for the infinite-horizon case. By utilizing the transformation $z(x) = \exp(-v(x))$, the control problem is recast as an eigenvalue problem. This shift allows for the application of powerful tools from linear operator theory and Bayesian inference to approximate the desirability function $z(x)$.

Nonparametric Frameworks

The paper introduces two distinct nonparametric approaches to approximate the desirability function:

GP-KL (Gaussian Process KL Control)

GP-KL utilizes Gaussian Processes to perform nonlinear regression on the desirability function. To ensure real-time performance, the authors implement a sparse update scheme. Using a kernel independence test, the algorithm dynamically decides whether to incorporate a new observed state into its budgeted set of support points or to prune an existing one. This mechanism keeps the computational cost fixed, allowing the controller to adapt to new data without an unbounded increase in processing time.

Nyström-KL

Nyström-KL leverages the Nyström method, a sampling-based low-rank matrix approximation technique. It treats the desirability problem as an integral equation and solves it by replacing the integral with a weighted sum of representative points. This method is particularly efficient as it avoids the expensive matrix inversions required by standard Gaussian Process regression.

Experimental Evaluation and Results

The frameworks were evaluated using simulated benchmarks: the inverted pendulum (balancing and limit cycle tasks) and the car-on-a-hill task. Desirability functions were tested on a 100x100 state-space grid to compare against a ground-truth discretized MDP.

Approximation of desirability function and optimal control for inverted pendulum balancing task. (a) MDP, (b) Nyström approximation, (c) GP, (d) Optimal control policies.

As illustrated in Figure 2, both GP-KL and Nyström-KL successfully approximate the desirability function, closely matching the results from the discretized MDP. In the inverted pendulum balancing task—a known failure case for many parametric methods—both nonparametric approaches converged to the correct optimal policy.

The Accuracy-Speed Tradeoff

The experiments revealed a clear tradeoff between accuracy and speed:

  • GP-KL serves as the "gold standard" for accuracy, particularly when the system explores states outside the initial estimated range. Its Bayesian nature provides robust performance in novel state-space regions.
  • Nyström-KL is the "speed demon." In the inverted pendulum task, it was nearly 4x faster than GP-KL (19s vs. 71s). In the car-on-a-hill task, it completed in 32s compared to 103s for GP-KL. It performs best when a reasonably confident initial estimate of the state range is available.
Control trajectories and state-space coverage for limit cycle tasks using the proposed nonparametric frameworks.

Figure 4 demonstrates the qualitative success of the on-line schemes. The algorithms autonomously manage their internal models while maintaining smooth, stable control trajectories, such as the limit cycles shown for the inverted pendulum.

Conclusion and Future Work

The GP-KL and Nyström-KL frameworks offer a robust, data-driven path for solving stochastic control problems without the constraints of parametric templates. While these methods currently rely on a grid-based initialization, which can be a bottleneck for high-dimensional systems, the authors suggest future directions such as non-uniform sampling, local function approximations, or manifold embedding to further enhance scalability. These advancements will bring nonparametric KL control closer to widespread application in complex robotic tasks.

Summary updated

BibTeX
@inproceedings{pan2014nonparametric,
  author = {Yunpeng Pan and Evangelos A. Theodorou},
  title = {{Nonparametric Kullback-Leibler Stochastic Control}},
  booktitle = {ADPRL},
  year = {2014},
  doi = {10.1109/adprl.2014.7010616},
}
Figure