Manuscript Offprint

arXiv:2610.30334

MPBRS: Multi-Potential-Based Reward Shaping for Unified Reward Configuration in Humanoid Locomotion

Van Chung Nguyen, Hung Manh La

Van Chung Nguyen 1^{1}, and Hung Manh La 1^{1}

Abstract—Designing and tuning reward functions remains one of the main challenges in building effective reinforcement learning (RL) pipelines for humanoid locomotion. While shaping rewards can accelerate learning, naively formulated terms often conflict with the desired behavior, overfit to a specific robot, or become unstable under small weight changes. Potential-Based Reward Shaping (PBRS) offers an alternative solution: shaping the reward via differences of a potential function to guide exploration without changing the optimal policy. In this paper, we study Multi-PBRS for humanoid locomotion and propose a unified reward configuration. We then evaluate the same reward structure and weights across nine humanoid robots, requiring only robot-specific metadata (joint/link mappings and default poses) rather than per-robot reward redesign. Our experiments show that, compared to standard shaping, MPBRS provides more consistent scaling behavior and reduced tuning sensitivity across robots, making it easier to tune without altering the optimal policy.

I. INTRODUCTION

Recently, reinforcement learning (RL) has become one of the most widely used approaches for humanoid locomotion. The use of RL for humanoid locomotion is due to its ability to learn coordinated, whole-body behaviors that are difficult to design by hand [1], [2]. However, despite the success of RL in humanoid locomotion, its application depends heavily on the reward function design [1], [2]. The design of the reward function greatly affects the behavior of the humanoid robot. For example, when the reward is specified in a naive way-such as a quadratic tracking error or a sparse task-success signal-the agent may learn strategies that maximize the reward while producing unintended behaviors that do not match the designer's intent [3], [4]. Conversely, well-shaped rewards can substantially speed up learning, whereas poorly scaled or conflicting terms can cause brittle behaviors, reward hacking, unstable training, or policies that only work for a single morphology and fail under small changes in dynamics or sensing. As a result, developers often spend significant time tuning reward terms and weights to reach an acceptable balance between training stability and behavioral quality. This tuning process is further complicated by the sensitivity of humanoid RL to hyperparameters and reward scaling, which makes it difficult to isolate the effect of individual reward terms and tune them systematically. Furthermore, the design of the reward function is severe.

Figure

Fig. 1. The baseline (left), DRS (middle), and MPBRS (right) locomotion policies are shown. MPBRS succeeds in achieving an optimal policy similar to the carefully tuned DRS, while the baseline leans the base backward during locomotion.

for humanoid locomotion since it involves high-dimensional control and contact-rich dynamics with foot-ground interactions, and morphology-dependent constraints. Consequently, many locomotion pipelines rely on extensive reward design and per-robot tuning: weights are repeatedly adjusted until training stabilizes and the resulting gait appears plausible. Unfortunately, this workflow is time-consuming, hard to reproduce, and often does not transfer even between similar humanoids. A reward that works well on one robot may require significant modification on another due to differences in morphology, actuation, or physical design. In [1], Ng, Harada, and Russell proposed a class of shaping rewards defined by differences of a potential function that is policy-invariant in discounted MDPs. This method has appeared in many researchers because it can provide richer learning signals while leaving the baseline task objective unchanged, effectively separating task specification from convergence acceleration.

Later, several follow-up works [5]–[7] examined PBRS in RL and concluded that it leads to faster learning. However, this evidence is largely drawn from grid-worlds or other low-dimensional domains. Meanwhile, high-performing RL results in robotics-especially for legged locomotion-still depend on straightforward, manually tuned shaping rewards that provide no policy-invariance guarantees [8].

In this paper, we examine deep RL locomotion in 3D under a unified reward design and test how multi-PBRS compares to standard shaping when deployed unchanged on nine humanoid robots. Rather than delivering large improvements in convergence rate, MPBRS primarily improves training stability and portability, showing lower sensitivity to weight selection and reward magnitude. This reduces tuning

1^{1}are with the Advanced Robotics and Automation (ARA) Lab, Department of Computer Science and Engineering, University of Nevada, Reno, NV 89557, USA.

Corresponding author: Hung La, email: hla@unr.edu

Source codes and videos are available at: https://github.com/aralab-unr/MPBRS overhead and supports more consistent reuse across diverse humanoid designs.

The rest of the paper is organized as follows. Chapter II covers the literature review, outlining the related work and providing an overview of the method. Chapter III presents the methodology of the potential-based reward shaping used in this paper. Chapter IV provides a system overview, including the case study of nine humanoid robots and the experimental setup used in this paper. Chapter V presents the results of the method. Finally, Chapter VI concludes the paper.

References (30)