NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MODULI: Unlocking Preference Generalization via Diffusion Models for Offline Multi-Objective Reinforcement Learning

Yifu Yuan, Zhenrui Zheng, Zibin Dong, Jianye Hao

TL;DR

MODULI is a novel offline multi-objective reinforcement learning (MORL) framework that leverages diffusion models to generate high-quality trajectories tailored to any user preference. By introducing a unique "sliding guidance" mechanism and specialized return normalization, it successfully generalizes to out-of-distribution (OOD) preferences. This allows MODULI to effectively patch and extend the Pareto front, even when training data is sparse, shattered, or narrowly distributed.

What Problem Does This Paper Address?

In real-world applications, AI agents frequently need to balance conflicting goals—such as a robot maximizing its movement speed while minimizing energy consumption. Multi-Objective Reinforcement Learning (MORL) aims to train a single policy capable of adapting to any user "preference" (e.g., prioritizing 70% speed and 30% energy efficiency).

Because collecting online data through trial and error is often expensive and unsafe, Offline MORL attempts to learn these trade-offs entirely from pre-collected datasets. However, real-world datasets are rarely comprehensive. They are often "narrowly distributed" or "shattered," meaning they only contain examples of a few specific trade-offs and lack coverage for others.

Visualizing complete, shattered, and narrow datasets alongside the resulting approximate Pareto front.

When a user requests a preference that wasn't well-represented in the training data—an Out-of-Distribution (OOD) preference—standard algorithms typically fail, resulting in sub-optimal or erratic behavior. The challenge is building an agent that can generalize beyond the specific preferences it observed during training.

Methods: The MODULI Framework

To tackle this, the authors propose MODULI (Multi-objective DiffUsion planner with sLIding guidance). This approach shifts the paradigm from learning a direct policy to conditional generative planning.

  1. Diffusion as a Planner: Instead of predicting the next action step-by-step, MODULI uses a diffusion model to generate entire sequences of future states (trajectories). These generations are conditioned on a specific preference and a target return. An inverse dynamics model is then used to extract the necessary actions from these generated paths.
  2. Refined Return Normalization: Different objectives (like "velocity" vs. "joint torque") operate on entirely different scales. To make the diffusion guidance effective, MODULI introduces two preference-aware normalization methods:
  3. Preference Predicted Normalization (PPN): Uses a neural network to predict the maximum possible return for a given preference.
  4. Neighborhood Preference Normalization (NPN): A learning-free approach that estimates the maximum return by looking at the best returns achieved by "nearby" preferences in the dataset.
  5. Sliding Guidance Mechanism: This is MODULI's core innovation for OOD generalization. The authors train a "slider adapter"—a lightweight secondary network that learns the direction in which trajectories change as preferences shift. During inference, this slider allows the model to extrapolate from known data points toward OOD preference areas, pushing the boundaries of the agent's capabilities.

Datasets and Evaluation

The researchers evaluated MODULI using the D4MORL benchmark, which includes several continuous control MuJoCo environments (Ant, HalfCheetah, Hopper, Swimmer, Walker2d). To rigorously test OOD generalization, they evaluated models on challenging dataset variants:

  • Shattered Datasets: Trajectories for certain preference ranges are intentionally removed to test the model's ability to interpolate and fill in the gaps.
  • Narrow Datasets: Data is only provided for a very small range of preferences, forcing the model to extrapolate to the rest of the preference space.

Key Insights

  • Diffusion Models are "Stitchers": A major advantage of using diffusion for planning is its ability to stitch together sub-optimal segments of offline data to create a high-quality, novel trajectory that never explicitly existed in the training set.
  • Extrapolation vs. Memorization: Standard offline RL tends to conservatively stick to what it has seen. The Sliding Guidance acts as a creative directional nudge, effectively telling the model: "Based on how trajectories changed from a 60% to an 80% speed preference, continue extrapolating in that direction for a 100% speed preference."
  • Normalization is Non-Trivial: Simply scaling all rewards to a global [0, 1] range fails in MORL because objectives inherently conflict. The "target" for the diffusion model must dynamically adjust based on the specific preference being evaluated.

Key Results

MODULI consistently outperformed state-of-the-art baselines (such as MORvS and MODT) across almost all metrics:

  • Hypervolume (HV): MODULI achieved significantly higher hypervolume, indicating it found a much better, more diverse set of optimal trade-offs (the Pareto front).
  • Return Deviation (RD): In OOD scenarios, MODULI's generated trajectories stayed much closer to the theoretical maximum returns compared to baselines, which often collapsed when faced with unseen preferences.
Performance comparison of MODULI vs. baselines on HalfCheetah and Swimmer environments.

Qualitative plots clearly show MODULI successfully "patching" the holes in shattered datasets and extending the "wings" of the Pareto front in narrow datasets, whereas competing models simply stopped at the boundaries of the training data.

Limitations and Future Work

While the results are impressive, the authors note a few areas for future exploration:

  • State Space Complexity: The experiments were conducted in relatively low-dimensional state spaces (MuJoCo). Scaling this approach to high-dimensional inputs, like raw pixel images, remains a future challenge.
  • Linear Preferences: The current framework assumes a linear preference space. Real-world human preferences can be non-linear and significantly more complex.
  • Action Spaces: The framework is currently optimized for continuous action spaces. Adapting it for discrete actions would require further architectural modifications.

By treating offline MORL as a generative planning task and providing a mechanism to "slide" into unknown territory, MODULI offers a robust and highly effective path forward for deploying versatile AI agents in data-constrained environments.

Summary updated

BibTeX
@inproceedings{yuan2025moduli,
  author = {Yifu Yuan and Zhenrui Zheng and Zibin Dong and Jianye HAO},
  title = {{MODULI: Unlocking Preference Generalization via Diffusion Models for Offline Multi-Objective Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=V364YjXm3T},
}
Figure