Multi-Agent Transformer (MAT)
An encoder-decoder Transformer that chooses the actions of cooperating agents in a sequential order.
Reinforcement learning and control · 132 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 103.3K
- Operations
- 132
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2022
- Cited by
- 187 (as of 27 October 2026)
- Authors
- Muning Wen, Jakub Grudzien Kuba, Runji Lin and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18566
- Graph hash
- b19a1ac3c657a3e1814745df3b23e4f85cfdb54151f836a720ebd9af8c772c37
- Skeleton hash
- e311cd5f73b98425324f0a45bf01318db4af5bd5d5343cbb878273aaa99014cb
- Architecture hash
- 2b3a88fc228494543613d168b3101f3db96730e8efb4cb78957c52b5b0a17e87
- Diagram SHA-256
- 8610dda84ba1deeed4098f12b70d3420e009037df886dae5f8b9545bcda6e4bf
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Multi-Agent Transformer (MAT) is an encoder-decoder network that treats cooperative multi-agent reinforcement learning (MARL) as a sequence modeling problem: the task is to map the sequence of agents' observations to the sequence of agents' actions. The paper's stated goal is to connect MARL with modern sequence models so that their modeling power can be used for multi-agent problems.
The design rests on the multi-agent advantage decomposition theorem, which turns the search for a joint policy into a sequential decision process. Agents take actions in a sequential order, and each agent accounts for the decisions of the agents before it. According to the paper, this gives only linear time complexity for multi-agent problems and a guarantee of monotonic performance improvement. Unlike Decision Transformer, which fits pre-collected offline data, MAT is trained on-policy by online trial and error in the environment.
The paper tests MAT on the StarCraftII, Multi-Agent MuJoCo, Dexterous Hands Manipulation and Google Research Football benchmarks. It reports better performance and data efficiency than baselines including MAPPO and HAPPO. The paper also reports that MAT learns unseen tasks from few examples regardless of changes in the number of agents.
Key idea. MAT casts cooperative multi-agent reinforcement learning as sequence modeling with an encoder-decoder Transformer that maps agents' observation sequence to their action sequence.
- multi-agent transformer
- mat
- multi-agent reinforcement learning
- marl
- cooperative marl
- sequence modeling
- on-policy reinforcement learning
- multi-agent policy
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wen2022multiagentreinforcementlearningsequence,
title={Multi-Agent Reinforcement Learning is a Sequence Modeling Problem},
author={Muning Wen and Jakub Grudzien Kuba and Runji Lin and Weinan Zhang and Ying Wen and Jun Wang and Yaodong Yang},
year={2022},
eprint={2205.14953},
archivePrefix={arXiv},
primaryClass={cs.MA},
url={https://arxiv.org/abs/2205.14953},
}