Active Imitation Learning

Aaron P. Shon, Deepak Verma, Rajesh P. N. RaoAAAI 2007

Abstract

Imitation learning, also called learning by watching or programming by demonstration, has emerged as a means of accelerating many reinforcement learning tasks. Previous work has shown the value of imitation in domains where a single mentor demonstrates execution of a known optimal policy for the benefit of a learning agent. We consider the more general scenario of learning from mentors who are themselves agents seeking to maximize their own rewards. We propose a new algorithm based on the concept of transferable utility for ensuring that an observer agent can learn efficiently in the context of a selfish, not necessarily helpful, mentor. We also address the questions of when an imitative agent should request help from a mentor, and when the mentor can be expected to acknowledge a request for help. In analogy with other types of active learning, we call the proposed approach active imitation learning.

Introduction

Reinforcement Learning (RL) agents often face a daunting exploration problem, spending significant time in low-reward states before discovering optimal paths. Imitation learning offers a shortcut by allowing an agent (the observer) to learn from the trajectories of an expert (the mentor). However, traditional imitation learning assumes a cooperative, altruistic mentor whose sole goal is to assist the learner.

In real-world multi-agent systems, this assumption rarely holds. Mentors are often selfish agents with their own objectives and resource constraints. Providing a demonstration may incur costs—such as time, energy, or missed opportunities—without providing any inherent benefit to the mentor. This paper introduces Active Imitation Learning, a framework where the observer proactively negotiates for help by offering side payments to selfish mentors, transforming a potentially competitive interaction into a cooperative one.

The Active Imitation Framework

Value of Demonstration (VOD)

The core of the proposed approach is the Value of Demonstration (VOD). Drawing from Information Value Theory, VOD quantifies the expected increase in the observer's future rewards resulting from observing a mentor's trajectory. To calculate this, the authors employ a Bayesian approach, using a "normal-gamma" distribution to model the observer's uncertainty regarding the mentor’s value function. This allows the agent to estimate the "Expected Gain" of new information, ensuring it only seeks help when the potential for learning is high.

Side Payments and Negotiation

To incentivize a selfish mentor, the observer offers a side payment $p$. This payment represents transferable utility, such as currency, energy units, or reciprocal favors. The interaction follows a structured decision process: the observer calculates the VOD to determine a fair offer, and the mentor evaluates whether the payment compensates for the cost of deviating from its own optimal policy to provide the demonstration.

Interaction protocol where an observer $o$ offers a side payment $p$ to a selfish mentor $m$.

Experimental Evaluation

The framework was tested in two primary simulated environments:

  1. Gridworld Maze: A $12 \times 12$ grid featuring "warps" (teleporters) and specific reward zones. This environment tests if an observer can learn complex navigation from a mentor starting in a different location.
  2. Machine Shop Domain: A multi-agent scenario where agents possess specialized expertise in different factory sectors. They must decide whether to share their expertise or work in isolation.
Experimental results in the Gridworld domain, showing the environment layout (a), cumulative reward comparisons (b, c), and the decay of Bayesian VOD as the agent learns (d).

Key Results and Insights

The Imitation Prisoner’s Dilemma

The authors demonstrate that without incentives, imitation between selfish agents resembles a Prisoner’s Dilemma. If both agents choose to "watch" but neither chooses to "demonstrate" (due to the cost), the system settles into a sub-optimal Nash equilibrium. Side payments serve as a mechanism to reach Pareto optimality, allowing both agents to achieve higher total utility through cooperation.

Performance and Dynamic Pricing

In Gridworld tests, the active imitative agent significantly outperformed standard exploration strategies (like $\epsilon$-greedy). While standard agents often got stuck in low-reward areas, the active learner used its budget to "buy" the path to high-reward zones.

A critical finding is the Frontier Effect: VOD is highest at the edge of the observer's current knowledge. As the observer gains expertise, the Bayesian VOD naturally decays toward zero. This creates a dynamic pricing model where the agent automatically stops paying for help once it has mastered the task, preventing wasteful expenditure on redundant information.

Limitations and Future Work

While promising, the current model assumes a high degree of trust; it does not fully account for mentors who might accept payment and then "cheat" by providing poor demonstrations. Future work could incorporate strategies like "tit-for-tat" to enforce honesty in iterative games. Additionally, scaling these concepts to high-dimensional continuous spaces and modeling complex market dynamics between multiple competing mentors remain open challenges for the field of active imitation learning.

Summary updated

BibTeX
@inproceedings{shon2007active,
  author = {Aaron P. Shon and Deepak Verma and Rajesh P. N. Rao},
  title = {{Active Imitation Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2007},
  url = {https://openreview.net/forum?id=rkNHR6xO-H},
}
Figure