Abstract
Imitation learning from observation (IfO) enables agents to learn complex behaviors from state-only demonstrations, such as video recordings. However, current adversarial IfO methods are notoriously sample-inefficient due to their reliance on model-free reinforcement learning. We introduce DEALIO (Data-Efficient Adversarial Learning for Imitation from Observation), a novel framework that integrates model-based RL into the adversarial IfO pipeline. By structuring the discriminator to output a quadratic cost function compatible with optimal control solvers, DEALIO achieves state-of-the-art imitation performance with a fraction of the environment interactions required by previous methods.
Introduction
In traditional Imitation Learning (IL), an agent learns by mimicking an expert's state-action trajectories. However, in many real-world scenarios—such as learning from human demonstrations or online videos—we only have access to observations of states, not the underlying control actions. This challenge is addressed by Imitation learning from Observation (IfO).
Recent state-of-the-art IfO algorithms, like Generative Adversarial Imitation from Observation (GAIfO), employ an adversarial approach: a discriminator distinguishes between expert and agent state transitions, while the agent uses model-free Reinforcement Learning (RL) to minimize the discriminator's cost. While effective, model-free RL requires millions of interactions, making it impractical for physical robotics where data collection is slow and expensive. DEALIO addresses this bottleneck by leveraging the efficiency of model-based RL.
Methodology
The core innovation of DEALIO is the integration of a model-based RL algorithm, PILQR (Path Integral Policy Improvement with a Linear-Quadratic Regulator), into the adversarial IfO framework. This integration requires overcoming two primary mathematical hurdles: the need for a quadratic cost function and the absence of action data in the discriminator.
DEALIO utilizes a structured discriminator composed of two parts. First, a neural network processes state transitions and outputs the parameters (matrices and vectors) of a quadratic function. Second, the algorithm fits a local linear Gaussian dynamics model to the environment. This dynamics model allows the algorithm to mathematically substitute the "next state" variable with a function of the "current state" and "current action." This transformation converts the state-only neural network output into a quadratic state-action cost function, satisfying the requirements for efficient PILQR policy updates.
Experimental Setup
DEALIO was evaluated on four continuous-control robotics tasks within the MuJoCo physics engine:
- Disc: Navigating a particle to target points.
- PegInsertion: Inserting a peg into a hole using a robotic arm.
- GripperPusher: Manipulating a particle to a target location.
- DoorOpening: Opening a door via its handle.
For each task, the agent was provided with 20 expert state-only demonstration trajectories. Performance was compared against the model-free GAIfO baseline.
Key Results
DEALIO demonstrated significant improvements in both sample efficiency and final task performance across all domains. In complex tasks like DoorOpening and PegInsertion, DEALIO approached the normalized expert score (1.0) rapidly, while GAIfO struggled to reach even half that performance within the same interaction budget.
The results suggest that model-based RL can be successfully adapted for adversarial imitation by imposing a specific mathematical structure on the discriminator. Furthermore, the use of local linear dynamics models serves as a critical bridge to convert state-only observations into actionable control costs.
Conclusion and Future Work
DEALIO provides a data-efficient path for imitation from observation, making adversarial methods more viable for real-world robotics. Currently, DEALIO learns a time-varying linear Gaussian policy, which acts as a local controller optimized for specific initial states. Future research will explore extending this to global, general-purpose policies using techniques like Guided Policy Search (GPS), where multiple local DEALIO controllers can be used to train a single, robust deep neural network policy.
Summary updated