Decentralized Model-Free Reinforcement Learning in Stochastic Games with Average-Reward Objective

Romain Cravic, Nicolas Gast, Bruno Gaujal

Introduction

Reinforcement Learning (RL) has achieved remarkable success in complex strategic environments like Go and Chess. However, these successes often rely on centralized learning paradigms where a single entity controls or simulates all participants to identify a Nash Equilibrium. In real-world scenarios, agents are typically decentralized: an agent controls its own actions while interacting with independent, potentially adversarial entities whose strategies are unknown.

Furthermore, while much RL research focuses on discounted rewards or finite-horizon tasks, many long-term strategic interactions are better modeled by the infinite-horizon average-reward objective. This setting seeks to maximize the long-term average gain per time step, presenting significant mathematical challenges. Without a discount factor, value functions can diverge, and agents must navigate "communicating" environments where recovery from sub-optimal states is always possible. This paper introduces Decentralized Optimistic Nash Q-Learning (DONQ-learning), the first model-free algorithm designed for decentralized learning in two-player zero-sum stochastic games under this average-reward objective.

The DONQ-Learning Algorithm

DONQ-learning is designed to achieve sublinear regret while maintaining a significantly lower memory and computational footprint than traditional model-based approaches. Its architecture is built upon three primary pillars:

  1. Artificial Discounting: To manage the complexities of an infinite horizon, the algorithm utilizes a proxy discount factor $\gamma = 1 - 1/H$. By carefully tuning the horizon parameter $H$, the agent can effectively approximate the average-reward objective using mathematical tools originally developed for discounted settings.
  2. Optimism in the Face of Uncertainty (OFU): The algorithm incorporates an optimistic bonus term ($\beta_\tau$) into its Q-value updates. This mechanism incentivizes the agent to explore state-action pairs that have been infrequently visited, ensuring the agent does not settle for sub-optimal policies prematurely.
  3. Nash Q-Updates: At each discrete time step, the agent observes the opponent's action and updates its Q-table. It then refines its policy by solving a local minimax problem—essentially a "matrix game"—based on its current optimistic Q-estimates. This allows the agent to determine the best response against a hypothetical optimal opponent.

As a model-free algorithm, DONQ-learning does not attempt to learn the environment's transition probabilities or reward functions. Instead, it learns values directly. This results in memory requirements that scale with the number of states and actions ($S \times A$) rather than the square of the state space ($S^2 \times A$), making it far more scalable than model-based predecessors.

Theoretical Insights and Analysis

The Role of the Horizon Parameter

The parameter $H$ serves as a critical balancing mechanism. If $H$ is too small, the agent fails to accurately approximate the infinite-horizon game; if $H$ is too large, the optimism becomes excessive, leading to inefficient exploration. The authors demonstrate that setting $H \approx T^{1/3}$ (where $T$ is the total time) optimizes the expected regret.

The Communicating Assumption

To ensure the mathematical tractability of the average-reward setting, the authors assume the game is "communicating." This implies that for any strategy adopted by the opponent, there exists a sequence of actions that allows the learner to transition from any given state to any other state. This assumption prevents an opponent from "trapping" the learner in a permanent cycle of losing states.

Regret Bounds

The paper provides a rigorous proof of sublinear regret, meaning the average regret per step approaches zero as time $T$ approaches infinity.

  • Expected Regret: The algorithm achieves a bound of $O(T^{2/3})$, matching the best-known bounds for model-based algorithms in this specific setting.
  • High-Probability Regret: The algorithm achieves a bound of $O(T^{3/4})$.

The authors note a curious gap between these two bounds. While the $T^{2/3}$ expected regret is competitive, the $T^{3/4}$ high-probability bound may be a "proof artifact" or a fundamental consequence of the decentralized nature of the game, where the agent cannot control the opponent's influence on the state transitions.

Limitations and Future Directions

While DONQ-learning represents a significant step forward for model-free RL in stochastic games, several challenges remain:

  • The Regret Gap: It remains an open question whether the $T^{3/4}$ high-probability bound can be improved to $T^{2/3}$, or if $T^{2/3}$ is the absolute lower limit for model-free approaches in this context.
  • Known Diameter: The current algorithm requires prior knowledge of the game's "diameter" ($D$)—the maximum time required to move between any two states. In many practical applications, this value is unknown.
  • Unobservable Actions: The model assumes the agent can observe the opponent's moves. Extending the algorithm to partially observable settings where opponent actions are hidden is a necessary next step for broader applicability.
  • The Lower Bound: The information-theoretical lower bound for this setting is likely $O(\sqrt{T})$. Achieving this bound with a model-free algorithm remains a primary goal for future research in the field.

Conclusion

DONQ-learning provides a computationally efficient, memory-lean framework for decentralized reinforcement learning in infinite-horizon games. By achieving $O(T^{2/3})$ expected regret without the need for transition modeling, it establishes a new benchmark for model-free methods in the average-reward stochastic game setting.

Summary updated

BibTeX
@inproceedings{cravic2023decentralized,
  author = {Romain Cravic and Nicolas Gast and Bruno Gaujal},
  title = {{Decentralized Model-Free Reinforcement Learning in Stochastic Games with Average-Reward Objective}},
  booktitle = {AAMAS},
  year = {2023},
}
Figure