V-Learning—A Simple, Efficient, Decentralized Algorithm for Multiagent Reinforcement Learning: Independent V-Learning Finds a Coarse Correlated Equilibrium with Gap O((H²S/K)Ξ(A,K/S,ι) + √(H⁵Sι/K))Research Paper
Motivation
In multi-agent reinforcement learning several agents act in a shared, changing environment, each pursuing its own reward. The standard model is the Markov game (stochastic game), going back to Shapley (1953). When agents learn from experience rather than from a known model, the natural target is an equilibrium of the game, and the natural question is how many episodes of play are needed to find one.
Before V-learning, sample-efficient algorithms for general-sum Markov games were centralized and model-based: they estimated quantities indexed by the joint action, so their sample complexity grew with , exponentially in the number of players . This is the curse of multiagents. Jin, Liu, Wang and Yu (arXiv:2110.14555, journal version in Mathematics of Operations Research, 2024) introduced V-learning, in which every agent runs its own simple algorithm, sees only its own reward and the states, and never needs the other agents' actions. Theorem 6 of the paper shows that the agents' combined output is an approximate coarse correlated equilibrium (CCE) after a number of episodes polynomial in , and only.
Timeline:
- 2018: Jin, Allen-Zhu, Bubeck and Jordan analyse optimistic Q-learning with the learning rate , the rate V-learning reuses (arXiv:1807.03765).
- 2020: Bai and Jin (arXiv:2002.04017) and Xie et al. give the first sample-efficient algorithms for two-player zero-sum Markov games, based on optimistic value iteration. Bai, Jin and Yu (arXiv:2006.12007, NeurIPS 2020) introduce V-learning, coupled with FTRL, for Nash equilibria of two-player zero-sum games.
- 2021: Liu, Yu, Bai and Jin (arXiv:2010.01604, ICML 2021) learn Nash, CE and CCE of multi-player general-sum games with a centralized model-based method in episodes.
- 2021: the present paper (arXiv v1, 27 October 2021) presents V-learning as a generic class of algorithms with any adversarial bandit subroutine and proves Theorem 6; two concurrent works (references [32] and [47] of the paper) obtain CCE guarantees for V-learning-style algorithms with one more factor of .
Setting
A tabular episodic -player Markov game has states, episodes of steps, and actions for player ; . At step in state the players choose actions simultaneously, forming a joint action ; player receives the deterministic reward , and the next state is drawn from . Every episode starts at a fixed state .
A joint policy may be correlated: the players share a random seed. is player 's expected total reward. The best response value is the largest value player can obtain by switching to a policy of its own, independent of the shared seed, while the others keep playing . A joint policy is an -CCE if .
V-learning (Algorithm 1). Each player keeps, for every state and step , a visit count , a value estimate and an adversarial bandit algorithm. After visiting at step for the -th time it updates
with and a bonus , and feeds the loss of its own action to the -th bandit, whose next strategy becomes the policy at . The weights express as a weighted average of past updates.
The bandit subroutine must satisfy Assumption 1: against any adaptive adversary with noisy, conditionally unbiased feedback, with probability at least the -weighted regret after rounds is at most , where is non-decreasing in the number of arms and has a partial-sum upper bound concave in .
The output policy (Algorithm 3) samples an episode index uniformly from ; at each step, in state with earlier visits in episodes , it samples with probability , sets , and plays the policies the players held at the beginning of episode . For the CCE all players use the same sample (shared seed, §5.1).
Formalization targets
Goal: Theorem 6
With and bonuses satisfying for , with probability at least
The goal leaves the bandit algorithm abstract: it holds for every subroutine satisfying Assumption 1.
Milestones
- Lemma 10: the properties of the weights .
- Lemma 11: as a weighted sum of past updates.
- Lemma 12: Assumption 1 transported to every -bandit of the run, with failure probability .
- Lemma 13 (optimism): .
- Lemma 14 (pessimism): for the analysis-only estimate .
- The summed gap (p. 24).
Two further steps of the proof of Theorem 6 are included as items without milestone status: the one-step recursion of (p. 23) and the pigeonhole bound on the summed bonus terms (pp. 23–24).
Significance
With the FTRL subroutine of the paper (Corollary 19: ), Theorem 6 gives an -CCE after episodes, against for the earlier centralized method. The same analysis, with a swap-regret subroutine, gives correlated equilibria (Theorem 7) and, specialized to two players with opposite rewards, Nash equilibria of zero-sum games (Theorem 5). The algorithm is decentralized: each agent's computation depends only on the visited states and its own actions and rewards.
The result is proved in the paper; to our knowledge no part of it has been machine-checked. A formalization adds a precise statement of what "independent learning finds a CCE" means for non-Markov, history-dependent output policies, and of the adversary class Assumption 1 must cover for the reduction from the Markov game to the bandits to go through. It also makes explicit the boundary cases the paper leaves implicit (first visits, the last step, the initialization of ).
Difficulty
The deterministic steps (Lemmas 10–11, the recursion and the pigeonhole bound) are algebra on weighted sums. The difficulty is probabilistic. Lemma 12 must view each -bandit as playing against an adversary formed by the rest of the run: the other players, the transitions and the player's own other bandits, all adapted to the past. Lemmas 13 and 14 need concentration of -weighted martingale sums over random visit times, uniformly over all states, steps, episodes and players.
The best response is the other obstacle. The output policy is not Markov: it carries a latent episode index. The opponent of may use the whole history of states and joint actions, and the best response to a non-Markov policy is not given by a Bellman equation. Lemma 13's step (v) handles this; the obvious per-state argument does not apply.
Formalization scope
Everything is finite and real-valued. States, players, actions, steps and episodes are Fin types; steps and episodes are 0-based, so the cap is H - h. The bandit rule is a deterministic function from the feedback history to a probability vector, starting uniform. The adversaries of Assumption 1 range over a finitary class: private randomness in an arbitrary finite type, losses chosen from the past before the learner's action, and conditionally unbiased feedback in . The training law is a finite product of policy and transition probabilities, and every probability is a finite sum over episode sequences. The best response is a supremum over deterministic history-dependent deviations, taken outside the average over the output policy's initial index. and are read with a universal lower constant before every instance and an -constant depending only on the upper constant .
Added hypotheses, each disclosed in its item: nonnegative bonuses; ; per-player bandit rules sharing one ; in the pigeonhole step and the summed-gap milestone; in milestone 6, whose printed form is false without it. The output policy's convention at a first visit () keeps the current index and plays the uniform initial policy.
Two formalizations would trivialize the goal and are ruled out: an Assumption 1 that no algorithm satisfies (a sorry-free check shows every valid rule satisfies it with ), and a best response averaged per latent index or restricted to Markov deviations.
Needed infrastructure: weighted martingale concentration (Azuma–Hoeffding is on the platform), finite-sum manipulation of the training law, and Jensen's inequality for concave functions. Contributions to any milestone are welcome; the deterministic milestones 1, 2 and 6, and the recursion and pigeonhole steps, are independent of the probabilistic ones.
Selected references
- C. Jin, Q. Liu, Y. Wang, T. Yu, V-Learning—A Simple, Efficient, Decentralized Algorithm for Multiagent RL, arXiv:2110.14555v1, 2021; Mathematics of Operations Research, 2024. https://arxiv.org/abs/2110.14555
- C. Jin, Z. Allen-Zhu, S. Bubeck, M. I. Jordan, Is Q-learning Provably Efficient?, NeurIPS 2018. https://arxiv.org/abs/1807.03765
- Y. Bai, C. Jin, Provable Self-Play Algorithms for Competitive Reinforcement Learning, ICML 2020. https://arxiv.org/abs/2002.04017
- Y. Bai, C. Jin, T. Yu, Near-Optimal Reinforcement Learning with Self-Play, NeurIPS 2020. https://arxiv.org/abs/2006.12007
- Q. Liu, T. Yu, Y. Bai, C. Jin, A Sharp Analysis of Model-based Reinforcement Learning with Self-Play, ICML 2021. https://arxiv.org/abs/2010.01604
- L. S. Shapley, Stochastic Games, PNAS 39(10), 1953. https://doi.org/10.1073/pnas.39.10.1095