Data-Efficient Pipeline for Offline Reinforcement Learning with Limited Data

Allen Nie, Yannis Flet-Berliac, Deon R. Jordan, William Steenbergen, Emma Brunskill

Introduction

Offline Reinforcement Learning (RL) presents a significant challenge: learning an optimal policy from a fixed historical dataset without the ability to interact with the environment. This is particularly critical in high-stakes domains like healthcare and robotics, where real-world exploration is either dangerous or prohibitively expensive. A central hurdle in this paradigm is hyperparameter selection. Unlike supervised learning, which relies on cross-validation, offline RL often uses a single data split for Off-Policy Evaluation (OPE). In data-constrained scenarios, this approach is prone to high variance and unreliability.

Stanford researchers have introduced a systematic solution: SSR-RRS (Split-Select-Retrain with Repeated Random Subsampling). This task-agnostic pipeline leverages multiple data splits to reliably select the best offline RL algorithms and hyperparameters, ultimately retraining on the full dataset to maximize performance.

The Challenge of Small-Data Offline RL

Offline RL is essentially a "black box" problem. Practitioners must rely on OPE—statistical methods to estimate a policy's performance—to make deployment decisions. However, OPE is notoriously sensitive to the specific data used for evaluation. When datasets are small (e.g., a few hundred patient records), a single train/validation split becomes a gamble. A "lucky" split might make a mediocre policy appear superior, while an "unlucky" one might cause the best policy to be discarded because the validation set lacked representative high-reward trajectories.

Variance in OPE estimates across 10 random partitions highlights the unreliability of single-split selection.

Furthermore, the standard practice of splitting data (e.g., 80% for training and 20% for validation) and deploying the policy trained on the 80% subset is inefficient. In small-data regimes, discarding 20% of the available information can lead to a significant drop in the final policy's quality.

The SSR-RRS Pipeline

The proposed SSR-RRS pipeline addresses these issues through a four-step process:

  1. Repeated Random Subsampling (RRS): Instead of a single split, the pipeline generates $K$ different random partitions of the data (typically a 50/50 train-validation split).
  2. Algorithm-Hyperparameter (AH) Selection: Every candidate AH pair (e.g., different algorithms like BCQ or CQL with varying learning rates) is trained on each training split and evaluated on the corresponding validation split using an OPE estimator such as Fitted Q-Evaluation (FQE).
  3. Aggregate Statistics: The OPE scores for each AH pair are averaged across all $K$ splits. This "wisdom of the crowd" approach mitigates the noise and variance inherent in individual data partitions.
  4. Retrain for Deployment: Once the optimal AH pair is identified based on the aggregate scores, the algorithm is retrained using 100% of the available data. This ensures the final deployed policy benefits from every available trajectory.

Experimental Evaluation

The researchers validated SSR-RRS across a diverse set of simulated environments, including healthcare simulators (Sepsis MDP & POMDP), educational tools (TutorBot), and continuous control robotics (Robomimic). They also tested on standard D4RL benchmarks like the "Hopper" task.

Key Results and Insights

The SSR-RRS pipeline, particularly with $K=5$ splits, consistently outperformed standard one-split baselines and state-of-the-art selection methods like Batch Value Function Tournament (BVFT).

Overcoming the "Lucky Split"

The study demonstrates that multiple splits are essential for reliability. In the Sepsis-POMDP task, the SSR-RRS pipeline achieved a true reward of 6.75, whereas a standard one-split approach frequently selected policies with negative rewards or significantly lower performance (averaging around 0.36).

The Benefit of Full-Data Retraining

A core finding is that retraining on the full dataset consistently yields superior results. In small datasets, every trajectory is a precious source of information. The performance gap between policies trained on 50% of the data versus 100% was particularly pronounced in robotics tasks, where the 100% models showed 10-20% higher performance.

Comparison of true rewards for policies trained on 50% vs. 100% of the data across different domains shows consistent improvement with more data.

Robustness of OPE

OPE estimators can themselves overfit to specific data subsets. By averaging scores across different partitions, SSR-RRS makes the selection process robust to the idiosyncratic errors of the evaluation method itself.

Conclusion and Future Directions

SSR-RRS provides a robust framework for deploying offline RL in real-world, data-scarce environments. While the method increases computational costs—training $H$ hyperparameter pairs $K$ times—the gains in policy reliability and performance are substantial. Future work may address the computational overhead and explore "honest" estimation techniques that can provide unbiased performance estimates for the final policy retrained on the full dataset.

Summary updated

BibTeX
@inproceedings{nie2022data,
  author = {Allen Nie and Yannis Flet-Berliac and Deon R. Jordan and William Steenbergen and Emma Brunskill},
  title = {{Data-Efficient Pipeline for Offline Reinforcement Learning with Limited Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Ygt3pnp5GM},
}
Figure