SpecMAGIC: Specification-Guided Multi-Task Generalization in Multi-Agent Reinforcement Learning
Organizations: Division of Systems Engineering, Boston University · Department of Electrical and Computer Engineering, Boston University
Abstract
Multi-task generalization is an important yet underexplored problem in multi-agent reinforcement learning (MARL). Many real-world applications require multi-agent systems to generalize across complex, temporally extended tasks with diverse inter-agent coordination requirements. We introduce a specification language that combines temporal-logic task specifications with operators for expressing such requirements. We propose SpecMAGIC, a hierarchical framework that leverages the automaton structure of task specifications for subtask decomposition. A centralized high-level planner identifies and allocates compatible subtask sequences across agents, while decentralized low-level policies execute individual subtasks. This enables zero-shot generalization to new tasks by composing reusable subtask policies according to new specifications, without retraining. We establish soundness and probabilistic completeness of the high-level planner. Experiments on multi-agent navigation tasks show that SpecMAGIC substantially outperforms existing approaches on unseen task specifications and maintains strong performance as the number of agents increases.
Figures & tables
| Iterations | ||||
| 3 | ||||
| 5 | ||||
| 10 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Specification types | IND | OOD | |||
| Finite- horizon (3 agents) | sa | ||||
| sa | |||||
| sa | |||||
| sa | |||||
| sa | |||||
| sa | |||||
| Method | Specifications | |||
| ACC-MARL | Reach-Only | |||
| Reach-Avoid | ||||
| Ours | Reach-Only | |||
| Reach-Avoid |
| Method | Metrics | Average | ||||
| Ours | ||||||
Multi-Agent Reinforcement Learning
Multi-agent reinforcement learning studies how interacting agents learn coordinated or competitive policies through shared experience and rewards.
See all 371 papers