Skip to main content
QUICK REVIEW

[Paper Review] Model-Based Inverse Reinforcement Learning from Visual Demonstrations

Neha Das, Sarah Bechtle|arXiv (Cornell University)|Oct 18, 2020
Reinforcement Learning in RoboticsComputer Science27 references8 citations
TL;DR

This paper proposes a gradient-based inverse reinforcement learning framework that learns cost functions from visual human demonstrations using a pre-trained visual dynamics model in a keypoint-based latent space. By differentiating through the inner policy optimization, it enables stable, sample-efficient IRL for robotic manipulation tasks, achieving superior generalization over baselines on real hardware with 4.26 mm mean squared error in keypoint tracking under optimal conditions.

ABSTRACT

Scaling model-based inverse reinforcement learning (IRL) to real robotic manipulation tasks with unknown dynamics remains an open problem. The key challenges lie in learning good dynamics models, developing algorithms that scale to high-dimensional state-spaces and being able to learn from both visual and proprioceptive demonstrations. In this work, we present a gradient-based inverse reinforcement learning framework that utilizes a pre-trained visual dynamics model to learn cost functions when given only visual human demonstrations. The learned cost functions are then used to reproduce the demonstrated behavior via visual model predictive control. We evaluate our framework on hardware on two basic object manipulation tasks.

Motivation & Objective

  • To enable model-based inverse reinforcement learning from visual demonstrations in real-world robotic manipulation tasks with unknown dynamics.
  • To address the challenge of learning cost functions when only visual demonstrations are available, without proprioceptive state measurements.
  • To develop a differentiable, gradient-based IRL algorithm that avoids instability from hand-designed distance metrics in the outer optimization step.
  • To enable generalization across different starting configurations by learning relative keypoint trajectories from demonstrations.
  • To validate the approach on real robotic hardware using a Kuka iiwa arm for object placement tasks.

Proposed method

  • A self-supervised keypoint detector extracts 2D visual features from both human demonstrations and robot observations, enabling a low-dimensional latent representation of the scene.
  • A visual dynamics model is pre-trained to predict changes in the keypoint representation across time steps, enabling forward simulation of action sequences in the latent space.
  • The inner optimization step uses visual model predictive control to generate action sequences that minimize a cost function, with gradients backpropagated through the dynamics model and policy optimization.
  • The outer optimization step employs gradient-based bi-level optimization to update cost function parameters by differentiating through the inner policy optimization, enabling stable and effective learning.
  • Three cost function architectures are evaluated: a simple weighted distance, time-dependent weights, and RBF-based weights, all defined over keypoint positions in the latent space.
  • The framework processes demonstrations as relative trajectories to improve robustness to different starting configurations and viewpoints.

Experimental results

Research questions

  • RQ1Can a gradient-based inverse reinforcement learning framework learn effective cost functions from purely visual human demonstrations without proprioceptive state feedback?
  • RQ2How does differentiating through the inner policy optimization improve stability and performance compared to feature-matching baselines in IRL?
  • RQ3To what extent can a learned visual dynamics model in a keypoint-based latent space enable generalization across different starting positions in real robotic manipulation tasks?
  • RQ4How do time-dependent and RBF-based cost functions compare to simple weighted costs in terms of tracking accuracy and robustness?
  • RQ5Can the framework reproduce human-like behavior on real hardware using only visual demonstrations and a pre-trained dynamics model?

Key findings

  • The IRL loss converged within approximately 2,000 training steps, indicating effective optimization of the cost function parameters.
  • The time-dependent and RBF-based cost functions achieved a mean squared error of 4.26 mm (±1.20) in keypoint tracking on the Kuka iiwa, significantly outperforming the default baseline of 26.96 mm.
  • The RBF-based cost function achieved the lowest error of 4.26 mm on start configuration 1 and 4.40 mm on start configuration 2, demonstrating strong generalization across initial positions.
  • The time-dependent cost function achieved 6.12 mm (±0.94) error on start configuration 1 and 3.53 mm (±0.21) on start configuration 2, showing improved performance over the simple weighted cost function.
  • The simple weighted cost function performed poorly on start configuration 1 (40.99 mm error), indicating that time-dependency is crucial for generalization in complex trajectories.
  • The framework successfully reproduced human-like behavior on real hardware using only visual demonstrations and a pre-trained visual dynamics model, validating its feasibility for real-world applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.