arXiv:2611.12314cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12314

A Modular Perspective for Modeling MARL Systems

Tiziano Maisonhaute, Jean-Christophe Soulié, Fabien Michel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The growing complexity of Multi-Agent Reinforcement Learning (MARL) has fragmented the literature, obscuring underlying architectural choices behind diverse implementations. This fragmentation makes it difficult to evaluate critical modeling dimensions in isolation, identify how components affect the resulting system dynamics, and compare, reuse, or combine contributions across the literature.

This paper proposes a modular perspective for modeling, analyzing, and implementing MARL systems. We decompose them into eight functional modules: agents, environments, learning, reward modeling, training and execution modes, communication, modeling of other agents, and evaluation criteria. For each module, we clarify its role and review representative approaches.

We instantiate this decomposition in MARLKIT, a framework whose modules are explicit and interchangeable. MARLKIT demonstrates how the proposed perspective supports transparent experimental assumptions and the controlled variation and combination of MARL mechanisms. Experiments illustrate its ability to prototype, compare, reuse and combine modules while making differences between configurations explicit.

Overall, the paper provides a structured perspective on MARL modeling and implementation, offering a common language for making modeling choices explicit, supporting clearer descriptions of MARL approaches, and supporting more controlled experimentation through the systematic isolation and combination of MARL mechanisms.

Keywords: Multi-Agent Reinforcement Learning, Reinforcement Learning, Multi-Agent Systems, Machine Learning, Modular Design

1 Introduction

Reinforcement Learning (RL) has proven to be a flexible Machine Learning paradigm for producing autonomous agent behaviors across a wide range of, possibly very complex, tasks ranging from game theory problems (Moody et al., 2004) to autonomous driving (Elallid et al., 2022). The associated learning process relies on making the agent interact with its environment so that a reward is obtained with respect to the taken action and the new environment state, thus enabling the agent to evolve its behavior accordingly. More fundamentally, using RL presupposes the reward hypothesis, stating that "Goals and purposes can be well thought of as the maximization of the expected value of the cumulative sum of a received scalar signal (called reward)” (Sutton and Barto, 2018).

Today there exists a number of mature libraries allowing to develop RL-based experiments such as Gymnasium 1^{1} (Towers et al., 2025), RLlib (Liang et al., 2018), Stable-Baselines3 (Raffin et al., 2021) or TorchRL (Bou et al., 2024). These frameworks are relevant for the RL community because they are backed by decades of RL research which has produced a common background and vocabulary for RL practitioners. Moreover, they are usually designed having in mind the MDP framework, which provides a useful representation of key RL modeling elements, which are themselves part of the RL community common background.

Multi-Agent Reinforcement Learning (MARL) extends RL to settings where multiple learning agents interact within a shared environment. While many RL core concepts still hold in a multi-agent setting, it turns out that crucial differences exist, new challenges arise and existing ones could be exacerbated. Most especially, the reward hypothesis requires extension in MARL because making the whole Multi-Agent System (MAS) achieve the desired task cannot be directly reduced to the maximization of a single agent's expected cumulative reward. Furthermore, having all the agents maximize individual rewards may not lead to an efficient collective outcome. In fact, one main challenge in MARL is that the outcome of an agent's action depends on the actions of others, which makes simultaneous learning quite challenging, since computing the reward of a specific action is not trivial in many cases.

So, designing a MARL experiment is thus more difficult and contains many modeling challenges and pitfalls. Therefore, a significant part of the MARL research still seeks for useful generalizable modeling principles, which could shape the field in a way that would both foster comparison among proposed approaches and ease the capitalization of relevant contributions.

From this perspective, this paper makes the hypothesis that, while it is natural that the MARL field has been built upon RL-based foundations, certain conceptual gaps in MARL research stem from this strong inheritance. This observation is also consistent with recent analyses of MARL experimental practices. We agree with the observations made by Gorsane et al. (2022), In MARL, high variance across implementations and inconsistent comparative baselines make it difficult to test and compare the results of different algorithms, thereby affecting the quality of reported results. In response to this problem, Bettini et al. (2024) introduce BenchMARL. The objective of BenchMARL is to improve reproducibility and comparability in MARL. BenchMARL allows users to run experiments on the same environment with different algorithms and compare the results. This is an important step towards best practices in MARL experiments.

However, we believe that this issue goes beyond the comparison of experimental results. In our view, the problem also lies in how MARL approaches are defined and described. Rather than treating an approach as a monolithic entity, we argue that it should be decomposed into a set of distinct modules. Specifically, reviewing the MARL literature reveals that it is often difficult to identify how a particular contribution addresses specific MARL aspects (for example communication among agents, models of other agents, reward modeling, etc.). This is precisely because such aspects have not yet been made sufficiently explicit in the reference literature. In particular, papers frequently present contributions at the level of complete algorithms, rather than being explicitly associated with the specific MARL aspects they modify, extend, or address. Consequently, authors frequently fail to clearly distinguish which MARL aspects their solution affects and how it may consequently

  1. Gymnasium is a fork of Gym (Brockman et al., 2016), the latter being deprecated.

modify others. As a result, presentation and terminology vary significantly across MARL articles.

Several popular MARL libraries exist, including PettingZoo (Terry et al., 2021), OpenSpiel (Lanctot et al., 2019), RLlib (Liang et al., 2018), MARLlib (Hu et al., 2023) and EPy-MARL (Papoudakis et al., 2021b), each with its own scope. However, their architectures are generally not organized around MAS-specific responsibilities. Agents are rarely represented as independent components coordinating their own responsibilities, while mechanisms such as communication and reward modeling are generally embedded in other components (environments, policies, etc.). This paper argues that the MARL community would benefit from adopting an explicit Agent-Oriented Software Engineering (AOSE) perspective (Winikoff and Padgham, 2013), together with a clearer decomposition of important MAS-specific responsibilities into first-class components.

Following this view, the main contribution of this paper is proposing an explicit decomposition of the major concerns involved in modeling and implementing a MARL experiment. The underlying goal is threefold: (1) to promote a comprehensive overview of MARL that improves the understanding of each key element in the field; (2) to use this decomposition to classify the main approaches proposed with respect to each identified concern; and (3) to demonstrate that such an approach can be used to easily implement MARL frameworks, enabling the prototyping of different methods through the efficient modularization of core MARL aspects.

To this end, this research proposes to decompose MARL systems into eight core modules: (1) the agent, (2) the environment, (3) the learning module, (4) the reward model, (5) the training and execution paradigm (is the training and/or execution centralized or decentralized), (6) the communication mechanisms, (7) the modeling of other agents, and (8) the evaluation criteria. Explicitly defining the role of each dimension may facilitate a more precise classification and comparison of MARL approaches.

To support this perspective, we implemented a MARL framework based on this decomposition as a proof of concept, namely MARLKIT 2^{2}.

This article is organized as follows. Section 1 presents the main concepts of RL that serve as a basis for MARL concepts. Section 3 provides the fundamentals of MARL. It is structured in the same way as Section 1 and shows the progression from RL to MARL. Section 4 constitutes the main contribution of this article. It partitions MARL implementation into eight core modules presented above. Finally, Section 6 presents MARLKIT, and more specifically how the eight core modules are defined in MARLKIT.

References (94)