Abstract
Optimal control under uncertainty is a prevailing challenge for many reasons. One of the critical difficulties lies in producing tractable solutions for the underlying stochastic optimization problem. We show how advanced approximate inference techniques can be used to handle the statistical approximations principled and practically by framing the control problem as a problem of input estimation. Analyzing the Gaussian setting, we present an inference-based solver that is effective in stochastic and deterministic settings and was found to be superior to popular baselines on nonlinear simulated tasks. We draw connections that relate this inference formulation to previous approaches for stochastic optimal control and outline several advantages that this inference view brings due to its statistical nature.
Introduction
Stochastic Optimal Control (SOC)—controlling a system where both the dynamics and the environment are uncertain—is notoriously difficult. Traditional methods often rely on the Iterative Linear Quadratic Regulator (iLQR), which uses local Taylor expansions (linearization) to approximate the system.
However, linearization is brittle: it struggles with highly nonlinear or chaotic dynamics and doesn't naturally account for the "shape" of uncertainty. Furthermore, many SOC algorithms require tedious manual tuning of "temperature" parameters (balancing cost vs. exploration) and control priors. This paper introduces Input Inference for Control (I2C), a framework that treats stochastic optimal control as a Bayesian inference problem to provide a more principled, self-tuning, and robust optimization framework.
Methodology
The I2C framework frames control as a probabilistic graphical model where "optimality" is treated as a binary latent variable. The core of the approach is an algorithm that iterates through two primary steps:
- E-Step (Bayesian Smoothing): The algorithm estimates the optimal state-action trajectory. Instead of simple linearization, it leverages advanced Gaussian message-passing techniques like Spherical Cubature and Gauss-Hermite Quadrature. These methods use "sigma points" to better capture how a distribution moves through a nonlinear function, leading to much more stable optimization.
- M-Step (Parameter Update): Using Expectation-Maximization (EM), the algorithm automatically updates the control priors and the inverse temperature ($\alpha$). This removes the need for manual hyperparameter schedules, as $\alpha$ scales itself based on the current expected cost.
Additionally, the authors introduce Expert Linear Gaussian Controllers, which use the predicted state distribution to intelligently switch between open-loop and closed-loop control, preventing the controller from making "over-confident" errors when far from the expected trajectory.
Key Insights and Results
The transition from a control-theoretic to a statistical inference perspective yields several critical advantages:
- The Duality of Control and Inference: The "Value Function" in control is mathematically shown to be equivalent to the "Precision" (inverse covariance) in a Bayesian smoothing problem. This allows control problems to be solved using the entire toolbox of modern statistics.
- Adaptive Regularization: By treating the cost temperature $\alpha$ as a model parameter in an EM framework, the solver automatically becomes "risk-seeking" early in optimization (to explore) and "risk-neutral" as it converges.
- Computational Performance: In a double cartpole task, I2C with Cubature was ~33x faster per iteration than iLQR (0.03s vs 1.0s) because it avoids the overhead of line searches and manual Jacobian computation.
- Stability and Noise Handling: On chaotic systems and high-dimensional tasks like a humanoid stand-up, I2C variants converged more smoothly than iLQR. In a quadcopter flip task, I2C maintained a much tighter cost distribution ($39.98 - 41.03$) compared to iLQR ($48.67 - 68.35$) under noise.
Conclusion and Future Work
The I2C framework demonstrates that framing control as input inference leads to solvers that are more principled and effective than traditional linearization methods. While the current Gaussian assumption limits the representation of multi-modal strategies (e.g., choosing between two distinct paths around an obstacle), it provides a strong foundation for future work. Extending this framework with Sequential Monte Carlo (SMC) or other particle-based methods could enable the representation of complex, multi-modal posterior distributions in stochastic control.
Summary updated