Offline reinforcement learning (RL) seeks to learn optimal policies from static datasets without interacting with the environment. However, it often struggles when datasets contain multiple ways to solve a task—a challenge known as multi-modality. Standard models tend to "average" conflicting behaviors into a single, nonsensical strategy. Learning on One Mode (LOM) solves this by identifying the most promising behavior "mode" in the data and focusing exclusively on it, outperforming state-of-the-art methods by avoiding the pitfalls of multi-modal complexity.
The Challenge of Multi-Modality
Imagine a dataset for autonomous driving where one driver always turns left at an intersection to reach a goal, and another always turns right. A standard RL algorithm might try to "average" these behaviors, resulting in a policy that tries to drive straight into a wall.
Most existing offline RL methods implicitly assume the data follows a simple, unimodal (single-peak) distribution. When faced with diverse data sources—like human demonstrations mixed with random exploration—these methods collapse. While some recent works use complex generative models (like Diffusion or GANs) to capture every mode, the authors of this paper argue that this is overkill. You don't need to model every way to solve a task; you just need to find and follow the best one.
Methodology: Learning on One Mode (LOM)
The authors introduce Weighted Imitation Learning on One Mode (LOM). The approach breaks down into three main steps:
- Behavior Modeling: Instead of a simple Gaussian, LOM uses a Gaussian Mixture Model (GMM) implemented via a Mixture Density Network (MDN) to represent the behavior policy. This allows the model to "see" the different distinct clusters of actions in the data.
- Mode Selection via Hyper-MDP: The authors propose a novel framework called a Hyper-Markov Decision Process (H-MDP). In this setup, the "actions" are actually the different modes identified by the GMM. They train a Hyper Q-function to estimate the expected return of choosing a specific mode in a given state.
- Weighted Imitation Learning: Once the "best" mode (the one with the highest expected return) is selected, the agent performs weighted imitation learning. It focuses its learning on actions from that specific mode, further refined by an "advantage" weight to prioritize the highest-rewarding actions within that cluster.
Key Results and Performance
LOM was evaluated on standard D4RL benchmarks (MuJoCo locomotion tasks like HalfCheetah, Hopper, and Walker2d) across various data flavors, as well as custom Fetch tasks designed to be extremely multi-modal.
- Benchmark Superiority: LOM outperformed state-of-the-art methods (like CQL, AWAC, and TD3+BC) in 12 out of 15 D4RL tasks. It showed particularly strong gains in "full-replay" datasets where data diversity is highest.
- Crushing Multi-modality: In custom Fetch tasks where a robot can reach four different goals (but only one provides a much higher reward), LOM outperformed baselines by an average of 53%. While other models got confused by the multiple goals or produced out-of-distribution actions, LOM successfully locked onto the high-reward mode.
Key Insights
- Simplicity Wins: By focusing on a single mode, the final policy remains a simple, unimodal Gaussian. This is easier to train and more stable during deployment than complex multi-modal generative policies.
- H-MDP Formalization: Treating mode selection as a higher-level decision process provides a rigorous way to apply RL principles (like Q-learning) to the structure of the data itself, not just the raw actions.
Limitations and Future Work
The authors acknowledge a few areas for improvement. First, the number of Gaussian components ($M$) is a hyperparameter; if it's too small, you miss modes, and if it's too large, modes become too narrow. Second, accurately estimating the Bellman target for the Hyper Q-function is difficult and can lead to extrapolation errors. Finally, identifying and counting modes for every individual state can be computationally intensive, suggesting a need for more efficient mode-discovery techniques in future iterations.
Summary updated