Unsupervised Real-Time Control Through Variational Empowerment

Maximilian Karl, Philip Becker-Ehmck, Maximilian Soelch, Djalel Benbouzid, Patrick van der Smagt, Justin Bayer

TL;DR

This paper introduces a novel, efficient method for calculating a lower bound of "empowerment," an intrinsic motivation metric that quantifies an agent's influence on its future. This allows for unsupervised real-time control in complex, continuous systems, even when the system's dynamics are unknown and learned from data.

What Problem Does This Paper Address?

Designing effective cost functions for sequential decision-making tasks (like robotics or game playing) is notoriously difficult. Traditional methods often require extensive manual tuning and domain expertise to specify what constitutes "good" behavior. Empowerment offers a compelling alternative: it's an intrinsic, goal-agnostic measure that quantifies how much an agent can influence its future state. However, calculating empowerment is computationally prohibitive, especially in high-dimensional, continuous systems, limiting its practical application. This paper tackles this computational bottleneck, making empowerment a viable tool for unsupervised control.

Methods

The core contribution is an efficient, amortized method for estimating a lower bound of empowerment using variational inference. Instead of directly computing the intractable mutual information, they introduce a variational approximation to the "planning distribution" (how actions influence future states). This allows them to derive a lower bound that can be optimized jointly with the agent's policy.

Key techniques include:

  • Variational Lower Bound: They leverage the relationship between mutual information and the Kullback-Leibler (KL) divergence to derive a tractable lower bound.
  • Amortized Inference: The method learns a single, fixed-computation-time policy that can be evaluated in real-time, making it suitable for dynamic environments.
  • Deep Neural Networks: Neural networks are used to parameterize the policy, the source distribution (which generates actions for empowerment calculation), and the variational approximations.
  • Reparameterization Trick: This technique allows for efficient gradient estimation through the sampling process, enabling end-to-end training.
  • Deep Variational Bayes Filters (DVBF): For scenarios where system dynamics are unknown, they integrate a DVBF model to learn a differentiable, Markovian model of the environment from raw data.

Datasets

The paper evaluates their method on several simulated environments:

  • Pendulum: A continuous, torque-controlled pendulum environment.
  • Single Ball in a Box: A continuous control task where a ball must be moved within a box.
  • Multiple Balls in a Box: An extension of the single ball environment with multiple interacting agents.
  • Bipedal Walker: A challenging bipedal robot balancing task.

These are standard benchmarks within the reinforcement learning and robotics communities, often used with OpenAI Gym. The paper does not introduce new benchmark environments.

Key Insights and Ideas

  • Empowerment as a Universal Cost Function: The paper demonstrates that empowerment can serve as a powerful, unsupervised cost function, guiding agents towards states where they have maximal influence, without needing explicit external rewards.
  • Bridging the Gap to Real-Time Control: By developing an efficient, amortized method for estimating empowerment, the authors make this theoretically rich concept practically applicable to real-time control systems.
  • Learning Dynamics for Unsupervised Control: The integration of DVBF allows their empowerment-based control to function even in environments where the system dynamics are unknown, significantly broadening its applicability.
  • Transferable Behavior: The learned empowerment-maximizing policies exhibit sensible behaviors across diverse tasks, from simple pendulum swings to complex bipedal balancing, suggesting a general principle for intrinsic motivation.

Key Results

The paper presents qualitative and quantitative results across several experiments:

  • Pendulum: The learned policy reliably swings the pendulum to its upright position, achieving high empowerment in that state.
  • Single Ball in a Box: The empowerment-maximizing policy drives the ball towards the center of the box, avoiding walls where control is less effective. This contrasts with a uniform policy that gets stuck.
  • Multiple Balls in a Box: The learned policy encourages balls to move towards the center and avoid collisions, demonstrating emergent cooperative-like behavior driven by empowerment.
  • Bipedal Walker: The method successfully learns to balance the biped robot unsupervisedly, showing that empowerment can capture fundamental skills like stability.
  • n-step Empowerment: Experiments with n-step empowerment (considering influence over a longer horizon) yielded similar results to single-step empowerment, validating the approach.

The paper emphasizes the real-time capability of the trained policies, a key practical advantage.

Limitations and Future Work

Limitations: * The method relies on the differentiability of the system dynamics or a learned differentiable model. * While efficient, the training process can still be computationally intensive, especially for complex systems. * The paper focuses on estimating empowerment; integrating it with task-specific rewards for hybrid control is a natural next step.

Future Work: * Deployment of the method on physical robotic systems. * Integration of task-based reward functions (e.g., reaching a goal) with empowerment for more directed control. * Exploring more complex system dynamics and environments.

Summary updated

BibTeX
@inproceedings{karl2019unsupervised,
  author = {Maximilian Karl and Philip Becker-Ehmck and Maximilian Soelch and Djalel Benbouzid and Patrick van der Smagt and Justin Bayer},
  title = {{Unsupervised Real-Time Control Through Variational Empowerment}},
  booktitle = {ISRR},
  year = {2019},
  doi = {10.1007/978-3-030-95459-8\_10},
}
Figure