Introduction
In cooperative Multi-Agent Reinforcement Learning (MARL), agents must coordinate to achieve a shared goal. However, environments typically provide only a single global team reward, leading to a significant "credit assignment" problem. Determining which specific actions by individual agents contributed to a team's success or failure is a major challenge. While value factorization methods estimate individual contributions to a global value, they often treat the entire team's transition as a single unit during experience replay. This approach is inefficient, particularly in heterogeneous teams where critical individual experiences can be "diluted" by the mundane actions of the rest of the group.
The DIFFER Framework
To address these inefficiencies, we introduce DIFFER (Decomposing Individual Reward for Fair Experience Replay). This framework moves beyond treating team transitions as atomic units by decomposing the global reward into individual components.
The framework consists of two primary innovations:
- The Decomposer: Rather than using heuristics, DIFFER employs a mathematically grounded approach based on Gradient Invariance. By solving a partial differential equation (PDE), the system ensures that the learning gradient produced by the sum of individual rewards is equivalent to the gradient from the original team reward. This provides a theoretically consistent closed-form solution for calculating individual rewards ($r_i$) dynamically.
- Fair Experience Replay: With individual rewards established, the system calculates an individual TD-error for every agent at every time step. This error serves as a priority score, allowing the algorithm to sample individual experiences that are most "surprising" or informative to the model. A warm-up strategy is also utilized to prevent overfitting to noisy early-stage data.
Experimental Evaluation
DIFFER was evaluated across several challenging benchmarks, including the StarCraft Multi-Agent Challenge (SMAC), Google Football Research (GRF), and Multi-Agent Mujoco (MAMujoco).
The results demonstrate that DIFFER consistently outperforms state-of-the-art baselines like QMIX and QPLEX. The performance gains are most pronounced in "super-hard" SMAC scenarios involving heterogeneous units, such as the MMM2 map. In these cases, DIFFER successfully identifies and prioritizes the unique experiences of specialized units (e.g., Medivacs), teaching them critical sub-tasks like staying out of direct combat to provide healing—a behavior that standard methods often fail to capture.
Conclusion
DIFFER provides a robust, mathematically sound method for individual credit assignment in cooperative MARL. By prioritizing high-utility individual experiences, it significantly improves sample efficiency and learning stability in complex, multi-agent environments. While the additional computation required for reward decomposition is a consideration, the resulting gains in performance and robustness make it a powerful tool for training diverse agent teams. Future work may extend this framework to communication-heavy or competitive multi-agent settings.
Summary updated