Policy-regularized Offline Multi-objective Reinforcement Learning

Qian Lin, Chao Yu, Zongkai Liu, Zifan Wu

TL;DR

This paper introduces a robust framework for Policy-regularized Offline Multi-objective Reinforcement Learning (MORL). By addressing the "preference-inconsistent demonstration" problem through trajectory filtering and high-expressiveness diffusion models, the authors enable a single neural network to learn a diverse set of Pareto-optimal policies from static, preference-unknown datasets.

What Problem Does This Paper Address?

Reinforcement Learning (RL) usually focuses on maximizing a single scalar reward. However, real-world tasks often involve conflicting goals—like a robot needing to move quickly while minimizing energy consumption. Multi-objective RL (MORL) seeks a set of optimal trade-offs, known as the Pareto front.

Training these models "online" is often too risky or expensive for safety-critical applications. Offline MORL aims to learn these trade-offs from pre-collected datasets. The challenge is twofold:

  1. Distribution Shift: Standard offline RL issue where the learned policy deviates from the data, leading to over-optimistic value estimates.
  2. Preference-Inconsistent Demonstrations (PrefID): In a multi-objective dataset, a trajectory optimized for "Speed" is a poor demonstration for someone wanting "Efficiency." Standard policy regularization (like behavior cloning) fails here because it tries to mimic all data equally, leading to a "jack-of-all-trades, master-of-none" policy that achieves none of the objectives well.

Methods

The authors propose three main pillars to solve these challenges:

  1. Mitigating PrefID via Filtering and Expressiveness:
    • Filtering: Since behavior preferences are usually unknown, the authors approximate them by normalizing the total vector returns of each trajectory. They then filter the training data for a specific target preference based on cosine similarity.
  2. High Expressiveness: They replace simple Mean Squared Error (MSE) regularization with Diffusion-based models. Because diffusion models can represent complex, multi-modal distributions, they are much better at capturing the diverse behaviors present in multi-objective datasets without "averaging" them into sub-optimal actions.
  3. Preference-Conditioned Scalarized Updates: To avoid the massive computational cost of training a separate network for every possible preference, they use a single network conditioned on the preference vector $\omega$. This allows the model to generalize across the entire preference space.
  4. Regularization Weight Adaptation: The optimal balance between following the data (regularization) and maximizing rewards varies by preference. The authors introduce a dynamic adaptation phase during deployment. By collecting a small number of trajectories (e.g., 30), the model uses gradient descent to find the best regularization weight ($\kappa$) for the current target preference.

Datasets

  • D4MORL: A large-scale benchmark for offline MORL featuring MuJoCo environments (Ant, Hopper, etc.) with trajectories collected by policies covering a wide range of preferences.
  • MOSB (Multi-Objective Single-Behavior): A new dataset introduced by the authors. Unlike D4MORL, it is built from the standard D4RL dataset where data is collected by single-objective policies. This tests the model's ability to extract multi-objective trade-offs from data that wasn't explicitly generated for MORL.

Key Insights and Ideas

  • The "Averaging" Trap: Figure 1 (below) illustrates the PrefID problem. When using standard MSE regularization on the full dataset (Ratio: 1.0), the learned policies (solid circles) perform worse than the behavior policies (black dots) because the model is confused by conflicting demonstrations.
  • Diffusion is the Key: The authors found that Diffusion-based regularization is significantly more resilient to inconsistent data than MSE or CVAE. It allows the model to "see" multiple ways to solve a problem and pick the one that matches the target preference.
  • Return as a Proxy for Preference: A simple L1 normalization of a trajectory's total return serves as a surprisingly effective proxy for the unknown preference of the behavior policy that generated it.
Figure 1: The performance when applying policy-regularized methods on the Ant amateur and Hopper expert datasets within D4MORL. Two solid circles with the same color represent the expected vector return of policies trained under preferences 𝝎1 and 𝝎2 respectively (the farther these two circles extend to the high area of axes, the better performance they exhibit). Each cross signifies an aborted training due to the divergence of value estimates. The black dots represent trajectories of entire offline dataset, which reflect performance of behavior policies under various preferences.

Key Results

The proposed method, particularly with Diffusion regularization, consistently outperformed or matched state-of-the-art baselines like PEDA.

  • Superior Pareto Fronts: On the D4MORL Amateur dataset, the approach showed significant improvements in Hypervolume (Hv)—a metric for the quality and diversity of the Pareto front—especially in complex environments like Ant and Hopper.
  • Generalization: In the MOSB dataset, where behavior preferences are identical and inaccessible, the method successfully expanded the Pareto front outward, achieving better trade-offs than those present in the original offline data.
  • Efficiency: By using a single preference-conditioned network, the model remains computationally efficient compared to multi-policy ensembles.
Figure 2: Learned Pareto fronts (green) compared to offline data (yellow) across various environments.

Limitations and Future Work

  • Semi-Offline Adaptation: While the training is offline, the "Regularization Weight Adaptation" requires a small amount of online interaction (30 trajectories) during deployment. In strictly zero-interaction scenarios, this could be a hurdle.
  • Linear Preferences: The current work assumes linear preference functions (weighted sums of objectives). Future work could explore non-linear scalarization, which is often necessary for more complex real-world trade-offs.
  • Scalability: While it works well for 2-3 objectives, scaling to many more objectives might increase the difficulty of preference approximation and filtering.

Summary updated

BibTeX
@misc{lin2024policy,
  author = {Qian Lin and Chao Yu and Zongkai Liu and Zifan Wu},
  title = {{Policy-regularized Offline Multi-objective Reinforcement Learning}},
  year = {2024},
  eprint = {2401.02244},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.02244},
}
Figure