Introduction
Multi-agent reinforcement learning (MARL) presents significant challenges due to the non-stationarity of the environment where agents' policies evolve simultaneously. While zero-sum games are well-understood, general-sum games—where agents' interests may partially align—remain difficult to solve efficiently. Standard approaches often rely on Policy Gradient (PG) methods, which frequently suffer from slow convergence, sensitivity to initialization, and instability in deterministic settings. This paper introduces a novel Policy Iteration (PI) algorithm for $N$-player general-sum Linear Quadratic Dynamic Games (LQDGs) that demonstrates superior performance and robustness compared to traditional gradient-based methods.
Methodology
The proposed algorithm addresses infinite-horizon $N$-player LQDGs by employing a simultaneous update strategy. Unlike single-player control, where Policy Iteration and Gauss-Newton methods are equivalent, this work demonstrates that they diverge in multi-agent environments.
The algorithm iterates through two primary steps:
- Policy Evaluation: The cost for each player is determined by solving a set of coupled Lyapunov equations based on the current joint strategy.
- Policy Update: All players' strategies are updated simultaneously by solving a large linear system.
By solving for all policy updates at once, the algorithm accounts for the interactions between agents' strategy changes, effectively mitigating the oscillations and overshooting typical of decoupled gradient-based updates.
Experimental Results
The algorithm was evaluated against Gauss-Newton Policy Gradient (GNPG) and Natural Policy Gradient (NPG) methods using both benchmark systems and 1,000 randomly generated stable systems with $N=2$ and $N=4$ players.
Convergence Speed and Efficiency
Numerical experiments reveal a dramatic performance gap. In a 2-player benchmark, the proposed PI algorithm achieved convergence in only 7 iterations, compared to 161 for GNPG and 139 for NPG.
As shown in Figure 1, the PI algorithm (green) reaches the numerical floor of precision almost instantly, significantly outperforming gradient-based variations in both iteration count and total wall-clock time.
Reliability and Robustness
The PI algorithm demonstrated exceptional reliability in higher-dimensional games. In a batch of 1,000 random 4-player games, PI converged in 94.5% of cases with an average of 7 iterations. In contrast, GNPG converged in only 0.8% of cases, and NPG failed to converge in any instance.
Figure 2 illustrates a scenario where NPG fails to find the Nash Equilibrium, diverging significantly from the optimal policy, while the PI algorithm maintains stability and finds the solution even from distant initializations.
Conclusion
This research establishes that Policy Iteration is a distinct and more powerful operator than Gauss-Newton methods in the context of $N$-player games. By utilizing simultaneous updates, the proposed PI algorithm offers a faster, more reliable, and scalable path to finding Nash Equilibria in general-sum LQDGs. Future work will explore decentralized implementations and extensions to stochastic environments.
Summary updated