Multi-Task Sequence Models Generalize in Offline Multi-Agent Reinforcement Learning

Ulrich Armel Mbou Sob, Omer, Oussama Hidaoui, Siddarth Singh, Juan Claude Formanek, Felix Chalumeau, Omayma Mahjoub, Sasha Abramowitz, Ruan John de Kock, Wiem Khlifi, Louay Ben Nessir, Simon Verster Du Toit, Daniel Rajaonarivonivelomanantsoa, Asim Awad Osman, Arnol Manuel Fokam, Refiloe Shabe, Ulrich Paquet, Arnu PretoriusOpenReview 2026 · Submission to ICLR 2026 · Rejected

This paper, recently submitted for ICLR 2026, tackles a fundamental hurdle in Multi-Agent Reinforcement Learning (MARL): zero-shot generalization. While sequence models (like Transformers) have excelled at learning from offline logs, they typically struggle when dropped into a task they haven't seen during training. The authors argue that the secret to fixing this isn't just "more data," but rather "more diverse tasks."

TL;DR

The authors demonstrate that task diversity, rather than raw dataset size, is the primary driver for generalization in offline MARL. By applying a specific "multi-task recipe" to sequence models, they achieve a 3.2x average performance boost on unseen test tasks, successfully outperforming strong baselines like Behavior Cloning.

What Problem Does This Paper Address?

In the real world, we rarely have the luxury of training an agent on the exact scenario it will face at deployment. We want agents that can learn from historical logs (offline RL) and then handle new warehouse layouts, different numbers of teammates, or varying goal locations without further training.

Current offline MARL models are often "brittle." They overfit to the specific correlations of their training task. A common response is to scale up the dataset, but the authors find that if you just add more trajectories from the same few tasks, the model hits a performance ceiling. The challenge is identifying the architectural and algorithmic choices that allow a model to extract "coordination primitives" that work across a wide variety of scenarios.

Methods

The authors build on existing sequence models—specifically Oryx and Sable—and introduce a three-part recipe for multi-task success:

  1. Task-Balanced Mini-Batches: Instead of sampling data proportional to dataset size (which lets "data-rich" tasks dominate), they ensure every training update sees an even mix of all tasks. This prevents the model from ignoring difficult, low-data scenarios.
  2. Value Estimation as Classification (HL-Gauss): Different tasks often have wildly different reward scales. Standard regression (predicting a single number) leads to "gradient interference," where the model gets confused by the different magnitudes. By treating value prediction as a classification problem over a distribution (histogram), the model becomes much more stable.
  3. Agent Masking and Shuffling: To handle variable team sizes, the authors zero-pad missing agents and randomly shuffle the agent order during training. This forces the model to learn coordination strategies that don't depend on a specific agent ID or a fixed team size.

The resulting models—MT Oryx, MT CQL-Sable, and MT BC-Sable—are evaluated on their ability to perform on "held-out" tasks they never saw during training.

Datasets

The study introduces a massive evaluation suite consisting of 30 training sets and 22 test sets across three diverse environments:

  • Level Based Foraging (LBF): Agents must coordinate to pick up food that requires a certain combined "level" to lift.
  • Multi-Robot Warehouse (RWARE): A logistics simulation with sparse rewards where robots must fetch shelves without colliding.
  • Connector: A pathfinding task where agents leave permanent, impassable trails, requiring tight spatial coordination to avoid blocking each other.
  • SMAC (StarCraft Multi-Agent Challenge): Used specifically to compare against prior state-of-the-art multi-task methods like ODIS.

Key Insights and Ideas

  • Diversity > Volume: The most striking finding is that increasing the number of unique tasks in the training set leads to near-monotonic improvements in test performance. Conversely, increasing the number of transitions for a fixed number of tasks yields diminishing returns.
  • The "Coordination Inference Engine": The authors posit that sequence models act as implicit Bayesian reasoners. By looking at the "context window" (the recent history of all agents), the model infers the latent properties of the current task (e.g., "How many agents are there?" or "How crowded is this map?") and adjusts its strategy accordingly.
  • Scaling Laws for MARL: In single-task MARL, small models often perform just as well as large ones. However, this paper shows that for multi-task generalization, model capacity matters. Larger models (up to 13M parameters) were significantly better at approximating the complex task-inference required for generalization.

Key Results

  • Performance Leap: Multi-task training improved performance on unseen tasks by an average of 3.2x compared to single-task models.
  • Environment Breakdown: The gains were most dramatic in the most difficult environments: 5.4x improvement in RWARE and 2.9x in Connector.
  • Beating the BC Baseline: While recent literature suggested that simple Behavior Cloning (BC) is a hard-to-beat baseline for generalization, this paper shows that their offline RL methods (MT Oryx and MT CQL-Sable) consistently outperform BC when trained on diverse data.
  • Critical Components: Ablation studies showed that task-balanced batching was the most vital ingredient; removing it caused a 37% drop in performance.

Limitations and Future Work

The authors acknowledge that their work is currently limited to centralized sequence models. While powerful, many real-world applications require decentralized execution (CTDE).

Additionally, while they demonstrated generalization within an environment (e.g., new RWARE maps), they did not explore cross-environment transfer (e.g., training on RWARE and testing on LBF). Future work could also investigate how to use these diverse offline datasets as a foundation for rapid fine-tuning in entirely new domains.

Summary updated

BibTeX
@misc{sob2026multi,
  author = {Ulrich Armel Mbou Sob and Omer and Oussama Hidaoui and Siddarth Singh and Juan Claude Formanek and Felix Chalumeau and Omayma Mahjoub and Sasha Abramowitz and Ruan John de Kock and Wiem Khlifi and Louay Ben Nessir and Simon Verster Du Toit and Daniel Rajaonarivonivelomanantsoa and Asim Awad Osman and Arnol Manuel Fokam and Refiloe Shabe and Ulrich Paquet and Arnu Pretorius},
  title = {{Multi-Task Sequence Models Generalize in Offline Multi-Agent Reinforcement Learning}},
  year = {2026},
  url = {https://openreview.net/forum?id=isWKA4rdXx},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure