Efficient Average Reward Reinforcement Learning Using Constant Shifting Values

Shangdong Yang, Yang Gao, Bo An, Hao Wang, Xingguo Chen

Introduction

Reinforcement learning (RL) has traditionally focused on discounted reward scenarios, where immediate gains are prioritized over long-term outcomes. However, many critical real-world applications—such as network routing, inventory management, and industrial control—are non-terminating and are more naturally modeled by maximizing the average reward over time.

Existing average-reward RL algorithms often struggle with stability. Model-based approaches are computationally heavy, while model-free methods like R-learning are prone to instability because they attempt to estimate the average reward dynamically. If these estimates fluctuate, the agent's internal value functions can diverge, leading to poor performance. This paper introduces CSV-LEARNING, a model-free algorithm that utilizes a Constant Shifting Value (CSV) to stabilize and accelerate the learning process.

The CSV-LEARNING Approach

The core innovation of CSV-LEARNING is the replacement of an adaptive shifting value with a fixed constant, $\hat{\rho}$, derived from prior knowledge of the task. By subtracting this constant from observed rewards during the update process, the algorithm creates a natural "pressure" that encourages exploration until the agent finds actions that exceed this baseline.

Policy Convergence without Value Convergence

A significant theoretical contribution of this work is the proof that stable policies can be achieved even if internal value estimates (Q-values) grow unbounded. If the chosen CSV is lower than the actual optimal average reward, the Q-values will technically trend toward infinity. However, the authors demonstrate that the relative differences between action values stabilize, ensuring the agent consistently selects the optimal policy. This decoupling of value convergence from policy convergence allows for robust learning in complex environments.

Impact of the constant shifting value ($\hat{\rho}$) on total regret over time. As $\hat{\rho}$ approaches the optimal reward, regret stabilizes.

Experimental Evaluation

The algorithm was tested against several state-of-the-art methods across three benchmarks: a 40-state 4-circle MDP, the classic RiverSwim exploration task, and a high-dimensional Tetris environment.

In the 4-circle MDP, CSV-LEARNING identified the optimal policy in approximately 10,000 steps, a six-fold improvement over competing model-free methods. In RiverSwim, it achieved lower mean total regret than even sophisticated model-based algorithms like PSRL.

Performance in Complex Tasks

In the Tetris benchmark, which utilized linear function approximation to handle a massive state space, CSV-LEARNING cleared an average of 2,500 lines after only 100 games. This performance nearly doubled that of R-learning and vastly outperformed standard temporal-difference methods like TD($\lambda$), which cleared fewer than 400 lines.

Comparison of CSV-learning with state-of-the-art algorithms. CSV-learning (blue line) achieves higher average rewards significantly faster than other model-free and model-based methods.

Conclusion and Future Work

CSV-LEARNING demonstrates that incorporating prior knowledge as a stabilizing constant can overcome the inherent instabilities of model-free average-reward RL. While the algorithm's success depends on a "reasonable" estimate of the average reward, its ability to maintain a stable policy despite unbounded value growth represents a significant step forward. Future research may explore extending these stability proofs to non-linear function approximators, such as deep neural networks, to tackle even more complex autonomous systems.

Summary updated

BibTeX
@inproceedings{yang2016efficient,
  author = {Shangdong Yang and Yang Gao and Bo An and Hao Wang and Xingguo Chen},
  title = {{Efficient Average Reward Reinforcement Learning Using Constant Shifting Values}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10285},
}
Figure