A Tensor Network Implementation of Multi Agent Reinforcement Learning
Sunny Howard
TL;DR
The paper presents a tensor-network (TN) formulation for representing the expected return in finite multi-agent MDPs (FMDPs), addressing the curse of dimensionality that plagues MARL. By building a TN that encodes state transitions, rewards, actions, and policies—using mechanisms such as Matrix Product Operators for rewards, copy tensors for state propagation, and DMRG-style optimisation—the approach enables exact or approximate planning and policy learning in MARL. A two-agent random-walker demonstration validates the framework, showing correct policy optimisation and substantial tensor-size reductions (up to 97.5% lossless) via exact decompositions like SVD. The work highlights planning and model-learning as practical extensions and discusses scalability to more agents, as well as potential performance comparisons against traditional distribution-based MARL methods.
Abstract
Recently it has been shown that tensor networks (TNs) have the ability to represent the expected return of a single-agent finite Markov decision process (FMDP). The TN represents a distribution model, where all possible trajectories are considered. When extending these ideas to a multi-agent setting, distribution models suffer from the curse of dimensionality: the exponential relation between the number of possible trajectories and the number of agents. The key advantage of using TNs in this setting is that there exists a large number of established optimisation and decomposition techniques that are specific to TNs, that one can apply to ensure the most efficient representation is found. In this report, these methods are used to form a TN that represents the expected return of a multi-agent reinforcement learning (MARL) task. This model is then applied to a 2 agent random walker example, where it was shown that the policy is correctly optimised using a DMRG technique. Finally, I demonstrate the use of an exact decomposition technique, reducing the number of elements in the tensors by 97.5%, without experiencing any loss of information.
