Learning on One Mode: Addressing Multi-Modality in Offline Reinforcement Learning

Mianchu Wang, Yue Jin, Giovanni Montana · DOI

Abstract

Offline Reinforcement Learning (RL) faces significant challenges when datasets exhibit multi-modality—multiple valid but conflicting strategies for a single task. Standard algorithms often average these behaviors, leading to sub-optimal or nonsensical policies. We present Learning on One Mode (LOM), a framework that identifies distinct behavioral modes using Gaussian Mixture Models (GMMs) and selects the most promising one via a Hyper-MDP. LOM achieves state-of-the-art performance on D4RL benchmarks and significantly outperforms baselines in highly multi-modal environments.

Introduction: The Multi-Modality Problem

In offline RL, agents learn from static datasets without the benefit of environment interaction. A major hurdle is that these datasets are often "multi-modal." For instance, in an autonomous driving dataset, one driver might brake at a yellow light while another accelerates. Standard offline RL algorithms often attempt to "average" these conflicting actions, resulting in a policy that performs a nonsensical middle-ground action—like coasting into the intersection—which never appeared in the training data. This is known as the "averaging trap."

While recent research has turned to complex generative models like Diffusion or GANs to capture these distributions, LOM proposes a simpler, more targeted approach: identify the best "mode" of behavior and focus exclusively on it.

Methodology: The LOM Framework

The LOM framework operates in three distinct stages to isolate and optimize the best behavioral mode.

The three-stage LOM framework: Behavior Policy Modeling, Mode Selection, and Weighted Imitation Learning.
  1. Behavior Policy Modeling: Instead of a standard Gaussian, LOM uses a Gaussian Mixture Model (GMM) to represent the behavior policy. This allows the model to identify multiple distinct clusters (modes) of actions for any given state.
  2. Mode Selection via Hyper-MDP: The authors introduce a "Hyper-Markov Decision Process" where the "actions" are the modes identified by the GMM. A Hyper Q-function is trained to estimate the expected return of choosing a specific mode, allowing the agent to dynamically select the "winning" mode for every state.
  3. Weighted Imitation Learning: Once the optimal mode is identified, LOM performs weighted imitation learning. It samples actions from that specific mode and weights them by their advantage, ensuring the final policy is high-performing while remaining within the distribution of the original data.

Experimental Evaluation

LOM was evaluated on the standard D4RL benchmarks, including MuJoCo locomotion tasks (HalfCheetah, Hopper, Walker2d) across various data quality levels. To further test robustness, the authors designed custom robotic manipulation tasks (FetchReach, FetchPush, and FetchPickAndPlace) engineered to be extremely multi-modal.

Performance comparison of LOM against state-of-the-art offline RL methods on D4RL benchmarks.

Key Results

  • SOTA Performance: LOM outperformed state-of-the-art methods (including CQL, TD3+BC, and WCVAE) in 12 out of 15 standard D4RL tasks.
  • Multi-modal Dominance: On the custom Fetch tasks, LOM outperformed baselines by an average of 53%, demonstrating its superior ability to handle conflicting data.
  • Robustness in Noisy Data: LOM showed significant gains in "full-replay" and "medium-replay" datasets, which are naturally noisier and more multi-modal than expert-only datasets.

Discussion and Key Insights

The success of LOM highlights that simplicity can be a feature. While computationally heavy Diffusion models are popular, LOM shows that a well-structured GMM combined with a selection mechanism can be more efficient and often more effective. Furthermore, the authors provide theoretical proofs showing that the composite policy induced by LOM is guaranteed to perform at least as well as the original behavior policy.

Limitations

Despite its performance, LOM has areas for improvement:

  • Hyperparameter Sensitivity: The number of Gaussian components ($M$) must be pre-specified. Future work may involve automated "peak finding" to determine $M$ dynamically.
  • Scalability: Identifying modes for every state is computationally expensive, posing a challenge for high-dimensional, image-based observations.
  • Hyper Q-function Targets: Estimating Bellman targets for the Hyper Q-function can introduce extrapolation errors; deterministic hyper-policies are a potential future fix.

Conclusion

Learning on One Mode (LOM) provides a robust solution to the multi-modality problem in offline RL. By focusing on the most promising behavioral mode rather than modeling the entire distribution, LOM achieves superior performance and efficiency across a wide range of benchmarks.

Summary updated

BibTeX
@inproceedings{wang2025learning,
  author = {Mianchu Wang and Yue Jin and Giovanni Montana},
  title = {{Learning on One Mode: Addressing Multi-Modality in Offline Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=upkxzurnLC},
}
Figure