TL;DR
RBGA (Residual-Budget Guide Arbitration) is a new offline-to-online safe reinforcement learning algorithm that explicitly tracks the "safety budget" remaining within a single episode. By adaptively switching between a pre-trained offline guide and an evolving online policy based on this residual budget, RBGA enables robots to learn complex dexterous manipulation skills more safely and efficiently than prior methods.
What Problem Does This Paper Address?
Dexterous manipulation—think of a multi-fingered robotic hand rotating a cube or catching a ball—is notoriously difficult to learn. While Reinforcement Learning (RL) has made strides here, learning from scratch in the real world is both slow and dangerous. Offline-to-Online (O2O) RL attempts to solve this by pre-training a policy on a static dataset and then fine-tuning it through interaction.
However, safety remains a massive hurdle. Most "safe" RL algorithms focus on keeping the expected cost over an entire episode below a limit. They lack intra-episode budget awareness. If a robot incurs a high safety cost early in an episode (e.g., a near-collision), it should ideally become more conservative for the remainder of that episode. Existing O2O methods don't do this; they might exhaust their safety budget early, leaving no room for the exploration needed to actually improve the policy.
Methods
The authors introduce Residual-Budget Guide Arbitration (RBGA), which manages the transition from an offline "guide" policy to an online "learner" policy using three main components:
- Guide Horizon Scheduling: Inspired by Jump-Start RL (JSRL), RBGA starts episodes using the offline guide and then hands off control to the online learner. The hand-off point gradually moves earlier in the episode as training progresses, ensuring a smooth transition.
- Residual Budget Tracking: The algorithm tracks the remaining budget ($b_t$) at every step. If the initial budget is $d$, then $b_t$ is simply $d$ minus the costs already incurred in the current episode.
- Step-wise Arbitration: This is the core innovation. At each step within the "guide horizon," RBGA evaluates candidate actions from both the guide and the learner. It uses an auxiliary cost-to-go estimator to predict future costs. It chooses the guide's action only if:
- The guide's predicted cost-to-go fits within the remaining budget.
- The guide's predicted cost isn't significantly worse than the learner's (controlled by a margin parameter $\zeta$).
If the guide is deemed too risky given the remaining budget, the online learner takes over immediately.
Datasets
The researchers evaluated RBGA on two primary benchmarks:
- ReDMan: A dedicated benchmark for reliable dexterous manipulation. They tested four tasks: Finger, Joint, ArmFinger, and ArmJoint. These involve bimanual hands transferring or catching objects while respecting joint-limit constraints.
- Safety-Gymnasium: They used two manipulation tasks, Close Drawer and Pick and Place, involving a mobile Franka robotic arm.
- Real-World Deployment: The team also demonstrated a Cube Grasping task on a physical RealMan RM65 robotic arm equipped with a Linker Hand L20.
Key Insights and Ideas
- Safety as a Depletable Resource: The most important insight is treating the safety budget as a dynamic resource to be managed in real-time, rather than just a static constraint on an average.
- The "Rescue" Mechanism: The arbitration logic allows the online learner to "rescue" an episode if the offline guide—which might be struggling with distribution shift—proposes a dangerous action.
- Smooth Curriculum: By sampling the hand-off horizon and using linear/step schedules, RBGA avoids the "distributional shock" that often happens when an agent suddenly switches from following a perfect guide to acting on its own.
Key Results
RBGA demonstrated a superior balance between task performance and safety compared to six baselines, including JSRL and PEX.
- Constraint Satisfaction: As seen in Figure 1, RBGA (blue line) consistently keeps the episode cost near the predefined limit ($d=30$), whereas many baselines either overshoot the cost significantly or fail to achieve high rewards.
- Higher Success Rates: In the Finger and ArmFinger tasks, RBGA achieved significantly higher success rates and rewards than methods that don't account for residual budgets.
- Stability: The learning curves for RBGA are notably smoother, indicating that the budget-based arbitration helps stabilize the tricky transition from offline data to online interaction.
Limitations and Future Work
While effective, RBGA has a few areas for improvement:
- Critic Accuracy: The arbitration relies heavily on the auxiliary cost-to-go estimator. If this estimator is inaccurate (especially early in training), the arbitration decisions will be sub-optimal.
- Hyperparameter Tuning: The algorithm introduces a comparison margin ($\zeta$) and requires choosing a schedule for the guide horizon, which may require task-specific tuning.
- Model-Free Constraints: The current work is model-free. The authors suggest that incorporating a learned world model (a model-based approach) could further improve sample efficiency and safety, though it would increase computational complexity.
Summary updated