Provable Domain Adaptation for Offline Reinforcement Learning with Limited Samples
Weiqin Chen, Xinjie Zhang, Sandipan Mishra, Santiago Paternain
TL;DR
This work addresses offline reinforcement learning under limited target data by introducing a principled domain-adaptation framework that blends a sparse target dataset with a large source dataset using a weight $\lambda$. It derives both expected and worst-case performance bounds that decompose into a variance term $\varsigma$ (target data variability) and a dynamics-gap term $\xi$ (domain discrepancy), and proves convergence to a neighborhood of the optimal $Q$-function. The authors show the existence of an optimal weight $\lambda^*$ (with closed-form under simplifying assumptions) and validate the theory with Procgen experiments using CQL and IQL, demonstrating that the best trade-off is not always a trivial choice and depends on target-sample size and domain similarity. The results provide a rigorous, algorithm-agnostic blueprint for leveraging abundant source data (e.g., simulators) in offline RL, offering guidance for weight selection and pointing to practical methods for estimating the optimal balance in real applications.
Abstract
Offline reinforcement learning (RL) learns effective policies from a static target dataset. The performance of state-of-the-art offline RL algorithms notwithstanding, it relies on the size of the target dataset, and it degrades if limited samples in the target dataset are available, which is often the case in real-world applications. To address this issue, domain adaptation that leverages auxiliary samples from related source datasets (such as simulators) can be beneficial. However, establishing the optimal way to trade off the limited target dataset and the large-but-biased source dataset while ensuring provably theoretical guarantees remains an open challenge. To the best of our knowledge, this paper proposes the first framework that theoretically explores the impact of the weights assigned to each dataset on the performance of offline RL. In particular, we establish performance bounds and the existence of the optimal weight, which can be computed in closed form under simplifying assumptions. We also provide algorithmic guarantees in terms of convergence to a neighborhood of the optimum. Notably, these results depend on the quality of the source dataset and the number of samples in the target dataset. Our empirical results on the well-known offline Procgen benchmark substantiate the theoretical contributions in this work.
