Abstract
Offline reinforcement learning (RL) faces significant challenges due to extrapolation error, where agents overestimate the value of actions not present in the training data. We present a framework utilizing a fully-implicit policy trained via a GAN-style joint state-action matching approach. This method effectively models complex, multi-modal behavior distributions and incorporates state-smoothing to enhance robustness. Our approach achieves state-of-the-art performance on the D4RL benchmark, particularly in high-dimensional and non-Markovian tasks.
1. Introduction
In Offline RL, agents learn from static datasets without environment interaction. A primary obstacle is extrapolation error: agents often hallucinate high rewards for out-of-distribution actions. Standard behavior regularization methods often rely on simple Gaussian policy assumptions, which fail to capture the multi-modal nature of many real-world datasets. For instance, if a dataset contains multiple valid paths to a goal, a Gaussian policy may average these actions, leading to suboptimal or dangerous behavior.
2. Methodology
The proposed framework addresses these limitations through three key innovations:
2.1 Fully-Implicit Policy
Instead of a restricted parametric distribution, we employ an implicit policy $a = G(s, z)$, where $z$ is a latent noise variable. This allows the policy to represent arbitrary, multi-modal action distributions, similar to a GAN generator.
2.2 State-Action Joint-Matching
Traditional methods match conditional distributions $\pi(a|s)$, which is difficult with sparse data. We instead match the joint distribution of states and actions $p(s, a)$. A GAN discriminator is trained to distinguish between dataset pairs and those generated by the policy, providing a robust training signal even with single-sample states.
2.3 State-Smoothing
To simulate exploration in a static setting, we inject small Gaussian noise into states during training. This "state-smoothing" regularizes the value function and policy, ensuring consistent behavior in the local neighborhood of the training data.
3. Experimental Evaluation
We evaluated our method on the D4RL benchmark, including Gym-MuJoCo, Maze2D, and Adroit tasks. Additionally, a toy "Eight-Gaussian" dataset was used to visualize the policy's ability to handle multi-modality.
3.1 Toy Task Visualization
The Eight-Gaussian task requires the policy to capture eight distinct modes arranged in a circle. While standard Gaussian policies collapse or average these modes, our implicit policy successfully recovers the underlying structure.
4. Key Results and Insights
Our "GAN-Joint" algorithms achieved competitive or state-of-the-art results across 16 D4RL datasets. Ablation studies confirmed that the implicit policy and joint-matching scheme were critical, outperforming Gaussian and conditional-matching alternatives in the majority of tasks. The method proved especially robust in high-dimensional Adroit tasks and non-Markovian Maze2D environments.
5. Conclusion and Future Work
While empirically successful using Jensen-Shannon Divergence, future work could explore other metrics like Wasserstein distance. Additionally, further hyperparameter tuning could potentially enhance performance beyond the current state-of-the-art results.
Summary updated