Relative Variational Intrinsic Control

Kate Baumli, David Warde-Farley, Steven Hansen, Volodymyr Mnih

Abstract

In the absence of external rewards, agents can still learn useful behaviors by identifying and mastering a set of diverse skills within their environment. Existing skill learning methods use mutual information objectives to incentivize each skill to be diverse and distinguishable from the rest. However, if care is not taken to constrain the ways in which the skills are diverse, trivially diverse skill sets can arise. To ensure useful skill diversity, we propose a novel skill learning objective, Relative Variational Intrinsic Control (RVIC), which incentivizes learning skills that are distinguishable in how they change the agent's relationship to its environment. The resulting set of skills tiles the space of affordances available to the agent. We qualitatively analyze skill behaviors on multiple environments and show how RVIC skills are more useful than skills discovered by existing methods in hierarchical reinforcement learning.

Introduction

The pursuit of artificial general intelligence requires agents capable of learning complex, reusable behaviors without explicit external rewards. Unsupervised skill discovery often leverages Mutual Information (MI) objectives, rewarding agents for behaviors that a classifier can easily distinguish. However, standard MI objectives often lead to "state-space partitioning," where skills are defined by the static locations they reach rather than the actions they perform. For instance, an agent might learn to "park" in different corners of a room to make skills distinguishable. While distinct, these behaviors lack generalizability; a skill that only knows how to reach a specific coordinate is useless if the agent starts in a novel environment or a distant region of the state space. We argue that skills should represent relative affordances—actions that change the agent's relationship to its environment—rather than absolute destinations.

Methodology

Relative Variational Intrinsic Control (RVIC) addresses the "parking" problem by introducing an adversarial objective. Building upon Variational Intrinsic Control (VIC), which maximizes the predictability of a skill $\Omega$ given the start state $s_0$ and end state $s_T$, RVIC introduces a second, "absolute" predictor $q_{abs}$.

The RVIC reward is defined as the difference between a relative predictor and an absolute predictor: $$Reward = q(\Omega | s_T, s_0) - q_{abs}(\Omega | s_T)$$

The relative predictor $q$ attempts to identify the skill using both the initial and final states, while the absolute predictor $q_{abs}$ attempts to do so using only the final state. This creates a pressure for the agent to learn behaviors that are identifiable only when the starting context is known. Consequently, the agent must perform "directional" or "relative" moves (e.g., "move 10 units north") which are indistinguishable from their final state alone, forcing the discovery of skills that tile the space of affordances.

The RVIC architecture utilizes a skill-conditioned policy and two discriminators to calculate a reward based on the difference between relative and absolute predictability.

Experimental Results

We evaluated RVIC on the DeepMind Control Suite (Reacher) and six diverse Atari 2600 games. In the Reacher environment, qualitative analysis reveals a stark difference between VIC and RVIC. VIC skills tend to converge on static locations regardless of the arm's starting position. In contrast, RVIC skills exhibit consistent rotational or directional behaviors across different starting states.

Qualitative comparison of skills discovered by VIC (left) and RVIC (right) on the Reacher environment. RVIC skills show consistent directional behaviors regardless of the starting bin, whereas VIC skills tend to "park" at specific locations.

In hierarchical reinforcement learning (HRL) tasks, RVIC-derived skills proved to be superior building blocks. A meta-controller using RVIC skills outperformed both standard VIC and primitive-action baselines on 5 out of 6 Atari games. Notably, in Montezuma's Revenge, RVIC was the only method to achieve significant progress. Its relative skills allowed the agent to explore new rooms effectively, as skills learned in one area generalized to others.

Discussion and Conclusion

RVIC shifts the focus of skill discovery from "where" an agent goes to "how" it moves. By penalizing absolute state predictability, RVIC incentivizes the learning of affordances that generalize across the state space. This approach overcomes the limitations of state-space partitioning, providing more robust primitives for hierarchical control.

Future work includes addressing the assumption of a fixed skill prior, as some affordances are context-dependent. Additionally, extending RVIC to learn skill termination (options) and exploring simultaneous learning of skills and meta-policies are promising directions for enhancing unsupervised agent development.

Summary updated

BibTeX
@inproceedings{baumli2021relative,
  author = {Kate Baumli and David Warde-Farley and Steven Hansen and Volodymyr Mnih},
  title = {{Relative Variational Intrinsic Control}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=rYIbx1mzIWq},
}
Figure