Debiased Offline Representation Learning for Fast Online Adaptation in Non-stationary Dynamics
Xinyu Zhang, Wenjie Qiu, Yi-Chen Li, Lei Yuan, Chengxing Jia, Zongzhang Zhang, Yang Yu
TL;DR
Offline RL under non-stationary dynamics suffers from confounding signals between environment changes and behavior policies. DORA addresses this by applying an Information Bottleneck to learn debiased, dynamics-relevant representations from recent state-action histories, using a distortion-based contrastive bound for $I(z;M)$ and a KL-based debias loss for $I(z;a)$. The encoder, paired with a contextual policy trained via offline RL such as $\text{CQL}$, enables fast online adaptation without pre-collected context, demonstrated across six MuJoCo tasks with changing dynamics. Results show sharper dynamics encoding, improved performance over baselines in IID, OOD, and non-stationary settings, and clear visualization of debiased, dynamics-aligned latent representations, indicating practical impact for safe and efficient offline-to-online adaptation.
Abstract
Developing policies that can adjust to non-stationary environments is essential for real-world reinforcement learning applications. However, learning such adaptable policies in offline settings, with only a limited set of pre-collected trajectories, presents significant challenges. A key difficulty arises because the limited offline data makes it hard for the context encoder to differentiate between changes in the environment dynamics and shifts in the behavior policy, often leading to context misassociations. To address this issue, we introduce a novel approach called Debiased Offline Representation for fast online Adaptation (DORA). DORA incorporates an information bottleneck principle that maximizes mutual information between the dynamics encoding and the environmental data, while minimizing mutual information between the dynamics encoding and the actions of the behavior policy. We present a practical implementation of DORA, leveraging tractable bounds of the information bottleneck principle. Our experimental evaluation across six benchmark MuJoCo tasks with variable parameters demonstrates that DORA not only achieves a more precise dynamics encoding but also significantly outperforms existing baselines in terms of performance.
