Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brenhertel authored Jul 29, 2021
1 parent c943305 commit c45a21a
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# TLFSD
Implementation of Trajectory Learning via Failed and Successful Demonstrations (TLFSD)
## TLFSD: Trajectory Learning via Failed and Successful Demonstrations

Implementation of Trajectory Learning via Failed and Successful Demonstrations (TLFSD)

Corresponding paper can be found for free [here](https://arxiv.org/abs/2107.11918), please read for method details.

Learning from Demonstration (LfD) is a popular approach that allows humans to teach robots new skills by showing the correct way(s) of performing the desired skill. Human-provided demonstrations, however, are not always optimal and the teacher usually addresses this issue by discarding or replacing sub-optimal (noisy or faulty) demonstrations. We propose a novel LfD representation that learns from both successful and failed demonstrations of a skill. Our approach encodes the two subsets of captured demonstrations (labeled by the teacher) into a statistical skill model, constructs a set of quadratic costs, and finds an optimal reproduction of the skill under novel problem conditions (i.e. constraints). The optimal reproduction balances convergence towards successful examples and divergence from failed examples. We evaluate our approach through several 2D and 3D experiments in real-world using a UR5e manipulator arm and also show that it can reproduce a skill from only failed demonstrations. The benefits of exploiting both failed and successful demonstrations are shown through comparison with two existing LfD approaches. We also compare our approach against an existing skill refinement method and show its capabilities in a multi-coordinate setting.

<img src="https://github.com/brenhertel/TLFSD/blob/main/pictures/paper_figures/reaching_2D.png" alt="" width="318"/> <img src="https://github.com/brenhertel/TLFSD/blob/main/pictures/paper_figures/robot_reaching.png" alt="" width="300"/>

This repository implements the method described in the paper above using Python. Scripts which perform individual experiments are included, as well as other necessary utilities. If you have any questions, please contact Brendan Hertel ([email protected])

If you use the code present in this repository, please cite the following paper:
```
@inproceedings{hertel2021TLFSD,
title={Learning from Successful and Failed Demonstrations via Optimization},
author={Brendan Hertel and S. Reza Ahmadzadeh},
booktitle={IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
year={2021},
organization={IEEE}
}
```

0 comments on commit c45a21a

Please sign in to comment.