Dense Dynamics-Aware Reward Synthesis: Integrating Prior Experience with Demonstrations
Cevahir Koprulu, Po-han Li, Tianyu Qiu, Ruihan Zhao, Tyler Westenbroek, David Fridovich-Keil, Sandeep Chinchali, Ufuk Topcu
TL;DR
This work tackles long-horizon sparse-reward reinforcement learning by marrying a task-agnostic prior dataset with a small set of task demonstrations through a potential-based reward shaping framework. The method learns a goal-conditioned value estimator $\tilde{V}_g$ from prior data and constructs a global potential $\Phi(s)$ by combining $\tilde{V}_g$ with demonstrations via $\Phi(s) = \max_j \max_{s_t^j \in \Delta(s)} [V_d^j(s_t^j) + \tilde{V}_g(s; s_t^j)]$, then defines a dense reward $\bar{r}(s_t,a_t) = r(s_t,a_t) + \gamma \Phi(s_{t+1}) - \Phi(s_t)$. This PBRS-based approach biases exploration toward demonstration trajectories while preserving the original optimal policies, and it can be enhanced by annealing the discount factor to promote early reliance on the prior. The method demonstrates substantial speedups in learning and robustness to suboptimal demonstrations and dynamics shifts, with potential applicability to partial observations and richer sensory inputs. Overall, the framework provides a principled way to fuse offline priors and online demonstrations to improve sample efficiency in challenging long-horizon control tasks.
Abstract
Many continuous control problems can be formulated as sparse-reward reinforcement learning (RL) tasks. In principle, online RL methods can automatically explore the state space to solve each new task. However, discovering sequences of actions that lead to a non-zero reward becomes exponentially more difficult as the task horizon increases. Manually shaping rewards can accelerate learning for a fixed task, but it is an arduous process that must be repeated for each new environment. We introduce a systematic reward-shaping framework that distills the information contained in 1) a task-agnostic prior data set and 2) a small number of task-specific expert demonstrations, and then uses these priors to synthesize dense dynamics-aware rewards for the given task. This supervision substantially accelerates learning in our experiments, and we provide analysis demonstrating how the approach can effectively guide online learning agents to faraway goals.
