Abstract
Multiagent Reinforcement Learning (MARL) often struggles with the curse of dimensionality and non-stationarity, particularly in relational domains where the number of agents and objects can vary. This paper introduces MaRePReL (Multiagent Relational Planning and Reinforcement Learning), a framework that integrates high-level symbolic planning with low-level deep reinforcement learning. By utilizing a relational hierarchical planner and an abstraction reasoner to mask irrelevant state information, MaRePReL achieves superior sample efficiency, zero-shot task transfer, and robust generalization across varying object counts compared to state-of-the-art MARL baselines.
Introduction
In the field of Multiagent Reinforcement Learning (MARL), two primary challenges hinder the deployment of autonomous agents in complex environments: the curse of dimensionality and non-stationarity. The former refers to the exponential growth of the state space as more agents and objects are added, while the latter stems from the fact that the environment is constantly changing as multiple agents learn and adapt simultaneously.
These issues are magnified in "relational" domains—environments where the number of entities (e.g., passengers, obstacles, or enemies) is not fixed. Traditional deep RL approaches typically treat every object as a specific feature, leading to a lack of generalization. For instance, a policy trained to navigate a taxi with two passengers often fails when a third is introduced. MaRePReL addresses these limitations by combining the logical reasoning of symbolic planners with the flexible learning capabilities of deep RL.
The MaRePReL Framework
MaRePReL operates as a hierarchical manager-worker system, decomposing complex global goals into manageable, learnable subtasks. The architecture consists of three core components:
1. Relational Hierarchical Planner
At the highest level, a centralized Hierarchical Task Network (HTN) planner serves as the controller. It takes a high-level goal and decomposes it into a sequence of primitive subtasks. A Task Distributor then assigns these subtasks to individual agents, ensuring that the global objective is pursued through coordinated local actions.
2. Abstraction Reasoner (D-FOCI)
The "secret sauce" of the framework is the Abstraction Reasoner. Using Dynamic First-Order Conditional Influence (D-FOCI) statements, the system identifies which variables in the environment are relevant to a specific subtask. For example, if an agent is assigned to "pick up Passenger A," the reasoner masks the locations of "Passenger B" and other irrelevant entities. This drastically reduces the state space, allowing the RL agent to focus only on the information necessary for the current task.
3. Relational Deep RL Agents
At the lowest level, agents utilize standard Deep Q-Networks (DQN) to execute subtasks. Because these policies are defined relationally (e.g., pickup(Object)), a policy learned for one specific object can be instantly reused for any other object of the same type. This modularity allows for significant skill reuse across different scenarios.
Experimental Evaluation
The researchers evaluated MaRePReL against standard baselines like DQN and QMIX in three distinct relational environments:
- Multiagent Taxi: Agents must coordinate to pick up and drop off multiple passengers in a grid world without colliding.
- Multiagent Office World: Agents perform delivery tasks, such as picking up mail or coffee and delivering them to specific offices.
- Multiagent Dungeon: A complex environment where three agents must defeat enemies (skeletons and dragons) and collect keys to escape. This domain is particularly difficult because agents can be removed from the episode if they "die," testing the system's ability to handle dynamic agent counts.
Key Results and Discussion
Sample Efficiency and Performance
MaRePReL demonstrated a massive improvement in learning speed. In the Taxi domain, the framework reached near 100% success within 1 million training steps. In contrast, standard DQN and QMIX baselines failed to achieve any success even after 3 million steps, illustrating the difficulty of learning from scratch in high-dimensional relational spaces.
Zero-Shot Transfer and Generalization
The framework excels at transferring knowledge. In the Office World, an agent trained on one set of locations could be transferred to a new task (e.g., delivering mail) with immediate high performance. Furthermore, MaRePReL showed remarkable generalization: a policy trained to handle 2 passengers was successfully applied to a 4-passenger task with minimal additional training. Non-relational baselines were unable to solve the 4-passenger task entirely.
Handling Dynamic Environments
Unlike many popular MARL algorithms (such as QMIX) that require a fixed number of agents, MaRePReL’s decentralized low-level policies allow it to function even when the number of active agents changes mid-episode. This was specifically evidenced in the Dungeon domain, where the system continued to function effectively even after agent "deaths."
Conclusion and Future Work
MaRePReL bridges the gap between symbolic reasoning and connectionist learning, providing a scalable solution for relational multiagent tasks. By "ignoring" irrelevant data through D-FOCI abstractions, the system simplifies the learning problem and enables zero-shot generalization.
Currently, the framework assumes a fully observable state space and utilizes "loosely coupled" cooperation. Future research aims to extend MaRePReL to partially observable environments and incorporate more complex synchronization mechanisms, such as "wait" operators for joint tasks. Additionally, automating the generation of D-FOCI rules—perhaps through Large Language Models—could further streamline the deployment of MaRePReL in new and diverse domains.
Summary updated