Hierarchical Potential-based Reward Shaping from Task Specifications

Luigi Berducci, Edgar A. Aguilar, Dejan Ničković, Radu Grosu
10/6/2021
cs.LGcs.AI

Official code: EdAlexAguilar/reward_shaping (2 stars, Python, last commit 2024-11-26).

Abstract

The automatic synthesis of policies for robotic-control tasks through reinforcement learning relies on a reward signal that simultaneously captures many possibly conflicting requirements. In this paper, we in\-tro\-duce a novel, hierarchical, potential-based reward-shaping approach (HPRS) for defining effective, multivariate rewards for a large family of such control tasks.

Show full abstract

We formalize a task as a partially-ordered set of safety, target, and comfort requirements, and define an automated methodology to enforce a natural order among requirements and shape the associated reward. Building upon potential-based reward shaping, we show that HPRS preserves policy optimality. Our experimental evaluation demonstrates HPRS's superior ability in capturing the intended behavior, resulting in task-satisfying policies with improved comfort, and converging to optimal behavior faster than other state-of-the-art approaches. We demonstrate the practical usability of HPRS on several robotics applications and the smooth sim2real transition on two autonomous-driving scenarios for F1TENTH race cars.

View on arXivView PDF

Code Implementations(1)

Reward Shaping Experiments with Temporal Logic for Hierarchical Objectives

22Python, DockerfileFeb 12, 20212 years ago

Similar Papers

Cite this paper

@article{berducci2021hierarchical,
  title  = {Hierarchical Potential-based Reward Shaping from Task Specifications},
  author = {Luigi Berducci and Edgar A. Aguilar and Dejan Ničković and Radu Grosu},
  year   = {2021},
  eprint = {2110.02792},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02792}
}

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/2110.02792.svg)](https://codeofpaper.com/paper/2110.02792)

Discussion