Self-Supervised Online Reward Shaping in Sparse-Reward Environments

Farzan Memarian, Wonjoon Goo, Rudolf Lioutikov, Scott Niekum, Ufuk Topcu
3/8/2021
cs.LGcs.RO
rlcontrastive-ssl

Official code: hiwonjoon/IROS2021_SORS (11 stars, Python, last commit 2021-07-29).

Abstract

We introduce Self-supervised Online Reward Shaping (SORS), which aims to improve the sample efficiency of any RL algorithm in sparse-reward environments by automatically densifying rewards. The proposed framework alternates between classification-based reward inference and policy update steps -- the original sparse reward provides a self-supervisory signal for reward inference by ranking trajectories that the agent observes, while the policy update is performed with the newly inferred, typically dense reward function.

Show full abstract

We introduce theory that shows that, under certain conditions, this alteration of the reward function will not change the optimal policy of the original MDP, while potentially increasing learning speed significantly. Experimental results on several sparse-reward environments demonstrate that, across multiple domains, the proposed algorithm is not only significantly more sample efficient than a standard RL baseline using sparse rewards, but, at times, also achieves similar sample efficiency compared to when hand-designed dense reward functions are used.

View on arXivView PDF

Code Implementations(1)

113PythonJul 25, 20215 years ago

Similar Papers

Cite this paper

@article{memarian2021selfsupervised,
  title  = {Self-Supervised Online Reward Shaping in Sparse-Reward Environments},
  author = {Farzan Memarian and Wonjoon Goo and Rudolf Lioutikov and Scott Niekum and Ufuk Topcu},
  year   = {2021},
  eprint = {2103.04529},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04529}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.04529.svg)](https://codeofpaper.com/paper/2103.04529)

Discussion