Skip to main content
QUICK REVIEW

[Paper Review] Learning Feasibility to Imitate Demonstrators with Different Dynamics

Zhangjie Cao, Yilun Hao|arXiv (Cornell University)|Oct 28, 2021
Reinforcement Learning in RoboticsComputer Science28 references5 citations
TL;DR

This paper proposes a feasibility metric to enable imitation learning from demonstrators with different dynamics by formulating a feasibility MDP (f-MDP) and learning an optimal policy within it to assign feasibility scores to demonstrations. The method reweights demonstrations based on feasibility, allowing the imitator to focus on useful, near-feasible trajectories, and achieves significantly higher expected return and success rate than prior methods in both simulated and real-world robotic environments.

ABSTRACT

The goal of learning from demonstrations is to learn a policy for an agent (imitator) by mimicking the behavior in the demonstrations. Prior works on learning from demonstrations assume that the demonstrations are collected by a demonstrator that has the same dynamics as the imitator. However, in many real-world applications, this assumption is limiting -- to improve the problem of lack of data in robotics, we would like to be able to leverage demonstrations collected from agents with different dynamics. This can be challenging as the demonstrations might not even be feasible for the imitator. Our insight is that we can learn a feasibility metric that captures the likelihood of a demonstration being feasible by the imitator. We develop a feasibility MDP (f-MDP) and derive the feasibility score by learning an optimal policy in the f-MDP. Our proposed feasibility measure encourages the imitator to learn from more informative demonstrations, and disregard the far from feasible demonstrations. Our experiments on four simulated environments and on a real robot show that the policy learned with our approach achieves a higher expected return than prior works. We show the videos of the real robot arm experiments on our website (https://sites.google.com/view/learning-feasibility).

Motivation & Objective

  • To address the limitation in imitation learning where demonstrations must come from agents with identical dynamics to the imitator.
  • To enable reuse of demonstrations collected from agents with different dynamics, such as varying degrees of freedom or body structures.
  • To filter out infeasible or harmful demonstrations that could mislead the imitator during policy learning.
  • To develop a feasibility metric that quantifies how likely a demonstration is to be executable by the imitator.
  • To improve imitation learning performance by reweighting demonstrations based on their feasibility scores.

Proposed method

  • Formulate a feasibility MDP (f-MDP) based on the imitator's MDP and the demonstrator's trajectories to model feasibility constraints.
  • Learn an optimal policy in the f-MDP that maximally follows demonstration behavior while respecting the imitator's dynamics and constraints.
  • Use the value function of the optimal f-MDP policy as a feasibility score for each demonstration.
  • Reweight demonstrations during imitation learning using the learned feasibility scores to prioritize near-feasible trajectories.
  • Train the final imitator policy using behavior cloning or inverse reinforcement learning on the reweighted demonstrations.
  • Validate the approach in simulated environments and on a real Franka Panda robot arm with 3-DoF and 7-DoF controllers.

Experimental results

Research questions

  • RQ1Can we learn a feasibility metric that identifies which demonstrations from agents with different dynamics are executable by the imitator?
  • RQ2How does the proposed feasibility metric improve imitation learning performance when demonstrations come from agents with mismatched dynamics?
  • RQ3Does the method outperform existing approaches that assume shared dynamics or treat all demonstrations equally?
  • RQ4How robust is the method to varying compositions of demonstrations, including a high proportion of infeasible or unrelated trajectories?
  • RQ5Can the feasibility metric effectively filter out harmful demonstrations while preserving useful ones in real-world robotic manipulation tasks?

Key findings

  • The proposed method achieved a statistically significant improvement in expected return (p-value = 2.432×10⁻⁷) and success rate (p-value = 3.534×10⁻⁸) compared to baseline methods on the real robot arm task.
  • In environments with increasing numbers of infeasible demonstrations from unrelated dynamics, the proposed method maintained superior performance, while baselines degraded significantly.
  • The feasibility metric successfully identified and downweighted infeasible trajectories, such as those colliding with obstacles, while preserving useful ones that go over the shelf.
  • The method outperformed SAIL and other baselines even when the demonstration set contained a high percentage of unrelated dynamics, demonstrating robustness to noisy or irrelevant data.
  • The policy learned using feasibility-reweighted demonstrations achieved higher expected return and success rate than methods that do not account for feasibility differences.
  • The ablation study confirmed that the feasibility score is critical for performance, as removing it led to degraded results, especially under high infeasibility.

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.