ORSO: Accelerating Reward Design via Online Reward Selection and Policy Optimization
Chen Bo Calvin Zhang, Zhang-Wei Hong, Aldo Pacchiano, Pulkit Agrawal
TL;DR
This work tackles reward shaping in reinforcement learning by reframing shaping-reward design as an online model-selection problem. The authors introduce ORSO, which first generates a set of candidate shaping rewards and then uses a data-driven online selection strategy (D$^3$RB) to allocate training budget across these rewards while training corresponding policies, aiming to maximize the task reward $R$. They provide regret guarantees for ORSO under a monotonic-best-learner assumption and demonstrate substantial data- and compute-efficiency gains in continuous control tasks using Isaac Gym and PPO, including up to $8\times$ compute savings and, on average, more than $50\%$ higher task rewards than prior methods; ORSO often matches or surpasses manually engineered rewards with significantly less compute. The experimental results also show robustness to larger reward sets and that simpler exploration strategies can offer strong improvements, highlighting practical applicability for accelerating reward design in real-world RL systems. Overall, ORSO offers a principled, scalable framework for automatic shaping-reward selection with theoretical guarantees and compelling empirical performance gains.
Abstract
Reward shaping is critical in reinforcement learning (RL), particularly for complex tasks where sparse rewards can hinder learning. However, choosing effective shaping rewards from a set of reward functions in a computationally efficient manner remains an open challenge. We propose Online Reward Selection and Policy Optimization (ORSO), a novel approach that frames the selection of shaping reward function as an online model selection problem. ORSO automatically identifies performant shaping reward functions without human intervention with provable regret guarantees. We demonstrate ORSO's effectiveness across various continuous control tasks. Compared to prior approaches, ORSO significantly reduces the amount of data required to evaluate a shaping reward function, resulting in superior data efficiency and a significant reduction in computational time (up to 8 times). ORSO consistently identifies high-quality reward functions outperforming prior methods by more than 50% and on average identifies policies as performant as the ones learned using manually engineered reward functions by domain experts.
