Skip to content
MARL in Cooperative Environments
Edit this page

3.13Adapt Worksheet

3 min read

This five-part digital activity consolidates the chapter’s approach to partner generalization. You will match adaptation concepts to their applications, calculate a familiar-to-unseen generalization gap, and analyze a cross-play table. An interactive graph compares familiar and held-out partner performance for specialist, generalist, and adaptive agents. The final prompt asks you to weigh specialization against robust deployment performance. Every earlier item is automatically checkable.

What you will be able to do

  • Match partner-generalization concepts to their use in cooperative MARL. Understand
  • Calculate simple measures of familiar and unseen-partner performance. Apply
  • Interpret results across different partners. Analyse
  • Evaluate the trade-off between specialization and partner generalization. Evaluate

Drag each block into a slot, or tap one and then tap a slot.

  1. Train with several different partner policies.

  2. Infer how another agent is likely to behave.

  3. Cooperate with previously unknown agents.

  4. Evaluate with an unseen partner, without prior joint training.

  5. Pair policies that were not trained together and measure the result.

The worksheet diagnostic from Partner Generalization: Δgen=Jfamiliar−Junseen\Delta_{\text{gen}} = J_{\text{familiar}} - J_{\text{unseen}}.

Agent A scores Jfamiliar=92J_{\text{familiar}} = 92 and Junseen=68J_{\text{unseen}} = 68. Calculate Δgen\Delta_{\text{gen}}.

Agent B scores Jfamiliar=86J_{\text{familiar}} = 86 and Junseen=79J_{\text{unseen}} = 79. Calculate its gap.

Percentage success. The diagonal is each policy with its own training partner.

P1P2P3P4
A94816572
B80938479
C61869588
D70828596

Calculate policy B’s mean over the three partners it did not train with.

%

Now the same for policy A.

%

4 · Explore Familiar and Unseen-Partner Performance

Section titled “4 · Explore Familiar and Unseen-Partner Performance”

Real results from the Adapt Lab: three agents, 40-step episodes, orders served. mostly-fetch is a held-out partner that behaves much like a training partner. alternate is a held-out partner that does not.

  • Familiar mean
  • mostly-fetch (near)
  • alternate (far)
Orders served against Agent. Familiar mean: Specialist 28.8, Generalist 38.8, Adaptive 35.8. mostly-fetch (near): Specialist 29, Generalist 28, Adaptive 25. alternate (far): Specialist 0, Generalist 0, Adaptive 2 09.719.429.138.8SpecialistGeneralistAdaptiveAgentOrders served

By how much does the Generalist beat the Specialist on familiar partners?

orders

5 · Evaluate the Specialization Trade-off

Section titled “5 · Evaluate the Specialization Trade-off”

A fixed-partner agent achieves 96% with its training partner and 54% with unseen partners.

A diverse-partner agent achieves 90% and 82% respectively.

Which would you deploy in a system where partners change frequently, and what trade-off are you accepting?

AnswersReveal
Answer to 1.

Partner diversity · agent modelling · ad hoc teamwork · zero-shot coordination · cross-play, matched to the descriptions in order.

Answer to 2.1.

92−68=2492 - 68 = 24.

Answer to 2.2.

86−79=786 - 79 = 7.

Answer to 3.1.

80+84+793=81\tfrac{80 + 84 + 79}{3} = 81.

Answer to 3.2.

81+65+723=72.7\tfrac{81 + 65 + 72}{3} = 72.7.

Answer to 4.1.

38.8−28.8=1038.8 - 28.8 = 10 orders.

Answer to 5.1.

No single right answer.

The diverse agent, in a system where partners change frequently. 82 against 54 on unseen partners is a 28-point difference, and unseen partners are the common case by assumption.

The trade-off: 6 points of peak performance with a familiar partner, 96 down to 90. You are giving up the ability to exploit one partner’s habits in exchange for competence across a range, which is the cost Training Partner Diversity named.

A strong answer also notes what the numbers omit: how the unseen partners were chosen. If they resemble the training partners, both figures are optimistic and the 82 in particular cannot be trusted.

Revisit the 10 key concepts, equations, and intuitions from this chapter.

Open Adapt Flashcards