Skip to main content
QUICK REVIEW

[Paper Review] Generalizing Across Multi-Objective Reward Functions in Deep Reinforcement Learning

Eli A. Friedman, Fred L. Fontaine|arXiv (Cornell University)|Sep 17, 2018
Mental Health Research TopicsPsychology7 citations
TL;DR

This paper proposes a method to enable deep reinforcement learning agents to generalize across linearly weighted multi-objective reward functions by augmenting experience replay with alternative reward weights. The approach extends Hindsight Experience Replay to allow a single policy to adapt to any combination of reward weights in real time, enabling continuous adaptation without retraining, and demonstrates effective generalization in 1D and 2D control tasks with varying trade-offs between time and fuel efficiency.

ABSTRACT

Many reinforcement-learning researchers treat the reward function as a part of the environment, meaning that the agent can only know the reward of a state if it encounters that state in a trial run. However, we argue that this is an unnecessary limitation and instead, the reward function should be provided to the learning algorithm. The advantage is that the algorithm can then use the reward function to check the reward for states that the agent hasn't even encountered yet. In addition, the algorithm can simultaneously learn policies for multiple reward functions. For each state, the algorithm would calculate the reward using each of the reward functions and add the rewards to its experience replay dataset. The Hindsight Experience Replay algorithm developed by Andrychowicz et al. (2017) does just this, and learns to generalize across a distribution of sparse, goal-based rewards. We extend this algorithm to linearly-weighted, multi-objective rewards and learn a single policy that can generalize across all linear combinations of the multi-objective reward. Whereas other multi-objective algorithms teach the Q-function to generalize across the reward weights, our algorithm enables the policy to generalize, and can thus be used with continuous actions.

Motivation & Objective

  • To overcome the limitation of treating reward functions as fixed components of the environment in deep reinforcement learning.
  • To enable agents to generalize across a distribution of linearly weighted multi-objective rewards by incorporating reward functions into the learning algorithm.
  • To allow a single trained policy to adapt to new reward weight combinations in real time, avoiding the need for retraining.
  • To extend Hindsight Experience Replay to multi-objective settings, enabling off-policy learning across diverse reward scalarizations.

Proposed method

  • The method integrates the reward weight vector as part of the state representation in the experience replay dataset.
  • For each transition in the replay buffer, the algorithm generates k augmented experiences by applying different reward weights to the same state-action pair.
  • The agent learns a single policy that maps state-action pairs and reward weights to Q-values, enabling generalization across all linear combinations of the multi-objective reward.
  • The approach uses off-policy deep reinforcement learning with experience replay, where augmented experiences are sampled alongside real transitions.
  • The reward function is explicitly provided to the learning algorithm, allowing it to evaluate rewards for unvisited states.
  • The algorithm is compatible with continuous action spaces and can be applied with minimal modification to existing off-policy deep RL algorithms.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent learn a single policy that generalizes across all linear combinations of a multi-objective reward function?
  • RQ2How does the augmentation rate k affect the agent’s ability to generalize across different reward weight combinations?
  • RQ3Can the agent adapt its behavior in real time to new reward weights without retraining?
  • RQ4Does the method outperform standard approaches that require retraining for each new reward weight vector?
  • RQ5How does the performance scale with increasing dimensionality of the reward weight space?

Key findings

  • The agent successfully learned policies that adapt to new reward weight combinations in real time, demonstrating effective generalization across linearly weighted multi-objective rewards.
  • In the 1D double-integrator task, the agent learned a policy that closely approximated the optimal trade-off between travel time and fuel use, with minimal deviation from the theoretical optimum.
  • In the 2D double-integrator task, the agent correctly prioritized either axis 1 or axis 2 based on the weight vector, showing that it learned to decouple objectives across dimensions.
  • The optimal augmentation rate k was found to be 2 in the 1D environment, indicating a balance between sufficient experience diversity and learning efficiency.
  • The method enabled continuous adaptation to new reward weights without retraining, significantly reducing the need for repeated policy training across different preference configurations.
  • The results show that policy generalization across reward weights is feasible and effective, even in high-dimensional weight spaces, with minimal changes to existing deep RL frameworks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.