Abstract
Optimal control of stochastic nonlinear dynamical systems is a major challenge in the domain of robot learning. Given the intractability of the global control problem, state-of-the-art algorithms often rely on deterministic approximations or heuristic regularization. This paper introduces Input Inference for Control (I2C), a framework that reframes stochastic optimal control as a probabilistic inference problem. By treating control inputs as latent variables to be estimated via Expectation-Maximization (EM) and message passing, the authors provide a principled Bayesian approach to regularization and uncertainty quantification that outperforms traditional deterministic solvers in noisy environments.
Introduction: The Challenge of Stochasticity
In robotics, optimal control is the fundamental process of determining a sequence of actions to achieve a specific goal state. While algorithms like Iterative Linear Quadratic Regulator (iLQR) and Differential Dynamic Programming (DDP) are widely used, they face significant hurdles in real-world applications. Primarily, these deterministic solvers often produce "brittle" plans that fail under minor environmental disturbances. Furthermore, achieving convergence typically requires manual tuning of heuristics, such as line searches and damping terms, which lack a rigorous mathematical foundation.
The I2C framework addresses these issues by leveraging the duality between inference and control. If state estimation from noisy sensors is an inference problem, the authors argue that finding optimal control inputs to reach a goal can be treated similarly.
Methodology: Input Inference for Control (I2C)
The core of I2C is the treatment of the "desired trajectory" as a set of virtual observations. The task of finding the optimal control sequence is transformed into inferring the most likely latent inputs that would generate these observations.
Forney-style Factor Graphs
To implement this, the dynamical system is represented as a probabilistic graphical model using Forney-style factor graphs. This representation facilitates the use of efficient message-passing algorithms, specifically linear Gaussian rules, to solve the inference problem.
Expectation-Maximization (EM)
The optimization process is structured as an EM algorithm:
- E-Step: Employs message passing (similar to a Kalman Smoother) to estimate the joint state-action trajectory.
- M-Step: Optimizes hyperparameters, including a cost scaling factor ($\alpha$). This update acts as an automated "annealing" process, effectively creating a curriculum where the task precision increases as the trajectory estimate improves.
To handle nonlinearities, I2C iteratively linearizes the dynamics around the current trajectory estimate, a technique analogous to Gauss-Newton optimization.
Experimental Evaluation
The authors evaluated I2C on three simulated physics benchmarks of increasing complexity: Pendulum Swing-up (2D), Cartpole Swing-up (4D), and Double Cartpole Swing-up (6D). These environments were implemented using the Autograd library to support the necessary linearization steps.
Key Insights and Results
A significant theoretical contribution is the proof that for deterministic linear systems, I2C reduces exactly to the classic Linear Quadratic Regulator (LQR). This provides a solid theoretical anchor for the framework.
Principled Regularization and Robustness
Unlike deterministic solvers, I2C’s regularization is inherent to its Bayesian structure. Input priors prevent overconfident jumps during early optimization stages. In high-uncertainty regions, the controller exhibits a "turn-off" phenomenon, naturally attenuating actions when the model's predictions are untrustworthy. This leads to a natural emergence of maximum entropy control laws, which usually require manual addition in other frameworks.
In comparisons with iLQR and Guided Policy Search (GPS), I2C demonstrated superior consistency. While iLQR might find lower predicted costs, it often failed in stochastic execution because its solutions were too aggressive. I2C’s actual performance (evaluated cost) remained closely aligned with its predicted cost, highlighting its robustness to noise.
Limitations and Future Outlook
Despite its strengths, I2C depends on local linearization. In cases of extreme nonlinearity or large time steps, the underlying Gaussian assumptions may fail, leading to divergence. Additionally, the framework is sensitive to the choice of initial input priors. Future research directions include moving beyond Gaussian assumptions by incorporating Monte Carlo or variational methods to handle multi-modal probability distributions.
Summary updated