Inspiration Learning through Preferences

Nir Baram, Shie MannorarXiv 2018 · arXiv

Abstract

Imitation learning (IL) typically requires identical action spaces between the expert and the agent, a limitation known as the "humanoid bias." We introduce "Inspiration Learning," a framework that enables agents to learn from experts with mismatched embodiments by focusing on environmental state transitions rather than specific actions. By employing an Advantage Actor-Critic (A2C) architecture with a dyadic critic and preference-based scoring variants, we stabilize the adversarial learning process. Our results across Atari games and continuous-to-discrete control tasks demonstrate that agents can achieve near-expert performance by observing only expert states, effectively bridging the gap between diverse mechanical configurations.

Introduction

Standard IL algorithms often fail when the agent cannot physically replicate the expert's movements, such as a robot arm learning from a human demonstration. This paper addresses "agent-agnostic" tasks where the outcome—the change in environmental state—is the primary metric of success. We propose Inspiration Learning, which shifts the focus from "do what I do" to "achieve what I achieve," allowing for knowledge transfer across different action spaces.

Methodology

The core of the approach is an A2C framework with a dyadic critic. This critic estimates state-values ($V$) and includes an Expert-Agent Classifier ($c$) that distinguishes between transitions produced by the expert and the agent. To handle the non-stationary nature of the classifier-derived reward, we utilize Preference-based Reinforcement Learning (PbRL) scoring variants:

  • Basic: Raw classification scores.
  • Preferential (Hard): A ranking transformation based on relative "expert-ness."
  • Soft-Preferential (Soft): A softmax-normalized version of the scores for smoother gradients.

Crucially, the algorithm only requires the expert's states, making it entirely oblivious to the expert's actual actions and mechanical makeup.

Experimental Results

We evaluated the framework on Atari 2600 games (Breakout, Enduro, Seaquest) and a Roundabout merging task. In the Roundabout task, a continuous-action expert (steering/acceleration) teaches a discrete-action agent (fixed shifts in position), testing cross-domain transfer.

Performance across Atari games (Breakout, Enduro, Seaquest) for different scoring methods and trajectory counts.

As shown in the Atari results above, agents using as few as 20 trajectories reached near-expert performance levels. The "Soft-Preferential" (Soft) method often matches or exceeds the performance of the "Basic" baseline, while the "Preferential" (Hard) method provides a robust alternative for ranking transitions.

Performance on the Roundabout merging task, demonstrating continuous-to-discrete transfer.

In the Roundabout task, the discrete agent successfully learned to navigate the environment by observing a continuous-control expert. This confirms the effectiveness of the state-transition focus in overcoming action-space mismatches, as the agent achieves high performance despite having a much coarser control scheme than the expert.

Conclusion

Inspiration Learning provides a flexible path for agents to learn from diverse sources of expertise. By treating expert demonstrations as "inspiration" rather than a strict template for actions, agents can develop their own strategies to achieve the same environmental goals, paving the way for more generalizable robot learning from human or cross-platform demonstrations.

Summary updated

Abstract

Current imitation learning techniques are too restrictive because they require the agent and expert to share the same action space. However, oftentimes agents that act differently from the expert can solve the task just as good. For example, a person lifting a box can be imitated by a ceiling mounted robot or a desktop-based robotic-arm. In both cases, the end goal of lifting the box is achieved, perhaps using different strategies. We denote this setup as \textit{Inspiration Learning} - knowledge transfer between agents that operate in different action spaces. Since state-action expert demonstrations can no longer be used, Inspiration learning requires novel methods to guide the agent towards the end goal. In this work, we rely on ideas of Preferential based Reinforcement Learning (PbRL) to design Advantage Actor-Critic algorithms for solving inspiration learning tasks. Unlike classic actor-critic architectures, the critic we use consists of two parts: a) a state-value estimation as in common actor-critic algorithms and b) a single step reward function derived from an expert/agent classifier. We show that our method is capable of extending the current imitation framework to new horizons. This includes continuous-to-discrete action imitation, as well as primitive-to-macro action imitation.
BibTeX
@misc{baram2018inspiration,
  author = {Nir Baram and Shie Mannor},
  title = {{Inspiration Learning through Preferences}},
  year = {2018},
  eprint = {1809.05872},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.05872},
}
Figure