arXiv:2609.15988cs.ROSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.15988

ResSafe: Learning Safety Filtering with Residual Reinforcement Learning for Humanoids

Gechen Qu, Tong Zhang, Bike Zhang, Yen-Jen Wang, Koushil Sreenath, Claire Tomlin, Jason Jangho Choi

Gechen Qu 1^{1} Tong Zhang 1^{1} Bike Zhang 1^{1} Yen-Jen Wang 1^{1}

Koushil Sreenath 1,†^{1,\dagger} Claire Tomlin 1,†^{1,\dagger} Jason Jangho Choi 2,†^{2,\dagger}

1^{1}University of California, Berkeley

2^{2}University of California, Los Angeles

Figure

(b)

(c)

(d)

(e)

Figure 1: Humanoid balance tasks under various payloads. We introduce ResSafe, a performance-safety decoupling framework based on residual reinforcement learning which learns safety filtering. (a)-(d) Successful experiments of balance motions under our policy. (e) Failure case of the baseline policy. See more details in Section 5.3 and Table 3.

Abstract: Safe control of humanoid robots remains challenging due to their high-dimensional dynamics, contact-rich interactions, and sensitivity to disturbances. Although reinforcement learning has enabled effective locomotion and motion tracking, learned policies can still generate unsafe actions that lead to instability or falls. In this work, we propose residual reinforcement learning as an implicit safety-filtering mechanism for safe humanoid control. Instead of relying on a single nominal policy to simultaneously balance performance, safety, and robustness, we decouple performance and safety. The nominal policy focuses solely on task performance, while a residual policy learns safety corrections. This decoupling leads to a better performance–safety Pareto trade-off and avoids the need for careful tuning of multiple competing reward terms within a single policy training. We show that the residual policy can act as an implicit safety filter. We evaluate our method in challenging humanoid balance tasks. Compared with the nominal reference policy and a learning-based safety filter baseline, residual reinforcement learning improves safety while still achieving competent performance.

Keywords: Humanoid Whole-body Control, Safety, Residual Reinforcement Learning, Safe Reinforcement Learning, Safety Filter

†^{\dagger}Equal advising.

Correspondence: qugch@berkeley.edu. Website: sciaautonomy.github.io/ResSafe_Web

1 Introduction

Reinforcement learning (RL) for humanoid control inherently involves a multi-objective optimization problem, where nominal performance (e.g., agility or motion tracking) must be balanced against safety and robustness [1, 2]. As illustrated in Fig. 2.(a), these objectives are often in conflict, leading to a Pareto trade-off. In practice, however, RL algorithms rely on gradient-based optimization and typically converge to locally optimal solutions, often resulting in a suboptimal Pareto frontier. Consequently, in current RL frameworks, improving robustness or safety, e.g., through increased domain randomization or stronger penalties for failures, inevitably comes at the expense of degraded performance. This limitation is also present in classical safe RL based on constrained Markov Decision Process (MDP) [3, 4], where safety and performance are coupled through the Lagrangian.

In this work, we show that by decoupling the learning of performance and safety, we can significantly improve the achievable performance–safety Pareto frontier of humanoid motion policies. This decoupling is inspired by human motor intelligence: when learning a new sport, humans do not relearn safety—such as maintaining balance and avoiding collisions—from scratch, but instead rely on reflexive motor skills developed through years of growth and interaction with the physical world. Motivated by this observation, our objective is to develop a generalizable safety filtering policy for humanoids that transfers across tasks without requiring retraining for safety from scratch. As an initial step toward this goal, we propose a framework that explicitly decouples the learning of performance and safety during training.

To instantiate this idea, we propose a residual reinforcement learning framework that separates nominal task optimization from safety correction. We first train a nominal motion policy optimized for task performance and then keep it fixed while training a residual safety policy. The final action is obtained by augmenting the nominal action with a learned safety residual correction (Fig. 2.(b)).

Overall, our contributions can be summarized as follows:

• We propose ResSafe, a performance–safety decoupling framework for learning-based safety filtering and RL-based humanoid control, where a reference policy optimizes task performance and a separate residual policy learns safety corrections.

• We connect residual RL with control-theoretic safety filtering by showing that the learned residual policy behaves similarly to a min-norm safety filter correction, providing an implicit safety filtering mechanism without online optimization.

• We empirically demonstrate that the proposed decoupled learning framework achieves a superior performance–safety–robustness trade-off compared to single-policy training frameworks for humanoid extreme-balance tasks. We validate this framework in both simulation and hardware under random payloads, demonstrating improved robustness with small degradation in tracking performance, as well as generalization across different reference policy checkpoints.

References (49)