Provably Efficient Reward Transfer in Reinforcement Learning with Discrete Markov Decision Processes

Kevin Vora, Yu Zhang · DOI

Abstract

In this paper, we propose a new solution to reward adaptation (RA) in reinforcement learning, where the agent adapts to a target reward function based on one or more existing source behaviors learned a priori under the same domain dynamics but different reward functions. While learning the target behavior from scratch is possible, it is often inefficient given the available source behaviors. Our work introduces a new approach to RA through the manipulation of Q-functions. Assuming the target reward function is a known function of the source reward functions, we compute bounds on the Q-function and present an iterative process (akin to value iteration) to tighten these bounds. Such bounds enable action pruning in the target domain before learning even starts. We refer to this method as "Q-Manipulation" (Q-M). The iteration process assumes access to a lite-model, which is easy to provide or learn. We formally prove that Q-M, under discrete domains, does not affect the optimality of the returned policy and show that it is provably efficient in terms of sample complexity in a probabilistic sense. Q-M is evaluated in a variety of synthetic and simulation domains to demonstrate its effectiveness, generalizability, and practicality.

Introduction

Reinforcement Learning (RL) is notoriously sample-hungry, often requiring millions of trials to master even simple tasks. Reward Adaptation (RA) aims to mitigate this by reusing "source behaviors"—knowledge gained from previous tasks within the same environment—to accelerate learning in a new "target" task.

However, existing RA methods frequently encounter the challenge of negative transfer, where differences between tasks cause the agent to perform worse than if it had started from scratch. Furthermore, many current methods lack formal mathematical guarantees regarding efficiency. This research introduces Q-Manipulation (Q-M), a framework designed to be both robust to task differences and provably efficient through the strategic pruning of the action space.

Methodology: Q-Manipulation (Q-M)

The core innovation of Q-M lies in its focus on what an agent should not do. By identifying and removing suboptimal actions before learning begins, the complexity of the RL problem is significantly reduced.

The Lite-Model and Bounding

Unlike traditional model-based RL that requires full transition probabilities, Q-M utilizes a "lite-model." This model simply tracks reachability—which states can be reached from a given state-action pair. Using this lite-model and the known relationship between source and target rewards, the algorithm iteratively computes Upper Bounds (UB) and Lower Bounds (LB) for the target Q-function.

Action Pruning

Action pruning occurs when the upper bound of one action is lower than the lower bound of another action in the same state. In such cases, the first action is mathematically guaranteed to be suboptimal and is removed from the agent's consideration. This process can lead to a polynomial reduction in sample complexity. The Monotonic Q-Manipulation (M-Q-M) extension further tightens these bounds by initializing them with Q-functions from source tasks, representing best- and worst-case scenarios.

Experimental Evaluation

The researchers evaluated Q-M and M-Q-M across several discrete Markov Decision Process (MDP) environments, including Racetrack, Frozen Lake, and autogenerated MDPs. A primary testbed was the Dollar-Euro Domain, a grid-world where an agent must navigate to collect different types of currency.

The Dollar-Euro grid-world environment used for evaluating reward transfer.

These experiments varied the Stochastic Branching Factor (SBF) to analyze how environmental randomness impacts bound tightness. In deterministic settings, the bounds can converge to the exact optimal Q-function "zero-shot," before the agent even begins interacting with the target task.

Comparative Analysis and Results

Q-M and M-Q-M were compared against state-of-the-art baselines, including Successor Feature Q-Learning (SFQL) and Soft Q Bounding (SQB).

Comparison of Q-M/M-Q-M against state-of-the-art transfer learning methods.

Key findings include:

  • Superior Efficiency: M-Q-M consistently reached optimal policies faster than baselines, often by a significant margin.
  • Robustness: Because pruning relies on hard mathematical bounds, the method is immune to negative transfer. If tasks are unrelated, the bounds remain wide, and the agent reverts to standard learning without penalty.
  • Low Computational Overhead: The Q-M iteration process typically completes in less than 0.1 seconds, making it highly practical for real-time applications.

Conclusion and Future Work

Q-Manipulation provides a provably efficient framework for reward transfer in discrete MDPs. By shifting the focus to action pruning via Q-function bounds, it avoids the pitfalls of negative transfer while drastically reducing sample requirements.

Future research will focus on scaling these concepts to continuous state and action spaces, where reachability is more complex to define, and exploring scenarios where the relationship between reward functions is not known a priori and must be learned alongside the policy.

Summary updated

BibTeX
@misc{vora2025provably,
  author = {Kevin Vora and Yu Zhang},
  title = {{Provably Efficient Reward Transfer in Reinforcement Learning with Discrete Markov Decision Processes}},
  year = {2025},
  eprint = {2503.13414},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.13414},
}
Figure