Skip to content
mlmentorship

Multi-agent reinforcement learning

Learning when other agents change the environment: non-stationarity, credit assignment, coordination, competition, and evaluation.

Published · 7 min read ·Specialist ·Advanced
Reading depth

Summary

Joint evidence can help train local actors; it cannot supply facts unavailable when those actors execute.

Problem

Two cooperative agents choose A or B from separate observations. For one fixed state, their local action values are and . Compare additive and positive-weight team values, then test whether perfect self-play predicts success with an unfamiliar partner.

Centralized training, decentralized execution

Training may use global state and joint actions; deployed actors use only permitted local observations, history or declared messages. The drawing uses the simple observation-only case.

Learning objective

The centralized critic trains local policies but is absent during execution

Training can see joint information that execution cannotThe centralized critic uses joint state during training. Each deployed actor must act from its allowed local observation without that critic.Joint training information is absentfrom the deployed actorTraining: centralized critic hasjoint statejointlocalExecution: actor has localobservation only-local
Derivation
Centralized training and decentralized execution information paths During training, agent one and agent two each map a local observation to an action. A centralized critic additionally receives global state and both actions, then sends dashed learning signals back to both policies. During execution, the critic and global state are absent. Each trained policy independently maps only its own local observation to its own action. TRAINING · extra information may shape the update Agent 1 seeslocal o₁ Policy π₁parameters θ₁ Actiona₁ Agent 2 seeslocal o₂ Policy π₂parameters θ₂ Actiona₂ Global states Centralized criticQᵢ(s, a₁, a₂) dashed: learning signal updates policies during training EXECUTION · the critic and global state are not inputs local o₁ trained π₁uses o₁ only a₁ local o₂ trained π₂uses o₂ only a₂
follow each local observation into its action. Dashed training signals can use joint evidence; below the divider, no critic/global-state input reaches either actor.
Check: At execution time, can policy 1 read global state or the centralized critic? What information shaped it only during training?
Read it this way: The centralized critic uses joint state during training. Each deployed actor must act from its allowed local observation without that critic.
Can the deployed actor call the centralized training critic?

Calculate Local Choices and Team Values

Agent 1 greedily chooses A, while agent 2 chooses B.

Joint choiceVDN: Positive mixer:
A, A24
A, B57
B, A12
B, B45

Both team functions are maximized by the independent choices here. Hold the state fixed and assume independent feasible action sets. Nonnegative mixer derivatives let local greedy choices attain a joint maximum:

QMIX uses this monotonicity constraint; it restricts representable team values. It does not identify each agent’s causal contribution or guarantee equilibrium.

Check a Convention Outside Self-Play

In a separate game, both agents receive one only when their symbols match. A learned actor always chooses A.

PartnerExpected payoff
Self-play partner always A1
Held-out partner equally A or B0.5

Perfect self-play did not establish partner generalization. This is an exact toy expectation, not an agent-training experiment.

Change 1: Unfamiliar or Adapting Agents

New task. Deployment partners or opponents differ from training.

Picture and change. Broaden populations and cross-play, including held-out conventions and exploiting policies.

Check. Stable self-play averages can conceal cycles or narrow conventions.

Use when. Training policies do not represent deployment.

Change 2: Communication Disappears

New task. A shared channel disappears or messages arrive late.

Picture and change. Restrict actor inputs, retrain permitted memory/communication and test missing/delayed messages.

Check. A privileged training critic cannot supply missing runtime information by itself.

Use when. The information boundary changes.

Failure: Training Privilege Leaks into Execution

An actor requiring unavailable global state violates decentralized execution. A team reward also does not automatically solve credit assignment or coordination.

Transfer Check

Must the joint transition law change merely because two agents exist?

Reasoned Answer

No. A stationary joint game can induce changing individual dynamics when other agents’ policies change.

Why it is harder than single-agent RL

Let be joint state, agent ‘s observation, and the joint action. Specify transition law , rewards , communication and policy versions. State which agents learn and whether incentives are cooperative, competitive or mixed.

ChallengeDistinct question
Non-stationarityWhich other policies change the agent’s induced observations/transitions?
CreditWhich action contributed to shared return?
Partial observationWhat local information/history is missing?
CoordinationWhich conventions coexist?
OpponentsHow can others strategically respond?
EvaluationWhich partners, seeds and exploiters are genuinely held out?

Cooperative and competitive methods

VDN adds local values; QMIX conditions a monotonic mixer on training evidence. Neither represents every team payoff nor repairs missing local facts. MADDPG uses centralized action critics with decentralized actors. Self-play, leagues and population sampling broaden experience, not guarantee robustness or Nash equilibrium.

In an interview

  1. Name changing policies and incentives.
  2. Declare joint/local information and message permissions.
  3. Trace training versus deployment inputs.
  4. Check credit, coordination and communication failures.
  5. Report cross-play, seeds, adaptation and exploiting policies.

Common confusions

Multiple fixed policies do not automatically imply a changing joint transition law. Privileged critics, monotonic mixing and population generalization solve different problems.

Sources

Related: actor-critic methods, exploration versus exploitation, and PPO.