Dynamic Weights in Multi-Objective Deep Reinforcement Learning

Axel Abels, Diederik M. Roijers, Tom Lenaerts, Ann Nowé, Denis Steckelmacher

Introduction

In standard Reinforcement Learning (RL), an agent typically tries to maximize a single scalar reward. However, real-world decision problems are often multi-objective. For example, an autonomous vehicle must balance travel time, fuel consumption, and safety. These objectives are usually combined into a single value using a "weight" for each.

The "Dynamic Weights" setting introduces a significant challenge: these relative preferences can change over time. If fuel prices spike, an agent might need to suddenly prioritize efficiency over speed. Previous solutions were largely restricted to simple tabular problems or required training a massive set of separate policies in advance. This paper tackles the challenge of Online Multi-Objective RL, proposing a framework where an agent can adapt to changing preferences in high-dimensional environments without starting from scratch every time the weights shift.

Methodology

To handle high-dimensional state spaces and shifting objectives, the authors propose two primary innovations:

1. Conditioned Network (CN) Instead of a standard Q-network, the authors introduce a network that takes both the state and the current weight vector as input. Crucially, the network outputs a vector of Q-values (one for each objective) rather than a single scalar.

Conditioned Network Architecture

To prevent the network from "forgetting" how to handle previous weight combinations, they employ a specialized update rule. During every training step, the network is updated using the current active weights alongside a randomly sampled weight from the past. By making the Q-network explicitly aware of the weights, the agent learns a "meta-policy" that can generalize to unseen weight combinations.

2. Diverse Experience Replay (DER) Standard RL uses a First-In-First-Out (FIFO) buffer to store past experiences, which quickly becomes biased toward the most recent weights in a dynamic setting. This recency bias causes the agent to lose the "know-how" for past scenarios. DER solves this by treating entire trajectories as atomic units. It uses a "crowding distance" metric—borrowed from evolutionary algorithms—to ensure the buffer maintains a diverse set of outcomes across the entire objective space, preserving the pathways to specific multi-objective outcomes.

Experimental Setup

The researchers evaluated their methods on two environments:

  • Deep Sea Treasure (DST): A classic Multi-Objective RL benchmark where an agent seeks treasure while minimizing time. An image-based version was used to test high-dimensional processing.
  • Minecart (New Benchmark): Introduced to provide a non-trivial, high-dimensional challenge. An agent must navigate a 2D space to collect different types of ores and return them to a base, all while minimizing fuel consumption. It features continuous state spaces, stochastic transitions, and delayed rewards.

Key Results

The proposed methods demonstrated significant improvements in adaptability and overall performance:

  • Adaptability: The Conditioned Network (CN) was the only method capable of quickly adapting to abrupt, sparse weight changes while also converging to optimal policies when weights changed regularly.
  • The Power of DER: In scenarios where weights stay the same for long periods, adding DER significantly improved the performance of all tested algorithms. It effectively bootstraps the agent's learning when a new weight is introduced by providing relevant past data.
  • Dominance in Complex Environments: In the Minecart benchmark, the combination of CN and DER dominated adapted versions of existing algorithms (like Universal Value Function Approximators).
Cumulative Regret Performance

As shown in the cumulative regret evaluations, the CN+DER approach achieved a significantly lower gap between the agent's performance and the theoretical optimum across almost all scenarios.

Limitations and Future Work

While the proposed methods are robust, the authors note a few areas for future exploration. First, while CN generalizes well, there is room to improve how the agent explicitly re-uses specific sub-policies across different weightings. Second, the current DER uses return vectors for diversity; future work could explore using "perceptual hashes" or other state-based signatures to define diversity in even more complex environments. Finally, testing these approaches on real-world robotics or highly complex simulators would be the next logical step to prove scalability.

Summary updated

BibTeX
@inproceedings{abels2019dynamic,
  author = {Axel Abels and Diederik M. Roijers and Tom Lenaerts and Ann Nowé and Denis Steckelmacher},
  title = {{Dynamic Weights in Multi-Objective Deep Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SJbZxn-_ZS},
}
Figure