EigenGame Unloaded: When playing games is better than optimizing

Ian Gemp, Brian McWilliams, Claire Vernade, Thore Graepel

Introduction

Finding the principal components (eigenvectors) of a dataset is a cornerstone of machine learning, underpinning techniques from Principal Component Analysis (PCA) to spectral clustering. However, as datasets grow to contain billions of samples, traditional numerical methods like Singular Value Decomposition (SVD) become computationally infeasible because they require the entire dataset to fit in memory.

A recent breakthrough called EigenGame reframed this problem: instead of treating eigendecomposition as one massive optimization task, it modeled each eigenvector as a "player" in a competitive game. Each player attempts to maximize the variance they capture while remaining orthogonal to the players "above" them in the hierarchy. While elegant, the original version (now referred to as $\alpha$-EigenGame) had a critical flaw: its updates were biased when using small subsets of data (minibatches). This bias meant that errors accumulated rather than canceled out, hindering convergence and making it impossible to handle truly massive, high-dimensional data across multiple devices.

DeepMind researchers have introduced $\mu$-EigenGame, a significant upgrade that derives a new, unbiased stochastic update. This "unloaded" version enables the algorithm to scale across massive datasets (up to 131TB) and many devices, outperforming traditional optimization-based approaches in both speed and accuracy.

The $\mu$-EigenGame Solution

The authors introduce several key innovations to fix the bias problem and enable massive scalability:

  1. Removing the Bias: The original $\alpha$-EigenGame algorithm featured the covariance matrix in the denominator of its penalty terms. In a stochastic setting, the "average of a ratio" does not equal the "ratio of the averages," introducing bias. $\mu$-EigenGame rearranges the math to make the update direction linear with respect to the data. This ensures that the expected value of a minibatch update exactly matches the full-batch update.
  2. Data Parallelism: Because the updates are now strictly unbiased, they can be computed in parallel across many different machines and simply averaged. This allows for an "M-fold" increase in effective batch size, which is crucial for stability in high-dimensional spaces.
  3. Pseudo-gradients and Drift Suppression: The update direction in $\mu$-EigenGame isn't a strict gradient of a single utility function. Instead, it acts as a "pseudo-gradient" that behaves better in high-dimensional space. It naturally suppresses noise-induced "drift" by computing its penalty weights in a lower-dimensional subspace (the space spanned by the "parent" eigenvectors).
Comparison of $\alpha$-EigenGame and $\mu$-EigenGame trajectories

As illustrated above, the unbiased nature of $\mu$-EigenGame leads to much more stable and direct convergence trajectories compared to the biased $\alpha$-EigenGame, especially when operating under stochastic conditions.

Key Results and Scale

The researchers tested $\mu$-EigenGame across a variety of scales, proving its robustness and speed:

  • Massive Scale (Meena Dataset): The ultimate stress test was the Meena conversational model dataset, containing 14 billion embeddings (131 Terabytes). $\mu$-EigenGame successfully recovered 256 eigenvectors in just 2 hours and 45 minutes (roughly 0.5 epochs) using 32 TPUs.
  • Parallelism Wins: While the original $\alpha$-EigenGame's performance plateaued regardless of how many devices were added due to its inherent bias, $\mu$-EigenGame's performance scaled linearly with the degree of parallelism.
  • Robustness (MNIST): On the standard MNIST benchmark, $\mu$-EigenGame converged accurately even with a minibatch size as small as 32. In contrast, the original algorithm stalled or converged to incorrect solutions.
  • Spectral Clustering: Applied to a Facebook Page Networks social graph (~135k nodes, 1.4M edges), the algorithm achieved 99.92% accuracy in recovering ground-truth clusters.

Why Games > Optimization

A core insight of this paper is that for complex, hierarchical problems like eigendecomposition, a game-theoretic perspective can be more flexible than standard optimization. By choosing a direction that allows for unbiased estimates rather than strictly following the steepest descent, the algorithm unlocks massive parallelism. This scalability far outweighs the benefit of a more "direct" but biased optimization path.

Limitations and Future Work

While the authors provide a global convergence proof—showing the algorithm will find the true solution even from random noise—they do not yet provide a convergence rate (how many steps it takes to reach a specific accuracy). This remains a notoriously difficult problem in non-gradient-based Riemannian stochastic approximation. Furthermore, the theoretical analysis relies on complex Lyapunov functions that are tedious to construct. Future work may explore more sophisticated "best response" strategies for the players, potentially leading to even faster convergence than simple gradient-based steps.

Summary updated

BibTeX
@inproceedings{gemp2022eigengame,
  author = {Ian Gemp and Brian McWilliams and Claire Vernade and Thore Graepel},
  title = {{EigenGame Unloaded: When playing games is better than optimizing}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=So6YAqnqgMj},
}
Figure