Introduction
Offline-to-Online (O2O) reinforcement learning (RL) has emerged as a powerful paradigm for training autonomous agents. By pretraining on a fixed offline dataset before fine-tuning through live interaction, agents can theoretically bypass the sample inefficiency of pure online learning. However, this transition is highly vulnerable to data quality. In real-world settings, datasets are often corrupted by sensor glitches, suboptimal human demonstrations, or even malicious adversarial attacks. This paper introduces Robust Policy Expansion (RPEX), a framework designed to maintain high performance and efficient exploration even when the underlying offline data is compromised.
The Problem: The "Heavy-Tail" Phenomenon
While previous research has focused on making offline RL robust, the specific challenges of transitioning from corrupted offline data to online fine-tuning have remained largely unexplored. The authors identify a critical failure mode in this transition: corruption-induced "heavy-tailed" policy behavior.
When an agent is trained on corrupted data, the resulting policy often assigns dangerously high probabilities to low-quality or "garbage" actions. This statistical anomaly—characterized by high Kurtosis—fundamentally changes the shape of the policy. Instead of focused exploration, the agent becomes overly stochastic in a non-productive way, spending excessive time testing bad ideas and failing to converge on optimal behaviors during the online phase.
Methodology: Robust Policy Expansion (RPEX)
RPEX builds upon the standard Policy Expansion (PEX) architecture, which maintains a frozen "expert" offline policy while training a flexible online policy. The core innovation of RPEX is the integration of Inverse Probability Weighting (IPW) to mitigate the effects of corruption.
1. Heavy-Tail Mitigation
RPEX modifies the action selection process by introducing a weighting term that penalizes actions with low quality ($Q - V < 0$) that are being selected too frequently due to noise. This effectively "rectifies" the policy distribution.
2. Adaptive Weighting
The method employs a dual-strategy approach. For high-quality actions, the agent relies on standard critic values to guide learning. For low-quality actions, the IPW term becomes dominant, steering the agent away from the "heavy tails" created by data corruption and preventing toxic exploration.
3. Theoretical Grounding
The authors provide a theoretical proof showing that their selection objective is equivalent to a maximum entropy RL objective supplemented by a specific regularization term. This term acts as a formal rectification mechanism, ensuring the agent remains robust against diverse types of data poisoning.
Experimental Setup and Results
The researchers evaluated RPEX using the D4RL benchmark, specifically focusing on Medium-Replay tasks (HalfCheetah, Walker2d, Hopper) and the more complex AntMaze environments. These tasks were subjected to four types of "Diverse Data Corruption": random and adversarial attacks on states, actions, rewards, and dynamics.
Key Performance Metrics
RPEX established a new state-of-the-art (SOTA) across nearly all tested scenarios:
- Overall Improvement: RPEX achieved a 13.6% performance boost over the vanilla PEX implementation.
- Comparison to Baselines: It outperformed standard IQL by 32.7% and the robust variant RIQL by 28.7% on average.
- AntMaze Success: In the challenging AntMaze tasks, which involve sparse rewards and complex navigation, RPEX outperformed the strongest baseline (RIQL-PEX) by 30.7%.
- Computational Efficiency: Despite the added mathematical complexity, RPEX only increases training time by approximately 8% compared to non-robust methods, making it highly practical for real-world deployment.
Insights and Future Directions
The paper highlights a fundamental tension in O2O RL: while stochasticity is required for exploration, corruption-induced stochasticity is detrimental. RPEX provides a mechanism to preserve "good" exploration while pruning the "bad."
However, some limitations remain. RPEX requires access to exact action probabilities, which currently limits its compatibility with "probability-agnostic" models like Diffusion Policies. Additionally, while RPEX improves upon existing methods, state (sensor) corruption remains a significant challenge for the entire field. Future work will focus on adapting IPW logic to diffusion-based models and investigating more structured, non-random corruption patterns.
Summary updated