Reinforcement Learning Based on On-Line EM Algorithm

Masa-aki Sato, Shin IshiiNeurIPS 1998

Introduction

While reinforcement learning (RL) has achieved remarkable success in discrete environments, applying it to continuous "real-world" control problems—such as robotics—remains notoriously difficult. Two major hurdles typically impede progress in continuous spaces:

  1. Function Approximation Interference: To handle continuous state and action spaces, models must estimate values and policies. Global models, like standard multi-layer neural networks, often suffer from "catastrophic interference." In these cases, learning new information in one part of the state space causes the model to distort or "forget" previously learned behaviors in another.
  2. Learning Speed: Standard gradient descent methods are often too slow for complex, high-dimensional control tasks. They can require thousands of trials to converge, which is highly impractical for physical systems where wear-and-tear and time are significant constraints.

To address these challenges, this paper introduces a highly efficient RL framework that combines an actor-critic architecture with Normalized Gaussian Networks (NGnet) and a specialized on-line Expectation-Maximization (EM) algorithm. By replacing standard gradient descent with this EM approach, the authors achieve successful control of complex systems in just dozens of trials, outperforming traditional methods by orders of magnitude.

Methodology

The core of the proposed framework is an actor-critic method where both the actor (the policy) and the critic (the Q-function) are represented by Normalized Gaussian Networks (NGnet).

Normalized Gaussian Networks (NGnet)

NGnets act as a collection of "local expert" models. The network partitions the continuous input space using Gaussian functions. Within each specific partition, a local linear regression unit approximates the output. Because the units are localized, updating the model in one region of the state space does not cause catastrophic interference in distant regions.

On-line EM Algorithm

Instead of relying on traditional backpropagation or gradient descent, the authors employ an on-line version of the EM algorithm. This approach treats the selection of a specific "local expert" as a hidden variable. The EM algorithm provides a more direct and stable path to finding maximum likelihood estimators, allowing the model to converge significantly faster than gradient-based alternatives.

Dynamic Allocation

A standout feature of this framework is its ability to dynamically allocate resources by creating or deleting units on the fly. If the system encounters a novel state that its current units cannot explain well, it spawns a new Gaussian unit. Conversely, if a unit is rarely used, it is deleted. This dynamic sizing allows the model's complexity to scale naturally with the actual data distribution, avoiding the "curse of dimensionality" associated with fixed-grid radial basis function networks.

Experiments and Results

The method was evaluated on two classic, continuous-control simulated physics benchmarks: the Single Pendulum Swing-up and the Double Pendulum Balancing tasks.

Pendulum swing-up and stabilization sequence along with angle and torque plots.

Massive Speedup on Single Pendulum

In the single pendulum task, the goal is to swing a hanging pendulum to an upright position and stabilize it using limited torque. The proposed on-line EM method achieved good control in roughly 40 episodes. For comparison, previous NGnet methods relying on standard gradient descent required approximately 2,000 episodes. This represents a 50x improvement in learning speed.

Solving the "Unsolvable" Double Pendulum

The double pendulum balancing task is significantly harder. It involves two links, but torque can only be applied to the first joint. The system must manage complex, non-linear oscillations to keep both links upright.

Previous gradient-descent schemes failed to solve this task entirely, even when allocated over 160,000 network units. Remarkably, the on-line EM method successfully stabilized the double pendulum in about 40 episodes, utilizing a highly sparse network of only 96 actor units and 121 critic units.

These results demonstrate that the number of units required scales moderately as the input dimension increases, rather than exploding exponentially.

Limitations and Future Work

While the results are highly promising for continuous control, the authors note a few limitations:

  • Deterministic Focus: The experiments primarily focused on deterministic non-linear dynamical systems. While RL is generally well-suited for stochasticity, the framework's specific performance in highly noisy environments requires further exploration.
  • Hyperparameter Sensitivity: Despite dynamic unit allocation, the model still relies on predefined thresholds for unit creation and deletion, as well as a discount factor for the on-line EM algorithm. These hyperparameters may require careful tuning for different types of tasks.
  • Trajectory Dependency: One of the proposed learning schemes involves saving and replaying trajectories. This moves slightly away from a purely "step-by-step" on-line update during certain learning phases.

Overall, the integration of NGnets with an on-line EM algorithm presents a powerful, sample-efficient approach to continuous reinforcement learning, successfully bypassing the slow convergence and interference issues of traditional neural network approximations.

Summary updated

BibTeX
@inproceedings{sato1998reinforcement,
  author = {Masa-aki Sato and Shin Ishii},
  title = {{Reinforcement Learning Based on On-Line EM Algorithm}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1998},
}
Figure