Causal Flow Q-Learning for Robust Offline Reinforcement Learning
Mingxuan Li, Junzhe Zhang, Elias Bareinboim
TL;DR
This paper tackles confounding biases in offline reinforcement learning with pixel-based observations by formulating a Confounded Markov Decision Process (CMDP) and deriving a confounding-robust objective. It then develops Causal Flow Q-Learning (CFQL), which combines a flow-based behavioral policy, a one-step target policy, an ensemble of critics, and a discriminator to estimate a worst-case Q target under confounding, enabling safe policy learning from biased offline data. Through extensive experiments on 25 pixel-based tasks, CFQL substantially improves over confounding-unaware baselines and can match or exceed state-of-the-art Gaussian-policy methods in several scenarios, including offline-to-online fine-tuning. The results demonstrate the practical impact of incorporating causal reasoning and flow-based policy modeling to mitigate unobserved confounding in visual RL, with broad implications for safe, robust decision-making from real-world, imperfect data.
Abstract
Expressive policies based on flow-matching have been successfully applied in reinforcement learning (RL) more recently due to their ability to model complex action distributions from offline data. These algorithms build on standard policy gradients, which assume that there is no unmeasured confounding in the data. However, this condition does not necessarily hold for pixel-based demonstrations when a mismatch exists between the demonstrator's and the learner's sensory capabilities, leading to implicit confounding biases in offline data. We address the challenge by investigating the problem of confounded observations in offline RL from a causal perspective. We develop a novel causal offline RL objective that optimizes policies' worst-case performance that may arise due to confounding biases. Based on this new objective, we introduce a practical implementation that learns expressive flow-matching policies from confounded demonstrations, employing a deep discriminator to assess the discrepancy between the target policy and the nominal behavioral policy. Experiments across 25 pixel-based tasks demonstrate that our proposed confounding-robust augmentation procedure achieves a success rate 120\% that of confounding-unaware, state-of-the-art offline RL methods.
