Abstract
This paper provides the first comprehensive empirical study of algorithms for finding Nash equilibria in polymatrix games—a succinct representation for complex multiplayer interactions. While finding exact solutions is theoretically PPAD-complete, we demonstrate that a modified gradient descent approach, enhanced with a line search technique, is remarkably scalable. Our evaluation across diverse game classes shows that this method produces high-quality approximate solutions that far exceed theoretical worst-case expectations, making it a viable tool for large-scale game-theoretic modeling.
Introduction
Representing games with many players is a significant challenge in game theory. In standard strategic form, the representation size grows exponentially with the number of players, making large-scale modeling impractical. Polymatrix games address this by assuming players interact only in pairs, with total payoffs being the sum of payoffs from individual two-player games. This reduces the representation size from exponential to quadratic, enabling the modeling of large systems like auctions or social networks.
However, computational tractability remains a hurdle. Finding a Nash Equilibrium (NE)—a state where no player can improve their utility by unilaterally changing strategies—is a computationally intensive task. While theoretical complexity is well-understood, empirical performance on varied game structures has remained largely unexplored.
Methodology
We compare two primary algorithmic approaches:
- Lemke’s Algorithm: The standard method for finding an exact NE by reducing the game to a Linear Complementarity Problem (LCP) and employing a pivoting method.
- The Descent Method: A gradient-descent-like algorithm designed to find approximate equilibria ($\epsilon$-Nash) by minimizing "regret"—the difference between a player's current payoff and their best possible payoff.
A key contribution of this work is the introduction of a line search technique to the Descent method. Rather than taking fixed small steps, the algorithm evaluates multiple points along a search direction to maximize improvement in each iteration, significantly boosting performance.
Experimental Framework
We developed an extensive, open-source library of game classes to test these algorithms:
- Bayesian Auctions: Including item-bidding combinatorial auctions and multi-unit auctions with first-price, second-price, and all-pay rules.
- Classic Models: Colonel Blotto (resource allocation) and Adjusted Winner (fair division) games.
- Multi-player Structures: Coordination, zero-sum, and "weighted cooperation" games on various graph topologies (grids, cycles, stars).
Key Insights and Results
Scalability and Speed
The Descent method demonstrates a clear advantage in scalability. While Lemke’s algorithm begins to timeout (at 600 seconds) as games approach 5 million payoff entries, the Descent method with line search processes games with 30 million entries in under a minute.
Approximation Quality
Theoretical analysis suggests a worst-case approximation error ($\epsilon$) of 0.5 for the Descent method. However, our empirical results are far more optimistic. In practice, the algorithm consistently found approximations better than 0.05, and frequently as low as 0.002, across various game types.
Algorithmic Nuances
- Line Search Impact: Without line search, the Descent method was often slower than Lemke on small instances. Its inclusion is critical for achieving state-of-the-art speed.
- Tie-Breaking: In auction settings, deterministic tie-breaking rules made games significantly easier for Lemke’s algorithm to solve compared to random tie-breaking.
- Pure Equilibria: Lemke’s algorithm frequently identified pure Nash equilibria in second-price auctions, despite no theoretical guarantee of their existence.
Discussion and Future Work
Our study highlights a significant gap between theoretical pessimism and practical performance. The Descent method's near-linear runtime relative to game size makes it the preferred choice for large-scale applications.
Future research should address current limitations, such as the overhead introduced by exact arithmetic (required for Lemke's numerical stability) and the "padding" required for sparse graphs in Lemke's reduction. Additionally, understanding why the Descent method avoids theoretical lower bounds remains an intriguing open question.
Source: An Empirical Study on Computing Equilibria in Polymatrix Games (2016). Code available at polymatrix-games.github.io.
Summary updated