Kullback–Leibler control for discrete-time nonlinear systems on continuous spaces

Kaito Ito, Kenji Kashima

Introduction

Optimal control of nonlinear systems remains a fundamental challenge in robotics and automation. While the Hamilton-Jacobi-Bellman (HJB) equation provides a theoretical framework for finding optimal policies, its practical application is often hindered by the "curse of dimensionality." Kullback-Leibler (KL) control, or linearly-solvable Markov Decision Processes (MDPs), has emerged as a promising alternative. By framing the control cost as a KL divergence between controlled and uncontrolled transition distributions, the HJB equation is linearized, allowing for more efficient computation.

However, applying KL control to continuous-space systems has historically relied on a problematic assumption: "full controllability" over the next-state distribution. In physical systems, a controller can influence the mean state but rarely the underlying noise variance or inherent physics. This paper by Kaito Ito and Kenji Kashima addresses this theoretical gap, proposing a reformulated KL control framework that is mathematically rigorous for continuous spaces.

Problem Formulation and the Causality Gap

In standard KL control, the cost function includes a term representing the "distance" (KL divergence) between the controlled dynamics and a passive, uncontrolled reference system. In continuous spaces, this formulation often implies that the controller can perfectly reshape the probability density of the next state.

The authors identify a critical flaw in this assumption: it often implies noncausality. For the traditional mathematical framework to hold in continuous spaces, the controller would effectively need to anticipate future noise realizations. When researchers attempt to apply these methods to real-world systems, they are often forced to use approximations that compromise optimality.

Methodology: Noise-Driven Reference Dynamics

To resolve these issues, Ito and Kashima introduce a "noise-driven" reference system. Instead of comparing the controlled system to a passive state where the input $u=0$, they compare it to a system where the control input is replaced by a stochastic noise term $w$.

Key Mathematical Constraints

The proposed framework rests on several specific assumptions to maintain mathematical consistency:

  1. Input-State Matching: The number of control inputs ($m$) must equal the number of states ($n$).
  2. Bijectivity: The system dynamics must be invertible, ensuring a one-to-one mapping between inputs and subsequent states.
  3. Desirability Function: By applying an exponential transformation to the value function—resulting in a "desirability function"—the authors prove that the Bellman equation remains linear under this new formulation.

Path Integral Representation

A significant advantage of this linear formulation is that the solution can be expressed as a path integral. This allows the optimal value function to be estimated via Monte Carlo sampling. Rather than solving complex partial differential equations, practitioners can simulate multiple random trajectories of the noise-driven system and average their costs to find the optimal control strategy.

Experimental Validation

The authors validated their framework using two primary benchmarks: a Linear Quadratic Gaussian (LQG) system and a nonlinear Cart-Pole Inverted Pendulum.

Linear Quadratic Gaussian (LQG)

In the linear case, the authors demonstrated that the Monte Carlo estimates converged rapidly to the analytical solution. With approximately 3,000 samples, the estimate reached high accuracy. Furthermore, the computation was highly efficient, taking roughly 0.71 seconds on a standard consumer laptop (M1 Pro), highlighting the potential for real-time application.

Cart-Pole Inverted Pendulum

The method was also applied to the classic cart-pole balancing problem to test its performance on nonlinear dynamics. The results showed that the controller successfully stabilized the pendulum. Interestingly, the authors observed that as the reference noise ($\Sigma$) increased, the resulting optimal controller became more "aggressive." This behavior demonstrates that the reformulated KL cost correctly accounts for the stochasticity of the environment.

Discussion and Conclusion

The primary contribution of this work is the restoration of causality and mathematical rigor to KL control in continuous spaces. By linking the optimal policy to a path integral representation, the authors provide a bridge toward model-free control, where the exact system equations ($f$) need not be known as long as trajectories can be sampled.

Despite its strengths, the framework currently requires $m=n$ and bijective dynamics. While the authors suggest that auxiliary systems could potentially bypass the dimensionality constraint, these requirements remain the primary hurdles for universal application. Future research will likely focus on weakening these assumptions and exploring density-free analysis to broaden the applicability of noise-driven KL control.

Summary updated

BibTeX
@inproceedings{ito2022kullbackleibler,
  author = {Kaito Ito and Kenji Kashima},
  title = {{Kullback–Leibler control for discrete-time nonlinear systems on continuous spaces}},
  booktitle = {SICE},
  year = {2022},
  doi = {10.1080/18824889.2022.2095827},
}
Figure