Abstract
Deep Q-learning has achieved significant success in single-agent decision making tasks. However, it is challenging to extend Q-learning to large-scale multi-agent scenarios, due to the explosion of action space resulting from the complex dynamics between the environment and the agents. In this paper, we propose to make the computation of multi-agent Q-learning tractable by treating the Q-function (w.r.t. state and joint-action) as a high-order high-dimensional tensor and then approximate it with factorized pairwise interactions. Furthermore, we utilize a composite deep neural network architecture for computing the factorized Q-function, share the model parameters among all the agents within the same group, and estimate the agents' optimal joint actions through a coordinate descent type algorithm. All these simplifications greatly reduce the model complexity and accelerate the learning process. Extensive experiments on two different multi-agent problems demonstrate the performance gain of our proposed approach in comparison with strong baselines, particularly when there are a large number of agents.
Introduction
In Multi-Agent Reinforcement Learning (MARL), the goal is for a group of agents to learn optimal behaviors in a shared environment. While Q-learning is the gold standard for single-agent tasks, it faces a "curse of dimensionality" when scaled to many agents. The joint action space grows exponentially with the number of agents: for $N$ agents each with $K$ actions, there are $K^N$ possible combinations.
Existing solutions often either over-simplify the problem by ignoring interactions (Independent Q-Learning) or become computationally prohibited by trying to model every possible high-order interaction. Factorized Q-Learning (FQL) seeks a middle ground by decomposing the joint action-value function into individual components and pairwise interactions, enabling efficient coordination among hundreds of agents.
Methodology: Factorized Q-Learning
The core innovation of FQL is the approximation of the global Q-function using two key assumptions:
- Low Intrinsic Dimensionality: Inspired by Factorization Machines, the authors argue that high-order interactions (e.g., simultaneous interactions between three or more agents) can be approximated by the sum of independent components and pairwise interactions. This reduces the complexity from a high-order tensor to a manageable sum of relationships.
- Parameter Sharing: Agents within the same group are assumed to be homogeneous, allowing them to share neural network parameters. This drastically reduces the number of weights to be learned.
Neural Architecture
FQL utilizes a composite deep neural network consisting of three sub-networks to compute the factorized Q-function:
- Q-network: Computes the individual agent's contribution to the total value.
- V-network & U-network: These generate "embeddings" for agents. The dot product of a V-vector from one agent and a U-vector from another represents their pairwise interaction.
Optimization via Coordinate Descent
To avoid searching the massive joint action space during training, FQL employs a coordinate descent approach. Each agent optimizes its own action while assuming other agents will repeat their most recent actions. This heuristic turns an exponential search into a linear one, making the learning process tractable for large-scale systems.
Experimental Evaluation
The authors evaluated FQL on two distinct scenarios:
- The Traffic Game (Gaussian Squeeze): A cooperative resource allocation task where $N$ agents must hit a specific target pool without overshooting it.
- The Battle Game (MAgent): A mixed cooperative-competitive environment where two armies of 64 agents fight in a grid world.
Key Results and Scalability
FQL demonstrated superior scalability compared to baselines like Independent Q-Learning (IQL) and Mean-Field Q-Learning (MF-Q). In the Traffic Game, FQL maintained high performance even as the number of agents increased to 500, whereas traditional methods like IQL failed completely at that scale.
In the Battle Game, FQL achieved a higher "Killing Index" and total rewards faster than its competitors. Furthermore, the authors found that FQL is robust to locality; agents can achieve high performance by only considering their immediate neighbors, suggesting the method can scale to virtually unlimited numbers of agents in spatially distributed environments.
Conclusion
Factorized Q-Learning provides a powerful framework for large-scale MARL by leveraging pairwise decomposition and efficient optimization. While the current model assumes agent homogeneity and requires some global knowledge, its ability to handle hundreds of interacting agents marks a significant step forward in making complex multi-agent coordination practical.
Summary updated