Real-world applications of modern AI systems require generalization to both unseen environments and novel human users. The field of zero-shot coordination (ZSC) has focused primarily on deploying AI to cooperate with novel partners in otherwise familiar environments. Popular population-based methods achieve this by partnering the agent with a diversity of simulated human users during training in a fixed environment, but does not consider the more realistic scenario where both the users and the environment are unseen during training. Recently, training across environments has been explored in training a single self-play agent, which shows better generalization on both novel human users and unseen environments. In this work, we ask whether jointly modeling partner diversity and environment diversity yields stronger coordination with novel partners in novel environments. We introduce Cross Environment Co-Play (CECP), a two-stage framework that first trains a population of self-play agents across a distribution of procedurally generated environments, and then trains a cooperator policy against this partner population. To further couple social and environmental reasoning, we add a next-state prediction module that encourages representations to encode both partner behavior and task structure. We evaluate CECP on both a neuroscience-inspired cooperative foraging task, and the popular ZSC benchmark Overcooked, under held-out partner and held-out environment conditions. CECP achieves the strongest performance among the compared baselines and attains state-of-the-art results under our evaluation protocol for human-AI collaboration. We analyze the model's latent representation encoded by the next-state prediction module, showing it can not only improve the performance of the cooperative AI, but also provide more interpretable latents, demonstrated by the inference of partner skill levels.
Figures & tables
Figure 1: An overview of CECP. a , Training paradigm. Partner agents are first trained via a self-play on a distribution of environments. Then, the CECP cooperator trains by partnering with the frozen partner population, training also on a distribution of environments. b, Architecture of the cooperator agent. CECP is equipped with a next-state prediction objective (blue). c, Latent representation in the cooperator agent. CECP latents form representations of partner behavior, such as inferred partner skill level.
Figure 2: Cooperative Foraging environment. Both agents (0 and 1) must reach and stay on the same goal (A or B).
Figure 3: Visualization of the Counter Circuit layout, one of the original 5 Overcooked layouts. Two chefs (blue and red) need to cooperate together to make and deliver the soups efficiently.
Figure 4: Performance of CECP along baseline methods in the Cooperative Foraging task across familiar/novel environment and partner settings. All previous methods, except CEC, which also adopts cross-environment training, fail on held-out environments. CECP shows additional robustness on socio-situational shift .
Figure 5: Example behavioral differences in a population of CEC agents, in a specific scenario in the Counter Circuit layout. a, an agent is holding an onion, facing left, under the rightward pot. b, averaged action distributions of CEC agents in the population, when faced with the scenario in a .
Figure 6: Performance on Overcooked layouts. a, Cross-play average returns of CECP and baselines across the 5 original Overcooked layouts. b, Average return of each method when paired with human proxy agents, trained via behavioral cloning (BC). c, Average return of each method when paired with humans. Significance assessed via two-sided Welch’s t-test, ***: p<0.001 , **: p<0.01 , *: p<0.05 .
Figure 7: Average participant rating in response to survey questions (Likert scale, 1-5) for each method, significance tested with Paired Wilcoxon signed-rank tests, with *: p<0.05 , **: p<0.01 , ***: p<0.001
Figure 8: Comparison of CECP performance during training, with predictive next-state module (orange) vs. without (blue). Shaded regions depict standard deviation across agents.
Figure 9: CECP partner movement prediction accuracy from next state predictions. a, prediction accuracy across episodes/timesteps for both AI training partners and human participants. b, correlation between CECP’s prediction accuracy of human movements, and episode performance.
Figure 10: Skill level representation in CECP latents. a, prediction accuracy of partner training stage across time steps in the episode, showing the latent variable z of CECP does better representation learning than the hidden layer vector of CEC. b, latent activity trajectories per episode visualized in principal component space, colored by partner checkpoint stage (early vs. late). Bold lines depict averaged activity trajectories per checkpoint stage, lighter lines depict 20 sub-sampled trajectories. Black dots depict activity states at the beginning of the episode. c, Participant’s self-reported experience with Overcooked grouped by the skill level inferred by the CECP partner during interaction, using the same decoders trained in a .
Figure 11: Averaged action distributions of an example CECP agent at a specific state in the Coordination Ring layout, with a partner in either the early, middle, or late stages of training. a, state illustration. CECP (ego) agent in red, partner agent in blue, at various training stages. b, CECP (ego) agent’s averaged action distribution at this state, for each of the partner training stages. The CECP agent adjusts what action to take based on the partner’s skill level, preferring to turn ‘up’ and drop the final onion in the upper pot if the partner is less trained, in order to complete at least one soup. With more expert partner’s, the CECP agent takes the more efficient action of dropping its onion in the closest available pot by using ‘interact’.
hyperparameter
value
CNN kernels
[2, 2], [2, 2]
CNN channels
[64, 32]
encoder FC sizes
[512, 512]
readout size
256
recurrent layer type
LSTM
recurrent layer size
256
Table 1: Hyperparameters for CECP Cooperator
Figure 12: Comparison of agent-by-agent cross-play returns of CEC agents (left) and CECP agents (right) on the cooperative foraging task, on held-out goal locations. Agents in each heatmap are trained with the same method, but different initial seeds. Diagonals depict self-play results. The reduced gap between diagonal and off-diagonal items shows CECP improves robustness to novel partners compared to CEC.
Layout
CECP
FCP
MEP
CoMeDi
Asymmetric Advantages
0.387 (0.151)
0.242 (0.067)
0.370 (0.069)
0.389 (0.079)
Coordination Ring
0.245 (0.089)
0.384 (0.152)
0.409 (0.124)
0.456 (0.169)
Counter Circuit
0.334 (0.131)
0.377 (0.137)
0.366 (0.136)
0.493 (0.179)
Cramped Room
0.222 (0.093)
0.261 (0.104)
0.336 (0.120)
0.467 (0.155)
Forced Coordination
0.308 (0.127)
0.281 (0.112)
0.200 (0.005)
0.342 (0.088)
All layouts
0.299 (0.089)
0.309 (0.067)
0.336 (0.005)
0.429 (0.079)
Table 2: Diversity of each method’s partner populations on Overcooked. Each cell reads JSDpop ( minJSDpair ). Populations of 8 agents per method.
Figure 13: Two example scenarios where CECP’s partner population exhibits distinct conventions, for the Coordination Ring (a) and Counter Circuit (b) layouts. Top, the position, orientation, and item status of the agents in interest. Bottom, the the average action distributions of each agent in the partner population.
Trials
Layout
Train
Test
Asymmetric Advantages
14
5
Coordination Ring
13
5
Counter Circuit
13
5
Cramped Room
14
5
Forced Coordination
9
3
Table 16
hyperparameter
value
hidden layer sizes
[64, 64]
number of MLP layers
2
learning rate
0.001
batch size
64
training epochs
100
Table 3: Hyperparameters for BC human proxy models
Figure 14: Visualization of the original 5 Overcooked environments. In Overcooked, two chefs need to cooperate together to make and deliver the soups efficiently.
Figure 15: Cross-play average returns split by the original 5 Overcooked layouts
Figure 16: Average returns when partnering with human proxies, split by the original 5 Overcooked layouts
Figure 17: Example next-state prediction from a CECP agent (red), coordinating with a partner (blue). At state st (left), in order to fully predict the true next state st+1 (middle), CECP’s prediction (right) must capture both the blue partner’s action to put the onion in the pot, and the environment transition of onions in the pot increasing by 1.
Figure 18: Average mutual information between a CECP agent’s action and the partner’s training stage, averaged uniformly over selected states, for each of the five original Overcooked layouts. Solid bars: true partner-stage labels. Hatched bars: shuffled null. Bars show the mean over the 8 CECP agents of the population; error bars are SEM. ∗∗∗ : p<0.001 by permutation test; for every agent on every layout
Figure 19: Averaged action distributions of example CECP agents at specific states, when the partner is in the early/middle/late stages of training. Example states for Cramped Room (a) and Coordination Ring (b). Left, state illustration, CECP (ego) agent in red, partner agent in blue, at various training stages. Right, CECP (ego) agent’s averaged action distribution at this state, for each of the partner training stages.
While AI agents are rapidly advancing from isolated tools to interactive collaborators, data-driven human-machine teaming (HMT) methods remain costly in their reliance on human interaction data across domains, teammates, and team sizes. Zero-shot coordination (ZSC) addresses this bottleneck by simulating diverse partner populations to approximate how unseen partners might behave. However, partner coverage alone is insufficient as team settings scale and communication becomes degraded. To remedy this deficiency, we propose Influence-Based Team Steering (IBTS), a framework that uses influence shaping to incentivize agents to discover diverse, high-performing team interaction patterns and further steers ongoing trajectories toward stronger learned coordination modes. We assess IBTS on Overcooked-AI in both two-agent and three-agent settings, allowing us to test whether learned coordination structure transfers beyond dyadic interaction. Our evaluation includes simulated partners, synthetic partner-style variation, and, to our knowledge, the first 30-subject Overcooked-AI HMT study involving two real human teammates and one machine teammate. Across these evaluations, IBTS improves team performance against competing baselines, highlighting the need for scaled ZSC to combine sparse-reward coordination mechanisms with partner-variation coverage rather than relying on diversity alone.
Zero-shot coordination (ZSC) aims to enable agents to cooperate with independently trained partners without prior interaction, a key requirement for real-world multi-agent systems and human-AI collaboration. Existing approaches have largely emphasized increasing partner diversity during training, yet such strategies often fall short of achieving reliable generalization to unseen partners. We introduce State-Blocked Coordination (SBC), a simple yet effective framework that improves ZSC by inducing diverse interaction scenarios without direct environment modification. Specifically, SBC generates a family of virtual environments through state blocking, allowing agents to experience a wide range of suboptimal partner policies. Across multiple benchmarks, SBC demonstrates superior performance in zero-shot coordination, including strong generalization to human partners.
Mingu Kang, Sunwoo Lee, Yonghyeon Jo +1
Graduate School of Artificial Intelligence UNIST Ulsan, South Korea 44919
AI agents deployed in real-world settings must be capable of coordinating with humans and other AI agents they have not encountered before. Zero-shot coordination (ZSC) algorithms aim to achieve this by specifying high-level learning rules such that independently engineered agents can coordinate with each other at test time. Rigorous evaluation of ZSC algorithms remains difficult: ideally, multiple independent implementations of each proposed algorithm must be used, reflecting the variation that arises when independent parties interpret and implement the same specification. In practice, however, ZSC algorithms have almost exclusively been evaluated using a single implementation trained across different random seeds, with only a handful of works additionally varying the neural network architecture. This leaves open questions about robustness to specification ambiguities and implementation details. In this work, we provide the first systematic evaluation of this robustness. We introduce a new evaluation scheme, cross-implementation cross-play, varying implementation details that prior work has shown to affect the performance of multi-agent reinforcement learning (MARL) algorithms, and we evaluate Other-Play, a popular ZSC algorithm, with this scheme. Our findings are encouraging and suggest that, for Other-Play, the standard ZSC evaluation is, in fact, a reasonable proxy for this more thorough cross-implementation evaluation.
Maksymilian Wolski, Nicholas Hoernle, Johannes Forkel +1
ProrokLab University of Cambridge United Kingdom · QuantCo · BOLD† University of Oxford United Kingdom