Coordinating RL Agents through Scalable Inference-Time Search

Daniel Rajaonarivonivelomanantsoa, Oussama Hidaoui, Refiloe Shabe, Noah De Nicola, Juan Claude Formanek, Ruan John de Kock, Sasha Abramowitz, Omayma Mahjoub, Arnol Manuel Fokam, Simon Verster Du Toit, Asim Osman, Siddarth Singh, Ulrich Armel Mbou Sob, Willie Brink, Arnu Pretorius, Felix ChalumeauNeurIPS 2026

TL;DR

When AI agents have to coordinate in massive teams—like managing traffic grids or robot swarms—forcing them to follow a single, shared playbook hits a ceiling fast, especially when team sizes grow beyond what they saw in training. This paper introduces ATLAS, a clever trick that takes an existing pre-trained team of agents and lets each individual (or sub-group) search for its own specialized strategy at deployment time. Without a single step of retraining and at negligible extra compute cost, ATLAS unlocks up to 45% better performance on massive, out-of-distribution teams.

What Problem Does This Paper Address?

In large Language Models, "inference-time compute"—letting a model "think" or search before answering—has been a game-changer. Multi-Agent Reinforcement Learning (MARL), where dozens or hundreds of agents must cooperate under partial visibility, is ripe for the same revolution, especially when deployed in digital or simulated systems where you can afford a few minutes to search for a great plan.

Currently, a leading method for MARL inference-time search is COMPASS. Instead of training just one behavior, COMPASS trains a continuous family of behaviors controlled by a "latent vector" $z$—think of $z$ as a dial that tunes the policy's overarching strategy. At test time, an evolutionary algorithm searches this dial to find the best strategy for the exact scenario at hand.

Here’s the catch: in multi-agent COMPASS, every single agent is handed the exact same $z$. While this keeps everyone on the same page during training, it becomes a straitjacket at test time. What if you trained a squad of 23 agents, and suddenly need to deploy 200? A single shared strategy lacks the degrees of freedom to adapt when situations get weird or massive.

Methods

Enter ATLAS (Agent-Targeted Latent Search). The authors noticed something subtle about how COMPASS policies actually work under the hood: each agent makes decisions using only its local view of the world and its assigned latent vector $z$. An agent doesn’t actually care—or even know—what $z$ its teammates are using.

Figure 2: Agent-Targeted Latent Search. Left: the shared-latent baseline conditions all N agents on a single latent z ∈Z. Right: ATLAS partitions the agents into G groups (here G = 3, colour-coded) and assigns each group its own latent z(g) ∈Z. The joint conditioning vector z = (z(1), z(2), z(3)) lives in the Cartesian product space ZG. A single joint CMA-ES drives G projected trajectories towards group-specific optima z(g)∗, navigating an inference-time search space that is strictly larger than the baseline’s. The parameter-shared policy πθ is unchanged across both settings. ATLAS purely performs strategy recombination at deployment and requires no retraining of the base policy.

ATLAS exploits this clean interface at deployment time:

  • What's standard: It takes an off-the-shelf, pre-trained COMPASS checkpoint (built atop a MARL backbone called Sable) with zero modifications or retraining. It also uses standard CMA-ES—a lightweight, gradient-free evolutionary optimizer—to search for the best latent vectors based on total team reward.
  • What's new: Instead of searching for a single vector $z \in \mathcal{Z}$ shared by all $N$ agents, ATLAS partitions the team into $G$ groups (all the way up to $G=N$, where every agent gets its own dial) and searches the expanded Cartesian product space $\mathcal{Z}^G$.

Because each individual agent still sees a valid "(local observation, $z$)" pair just like in training, there is no jarring distribution shift for the neural network. Instead, CMA-ES acts like a master conductor, recombining pre-learned individual behaviors into novel, complex team formations that a single shared latent could never express.

Datasets

In RL, "datasets" are interactive simulation environments. The authors evaluate across 14 scenarios spanning three cooperative, partially observable benchmarks, introducing new large-team scenarios to test extreme out-of-distribution (OOD) scaling:

Overview of the three evaluation environments: MA-Craftax, StarCraft (SMAX), and Connector
  • Connector: A grid world where $N$ agents must build paths to $N$ targets without blocking each other. Trained at $N=23$, tested up to $N=200$ ($8.7\times$ training scale).
  • SMAX: A fast, JAX-based version of the classic StarCraft tactical combat benchmark. Trained at $N=10$ units, tested OOD on larger battles of 20 to 60 units.
  • Multi-Agent Craftax-Coop: A procedurally generated, open-ended survival game (akin to 2D Minecraft) requiring long-horizon resource management for $N=3$ agents.

Key Insights and Ideas

  • Zero-shot policy recombination: You don't need to train agents with independent strategies to use independent strategies at test time. Decoupling shared latents at inference time gives you a combinatorially larger policy space for free.
  • Searching the right space beats searching harder: When scaling to 100 agents on Connector, giving standard COMPASS massive parallel compute (up to 256 parallel rollouts) causes it to plateau early. Its search space simply doesn't contain the right joint solution. ATLAS, conversely, keeps turning extra compute into better scores because the expanded space actually holds the winning strategies.
  • True behavioral divergence: Visualizing the search trajectories (via t-SNE and PCA) reveals that ATLAS groups don't just collapse back to the same good $z$. They actively spread out into distinct corners of the latent space, pushing the team to explore wider, higher-reward regions of the environment's state space.

Key Results

Tested under a strict 300-second wall-clock budget (with 64 parallel attempts per step across 128 seeds), ATLAS ($G=N$) consistently beats COMPASS ($G=1$) and random per-agent latent sampling:

Figure 1: ATLAS’s improvement over state-of-the-art as team size grows to nearly 10× the training scale. ATLAS allows groups of agents to condition on different latent strategies, which expands the searchable policy space and yields better adaptation at negligible extra cost.
  • Graceful OOD Scaling (Connector): As team size jumps from $N=30$ to $N=200$ (using an $N=23$ checkpoint), COMPASS collapses, losing 44% of its return (dropping from 0.84 to 0.47). ATLAS degrades much more gracefully (0.842 to 0.679), delivering an 18.2% relative gain at $N=100$ and a 45.4% gain at $N=200$.
  • Tactical Combat (SMAX): Out-of-distribution (20–60 units), ATLAS boosts win rates by +3 to +10 percentage points over COMPASS, while also edging it out in-distribution (96% vs. 91% win rate at $N=10$).
  • Complex Survival (Craftax): Even with just $N=3$ agents in-distribution, the sheer long-horizon complexity of Craftax allows ATLAS to outperform COMPASS.

Limitations and Future Work

  • Struggles at tiny compute budgets: Expanding the search space from $d$ dimensions to $N \times d$ dimensions makes the optimization landscape much larger. When parallel compute capacity is tiny (e.g., population size $\lambda = 4$), CMA-ES gets overwhelmed by noisy updates, and ATLAS underperforms the simpler shared-latent COMPASS (0.59 vs. 0.65 return on 100-agent Connector, though ATLAS overtakes it by $\lambda = 16$).
  • Slower convergence at $G=N$: Even with sufficient compute, optimizing hundreds of independent latents takes more steps.
  • Future directions: In a 200-agent swarm, you probably don't need 200 completely unique roles—many directions in $\mathcal{Z}^N$ are redundant. The authors suggest learning or projecting onto lower-dimensional subspaces so similar agents can dynamically share latents, capturing the expressivity of $G=N$ at a fraction of the search dimensionality, alongside exploring other types of environmental distribution shifts.

Summary updated

Abstract

Multi-Agent Reinforcement Learning (MARL) is a powerful approach to large-scale systems control, such as power grids and traffic networks, where dozens to hundreds of agents must coordinate effectively. Furthermore, such systems often operate in digital or simulated settings, which allows for inference-time search to significantly improve upon zero-shot performance. A current leading approach in this setting is COMPASS, which builds a continuous family of policies conditioned on latent vectors that can be efficiently searched at test time, but requires all agents to share a single latent vector, limiting the space of reachable joint policies. We introduce ATLAS, a simple extension in which each agent conditions on its own latent vector while still optimising a joint objective. This expands the searchable policy space at negligible computational cost and requires no additional training. ATLAS consistently sets a new state-of-the-art on a benchmark of 14 scenarios across three environments, scaling to teams of up to 200 agents, widely out of distribution. Crucially, its lead sharpens with team size and compute, reaching up to a 45% performance gain at scale.
BibTeX
@inproceedings{rajaonarivonivelomanantsoa2026coordinating,
  author = {Daniel Rajaonarivonivelomanantsoa and Oussama Hidaoui and Refiloe Shabe and Noah De Nicola and Juan Claude Formanek and Ruan John de Kock and Sasha Abramowitz and Omayma Mahjoub and Arnol Manuel Fokam and Simon Verster Du Toit and Asim Osman and Siddarth Singh and Ulrich Armel Mbou Sob and Willie Brink and Arnu Pretorius and Felix Chalumeau},
  title = {{Coordinating RL Agents through Scalable Inference-Time Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=mLNxExQR4f},
}
Figure