Introduction
Offline Reinforcement Learning (RL) has emerged as a critical paradigm for training agents in environments where real-time interaction is costly or dangerous, such as healthcare and robotics. By leveraging pre-collected datasets, agents can learn complex behaviors without the risks associated with online exploration. However, the field faces a dual challenge: the computational burden of processing massive datasets and the performance degradation caused by suboptimal or "noisy" trajectories. This paper introduces ReDOR (Reduced Datasets for Offline RL), a novel framework that demonstrates how a carefully selected subset of data—a "coreset"—can lead to faster training and superior policy performance compared to using the full dataset.
The Challenge of Data Quality and Scale
Modern offline RL datasets are often characterized by two main issues. First, computational bloat increases the time and hardware requirements for training and hyperparameter optimization. Second, the "Garbage In, Garbage Out" phenomenon is particularly acute in RL. Including low-quality or noisy trajectories can exacerbate distribution shift, where the agent develops overconfidence in actions that were not well-represented or successful in the training data, leading to poor performance in the real world. ReDOR addresses these issues by identifying the minimal subset of data that maximizes learning efficiency.
Methodology: ReDOR
The core of ReDOR lies in formulating dataset selection as a gradient approximation problem. The objective is to find a small subset of data whose weighted gradients closely mirror the gradients of the entire dataset, ensuring that the model learns the same fundamental patterns with significantly less data.
Submodular Optimization
The researchers prove that the standard actor-critic framework exhibits submodularity. In the context of data selection, submodularity implies a principle of diminishing returns: as more data points are added to a subset, the marginal information gain from each additional point decreases. This property allows the researchers to utilize efficient greedy algorithms to solve the selection problem, which would otherwise be computationally intractable (NP-Hard).
Adapting Orthogonal Matching Pursuit (OMP)
To implement this selection, the authors adapt Orthogonal Matching Pursuit (OMP), a greedy algorithm designed to minimize gradient error. Standard OMP is ill-suited for RL because the "targets" (expected rewards) shift as the agent learns. ReDOR introduces three critical modifications:
- Empirical Returns: Instead of relying on volatile Temporal Difference (TD) targets, ReDOR uses fixed empirical returns from full trajectories to provide a stable learning signal.
- Trajectory-based Selection: Rather than selecting isolated data points, the method selects entire sequences of actions, preserving the temporal coherence necessary for RL.
- Multi-round Selection: The subset is periodically updated as the agent’s policy evolves, ensuring the data remains relevant to the agent's current performance level.
Experimental Evaluation
ReDOR was evaluated using the D4RL benchmark, including MuJoCo physics simulations (Hopper, Walker2d, HalfCheetah) and complex Antmaze navigation tasks. To test robustness, the authors also utilized a "Hard" version of D4RL, augmented with low-quality noise to simulate real-world data imperfections.
Key Results and Insights
The experiments yielded several significant findings:
- Performance Gains: In many scenarios, training on the ReDOR-selected subset outperformed training on the full dataset. For example, on the Walker2d-expert task, ReDOR achieved a score of 104.6, significantly higher than the 74.8 achieved by the full dataset. This suggests that ReDOR acts as a powerful regularizer against distribution shift by pruning suboptimal data.
- Robustness to Noise: In Antmaze tasks, which require "stitching" together disparate trajectory segments, ReDOR successfully identified the critical "connective tissue" of the data. In contrast, random pruning often removed these vital segments, causing agents to fail.
- Efficiency: The data selection process is highly efficient, taking approximately 8 minutes for a dataset of one million points, while providing a substantial reduction in subsequent training time.
- Skill Bridging: t-SNE visualizations revealed that ReDOR does not merely select the highest-reward data. Instead, it selects samples that "bridge" different skills—such as the transition between starting and running in the HalfCheetah environment—ensuring a comprehensive learning experience.
Conclusion and Future Work
ReDOR demonstrates that in offline RL, "less" can indeed be "more." By leveraging submodular optimization to create high-quality coresets, the method improves both the speed and the efficacy of policy training. While the current approach relies on certain theoretical assumptions regarding gradient bounds and requires some heuristic tuning for high-return bias, it represents a significant step toward making offline RL more practical for real-world applications. Future research will focus on applying ReDOR to high-dimensional, real-world robotic tasks.
Summary updated