LGAIOct 6, 2023

Beyond Uniform Sampling: Offline Reinforcement Learning with Imbalanced Datasets

arXiv:2310.04413v230 citationsh-index: 44Has Code
AI Analysis

This addresses a key limitation in offline RL for real-world applications where datasets are often imbalanced, offering a plug-and-play solution to enhance existing algorithms.

The paper tackles the problem of offline reinforcement learning with imbalanced datasets dominated by suboptimal trajectories, showing that current algorithms fail to improve over dataset performance, and proposes a sampling strategy that constrains policies to good data, achieving significant gains in 72 imbalanced datasets and D4RL benchmarks.

Offline policy learning is aimed at learning decision-making policies using existing datasets of trajectories without collecting additional data. The primary motivation for using reinforcement learning (RL) instead of supervised learning techniques such as behavior cloning is to find a policy that achieves a higher average return than the trajectories constituting the dataset. However, we empirically find that when a dataset is dominated by suboptimal trajectories, state-of-the-art offline RL algorithms do not substantially improve over the average return of trajectories in the dataset. We argue this is due to an assumption made by current offline RL algorithms of staying close to the trajectories in the dataset. If the dataset primarily consists of sub-optimal trajectories, this assumption forces the policy to mimic the suboptimal actions. We overcome this issue by proposing a sampling strategy that enables the policy to only be constrained to ``good data" rather than all actions in the dataset (i.e., uniform sampling). We present a realization of the sampling strategy and an algorithm that can be used as a plug-and-play module in standard offline RL algorithms. Our evaluation demonstrates significant performance gains in 72 imbalanced datasets, D4RL dataset, and across three different offline RL algorithms. Code is available at https://github.com/Improbable-AI/dw-offline-rl.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes