Mutual Information-based State-Control for Intrinsically Motivated Reinforcement Learning

Rui Zhao, Volker Tresp, Wei XuarXiv 2020

Abstract

In reinforcement learning, an agent learns to reach a set of goals by means of an external reward signal. In the natural world, intelligent organisms learn from internal drives, bypassing the need for external signals, which is beneficial for a wide range of tasks. Motivated by this observation, we propose to formulate an intrinsic objective as the mutual information between the goal states and the controllable states. This objective encourages the agent to take control of its environment. Subsequently, we derive a surrogate objective of the proposed reward function, which can be optimized efficiently. Lastly, we evaluate the developed framework in different robotic manipulation and navigation tasks and demonstrate the efficacy of our approach.

Introduction

Traditional Reinforcement Learning (RL) typically relies on external reward signals to guide agent behavior. However, in complex real-world scenarios, these rewards are often "sparse"—for instance, a robot might only receive feedback after successfully completing a multi-step manipulation task. This sparsity makes learning prohibitively slow.

To address this, we introduce Mutual Information-based State-Control (MISC), a framework that provides agents with an "internal drive" to master their environment. By maximizing the mutual information between what the agent can directly control (e.g., a robotic end-effector) and the objects it intends to influence (e.g., a block), agents can learn complex skills without any external guidance. This "empowerment" allows agents to prepare for a wide variety of potential goals before a specific task is even assigned.

The MISC Framework

The core of the MISC objective is the mathematical formulation of "preparedness" as the Mutual Information (MI) between Controllable States ($S^c$), which the agent influences directly, and Goal States ($S^g$), which represent variables the agent is interested in manipulating.

The MISC architecture illustrates the feedback loop between the agent, environment, and the MI estimator.

Technical Innovations

Calculating MI over an entire trajectory is computationally expensive. To make this practical, we derived a transition-level surrogate objective that reduces computational complexity from $O(t^*)$ to $O(1)$. This allows the agent to receive an intrinsic reward at every step, creating a much tighter feedback loop.

The framework utilizes a neural network (based on the MINE architecture) to estimate the MI lower bound in real-time. MISC is designed to be "plug-and-play" with standard algorithms like DDPG and SAC. It can be implemented in three ways:

  • MISC-f: Pre-training with MISC followed by task-specific fine-tuning.
  • MISC-r: Integrating the MI estimate as a continuous intrinsic reward.
  • MISC-p: Using MI values to prioritize high-information experiences during experience replay.

Experimental Evaluation

We evaluated MISC across several challenging robotic simulations, including the OpenAI Gym Fetch tasks (FetchPush, FetchPickAndPlace, FetchSlide) and a custom Gazebo navigation task (SocialBot-PlayGround).

The Fetch robotic environment used to test manipulation skills like pushing and picking.

Key Results

  • Performance Gains: In the FetchPush task, a standard DDPG agent achieved only a ~10% success rate. By adding the MISC intrinsic reward (MISC-r), the success rate surged to ~94%.
  • Complex Manipulation: In the difficult FetchPickAndPlace task, combining MISC with goal-conditioned methods like DISCERN resulted in a 48.9% success rate, a massive improvement over the 4.2% achieved by DISCERN alone.
  • Emergent Behavior: Remarkably, even without any external reward, agents learned to reach for, push, and pick up objects. This occurs because interacting with an object increases the mutual information between the robot's hand and the object's position, satisfying the agent's internal drive for control.

Discussion and Future Work

MISC demonstrates that "mastering" an environment—making the state of the world predictable based on one's own actions—is a powerful signal for learning. Furthermore, we found that MI estimators are transferable; an estimator trained on a "Pick & Place" task can accelerate learning in "Push" or "Slide" tasks, suggesting that the "sense of control" is a generalizable skill.

Currently, the framework requires manual definition of "controllable" versus "goal" states. Future work will focus on automating this discovery to enable fully autonomous deployment in high-dimensional, unstructured environments. Additionally, we aim to use MISC to learn "control primitives" for Hierarchical Reinforcement Learning to solve even longer-horizon tasks.

Summary updated

BibTeX
@misc{zhao2020mutual,
  author = {Rui Zhao and Volker Tresp and Wei Xu},
  title = {{Mutual Information-based State-Control for Intrinsically Motivated Reinforcement Learning}},
  year = {2020},
  eprint = {2002.01963},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.01963},
}
Figure