5.2.12 · D5Deep & Advanced RL

Question bank — Multi-agent reinforcement learning

1,510 words7 min readBack to topic

Before you start, a two-line refresher on the vocabulary so no symbol is unearned:

Recall Vocabulary you'll need on this page
  • Joint action ::: the tuple of everyone's simultaneous action; the environment's next state depends on this whole tuple, not on any single agent's move.
  • ::: "all policies except agent 's" — the crowd agent is playing against.
  • Non-stationarity ::: from one agent's viewpoint the effective transition changes over time because opponents keep changing their policies while learning.
  • Nash Equilibrium (NE) ::: a joint policy where no agent can improve by changing only its own policy — the game-theoretic replacement for "optimal policy".
  • CTDE ::: Centralized Training, Decentralized Execution — a coach sees everyone during training; each agent acts alone at test time.

True or false — justify

TF: In a Markov game, if the framework becomes an ordinary MDP.
True. With one agent the joint action is just and the transition/reward lose all dependence on other agents, recovering the MDP tuple exactly.
TF: A Nash equilibrium is always the best possible outcome for every agent.
False. NE only means no one gains by unilateral deviation; a jointly better outcome may exist (e.g. Prisoner's Dilemma), but no agent can reach it alone — see Game Theory & Nash Equilibrium.
TF: In a fully cooperative game all agents share one reward, so they automatically avoid non-stationarity.
False. Shared reward aligns goals, but each agent still sees opponents' changing policies inside , so the environment still moves under its feet.
TF: A stochastic game can have more than one Nash equilibrium.
True. Coordination games have several (e.g. "both pick A" and "both pick B"), which is exactly why decentralized agents may fail to agree on which one to converge to.
TF: In a zero-sum two-player game, , so the sum of the two value functions is zero in every state.
True by construction of the rewards — one agent's gain is exactly the other's loss at every step, so the discounted returns are negatives of each other.
TF: Q-Learning's convergence proof still applies to each agent if we simply run independent DQN per agent.
False. The proof assumes a stationary transition; with learning opponents is non-stationary, so the guarantee is void — this is the Independent-Q-Learning (IQL) trap.
TF: The CTDE critic removes non-stationarity because it takes the whole joint action as an explicit input.
True. If every agent's action is a named input, nothing about the value is "hidden" behind a changing opponent policy, so the critic's target is stationary.
TF: QMIX's monotonic mixing network guarantees the centralized greedy action equals the per-agent greedy actions.
True. If for all , raising any local can only raise , so local argmaxes assemble the global argmax — that's the IGM property.
TF: Self-Play makes an agent's environment stationary because it always plays a copy of itself.
False. The opponent copy is also improving, so the effective opponent policy keeps changing — self-play is a source of non-stationarity, not a cure for it.

Spot the error

Error: "We store transitions in a replay buffer, so old opponent data helps agent learn faster."
Old transitions were generated by stale opponent policies; they describe a game that no longer exists, so they teach the wrong lesson. Replay + non-stationarity is the classic IQL failure.
Error: "MADDPG's actor gradient is for some other agent ."
Wrong index. The chain rule links my params to my action, so it must be evaluated at — you only push through your own action.
Error: "Because Rock–Paper–Scissors is symmetric, a pure strategy like always-Rock is a Nash equilibrium."
No pure strategy is NE here: any fixed choice is beaten by a best response (Paper beats Rock), so the opponent has a profitable deviation. The unique NE is uniform mixing .
Error: " is fine for QMIX since it's built from the individual s."
A product is not monotone when a factor is negative — raising a positive can lower if the other factor is negative, breaking IGM. That's why QMIX forces nonnegative mixing weights.
Error: "The centralized critic must also be used at execution time so agents keep seeing the joint action."
The whole point of CTDE is decentralized execution: at test time each agent uses only from its local observation. The centralized critic is a training-only scaffold.
Error: "Nash equilibrium means every agent is playing its globally optimal policy."
NE is a best response to the others, not a global optimum. Change the opponents and your NE policy may become terrible; it is a fixed point, not an absolute maximum.

Why questions

Why can't we just define "the optimal policy" in MARL like we do in single-agent RL?
There is no single objective — each agent has its own value with possibly conflicting incentives, so "optimal" is replaced by NE, a mutual best-response fixed point.
Why does CTDE use a critic that sees the global state but keep the actor local?
The critic only needs to give an accurate, stationary learning signal during training; the actor must run in the real world where agents can't see each other, so it may depend only on .
Why does non-stationarity specifically break the replay buffer, not just the online update?
Replay reuses many past transitions; those were sampled under old opponent policies, so as opponents drift the buffer fills with data describing environments that no longer exist.
Why do we split MARL into cooperative / competitive / mixed regimes at all?
The learning dynamics and even what "success" means depend entirely on whether interests align — cooperation seeks a shared max, zero-sum seeks a minimax saddle, and mixed needs equilibrium reasoning.
Why is monotonicity (not just any mixing function) the condition QMIX enforces?
Monotonicity is exactly enough to make local greedy action selection agree with global greedy selection (IGM), which is what decentralized execution requires — a non-monotone mixer could make agents disagree.
Why does conditioning the critic on the joint action, rather than just the state, fix non-stationarity?
With as an explicit input, the value no longer depends on an unknown, changing opponent policy — the opponents' actions are named arguments, so the mapping is fixed. See Actor-Critic Methods.

Edge cases

Edge: What happens to the Markov-game framework at the boundary ?
Discounting vanishes, returns become undiscounted sums that may diverge in infinite-horizon games; that's why the definition restricts to keep values finite.
Edge: In a fully cooperative team with identical rewards, is IGM automatically satisfied?
No — shared reward gives a common , but you still need a mixing structure (e.g. monotone) so that per-agent argmaxes reconstruct the joint argmax; alignment of goals doesn't guarantee IGM.
Edge: If two agents in a coordination game both stick to action A forever, is that a Nash equilibrium even if action B pays more when coordinated?
Yes it can still be an NE: neither agent can improve by switching alone (switching to B alone breaks coordination and pays less), so "both A" is a locally stable fixed point — a suboptimal one.
Edge: In a two-player zero-sum game, can there be an agent who has no incentive to randomize (a pure NE)?
Yes, when a saddle point exists in pure strategies (a game with a "value" achieved by pure minimax choices). Mixing is only forced when no pure saddle exists, as in Rock–Paper–Scissors.
Edge: With agents each having actions, how does the joint action space scale, and why does that matter for a centralized critic?
It grows as (exponential in ), so a critic taking the full joint action becomes intractable for many agents — motivating factorization methods like QMIX and value decomposition.