Fuz-RL: A Fuzzy-Guided Robust Framework for Safe Reinforcement Learning under Uncertainty
Organizations: Zhejiang University · Alibaba DAMO Academy · Peking University
Abstract
Safe Reinforcement Learning (RL) is crucial for achieving high performance while ensuring safety in real-world applications. However, the complex interplay of multiple uncertainty sources in real environments poses significant challenges for interpretable risk assessment and robust decision-making. To address these challenges, we propose Fuz-RL, a fuzzy measure-guided robust framework for safe RL. Specifically, our framework develops a novel fuzzy Bellman operator for estimating robust value functions using Choquet integrals. Theoretically, we prove that solving the Fuz-RL problem (in Constrained Markov Decision Process (CMDP) form) is equivalent to solving distributionally robust safe RL problems (in robust CMDP form), effectively avoiding min-max optimization. Empirical analyses on safe-control-gym and safety-gymnasium scenarios demonstrate that Fuz-RL effectively integrates with existing safe RL baselines in a model-free manner, significantly improving both safety and control performance under various types of uncertainties in observation, action, and dynamics.
Figures & tables
| Tasks | Methods | Observation Uncertainty | Action Uncertainty | Dynamics Uncertainty | |||
|---|---|---|---|---|---|---|---|
| AvgRet | AvgRisk | AvgRet | AvgRisk | AvgRet | AvgRisk | ||
| Cartpole Stab | PPOL | 45 ± 28 | 0.40 ± 0.14 | 99 ± 19 | 0.27 ± 0.14 | 87 ± 16 | 0.27 ± 0.09 |
| CUP | 32 ± 26 | 0.29 ± 0.11 | 42 ± 18 | 0.30 ± 0.13 | 50 ± 14 | 0.30 ± 0.13 | |
| CPPO | 41 ± 19 | 0.47 ± 0.10 | 76 ± 19 | 0.36 ± 0.14 | 77 ± 14 | 0.31 ± 0.11 | |
| RAMU | 35 ± 22 | 0.49 ± 0.16 | 86 ± 10 | 0.28 ± 0.07 | 86 ± 13 | 0.20 ± 0.01 | |
| Fuz-PPOL | 47 ± 25 2 | 0.34 ± 0.11 0.06 | 102 ± 17 3 | 0.24 ± 0.12 0.03 | 93 ± 13 6 | 0.22 ± 0.08 0.05 | |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| CartPole-Stab | CartPole-Track | QuadRotor-Stab | QuadRotor-Track | |
| rollout length | 150 | 150 | 250 | 250 |
| training epoch | 500 | 500 | 1000 | 1000 |
| batch size | 64 | 64 | 64 | 128 |
| cost limit | 1 | 1 | 10 | 10 |
| uncertainty level | 10 | 10 | 15 | 15 |
| optimization step | 40 | 40 | 80 | 80 |
| Uncertainty Object | Type | Config | System | |
|---|---|---|---|---|
| CartPole | QuadRotor | |||
| Observation | white noise | std:[-0.1, 0.1] | ||
| Dynamics | white noise | std:[-0.1, 0.1] | pole length | quadrotor mass |
| pole mass | quadrotor inertia | |||
| Case | Method | Observation Noise | Action Noise | Dynamic Noise |
|---|---|---|---|---|
| IEEE-39 Bus | PPOL | -5456.30 / 0.17 | -6357.81 / 0.16 | -7471.96 / 0.52 |
| IEEE-39 Bus | Fuz-PPOL | -4822.03 / 0.14 | -5789.19 / 0.13 | -7363.20 / 0.47 |
Safe RL
Safe reinforcement learning studies how agents can learn and act while respecting safety constraints and limiting harmful outcomes.
See all 213 papers