betaFeedback

WorksComputer Science

Grounded Joint-Attention Other-Play for Zero-Shot Coordination

Abstract

Joint attention - the human ability to share a common visual or cognitive focus with others - enables a meeting of minds that lets us coordinate even with unfamiliar partners. In this work we investigate whether equipping AI agents with a similar mechanism can enable such zero-shot coordination. We introduce Mutual Attention for zero-shot TEaming (MATE): a novel multi-agent reinforcement learning method inspired by human joint attention. MATE encourages agents to coordinate their actions by aligning their visual attention on scene-salient objects during the interaction rather than relying on arbitrary partner-dependent conventions established during training. Unlike symmetry-breaking approaches that merely prevent brittle conventions from emerging, MATE actively promotes coordination through an environment-grounded signal that is naturally shared across partners. We evaluate MATE on three benchmarks: our Card Alignment Game, designed to isolate brittle convention formation, and the more challenging Level-Based Foraging and OvercookedV2 benchmarks. Our experiments consistently show that a joint-attention-inspired signal improves coordination with unknown partners, underlining MATE's potential as a general coordination mechanism that complements and surpasses symmetry-breaking approaches.

Introduction

One of the most common approaches for training agents in multi-agent reinforcement learning (MARL) is self-play (SP) Tesauro [33], in which agents learn by interacting with a copy of themselves. Despite yielding strong results in competitive [28, 4, 36, 3] and cooperative settings [9] (Hu and Foerster 2020; Yu et al. 2022), agents trained via SP struggle to generalise to novel partners [7, 31] (Hu et al. 2020). This motivates research on zero-shot coordination (ZSC): coordinating with unseen partners without prior coordination [30] (Hu et al. 2020). ZSC performance is usually evaluated in cross-play (XP) by pairing agents from independent training runs. Performance degrades substantially (Hu et al. 2020) when agents approach the same task through incompatible arbitrary conventions that break environment symmetries [13]. Consider two players tasked with picking the same card out of five without explicit communication (see Figure 1). Within a training run, two agents may converge on a shared convention, such as “always pick green”, while an agent from a different run may have learned to “always pick purple”. When paired, neither agent knows which convention the other learned, and they fail to coordinate. Solving ZSC thus requires coordination signals that a novel partner can independently recover, rather than conventions tied to a training run. To solve this issue, humans use joint attention as a social signal to dynamically resolve ambiguity and establish the relevant object of joint action [34, 6]. In the card example, humans would look at their intended card and track their partner’s gaze to successively converge on a joint choice. This succeeds even between strangers because human joint attention generalises across partners, providing a cue that is produced within the ongoing interaction and that can be interpreted in context. We hypothesise that joint attention could play a similar role for AI agents and ask:

Illustration of self-play, other-play, and MATE for zero-shot coordination

Figure 1. Zero-Shot Coordination using joint attention. Alice and Bob, trained independently, must pick the same card without explicit communication. Self-play agents commit to arbitrary conventions, other-play agents have no signal at all to coordinate on, while MATE agents read each other’s attention and converge on a shared choice.

Can joint attention serve as a coordination signal for independently trained partners at test time?

We propose Mutual Attention for zero-shot TEaming (MATE), a novel multi-agent reinforcement learning method inspired by human visual joint attention. Each agent receives its partner’s attention as a coordination signal and conditions its policy on it, making attention interactive: Agents do not merely learn to align their attention on the same object, but also to use the partner’s visual focus to guide their own attention and actions as the interaction unfolds (see Figure 1). We build MATE on top of other-play (OP) (Hu et al. 2020) that targets brittle convention formation by exploiting known environment symmetries: Rather than coordinating with an identical copy, an agent is trained with a randomly symmetry-permuted version of itself, preventing convergence on arbitrary conventions. In the card example in Figure 1, OP can prevent run-specific choices, such as always selecting purple or green, but it does not determine which card agents should choose: While OP removes one source of failure, it does not provide any within-episode signal for selecting one among several equally plausible cards. MATE supplies this missing signal through the partner’s visual attention, allowing agents to coordinate where OP alone cannot.

We evaluate MATE first in our Card Alignment Game introduced above, which isolates this coordination task in its simplest form, and then in two established coordination benchmarks: Level-Based Foraging [1] and OvercookedV2 [16]. Our results suggest that successful ZSC may require not only preventing incompatible arbitrary conventions, but also enabling agents to negotiate coordination during execution by establishing a shared attentional focus. This positions MATE as a method for fostering generalisable coordination strategies that transfer to novel partners. Our contributions are:

  1. We introduce MATE, a joint attention training mechanism built on top of OP, in which each agent observes its partner’s visual attention and learns to act on it.

  1. We identify coordination problems in which enforcing symmetry-equivariant policies alone is insufficient, and introduce the Card Alignment Game as a minimal testbed that isolates this limitation.

  1. We show that MATE outperforms competitive baselines in the Card Alignment Game as well as Level-Based Foraging and OvercookedV2, together with qualitative evidence that coordination stems from mutual attention rather than brittle conventions.

Related Work

Zero-Shot Coordination

ZSC investigates the ability of agents to coordinate with independently trained partners at test time, without co-adaptation. This is challenging when a task admits multiple equivalent but mutually incompatible optimal joint policies. We focus on this setting rather than broader ad-hoc teamwork (AHT), where agents collaborate with previously unknown partners whose behaviours may initially be unknown [30], as AHT is commonly treated as a natural next step once ZSC performance improves [11, 25]. Existing ZSC methods primarily address this coordination problem by discouraging arbitrary symmetry breaking during training. OP (Hu et al. 2020) independently transforms each agent’s Dec-POMDP using sampled environment relabellings, preventing the arbitrary conventions that SP would otherwise form around environment symmetries. However, its performance is bounded by the symmetries the environment admits. Off-Belief Learning (Hu et al. 2021) on the other hand is an algorithm that prevents arbitrary conventions and improves ZSC by taking as input a reference policy π0\pi_0 and optimizes a new unique policy π1\pi_1 under the assumption that previous actions were taken by π0\pi_0 while future actions will be taken by π1\pi_1 using a belief model. More recently, Forkel et al. (2026) showed that high entropy regularisation promotes symmetry-equivariant and XP-compatible policies, with High-Entropy (HE) IPPO, a standard IPPO with an unusually large entropy coefficient, achieving state-of-the-art inter-seed XP score in Hanabi. These approaches share the premise that coordination can be recovered by suppressing arbitrary conventions. This is not always sufficient. When several possible referents remain symmetric within the current episode, removing arbitrary conventions does not by itself determine what the agents should coordinate around. We instead equip agents with a coordination signal grounded in the episode itself, namely shared attention, that remains informative even when no symmetry is left to exploit.

Joint Attention as a Coordination Signal

Joint attention is the shared and mutually recognised focus of two individuals on the same object or event. It is a foundational mechanism in human social cognition [34, 22, 6] and has been studied for coordination in human-robot interaction [2, 15] (Staude and Crocker 2011). In MARL, Lee et al. Lee et al. [20] equip agents with spatial attention heads and an intrinsic reward that penalises divergence between their attention maps, encouraging them to attend to the same elements of a shared observation; this improves SP coordination in gridworld tasks. However, because their evaluation is limited to SP, the shared-attention incentive may act as an additional convention-forming channel: co-trained agents can simply learn to align their attention on an arbitrary, possibly task-irrelevant location to initiate a coordinated behaviour, without producing a signal that transfers to independently trained partners. To leverage communication, prior work in MARL learns protocols for exchanging task-relevant information [12, 32, 21], but these often fail to transfer to independently trained partners [5, 35]. MATE instead uses spatial attention as an environment-grounded communication channel. Without a pre-established convention, two factors matter beyond aligned attention: agents need to be mutually aware that they share a focus [6] and the focus needs to be on a relevant object [8]. MATE addresses both limitations by enforcing attention to be not only aligned but also focused on objects, yielding an observable signal for establishing an episode-specific target with novel partners.

Preliminaries

Decentralised POMDPs

We model the cooperative setting as a decentralised partially observable Markov decision process (Dec-POMDP) (Oliehoek and Amato [24]), a tuple (S,n,{Ai}i=1n,{Oi}i=1n,T,R,{Ui}i=1n,T,γ,b0)(S,n,\{A^i\}_{i=1}^n,\{O^i\}_{i=1}^n,T,R,\{U^i\}_{i=1}^n,T,\gamma,b_0), with finite state space SS, nn agents, local action and observation spaces AiA^i and OiO^i, transition kernel T(st+1∣st,at)\mathcal{T}(s_{t+1}\mid s_t,a_t), shared reward R(st+1,at)\mathcal{R}(s_{t+1},a_t), observation functions oti=Ui(st)o_t^i=U^i(s_t), horizon TT, reward discount factor γ\gamma, and initial state distribution b0b_0. Each agent ii acts on its local action-observation history τti=(o0i,a0i,…,at−1i,oti)\tau_t^i=(o_0^i,a_0^i,\ldots,a_{t-1}^i,o_t^i) through a local policy πi(ati∣τti)\pi^i(a_t^i\mid\tau_t^i). The joint policy then factorises as

π(at∣τt)=∏i=1nπi(ati∣τti).(1)\pi(a_t\mid\tau_t)=\prod_{i=1}^{n}\pi^i(a_t^i\mid\tau_t^i). \tag*{(1)}

The SP objective is the expected return

JSP(π)=EτT∼π[∑t=0T−1γtR(st+1,at)].(2)J_{\mathrm{SP}}(\pi)=\mathbb{E}_{\tau_T\sim\pi}\left[\sum_{t=0}^{T-1}\gamma^t\mathcal{R}(s_{t+1},a_t)\right]. \tag*{(2)}

Zero-Shot Coordination

A Dec-POMDP may admit multiple joint policies with high SP return that are nevertheless mutually incompatible (Hu et al. 2020). We thus measure the ZSC score through XP, pairing agents trained in different runs. Given a Dec-POMDP with nn agents and nn independently trained joint policies π1,…,πn\pi_1,\ldots,\pi_n, we follow prior work (Hu et al. 2020; Forkel et al. [14]) and define the XP score between them as

JXP(π1,…,πn):=Eϕ∼Perm⁡(n)J(πϕ(1)1,…,πϕ(n)n).(3)J_{\mathrm{XP}}(\pi_1,\ldots,\pi_n):=\mathbb{E}_{\phi\sim\operatorname{Perm}(n)}J\left(\pi_{\phi(1)}^1,\ldots,\pi_{\phi(n)}^n\right). \tag*{(3)}

where Perm⁡(n)\operatorname{Perm}(n) is the set of permutations of {1,…,n}\{1,\ldots,n\}, and πji\pi_j^i denotes the local policy for agent slot ii from joint policy πj\pi_j. As in this work we consider two-player Dec-POMDPs, this reduces to JXP(π1,π2)=12[J(π11,π22)+J(π12,π21)]J_{\mathrm{XP}}(\pi_1,\pi_2)=\frac{1}{2}[J(\pi_1^1,\pi_2^2)+J(\pi_1^2,\pi_2^1)]. The goal of ZSC is to find training algorithms that, when run independently, produce compatible joint policies. Following prior work, we focus on the inter-seed XP setting, i.e. independent training runs vary only in their random seed.

Symmetries in Dec-POMDPs

A Dec-POMDP symmetry (Hu et al. 2020; Forkel et al. [14]) is a tuple of bijections

ϕ=(ϕS,(ϕAi)i=1n,(ϕOi)i=1n)(4)\phi=\left(\phi_S,(\phi_{A^i})_{i=1}^n,(\phi_{O^i})_{i=1}^n\right) \tag*{(4)}

over SS, AiA^i, and OiO^i while leaving T\mathcal{T}, R\mathcal{R}, and {Ui}i=1n\{U^i\}_{i=1}^n invariant. We write Φ\Phi for the set of all such symmetries. A symmetry acts on a joint policy by relabelling its inputs and outputs,

ϕ(πi)(ai∣τi):=πi(ϕ−1(ai)∣ϕ−1(τi)),(5)\phi(\pi^i)(a^i\mid\tau^i):=\pi^i\left(\phi^{-1}(a^i)\mid\phi^{-1}(\tau^i)\right), \tag*{(5)}

where ϕ−1(τi)\phi^{-1}(\tau^i) denotes the component-wise relabelling of the actions and observations in the action-observation history. A joint policy π\pi is symmetry equivariant if ϕ(π)=π\phi(\pi)=\pi for all ϕ∈Φ\phi\in\Phi.

Other-play

OP addresses brittle conventions by optimising SP under independently sampled Dec-POMDP symmetries (Hu et al. 2020). For each agent ii, a symmetry ϕi∼Φ\phi^i\sim\Phi is drawn per episode, and OP maximises

JOP(π)=E(ϕ1,…,ϕn)∼Φn[JSP(ϕ1(π1),…,ϕn(πn))].(6)J_{\mathrm{OP}}(\pi)=\mathbb{E}_{(\phi^1,\ldots,\phi^n)\sim\Phi^n}\left[J_{\mathrm{SP}}\left(\phi^1(\pi^1),\ldots,\phi^n(\pi^n)\right)\right]. \tag*{(6)}

This promotes robustness to relabellings and discourages arbitrary symmetry breaking, yet Φ\Phi must be known a priori.

Joint Attention for Social Learning

Lee et al. [20] introduced a computational analogue of joint attention that improved JSPJ_{\mathrm{SP}} and sample efficiency across several gridworld tasks. For each agent kk, a single h×wh\times w spatial attention map AtkA_t^k is obtained by averaging the visual attention maps of the mm heads. Joint attention is modelled as the Jensen-Shannon divergence (JSD) between each pair of agents’ attention maps, using an auxiliary reward term:

rtJA=−∑j=1n∑i=1nJSD⁡(Ati∥Atj).(7)r_t^{\mathrm{JA}}=-\sum_{j=1}^{n}\sum_{i=1}^{n}\operatorname{JSD}\left(A_t^i\parallel A_t^j\right). \tag*{(7)}

Each agent’s objective combines the environment reward with the shared joint-attention intrinsic motivation:

J(πi)=EτT[∑t=0∞γt(rt+1i+βrtJA)|s0],(8)J(\pi^i)=\mathbb{E}_{\tau_T}\left[\sum_{t=0}^{\infty}\gamma^t\left(r_{t+1}^i+\beta r_t^{\mathrm{JA}}\right)\middle|s_0\right], \tag*{(8)}

where β\beta controls the weight of the joint-attention objective.

Mutual Attention for Zero-Shot Teaming

We extend OP and the spatial-attention architecture of Lee et al. [20] by additionally grounding the attention in the environment. We call this method MATE, which equips OP-trained IPPO agents (Witt et al. 2020; Schulman et al. [27]) with a model of joint attention. Each agent shares its focus with its partner and learns to steer its own attention toward the partner’s future focus and on task-relevant objects.

Sharing the partner’s attention

At every step, agent ii receives its partner’s previous attention map At−1jA_{t-1}^j as a channel appended to its image observation. Because OP expresses each agent’s observation in a different permuted frame, we re-express the partner’s map in ii’s frame by undoing jj’s symmetry and applying ii’s:

A~t−1j:=(ϕAi∘(ϕAj)−1)At−1j,(9)\widetilde{A}_{t-1}^j:=\left(\phi_A^i\circ(\phi_A^j)^{-1}\right)A_{t-1}^j, \tag*{(9)}

where ϕAj\phi_A^j denotes the action of ϕj\phi^j on spatial attention maps.

Grounding attention in task-relevant objects

Parallel attention is insufficient for joint attention, as both agents must intentionally share a focus on a relevant target to support coordinated action (Carpenter and Call [6]; Csibra and Gergely [8]). Alignment on an irrelevant background patch contributes nothing to the task unless it becomes another arbitrary convention, whereas attention to task-relevant objects provides a meaningful coordination signal that novel

Algorithm 1 MATE

Require: policy πθ\pi_\theta, symmetry group Φ\Phi, detector OBJ, discount η∈[0,1)\eta\in[0,1), weight λMATE\lambda_{\mathrm{MATE}}

  1. Sample OP symmetries ϕ1,ϕ2∼Φ\phi^1,\phi^2 \sim\Phi

  2. Initialise partner maps A−11,A−12A^1_{-1}, A^2_{-1} to uniform

  3. for t=0,…,T−1t = 0,\ldots,T-1 do

  4.   for agent i∈{1,2}i \in\{1,2\}, partner j≠ij \ne i do

  5.     Reframe partner map A~t−1j=(ϕAi∘(ϕAj)−1)At−1j\widetilde{A}^{j}_{t-1} = (\phi^i_A \circ(\phi^j_A)^{-1})A^j_{t-1}

  6.     Sample action and attention ati,Ati∼πθ(ϕi(oti),A~t−1j)a^i_t, A^i_t \sim\pi_\theta(\phi^i(o^i_t), \widetilde{A}^j_{t-1})

  7.   end for

  8. Step environment with at=(at1,at2)a_t = (a^1_t,a^2_t).

  9. end for

  10. Unmap to unpermuted frame Aˉti=(ϕAi)−1Ati\bar{A}^i_t = (\phi^i_A)^{-1}A^i_t

  11. Sum onto objects pti(e)∝∑u∈R(e)Aˉti(u)p^i_t(e) \propto\sum_{u \in\mathcal{R}(e)} \bar{A}^i_t(u)

  12. for agent ii, partner j≠ij \ne i do

  13.   Find partner’s focus mtj=arg⁡max⁡eptj(e)m^j_t = \arg\max_e p^j_t(e)

  14.   Build target qtj←ηqt+1jq^j_t \leftarrow\eta q^j_{t+1}, qtj(mtj)←1q^j_t(m^j_t) \leftarrow1, normalise

  15. end for

  16. Update θ\theta by PPO on L=LIPPO+λMATELMATE\mathcal{L} = \mathcal{L}_{\mathrm{IPPO}} + \lambda_{\mathrm{MATE}}\mathcal{L}_{\mathrm{MATE}}.

  17. return θ\theta

partners can interpret within the episode. We therefore add an auxiliary loss that grounds attention and encourages convergence on task-relevant entities, aligning attention at the object level. Because each agent observes the partner’s previous attention map, this does not passively align attention maps; rather, it trains agents to intentionally condition their own focus on the partner’s.

We assume a training-time object detector OBJ that returns the task-relevant objects Et=OBJ(ot)\mathcal{E}_t = \mathrm{OBJ}(o_t) at step tt, each object ee covering a region R(e)\mathcal{R}(e) of the attention grid. Mapping agent ii’s attention back to the shared frame, Aˉti:=(ϕAi)−1Ati\bar{A}^i_t := (\phi^i_A)^{-1}A^i_t, and summing it over each object’s cells, leads to a distribution ptip^i_t over objects, comparable across agents. We train ptip^i_t towards the partner’s discounted future focus qtjq^j_t, which weights each object by a discount factor ηδt(e)\eta^{\delta_t(e)}, where δt(e)\delta_t(e) is the number of steps until partner jj next attends object ee. Agent ii’s attention is matched to this target by cross-entropy, summed over both agents and the horizon,

LMATE=−12T∑i=12∑t=0T−1∑e∈Etqtj(e)log⁡pti(e).(10)\mathcal{L}_{\mathrm{MATE}} = -\frac{1}{2T}\sum_{i=1}^{2}\sum_{t=0}^{T-1}\sum_{e\in\mathcal{E}_t}q^j_t(e)\log p^i_t(e). \tag*{(10)}

The full objective adds this to the IPPO loss,

L=LIPPO+λMATELMATE.(11)\mathcal{L} = \mathcal{L}_{\mathrm{IPPO}} + \lambda_{\mathrm{MATE}}\mathcal{L}_{\mathrm{MATE}}. \tag*{(11)}

Algorithm 1 presents pseudocode for the two-player case.

Experiments

We first test MATE in the Card Alignment Game, a toy environment that we propose to validate the core intuition behind our method in isolation. We then evaluate MATE in two more complex domains, Level-Based Foraging (LBF) (Albrecht and Ramamoorthy [1]) and OvercookedV2 (Gessler et al. [16]), which require agents to agree on a shared target and infer coordination from their partner’s actions.

Card Alignment Game

The Card Alignment Game (see Figure 2) is a cooperative two-player game in which agents must independently pick the same card out of five. Each episode contains seven deliberation steps, during which agents point to cards in their own local frame, followed by one private decision step. At that step, the pair receives R=1R = 1 if both agents pick the same card and R=0R = 0 otherwise. The game is kept simple to isolate whether joint attention alone can provide a sufficiently strong signal to enable coordination.

Sample episode in the Card Alignment Game

Figure 2. Sample episode in the Card Alignment Game. Alice and Bob must select the same card in the unpermuted layout (left). To prevent position or colour conventions, they observe differently permuted frames. Finally, both agents choose independently.

Symmetries The game admits symmetries over card colours and positions, which SP agents can exploit to form arbitrary conventions, such as always selecting “red” or “left”. To avoid this, we employ OP by transforming each agent’s observation into oi=ϕi(o)o^i = \phi^i(o) where ϕi=ϕcoli∘ϕposi\phi^i = \phi^i_{\mathrm{col}}\circ\phi^i_{\mathrm{pos}} is the composition of random individual position and colour permutations. Coordination must then be recovered within the episode, rather than through colour- or position-based conventions. In the example of Figure 2, Bob sees the unpermuted layout transformed as follows: (i) the position permutation is ϕposi=(2,3,1,4,5)\phi^i_{\mathrm{pos}} = (2,3,1,4,5), and (ii) colour relabelling

ϕcoli\phi^i_{\mathrm{col}}: red →\to purple, blue →\to blue, green →\to yellow, yellow →\to green, purple →\to red.

Therefore, Bob’s local observation is

oi=ϕi(o)=(ϕcoli∘ϕposi)(o)=(blue,yellow,purple,green,red)o^i = \phi^i(o) = (\phi^i_{\mathrm{col}}\circ\phi^i_{\mathrm{pos}})(o) = (\text{blue},\text{yellow},\text{purple},\text{green},\text{red}).

Observation and action space Each agent observes its permuted frame and a scalar indicating whether the episode is in deliberation or at the final decision step. The action space contains five actions, each corresponding to one of the cards: during deliberation, an action points to a card in the agent’s local frame; at the final step, it privately selects that card. The cards form the object set for the attention loss, with one R(e)\mathcal{R}(e) per card.

Level-Based Foraging

LBF (Albrecht and Ramamoorthy [1]) is a cooperative grid-world task in which agents navigate to apples and collect them by executing a load action. We use the forced-coordination setting, where each apple can be collected only if both agents load it jointly. Experiments are run on a fully observable 12×1212 \times12 grid with two agents and eight apples. We shorten the episode horizon from 100 to 50 steps to increase coordination pressure. Agents receive image observations to test our method in conditions that more naturally resemble real-life deployment scenarios. Under OP, each observation is independently transformed by a random symmetry of the grid, using horizontal and vertical reflections. For the object-level attention target, apples are treated as task-relevant objects, with one R(e)\mathcal{R}(e) for each apple.

OvercookedV2

OvercookedV2 [16] introduces partial observability and asymmetric information into Overcooked, one of the most widely used ZSC benchmarks. We evaluate on Demo Cook Simple, where only one agent observes the recipe and the other must infer the target dish from its partner’s behaviour, particularly the ingredients it carries and places in the pot. The exploration of additional layouts is left to future work. This setting makes it a natural test of whether joint attention can support implicit communication through partner behaviour. We extend the JaxMARL [26] environment with image observations and, following Gessler et al. [16], apply OP by independently permuting the two recipe ingredients in each agent’s observation. While Gessler et al. [16] embed each local view in a zero-padded global grid, we centre the observation on one agent and crop it to the view radius to reduce dependence on fixed layout coordinates and improve generalisation (Ye et al. 2020). Partner attention is shared only within the receiver’s visible region, preventing leakage of private recipe information yet making OvercookedV2 particularly challenging for MATE, as attention can provide a coordination signal only intermittently. Task-relevant kitchen objects, including carried ingredients, form the object set used by the attention loss.

Results

We evaluate whether MATE improves ZSC by comparing SP and XP return (Hu et al. 2020), with XP computed from disjoint pairs of independently trained policies following Forkel et al. [14]. Across all environments we compare IPPO, OP,

HE IPPO [14] and MATE, additionally including the joint-attention baseline of Lee et al. [20] in the Card Alignment Game. Results are averaged over 48 seeds in the Card Alignment Game and 12 in LBF and OvercookedV2. OP and MATE are trained under the same permutation for a fair comparison; no permutations are applied during evaluation. All methods are evaluated at the checkpoint with the highest training return. For HE IPPO, we always report the SP and XP scores at the entropy coefficient achieving the highest XP return in the sweep shown in Figure 7.

Scores of HE IPPO for SP and XP against the entropy coefficient

Figure 7. Scores of HE IPPO for SP and XP, against the entropy coefficient. Shaded regions show SEM.

Card Alignment Game

In the Card Alignment Game (Figure 3a), IPPO solves SP but falls to chance in XP, showing that independently trained agents learn incompatible conventions. OP rules out brittle conventions, but without a coordination signal, it remains at chance in both SP and XP. HE IPPO also fails: none of the tested entropy coefficients yields XP above chance, and large coefficients collapse non-greedy SP performance (Figure 7). The Lee et al. [20] joint-attention objective behaves similarly: varying β\beta over three orders of magnitude leaves the outcome unchanged, with perfect SP but chance XP. MATE instead obtains high return in both settings (0.872 ± 0.008 SP, 0.823 ± 0.010 XP), moving substantially above chance while keeping the SP-XP gap small. Figure 4 shows the corresponding attention patterns. MATE agents progressively align attention on the same card and select it, yielding a strategy that transfers to independently trained partners. Under OP alone, attention remains agent-specific and final choices do not align.

SP and XP scores for the Card Alignment Game, LBF and OvercookedV2

Figure 3. SP (hatched) and XP (solid) scores for the Card Alignment Game (a), LBF (b) and OvercookedV2 (c). Error bars show SEM. MATE achieves the highest XP across all three environments.

Card Alignment Game attention maps

Figure 4. Card Alignment Game attention maps. (a) and (b) show per-card attention in the unpermuted frame. MATE progressively aligns attention between agents and selects the same card, whereas OP maintains divergent attention and chooses different cards. (c) shows card-attention JSD over time; lower values indicate stronger alignment.

MATE Ablation Study We analyse how each component of MATE contributes by individually removing OP (w/o OP), the partner-attention input (w/o feed), and the object-level auxiliary loss (w/o aux); see Figure 3a. MATE w/o OP reintroduces brittle conventions, resulting in perfect SP but chance-level XP, while w/o aux at chance level demonstrates that joint attention is insufficient without grounding: agents still exchange attention, but an ungrounded signal carries no meaning a novel partner can recover. MATE w/o feed performs equivalently to OP. All three components, symmetry-robust training, interaction-time attention sharing, and object-level grounding, are thus necessary.

Level-Based Foraging

In LBF (Figure 3b), IPPO exhibits a clear SP–XP gap, dropping from 0.356±0.0570.356 \pm0.057 in SP to 0.229±0.0680.229 \pm0.068 in XP. OP reduces this gap but also lowers SP performance, while HE IPPO improves both SP and XP without fully closing the gap. MATE performs best in both settings, reaching 0.460±0.0020.460 \pm0.002 in SP and 0.446±0.0030.446 \pm0.003 in XP.

Attention maps in Figure 5 show the coordination mechanism. In LBF, several apples are simultaneously equally valid targets and the time budget is short: agents must converge within a few steps, or the episode is lost to wasted moves. MATE partners align their combined attention on the next apple and collect it; OP agents, instead, each attend to their own vicinity and never commit to a shared target in time.

Figure 5. Level-Based Foraging attention maps. (a) and (b) show the combined attention of two independently trained agents in the unpermuted frame. The colour scale indicates normalised attention intensity. When several apples are equally valid targets, MATE agents converge on the same apple, whereas OP agents attend to different regions and fail to establish a common target.

OvercookedV2

In Demo Cook Simple (Figure 3c), MATE achieves the highest XP return, reaching 132.2±3.0132.2 \pm3.0 in XP and 143.3±1.4143.3 \pm1.4 in SP. IPPO drops from 167.6±8.3167.6 \pm8.3 in SP to 104.2±17.8104.2 \pm17.8 in XP. HE IPPO reaches the highest SP return in the sweep (208.6), but only 120.6±51.2120.6 \pm51.2 in XP (see Figure 7), leaving a substantial SP–XP gap; even its best-XP configuration remains below MATE at 125.3±14.4125.3 \pm14.4. OP improves XP to 116.8±10.9116.8 \pm10.9, considerably above the 47±15.247 \pm15.2 originally reported for OP by Gessler et al. [16]. In our experiments, this gain comes from replacing zero-padded observations with agent-centred crops: with the original representation, agents develop additional conventions tied to fixed spatial positions, suggesting that ingredient relabelling alone may not capture all relevant symmetries. We therefore report the original result only as a reference rather than as a directly comparable baseline.

The benefit MATE can provide in this layout is inherently constrained. The agents’ fields of view overlap for only 262±9262 \pm9 of the 400 evaluation timesteps and, even then, the shared region covers on average 11±0.311 \pm0.3 cells and at most 15 of the 50 cells in each view, limiting how often mutual attention is effective. Figure 6 illustrates one such brief window. Once the informed agent returns to the pot carrying the required ingredient, the ingredient reveals the hidden recipe, while mutual attention directs the uninformed agent’s focus towards this cue, indicating that the prepared soup should be delivered. Nevertheless, MATE outperforms OP under the same agent-centred observations and ingredient permutations, showing that it can improve coordination even under constrained shared visibility, and extending its benefits to partial observability and asymmetric information.

OvercookedV2 attention maps

Figure 6. OvercookedV2 attention maps from two moments of interaction between MATE agents. Red and blue boxes delimit the agents’ respective fields of view; contour lines show their combined attention in the unpermuted frame.

Discussion and Limitations

Our results show that MATE supports within-episode coordination across tasks requiring target agreement, as in Card Alignment and LBF, and interpretation of behaviour under partial observability, as in OvercookedV2. This suggests that some coordination problems cannot be solved by suppressing arbitrary conventions alone; for these, grounding coordination in signals recoverable within the episode offers an effective route to generalisation in cooperative multi-agent systems. A limitation is that MATE assumes access to a detector for task-relevant objects during training. We also evaluate only with AI partners; whether the learned attention signal stays interpretable and useful in human–AI coordination remains open.

Conclusion

We introduced MATE, a multi-agent reinforcement learning method that models joint attention as a general zero-shot coordination mechanism between independently trained partners. Across three diverse environments, MATE closes the SP–XP gap where prior zero-shot coordination methods remain at chance level. Future work could extend this idea beyond shared focus, using attention-based objectives and attention-avoidance to support richer forms of coordination, including division of labour, help-seeking, warning, and complementary attention to different task-relevant objects.

Training Details

Network Architecture

All methods use the same network architecture, inspired by the visual-attention architecture of Lee et al. [20]. Since our observations are image-based rather than symbolic grid states, we replace their single convolutional encoder with a residual CNN. Observations are processed by a four-block residual CNN (32 filters, 3×33 \times3 kernels, stride 2, ReLU [23]), followed by an LSTM of hidden size 128 and two fully connected layers of size 256 for both actor and critic.

Hyperparameters

Our codebase builds on JaxAHT [37], and we ran our experiments on Ubuntu servers equipped with NVIDIA Tesla V100-SXM2 GPUs with 32 GB of memory. For all methods, we use seed 42 as a base and either incremented it sequentially (OvercookedV2) or split new random seeds using JAX (LBF, Card Alignment Game). We tuned PPO hyperparameters per environment from the JaxMARL baselines [26], [14], and, for OvercookedV2, [16]. We varied one parameter at a time and retained the best SP-performing configuration. We swept λMATE∈{10−3,3⋅10−3,10−2,3⋅10−2,0.1,0.25,0.4,0.5,1,2}\lambda_{\mathrm{MATE}} \in\{10^{-3}, 3 \cdot10^{-3}, 10^{-2}, 3 \cdot10^{-2}, 0.1, 0.25, 0.4, 0.5, 1, 2\} for the Card Alignment Game and

HyperparameterCard Align.LBFOCv2
LR{3,5,8}×10−4\{3, 5, 8\} \times10^{-4}4×10−44 \times10^{-4}{2.5,4}×10−4\{2.5, 4\} \times10^{-4}
LR annealingFalseTrueTrue
Steps5×1065 \times10^{6}3×1063 \times10^{6}3×1073 \times10^{7}
Parallel envs{512,1024}\{512, 1024\}{128,256}\{128, 256\}{192,256}\{192, 256\}
Rollout8128256
Epochs4
Minibatches1632{16,64}\{16, 64\}
Clip ϵ\epsilon0.2
Entropy coef.0.010.01{0.01,0.02}\{0.01, 0.02\}
Value coef.0.5
GAE λ\lambda{.8,.9,.95}\{.8, .9, .95\}.8{.8,.9,.95}\{.8, .9, .95\}
Discount γ\gamma.99
Grad norm.5
MATE parameters
λMATE\lambda_{\mathrm{MATE}}.2510−410^{-4}{10−3,10−4}\{10^{-3}, 10^{-4}\}
η\eta.9{.8,.95}\{.8, .95\}{.8,.95}\{.8, .95\}

Table 1. Training hyperparameters for Card Alignment Game, LBF, and OvercookedV2. Braces show the values considered during tuning; bold values were selected. Empty entries inherit Card Alignment Game values.

{10−4,5⋅10−4,5⋅10−3,5⋅10−2}\{10^{-4}, 5 \cdot10^{-4}, 5 \cdot10^{-3}, 5 \cdot10^{-2}\} for LBF. For the Lee et al. [20] baseline, we swept β∈{3×10−4,10−3,3×10−3,10−2,3×10−2,10−1,0.3,1}\beta\in\{3 \times10^{-4}, 10^{-3}, 3 \times10^{-3}, 10^{-2}, 3 \times10^{-2}, 10^{-1}, 0.3, 1\}.

High-Entropy IPPO Baseline

Following Forkel et al. [14], we keep standard IPPO training unchanged and tune the entropy coefficient over a larger range (Figure 7). This should make independently trained policies compatible, with XP matching SP. In the Card Alignment Game, we extend the sweep to 10510^5, yet the greedy SP–XP gap remains open throughout. In LBF, greedy SP and XP become close for several coefficients, but never intersect, with SP consistently higher. In OvercookedV2, greedy XP approaches and eventually exceeds SP only after increasing entropy has substantially degraded SP performance.

Acknowledgments

The authors thank the International Max Planck Research School for Intelligent Systems (IMPRS-IS) for supporting C. Rutherford and F. Kögler.

Contribution Statement

G.B. and C.R. jointly developed the method, with C.R. conceiving the initial research direction and method, while G.B. led its implementation and experimental development. G.B. conducted the experiments, analyzed the experimental results, and led the writing of the paper. C.R. provided technical leadership, contributed to the experimental analysis, and contributed to the writing of the paper. F.K. advised on key research decisions and contributed to the writing of the paper. A.B. supervised the research, acquired funding, and contributed to the writing of the paper.

References

  1. [1]Albrecht, S. V.; and Ramamoorthy, S. 2013. A game-theoretic model and best-response learning method for ad hoc coordination in multiagent systems. In Gini, M. L.; Shehory, O.; Ito, T.; and Jonker, C. M., eds., International conference on Autonomous Agents and Multi-Agent Systems, AAMAS ’13, Saint Paul, MN, USA, May 6-10, 2013, 1155–1156. IFAAMAS.arxiv.org/abs/1506.01170
  2. [2]Anzalone, S. M.; Xavier, J.; Boucenna, S.; Billeci, L.; Narzisi, A.; Muratori, F.; Cohen, D.; and Chetouani, M. 2019. Quantifying patterns of joint attention during human-robot interactions: An application for autism spectrum disorder assessment. Pattern Recognit. Lett., 118: 42–50.DOI
  3. [3]Baker, B.; Kanitscheider, I.; Markov, T. M.; Wu, Y.; Powell, G.; McGrew, B.; and Mordatch, I. 2020. Emergent Tool Use From Multi-Agent Autocurricula. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net.arxiv.org/abs/1909.07528
  4. [4]Berner, C.; Brockman, G.; Chan, B.; Cheung, V.; Debiak, P.; Dennison, C.; Farhi, D.; Fischer, Q.; Hashme, S.; Hesse, C.; Józefowicz, R.; Gray, S.; Olsson, C.; Pachocki, J.; Petrov, M.; de Oliveira Pinto, H. P.; Rajaman, J.; Salimans, T.; Schlatter, J.; Schneider, J.; Sidor, S.; Sutskever, I.; Tang, J.; Wolski, F.; and Zhang, S. 2019. Data 2 with Large Scale Deep Reinforcement Learning. CoRR, abs/1912.06680.arxiv.org/abs/1912.06680
  5. [5]Bullard, K.; Meier, F.; Kiela, D.; Pineau, J.; and Foerster, J. N. 2020. Exploring Zero-Shot Emergent Communication in Embodied Multi-Agent Populations. CoRR, abs/2010.15896.arxiv.org/abs/2010.15896
  6. [6]Carpenter, M.; and Call, J. 2013. How Joint Is the Joint Attention of Apes and Human Infants? In Metcalfe, J.; and Terrace, H. S., eds., Agency and Joint Attention, 49–61. New York: Oxford University Press. ISBN 9780199988341.DOI
  7. [7]Carroll, M.; Shah, R.; Ho, M. K.; Griffiths, T.; Seshia, S. A.; Abbeel, P.; and Dragan, A. D. 2019. On the Utility of Learning about Humans for Human-AI Coordination. In Wallach, H. M.; Larochelle, H.; Beygelzimer, A.; d’Alché-Buc, F.; Fox, E. B.; and Garnett, R., eds., Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, 5175–5186.arxiv.org/abs/1910.05789
  8. [8]Csibra, G.; and Gergely, G. 2009. Natural pedagogy. Trends in Cognitive Sciences, 13(4): 148–153.
  9. [9]de Witt, C. S.; Foerster, J. N.; Farquhar, G.; Torr, P. H. S.; Boehmer, W.; and Whiteson, S. 2019. Multi-Agent Common Knowledge Reinforcement Learning. In Wallach, H. M.; Larochelle, H.; Beygelzimer, A.; d’Alché-Buc, F.; Fox, E. B.; and Garnett, R., eds., Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, 9924–9935.
  10. [11]Dizdarević, T.; Hammond, R.; Gessler, T.; Calinescu, A.; Cook, J.; Gallici, M.; Lupu, A.; and Foerster, J. N. 2025. Ad-Hoc Human-AI Coordination Challenge. In Forty-second International Conference on Machine Learning.arxiv.org/abs/2506.21490
  11. [12]Foerster, J. N.; Assael, Y. M.; de Freitas, N.; and Whiteson, S. 2016. Learning to Communicate with Deep Multi-Agent Reinforcement Learning. In Lee, D. D.; Sugiyama, M.; von Luxburg, U.; Guyon, I.; and Garnett, R., eds., Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, 2137–2145.arxiv.org/abs/1605.06676
  12. [13]Foerster, J. N.; Song, H. F.; Hughes, E.; Burch, N.; Dunning, I.; Whiteson, S.; Botvinick, M. M.; and Bowling, M. 2019. Bayesian Action Decoder for Deep Multi-Agent Reinforcement Learning. In Chaudhuri, K.; and Salakhutdinov, R., eds., Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, 1942–1951. PMLR.arxiv.org/abs/1811.01458
  13. [14]Forkel, J.; Ruhdorfer, C.; Beukman, M.; Bulling, A.; and Foerster, J. 2026. High entropy leads to symmetry-equivariant policies in Dec-POMDPs. arXiv:2511.22581.arxiv.org/abs/2511.22581
  14. [15]García-Martínez, J.; Gamboa-Montero, J. J.; Castillo, J. C.; and Castro-González, Á. 2024. Analyzing the Impact of Responding to Joint Attention on the User Perception of the Robot in Human-Robot Interaction. Biomimetics, 9(12).
  15. [16]Gessler, T.; Dizdarevic, T.; Calinescu, A.; Ellis, B.; Lupu, A.; and Foerster, J. N. 2025. Overcooked V2: Rethinking Overcooked for Zero-Shot Coordination. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025. OpenReview.net.arxiv.org/abs/2503.17821
  16. [20]Lee, D.; Jaques, N.; Kew, J. C.; Eck, D.; Schuurmans, D.; and Faust, A. 2021. Joint Attention for Multi-Agent Coordination and Social Learning. CoRR, abs/2104.07750.arxiv.org/abs/2104.07750
  17. [21]Mordatch, I.; and Abbeel, P. 2018. Emergence of Grounded Compositional Language in Multi-Agent Populations. In McIlraith, S. A.; and Weinberger, K. Q., eds., Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, 1495–1502. AAAI Press.arxiv.org/abs/1703.04908
  18. [22]Mundy, P.; and Jarrold, W. 2010. Infant joint attention, neural networks and social cognition. Neural Networks, 23(8-9): 985–997.DOI
  19. [23]Nair, V.; and Hinton, G. E. 2010. Rectified Linear Units Improve Restricted Boltzmann Machines. In Fürnkranz, J.; and Joachims, T., eds., Proceedings of the 27th International Conference on Machine Learning (ICML-10), June 21-24, 2010, Haifa, Israel, 807–814. Omnipress.
  20. [24]Oliehoek, F. A.; and Amato, C. 2016. A Concise Introduction to Decentralized POMDPs. Springer Briefs in Intelligent Systems. Springer. ISBN 978-3-319-28927-4.DOI
  21. [25]Ruhdorfer, C.; Bortoleto, M.; Forkel, J.; Foerster, J.; and Bulling, A. 2026. The Yokai Learning Environment: Tracking Beliefs Over Space and Time. arXiv:2508.12480.arxiv.org/abs/2508.12480
  22. [26]Rutherford, A.; Ellis, B.; Gallici, M.; Cook, J.; Lupu, A.; Ingvarsson, G.; Willi, T.; Hammond, R.; Khan, A.; de Witt, C. S.; Souly, A.; Bandyopadhyay, S.; Samvelyan, M.; Jiang, M.; Lange, R. T.; Whiteson, S.; Lacerda, B.; Hawes, N.; Rocktäschel, T.; Lu, C.; and Foerster, J. N. 2024. JaxMARL: Multi-Agent RL Environments and Algorithms in JAX. In Globersons, A.; Mackey, L.; Belgrave, D.; Fan, A.; Paquet, U.; Tomczak, J. M.; and Zhang, C., eds., Advances in Neural Information Processing Systems 37: Annual Conference on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver, BC, Canada, December 10 - 15, 2024.
  23. [27]Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; and Klimov, O. 2017. Proximal Policy Optimization Algorithms. CoRR, abs/1707.06347.arxiv.org/abs/1707.06347
  24. [28]Silver, D.; Huang, A.; Maddison, C. J.; Guez, A.; Sifre, L.; van den Driessche, G.; Schrittwieser, J.; Antonoglou, I.; Panneershelvam, V.; Lancot, M.; Dieleman, S.; Grewe, D.; Nham, J.; Kalchbrenner, N.; Sutskever, I.; Lillicrap, T. P.; Leach, M.; Kavukcuoglu, K.; Graepel, T.; and Hassabis, D. 2016. Mastering the game of Go with deep neural networks and tree search. Nat., 529(7587): 484–489.DOI
  25. [30]Stone, P.; Kaminka, G. A.; Kraus, S.; and Rosenschein, J. S. 2010. Ad Hoc Autonomous Agent Teams: Collaboration without Pre-Coordination. In Fox, M.; and Poole, D., eds., Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2010, Atlanta, Georgia, USA, July 11-15, 2010, 1504–1509. AAAI Press.DOI
  26. [31]Strouse, D.; McKee, K. R.; Botvinick, M. M.; Hughes, E.; and Everett, R. 2021. Collaborating with Humans without Human Data. In Ranzato, M.; Beygelzimer, A.; Dauphin, Y. N.; Liang, P.; and Vaughan, J. W., eds., Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, 14502–14515.arxiv.org/abs/2110.08176
  27. [32]Sukhbaatar, S.; Szlam, A.; and Fergus, R. 2016. Learning Multiagent Communication with Backpropagation. In Lee, D. D.; Sugiyama, M.; von Luxburg, U.; Guyon, I.; and Garnett, R., eds., Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, 2244–2252.arxiv.org/abs/1605.07736
  28. [33]Tesauro, G. 1995. Temporal Difference Learning and TD-Gammon. Commun. ACM, 38(3): 58–68.DOI
  29. [34]Tomasello, M. 2014. Joint attention as social cognition. In Joint attention, 103–130. Psychology Press.
  30. [35]Tucker, M.; Li, H.; Agrawal, S.; Hughes, D.; Sycara, K. P.; Lewis, M.; and Shah, J. A. 2021. Emergent Discrete Communication in Semantic Spaces. In Ranzato, M.; Beygelzimer, A.; Dauphin, Y. N.; Liang, P.; and Vaughan, J. W., eds., Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, 10574–10586.arxiv.org/abs/2108.01828
  31. [36]Vinyals, O.; Babuschkin, I.; Czarnecki, W. M.; Mathieu, M.; Dudzik, A.; Chung, J.; Choi, D. H.; Powell, R.; Ewalds, T.; Georgiev, P.; Oh, J.; Horgan, D.; Kroiss, M.; Danihelka, I.; Huang, A.; Sifre, L.; Cai, T.; Agapiou, J. P.; Jaderberg, M.; Vezhnevets, A. S.; Leblond, R.; Pohlen, T.; Dalibard, V.; Budden, D.; Sulsky, Y.; Molloy, J.; Paine, T. L.; Gülçehre, Ç.; Wang, Z.; Pfaff, T.; Wu, Y.; Ring, R.; Yogatama, D.; Wünsch, D.; McKinney, K.; Smith, O.; Schaul, T.; Lillicrap, T. P.; Kavukcuoglu, K.; Hassabis, D.; Apps, C.; and Silver, D. 2019. Grandmaster level in StarCraft II using multi-agent reinforcement learning. Nat., 575(7782): 350–354.DOI
  32. [37]Wang, C.; Fernandez, R.; Mustafaoglu, Z. S.; Kundan, M.; Cui, J.; Xiao, L.; Wang, Z.; Shi, D. Y.; Madhan, A.; Liu, J.; Rahman, A.; and Stone, P. 2026. JaxAHT: A JAX-Based Library for Ad Hoc Teamwork. arXiv:2609.13716.arxiv.org/abs/2609.13716

Paper details

vlnc:W_s462r4uw
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents