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.
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.
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