Introduction
In the field of continuous control, researchers have long navigated a difficult trade-off between analytical efficiency and model flexibility. On one hand, Linear-Quadratic Gaussian (LQG) controllers offer exact, high-speed solutions but are strictly limited to simple quadratic reward functions. On the other hand, simulation-based Policy Gradient methods can accommodate arbitrary rewards but often struggle with high variance and the "needle in a haystack" problem—where sparse rewards make it nearly impossible for an optimizer to find a gradient signal.
This paper, originally presented at AISTATS 2009, introduces a novel bridge between these two paradigms. By reframing policy optimization as a statistical inference problem, the authors derive an Expectation-Maximization (EM) algorithm that maintains the flexibility of arbitrary reward functions while leveraging the analytical power of backward message passing.
Methodology: Policy Optimization as Inference
The core innovation of this work is treating the optimal control problem as inference within a latent variable model. The system assumes linear-Gaussian state transitions and a linear-Gaussian policy. To handle non-quadratic rewards, the authors model the reward function as a Mixture of Gaussians (MoG). Since MoGs are universal approximators, this allows the framework to represent complex, multimodal, or highly peaked reward landscapes.
In this framework, state-action paths are treated as "hidden data":
- E-Step: The algorithm calculates "forward messages" (predicting the agent's trajectory) and "backward messages" (propagating reward information from future states back to the present). Because the rewards and transitions are Gaussian, these messages are computed analytically using recursions analogous to a Kalman smoother.
- M-Step: The policy parameters are updated to maximize the expected reward calculated in the E-step. When a direct analytical update is not feasible, the authors employ a gradient-based M-step (such as L-BFGS), resulting in a Generalized EM (GEM) algorithm.
Experimental Evaluation
The authors evaluated the GEM algorithm against several baselines, including Natural Actor-Critic and PEGASUS, across three primary benchmarks: synthetic 1D MDPs, complex 13-dimensional 3D MDPs with sparse rewards, and a simulated robotic task.
The robotic "peg-in-hole" task (illustrated above) involves a 3-jointed arm with a 22-dimensional policy space. The objective is to guide an end-effector into a narrow target zone. This task is particularly challenging for standard reinforcement learning because the reward is highly localized; random exploration rarely encounters the goal, leaving gradient-based methods with little information to improve.
Key Results and Discussion
The GEM algorithm demonstrated significant advantages in environments with sparse rewards. While standard policy gradient methods often failed to make any progress in the 3D MDP tests, the GEM algorithm converged consistently to the optimum.
As shown in the performance plots, GEM is notably robust to initialization. Even when the initial policy ($\theta_0$) is far from the optimum, the analytical backward pass allows the agent to "sense" the reward landscape and propagate that information back through the trajectory. This effectively smooths the reward landscape, acting as a form of simulated annealing that helps the optimizer avoid local maxima.
Complexity and Limitations
While the EM approach is highly sample-efficient, it comes with a higher computational cost per iteration—$O(k_{max}^2)$ relative to the time horizon, compared to the $O(k_{max})$ complexity of standard gradients. Additionally, the current derivation relies on linear-Gaussian dynamics. While techniques like feedback linearization can adapt the method for some non-linear systems (like the robot arm), it may struggle with systems involving hard discontinuities or complex contacts.
Conclusion
By treating reinforcement learning as a parameter estimation problem, the authors provide a mathematically elegant solution to the sparse reward problem in continuous control. The use of analytical backward messages provides a significant leap in efficiency over pure trial-and-error simulation, offering a robust framework for complex robotic tasks where rewards are rare and the state space is high-dimensional.
Summary updated