English

Self-Supervised Online Reward Shaping in Sparse-Reward Environments

Machine Learning 2021-07-27 v3 Robotics

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. 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.

Keywords

Cite

@article{arxiv.2103.04529,
  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},
  journal= {arXiv preprint arXiv:2103.04529},
  year   = {2021}
}

Comments

Accepted for publication in IROS 2021

R2 v1 2026-06-23T23:51:42.146Z