Abstract
We seek to align agent policy with human expert behavior in a reinforcement learning (RL) setting without prior knowledge of dynamics, reward functions, or unsafe states. While a human expert understands rewards and safety based on preference, querying them is expensive. We propose a new framework for an imitation learning (IL) algorithm that actively and interactively learns a model of the user's reward function with efficient queries. Our approach builds an adversarial generative model of states and a successor representation (SR) model trained over transition experience. Unlike previous methods primarily based on uncertainty sampling, our method actively selects state-action pairs from both on-policy and off-policy experience by discriminating between expert and generated data and maximizing value function learning efficiency. We call this method adversarial reward query with successor representation. Evaluated on 2D navigation, robotic control, and image-based video games, our results show significant improvements in query efficiency and safety over uncertainty-based baselines.
Introduction
Training AI agents to mimic human behavior typically requires vast amounts of expert demonstrations, which are often prohibitively expensive or time-consuming to collect. In many Reinforcement Learning (RL) scenarios, defining a precise mathematical reward function for complex tasks—such as safe driving or nuanced robotic manipulation—is exceptionally difficult. Imitation Learning (IL) addresses this by allowing agents to learn directly from human behavior. However, the "human-in-the-loop" bottleneck necessitates a more strategic approach to querying.
Existing Active Imitation Learning methods attempt to minimize human effort by requesting labels only when the agent is "uncertain." However, uncertainty-based sampling often fails in high-dimensional environments (like those using raw pixel data), can be distracted by outliers, and frequently ignores the diversity of the samples it selects. This paper introduces a framework that knows exactly which state-action pairs are worth an expert's time, focusing on "landmark" states and safety boundaries.
Methodology
The proposed framework integrates several advanced machine learning components to achieve query efficiency and robustness in high-dimensional spaces.
1. Latent Space Representation
To handle complex inputs like video game screens, the system utilizes Wasserstein Autoencoders (WAE). By compressing high-dimensional observations into a low-dimensional latent space, the agent can reason more effectively about environment dynamics and state transitions.
2. On-Policy Querying for Safety
The agent employs an adversarial discriminator, similar to those found in Generative Adversarial Networks (GANs). This discriminator acts as a safety filter: if the agent is about to execute an action that deviates significantly from expected expert behavior (resulting in a low safety score), it pauses to query the human. This "Safe Exploration" mechanism prevents the agent from entering catastrophic or irrelevant states during the learning process.
3. Off-Policy Querying via Successor Representations (SR)
To identify the most informative states, the agent analyzes its replay buffer using Successor Representations. SR represents states not just by their visual features, but by their future state occupancy. This allows the agent to identify "bottleneck" or "landmark" states—pivotal locations that are well-connected to many others. By querying the expert on these influential states, the agent gains maximal information about the environment's overall value function.
Experimental Evaluation
The framework was rigorously tested against two primary benchmarks: Random Querying and Uncertainty-Based Querying (using Bootstrapped DQN). The evaluation environments included:
- 2D Navigation Maze: A controlled 10x10 grid task used to validate basic query efficiency and target acquisition.
- Car Racing Game: A complex, image-based task (96x96x3 pixels) where the agent must manage steering, acceleration, and braking from a top-down view.
Key Results and Discussion
The experimental results demonstrate that the proposed method significantly outperforms traditional active learning approaches. In the Car Racing task, the agent achieved higher performance levels with a fraction of the queries required by uncertainty-based methods.
As shown in the learning curves, the proposed method (red) exhibits faster convergence and higher asymptotic performance. The use of SR allowed the agent to pick "core-sets" of states that represent the entire environment's dynamics, rather than redundantly querying similar-looking images. Furthermore, the adversarial discriminator successfully acted as a safety filter, enabling the agent to learn human-like behavior more efficiently while avoiding unsafe states.
Conclusion and Future Work
This research moves beyond simple uncertainty to a more nuanced understanding of state importance and safety. By combining WAE for dimensionality reduction, SR for landmark identification, and adversarial models for safety, the framework provides a robust solution for query-efficient imitation learning.
Future work will address the stability challenges inherent in adversarial training when the expert dataset changes dynamically. Additionally, the authors plan to transition from simulated experts to real-world human users to test the framework's resilience against noisy or inconsistent human feedback.
Summary updated