A Generalized Algorithm for Multi-Objective Reinforcement Learning and Policy Adaptation

Runzhe Yang, Xingyuan Sun, Karthik Narasimhan

Overview

Researchers at Princeton have developed "Envelope Q-learning," a multi-objective reinforcement learning (MORL) algorithm that learns a single policy capable of adapting to any user preference (e.g., speed vs. safety) in a few-shot manner. By utilizing a generalized Bellman equation and the "convex envelope" of possible rewards, their agent outperforms existing methods across complex domains like Super Mario Bros and task-oriented dialogue.

The Challenge of Multiple Objectives

In standard Reinforcement Learning (RL), we usually collapse all goals into a single scalar reward. However, real-world tasks are rarely that simple. A virtual assistant needs to balance being helpful (success rate) with being concise (brevity). A robot might need to balance speed with energy efficiency.

Balancing competing objectives, such as success rate and brevity, across different tasks.

The traditional approach is to manually "weight" these objectives into one number, but this is tedious and inflexible. If the user's preferences change, you have to retrain the agent from scratch. Multi-Objective RL (MORL) aims to solve this, but prior methods either only learned an "average" policy or struggled to scale because they tried to learn dozens of separate policies for different weight combinations. The authors tackle the challenge of learning a single parametric model that can represent the entire space of optimal trade-offs (the Pareto frontier).

Methods: Envelope Q-Learning

The core innovation of this paper is Envelope Q-learning. Here is how the approach breaks down:

  1. Vectorized Q-values: Instead of the Q-function returning a single number, it returns a vector representing the expected returns for each objective.
  2. The Envelope Update: Traditional "scalarized" MORL updates the agent based on the current preference weights. Envelope Q-learning is more "optimistic." It updates the agent by looking at the best possible outcomes across the entire convex envelope of the solution frontier. This allows the agent to learn from trajectories that might have been explored under different preference settings, making it much more sample-efficient.
  3. Homotopy Optimization: Learning the entire frontier is mathematically "noisy." The authors use a trick called homotopy optimization, where they start with a simpler loss function and gradually shift (using a weight $\lambda$) to the more complex multi-objective loss as training progresses.
  4. Preference Inference: At test time, if the user's preference is unknown, the agent can perform a "few-shot" adaptation. By observing just a few scalar rewards, it uses a combination of policy gradients and stochastic search to "guess" the underlying preference weights and switch to the corresponding optimal policy.
Visualizing the Pareto frontier, utility projections, and the convex envelope used in Deep MORL.

Key Insights

  • Knowledge Sharing across Preferences: The "Aha!" moment is that an experience gained while trying to be "fast" is still useful for learning how to be "safe." By using the envelope update, the agent treats all experiences as data points for the entire preference space.
  • Theoretical Grounding: The authors proved that their generalized Bellman operator is a contraction mapping, meaning it is mathematically guaranteed to converge to a fixed point (the optimal value function).
  • Scalability: Unlike previous methods that break down when the state space is large (like video frames) or the objectives are many, this neural-network-based approach scales effectively to high-dimensional inputs and complex reward structures.

Experimental Results

The authors evaluated their approach on four distinct environments: Deep Sea Treasure (DST), Fruit Tree Navigation (FTN), Task-Oriented Dialog, and Multi-Objective Super Mario Bros.

Across these domains, Envelope Q-learning demonstrated:

  • Superior Coverage: In the Fruit Tree task, the Envelope agent achieved a 98.7% Coverage Ratio, meaning it successfully found almost all optimal trade-off points, compared to just 19.7% for the baseline.
  • Massive Performance Gains: In Super Mario Bros, the Envelope agent achieved 2x the average utility of the state-of-the-art "Scalarized" baseline when tested on random preferences.
  • Rapid Adaptation: The agent was able to infer hidden user preferences in the Fruit Tree task after only 15 episodes of interaction, showing true few-shot capability.

Limitations and Future Work

The primary limitation acknowledged is the focus on linear preferences. While many real-world trade-offs can be modeled linearly (e.g., $0.7 \times \text{speed} + 0.3 \times \text{safety}$), some human preferences are non-linear or involve hard constraints (e.g., "never exceed 50mph").

Future work could involve extending this "envelope" concept to non-linear utility functions or exploring how this generalized representation could be used for even more complex transfer learning tasks where the environment dynamics—not just the preferences—change.

Summary updated

BibTeX
@inproceedings{yang2019generalized,
  author = {Runzhe Yang and Xingyuan Sun and Karthik Narasimhan},
  title = {{A Generalized Algorithm for Multi-Objective Reinforcement Learning and Policy Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure