5.2.12 · D3Deep & Advanced RL

Worked examples — Multi-agent reinforcement learning

2,927 words13 min readBack to topic

The scenario matrix

Before solving, let us lay out every cell a MARL problem can land in. Each worked example below is tagged with the cell(s) it fills.

Cell Reward regime What is being asked Degenerate / edge feature
A Competitive (zero-sum) Find the mixed Nash equilibrium No pure best response exists
B Cooperative Find the joint optimum & check IGM Miscoordination penalty
C Mixed / general-sum Find a pure Nash (maybe more than one) Multiple equilibria
D Any Show independent Q-learning gives a stale target Replay buffer holds old opponent data
E Cooperative Test whether a mixer satisfies IGM Non-monotone mixer breaks it
F Any (CTDE) Compute a centralized-critic policy gradient Numeric chain-rule
G Competitive Limiting case: collapses to an MDP Degenerate agent count
H Mixed Real-world word problem (traffic / auction) Self-interest vs shared good

Eight cells, eight (plus a bonus) worked examples. Let us fill them all.


Cell A — Competitive: mixed Nash of a zero-sum game


Cell B — Cooperative: joint optimum with a miscoordination trap


Cell C — Mixed / general-sum: multiple pure Nash


Cell D — Non-stationarity: the stale replay-buffer target


Cell E — Value factorization: does the mixer satisfy IGM?


Cell F — CTDE: numeric centralized-critic policy gradient


Cell G — Degenerate limit: collapses to an MDP


Cell H — Real-world mixed word problem (traffic)


Wrap-up: the scenario map

competitive

cooperative

mixed

stale target

gradient

MARL problem

Which reward regime

mixed Nash cell A

joint argmax IGM cells B E

pure Nash maybe many cells C H

Training question

IQL breaks cell D

MADDPG chain rule cell F

Limit N equals 1

reduces to MDP cell G

Recall Which cell matches "two friends want to meet but disagree where"?

General-sum with multiple pure Nash — Cell C (Bach-or-Stravinsky) / Cell H (traffic merge).

Recall Why does the additive mixer

guarantee IGM but may not? A sum is always monotone in each part (); a product's slope is the other value, which can be negative — Cell E.


Active-recall flashcards

What is the mixed Nash of Rock–Paper–Scissors and its game value?
Uniform for both players; value .
In Cell D, after the opponent switches , what is the true reward for and the correct updated ?
True reward ; correct (stale buffer wrongly keeps ).
Why does QMIX force non-negative mixing weights?
To keep (monotonicity), which guarantees IGM; a product/negative-weight mixer can break it (Cell E).
For the MADDPG numeric example, what is and which way does move?
; gradient ascent decreases , pushing from toward the critic peak .
How many pure Nash equilibria does the traffic-merge game have?
Two — and .