Options of Interest: Temporal Abstraction with Interest Functions

Khimya Khetarpal, Martin Klissarov, Maxime Chevalier-Boisvert, Pierre-Luc Bacon, Doina Precup

Abstract

Temporal abstraction refers to the ability of an agent to use behaviours of controllers which act for a limited, variable amount of time. The options framework describes such behaviours as consisting of a subset of states in which they can initiate, an internal policy and a stochastic termination condition. However, much of the subsequent work on option discovery has ignored the initiation set, because of difficulty in learning it from data. We provide a generalization of initiation sets suitable for general function approximation, by defining an interest function associated with an option. We derive a gradient-based learning algorithm for interest functions, leading to a new interest-option-critic architecture. We investigate how interest functions can be leveraged to learn interpretable and reusable temporal abstractions. We demonstrate the efficacy of the proposed approach through quantitative and qualitative results, in both discrete and continuous environments.

Introduction

In Reinforcement Learning (RL), temporal abstraction allows agents to reason over extended time scales using "options"—skills or sub-policies. While beneficial, the proliferation of options often leads to the "breadth problem," where an agent is overwhelmed by too many choices at every state. The original options framework proposed initiation sets to restrict where a skill could begin. However, these sets were historically difficult to learn because they were not differentiable, leading modern architectures like the Option-Critic (OC) to allow every option to be available everywhere. This lack of constraint often results in redundant, non-specialized skills that are difficult to transfer to new tasks.

Methodology: Interest Functions and IOC

The authors introduce Interest Functions ($I_\omega$), a smooth and differentiable generalization of initiation sets. Instead of a binary inclusion, an interest function provides a numerical value representing the desirability of initiating a specific option $\omega$ in a given state.

The proposed Interest-Option-Critic (IOC) architecture enables end-to-end learning of these functions alongside the option's internal policy and termination condition. By deriving a new policy gradient theorem, the authors allow the agent to "nudge" the boundaries of where an option is active based on the expected return. This mechanism effectively acts as an attention filter for the high-level policy, focusing the agent's decision-making on a relevant subset of skills for any given context.

Experimental Evaluation

The IOC architecture was evaluated across several benchmarks ranging from discrete logic to continuous 3D control:

  • Four Rooms: A discrete grid-world for testing hierarchical navigation.
  • TMaze: A continuous control task requiring navigation through a junction.
  • MiniWorld: A 3D visual environment for finding and reaching targets.
  • HalfCheetah: A complex locomotion task for testing skill diversity and adaptation.

Key Results and Discussion

Quantitative Performance

The inclusion of interest functions significantly accelerates learning. In the MiniWorld 3D environment, the IOC agent reached peak performance in nearly half the time required by the standard Option-Critic. Similar gains were observed in the Four Rooms and TMaze tasks, where the reduced branching factor allowed for more efficient exploration and convergence.

Learning curves comparing IOC and OC across Four Rooms, TMaze, and MiniWorld environments.

Qualitative Specialization and Interpretability

A major advantage of interest functions is the resulting specialization of options. In the Four Rooms environment, rather than having generic options that attempt to cover the entire map, the IOC agent learns options that are "interested" in specific regions. Visualizing these functions reveals that each option becomes an expert for a particular room or corridor, making the agent's internal logic transparent and interpretable.

Heatmaps of learned interest functions in the Four Rooms environment, showing clear spatial specialization for different options.

Furthermore, this specialization enhances transfer learning. When task goals change, the agent can retain localized skills that remain valid and only update those affected by the change, leading to faster adaptation than standard flat or non-localized hierarchical methods.

Conclusion

Interest functions provide a powerful, differentiable tool for learning temporal abstractions. By constraining where options can initiate, the IOC architecture solves the breadth problem, leading to faster convergence and highly interpretable, specialized behaviors. Future research will explore the synergy between interest functions and model-based planning, as well as methods to ensure optimal coverage of the state space by the learned library of skills.

Summary updated

BibTeX
@inproceedings{khetarpal2020options,
  author = {Khimya Khetarpal and Martin Klissarov and Maxime Chevalier-Boisvert and Pierre-Luc Bacon and Doina Precup},
  title = {{Options of Interest: Temporal Abstraction with Interest Functions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=ScLW_Fousf5},
}
Figure