Skip to content
AI.info

Research

Provable Memory Efficient Self-Play Algorithm for Model-free Reinforcement Learning

Overview Research area: Theoretical multi-agent reinforcement learning (MARL), specifically two-player zero-sum Markov games (TZMG) and their extension to multi-player general-sum Markov games. Techni

arXiv
2512.00351
Published
2025-11-29
Authors
Na Li, Yuchen Jiao, Hangguan Shan, Shefeng Yan

AI summary

Overview

  • Research area: Theoretical multi-agent reinforcement learning (MARL), specifically two-player zero-sum Markov games (TZMG) and their extension to multi-player general-sum Markov games.
  • Technical level: Advanced. The paper is a theoretical complexity analysis using regret bounds, sample complexity, space complexity, and burn-in cost — it assumes familiarity with Q-learning, Nash equilibrium, and minimax game theory.
  • Scope: A single model-free self-play algorithm, Memory-Efficient Nash Q-Learning (ME-Nash-QL), and its provable guarantees on memory, sample, and computational efficiency.

What This Paper Is About

Existing theoretical MARL algorithms suffer from at least two problems at once: memory inefficiency, sample complexity that scales heavily with long horizons and large state spaces, high computational cost, non-Markov output policies, non-Nash output policies, or high burn-in cost. This paper designs a model-free self-play algorithm for tabular two-player zero-sum Markov games that simultaneously achieves low space complexity, low computational complexity, and competitive sample complexity while returning policies that are both Markov and Nash. The central question the authors pose is whether a TZMG algorithm can be built with memory, sample, and computational efficiency together with low burn-in cost and a Markov and Nash output policy.

Key Contributions

  1. The ME-Nash-QL algorithm. A model-free algorithm derived from Nash Q-learning that incorporates an early-settlement method and, for the first time in TZMG, the reference-advantage decomposition technique. It achieves the best memory complexity, O(SABH), which matches the minimum space needed to store Q-values in tabular cases, and a computational complexity of O(T poly(AB)), lower than prior algorithms.

  2. Provable sample complexity and regret. ME-Nash-QL finds an ε-approximate Nash equilibrium with sample complexity Õ(H⁴SAB/ε²), equivalent to a regret bound of Õ(√(H²SABT)), provided the number of samples T exceeds Õ(SABH¹⁰). The authors state the sample complexity has optimal dependence on H and S, and it outperforms existing algorithms whenever min{A,B} ≪ H².

  3. Improved burn-in cost. ME-Nash-QL attains a burn-in cost of O(SAB poly(H)), whereas the paper states previous algorithms need at least O(S³AB poly(H)) to reach the same level of sample complexity.

  4. Markov and Nash output plus a multi-player extension. Unlike state-of-the-art model-free algorithms such as Nash V/Q-Learning, ME-Nash-QL outputs a single Markov policy and a Nash policy rather than a nested mixture of Markov policies. An extended algorithm for multi-player general-sum Markov games with M players and A_i actions per player achieves an ε-optimal policy in Õ(H⁴S ∏_{i∈[M]} A_i/ε²) samples.

Main Findings

  • Best tabular space complexity: ME-Nash-QL's space complexity is O(SABH), which the authors describe as the minimum space to store Q-values in tabular cases. For comparison, Nash-VI requires O(S²ABH), V-learning requires O(S(A+B)T) which grows with the number of samples T, and Nash Q-learning requires O(SABT).

  • Sample complexity match and win condition: The sample complexity Õ(H⁴SAB/ε²) matches Nash-VI and outperforms other algorithms when min{A,B} ≪ H². Since Nash-VI requires T larger than Õ(S³ABH⁴) to attain that sample complexity, ME-Nash-QL's requirement of T exceeding Õ(SABH¹⁰) is generally significantly smaller when S > H³.

  • Lowest computational complexity with Markov policies: ME-Nash-QL achieves O(T poly(AB)) computational complexity while preserving Markov policies, whereas Nash-VI requires O(T poly(SAB)) and OMNI-VI requires T poly(SAB).

  • Best burn-in cost: O(SAB poly(H)) versus at least O(S³AB poly(H)) for previous algorithms attaining the same sample complexity level. In Table 1, the range of samples for ME-Nash-QL to attain Õ(H⁴S/ε²) sample complexity is listed as [SABH¹⁰, ∞), compared with [S³ABH⁴, ∞) for Nash-VI.

  • Markov and Nash output policy: Among the algorithms compared in Table 1, ME-Nash-QL is listed as "Yes/Yes" for Markov/Nash policy, alongside OMNI-VI. V-learning is listed as "Never" for samples and "No/No" for policy; PReFI is "Yes/No"; Q-learning (Feng et al., 2023) is "No/No".

  • Comparison of prior sample complexities from Table 1: V-learning H⁶S(A+B)/ε²; Nash V-learning H⁷S(A+B)/ε²; Nash Q-learning H⁶SAB/ε²; PReFI H¹⁰S⁴(A+B)⁴/ε⁴; PReBO H⁶S²(A+B)/ε²; OMNI-VI H⁵S³A³B³/ε²; Nash-UCRL H⁴S⁴A²B²/ε²; Optimistic PO H⁵S²AB/ε²; VI-Explore H⁸S²AB/ε³; VI-ULCB H⁵S²AB/ε²; Nash-VI H⁴SAB/ε²; and Q-learning (Feng et al., 2023) reported as T + H² poly(SAB).

  • Motivating real-world scale example: The paper notes that in Go, 150 ≤ H ≤ 722, S = 2³⁶¹ and min{A,B} = 360 (Silver et al., 2017), and states that similar examples include Atari games and Poker. These are given as scenarios where the authors' conditions are satisfied.

  • Randomized and early-settlement mechanics: The algorithm adopts a linearly rescaled learning rate η_n = (H+1)/(H+n) and an exploration bonus of the form ι_n = c_b √((1/n)H³ log(SABT/δ)). Reference values V̄_h^R and V̲_h^R are updated when the gap V̄_h(s_h) − V̲_h(s_h) exceeds 1, or when a flag u_r(s_h) is True (the early-settlement rule).

Methodology in Plain English

The authors work in the tabular episodic setting of a finite-horizon two-player zero-sum Markov game, denoted M = (S, A, B, H, {P_h}, {r_h}), where S is the number of states, A and B are the action counts of the max-player and min-player, H is the horizon, rewards are deterministic and lie in [0,1], and each player runs K episodes so that T = KH samples are collected in total. The learning objective is the gap between the max-player's value against the min-player's best response and the min-player's value against the max-player's best response, averaged across episodes — a quantity that defines an ε-approximate Nash equilibrium, with the corresponding cumulative version defining regret.

The algorithm, ME-Nash-QL, keeps several Q-function estimates at once. During policy evaluation it maintains optimistic estimates with an exploration bonus (Q^UCB), pessimistic estimates (Q^LCB), reference-advantage decomposition estimates (Q̄^R and Q̲^R), and combined estimates (Q̄ and Q̲) formed by taking a min or max across these components. The combination step is designed to reduce bias without breaking the optimism or pessimism of the estimates. The update rules follow a Q-learning-style incremental form, mixing the old estimate with a target via the learning rate, and the bonus term is built from a UCB for one part of the error and an estimate of the one-step look-ahead reference value for another. The paper describes this as migrating from Q-learning with a UCB strategy to Q-learning with UCB/LCB strategies, and leveraging variance reduction via reference-advantage decomposition, previously used in single-agent settings, to shave an H factor off the sample complexity relative to Nash Q-learning.

During policy improvement, a new joint policy π_h is computed from the estimated value functions using a CCE (Coarse Correlated Equilibrium) computation over the upper and lower Q estimates, the value functions are updated, and the reference values are refreshed under the early-settlement rule. The final output is the pair of marginal policies ({μ_h}, {ν_h}) from {π_h}, which is what gives the algorithm its Markov and Nash character. The authors prove the memory, sample, computational, and burn-in guarantees via this combined design; the full proof details are beyond the truncated content available here.

Why This Matters

For theoretical MARL, this paper addresses several obstacles at once rather than trading one against another: it delivers memory, sample, and computational efficiency together with low burn-in cost and output policies that are both Markov and Nash. It advances the study of what is achievable in the absence of a generative model, since generative-model algorithms such as Q-FTRL were previously the leading route to optimal sample complexity in TZMG but require an unclear and restrictive sampling mechanism. It also provides a multi-player general-sum extension, which the authors frame as breaking the curse of multi-agent in the sense of achieving Õ(H⁴S ∏ A_i/ε²) dependence.

Real-world applications named in the paper:

  • Autonomous driving (Shalev-Shwartz et al., 2016)
  • Game playing (Silver et al., 2017)
  • Social systems (Baker et al., 2020)
  • The paper also cites Go, Atari games, and Poker as concrete large-scale examples where its conditions hold.

Industry relevance: The authors motivate the work by noting that online data collection, storage, and computation can be expensive, time-consuming, or high-stakes in these applications, making memory efficiency and low sample and computational complexity important in online MARL scenarios. Lower memory and burn-in costs matter in settings where an agent must act after limited interaction and cannot store per-sample histories.

Future Directions

  • Extending the memory-efficiency guarantees to broader classes of Markov games beyond the tabular two-player zero-sum setting considered here.
  • Formalizing the authors' multi-player general-sum extension — the paper states an Õ(H⁴S ∏_{i∈[M]} A_i/ε²) sample bound with M players, leaving room for sharper analysis of that regime.
  • Closing the gap between ME-Nash-QL's burn-in threshold Õ(SABH¹⁰) and the sample complexity level it targets, given that the reward is obtained only after that many samples.
  • Comparing experimentally against the algorithms in Table 1 — the paper is presented as a theoretical analysis, and no empirical evaluation is reported in the available content.

Target Audience

Researchers and graduate students in reinforcement learning theory, multi-agent reinforcement learning, and game theory who are interested in sample, space, and computational complexity guarantees for self-play algorithms. It is also relevant to practitioners working on multi-agent systems who need to understand which complexity trade-offs are provably achievable, though the paper's style assumes a strong mathematical background.

Authors’ abstract

The thriving field of multi-agent reinforcement learning (MARL) studies how a group of interacting agents make decisions autonomously in a shared dynamic environment. Existing theoretical studies in this area suffer from at least two of the following obstacles: memory inefficiency, the heavy dependence of sample complexity on the long horizon and the large state space, the high computational complexity, non-Markov policy, non-Nash policy, and high burn-in cost. In this work, we take a step towards settling this problem by designing a model-free self-play algorithm \emph{Memory-Efficient Nash Q-Learning (ME-Nash-QL)} for two-player zero-sum Markov games, which is a specific setting of MARL. ME-Nash-QL is proven to enjoy the following merits. First, it can output an $\varepsilon$-approximate Nash policy with space complexity $O(SABH)$ and sample complexity $\widetilde{O}(H^4SAB/\varepsilon^2)$, where $S$ is the number of states, $\{A, B\}$ is the number of actions for two players, and $H$ is the horizon length. It outperforms existing algorithms in terms of space complexity for tabular cases, and in terms of sample complexity for long horizons, i.e., when $\min\{A, B\}\ll H^2$. Second, ME-Nash-QL achieves the lowest computational complexity $O(T\mathrm{poly}(AB))$ while preserving Markov policies, where $T$ is the number of samples. Third, ME-Nash-QL also achieves the best burn-in cost $O(SAB\,\mathrm{poly}(H))$, whereas previous algorithms have a burn-in cost of at least $O(S^3 AB\,\mathrm{poly}(H))$ to attain the same level of sample complexity with ours.

Read the original paper