Introduction
Imitation from Observation (IfO) allows robotic agents to learn complex tasks by observing expert state trajectories—such as joint positions—without requiring access to the underlying actions or torques used by the demonstrator. While promising, state-of-the-art adversarial methods like Generative Adversarial Imitation from Observation (GAIfO) are typically highly sample-inefficient. Relying on model-free reinforcement learning, these methods often require millions of environment interactions, making them impractical for physical robotic systems where excessive movement leads to hardware wear and significant time costs. This work introduces LQR+GAIfO, a hybrid approach designed to achieve high sample efficiency for real-world deployment.
The LQR+GAIfO Framework
The proposed method integrates the reward-learning capabilities of GAIfO with the efficiency of trajectory-centric control via Linear Quadratic Regulators (LQR). The framework operates in an iterative loop designed to minimize the discrepancy between agent and expert behavior:
- Discriminator Update: A discriminator network is trained to distinguish between expert state transitions and those generated by the agent. This discriminator serves as a learned cost function, penalizing deviations from expert behavior.
- Dynamics Modeling: The agent learns a local, time-varying linear model of the robot's dynamics based on collected trajectory samples.
- Policy Optimization: The discriminator's cost function is locally approximated using a second-order Taylor expansion. This quadratic approximation allows the use of LQR to efficiently update the control policy without the high sample cost of model-free RL.
Experimental Setup
The researchers evaluated LQR+GAIfO on a reaching task using a Universal Robotics UR5 arm, both in a Gazebo simulation and on a physical robot. The expert data consisted of state-only trajectories (joint angles, velocities, and Cartesian coordinates) generated by a pre-trained expert policy. The goal was for the robot to move from a starting position to a target point and come to a complete stop.
Results and Discussion
LQR+GAIfO demonstrated significant improvements in sample efficiency over standard model-free GAIfO. In simulation, the hybrid method reached peak performance in approximately 30 iterations, whereas the baseline failed to achieve comparable results even after 100 iterations.
On the physical UR5 robot, the algorithm successfully learned the reaching task in just 25 iterations. Interestingly, performance on the physical hardware was superior to simulation, likely due to real-world actuator noise facilitating natural exploration. Furthermore, the agent showed strong generalization capabilities; when trained on demonstrations of reaching points on a square's perimeter, it successfully reached unseen targets in the center of the square.
Conclusion and Future Work
By combining adversarial reward learning with local quadratic approximations for LQR control, LQR+GAIfO enables efficient imitation learning from observation on physical hardware. While the current use of linear Gaussian controllers may limit the complexity of learnable behaviors, future work integrating this approach with Guided Policy Search (GPS) or vision-based discriminators holds potential for scaling to even more sophisticated robotic tasks.
Summary updated