Introduces SpecMAGIC, a hierarchical MARL method using a temporal-logic specification language to express coordination requirements and achieve multi-task generalization.

Topological visualization of SpecMAGIC: Specification-Guided Multi-Task Generalization in Multi-Agent Reinforcement Learning
Brave API

SpecMAGIC is a hierarchical multi-agent reinforcement learning (MARL) framework introduced in October 2026 that enables zero-shot generalization to unseen, complex, temporally extended tasks. It achieves this by combining Linear Temporal Logic (LTL) with new operators for dependency and count constraints to formally express inter-agent coordination requirements.

The method employs a centralized sampling-based high-level planner that decomposes specifications into reach-avoid subtask sequences and allocates them across agents, avoiding the exponential complexity of global product automata. Decentralized low-level policies then execute these individual subtasks, allowing the system to compose reusable behaviors for new specifications without retraining.

Experiments demonstrate that SpecMAGIC substantially outperforms existing approaches like ACC-MARL on unseen task specifications and maintains high success rates as the number of agents increases. It supports both finite- and infinite-horizon specifications and provides theoretical guarantees for the soundness and probabilistic completeness of its planning process.

Generated Oct 23, 2026
Open-Weights Reasoning

SpecMAGIC is a hierarchical multi-agent reinforcement learning framework designed to improve coordination and task generalization by making high-level task intent explicit. Rather than relying solely on learned rewards or low-level heuristics, the method uses a temporal-logic specification language to express coordination requirements across agents. This allows task designers to encode structured constraints—such as timing, ordering, or collective behavioral goals—and have those specifications guide the agents’ decision-making process.

The key contribution is the integration of formal specification into a hierarchical MARL architecture, where high-level specification-guided reasoning can direct lower-level learned policies. This separation of concerns supports multi-task generalization: instead of retraining or hand-tuning a full policy for each task, the system can reuse learned capabilities while adapting its high-level behavior to different specification-driven objectives. In effect, the temporal-logic layer acts as a compositional interface between task intent and agent execution.

This matters because MARL systems often struggle with task brittleness, poor interpretability, and limited flexibility when coordination requirements change. By grounding coordination in a formal specification language, SpecMAGIC offers a more structured and potentially more robust path toward reusable, multi-task-capable multi-agent systems. Its relevance extends to settings where coordination is complex, safety-relevant, or likely to evolve over time, such as robotics teams, distributed control, and cooperative game environments.

Generated Oct 23, 2026
Sources