EigenGame Unloaded: When playing games is better than optimizing

Ian M. Gemp, Brian McWilliams, Claire Vernade, Thore Graepel

TL;DR

This paper introduces µ-EigenGame, a novel algorithm for computing eigenvectors that overcomes the bias issues of its predecessor, EigenGame, when using minibatches of data. This unbiasedness unlocks significantly more efficient parallelization, enabling faster and more accurate dimensionality reduction and spectral clustering on massive datasets.

What Problem Does This Paper Address?

Many modern machine learning tasks, such as dimensionality reduction (e.g., Principal Component Analysis) and spectral clustering, rely on computing the eigenvectors of large matrices. Traditional methods often struggle with massive datasets that don't fit into memory. While the recent EigenGame offered a game-theoretic perspective on this problem, its stochastic updates (when using minibatches) were biased. This bias hindered convergence and prevented effective parallelization, a crucial aspect for handling large-scale data. The paper addresses this by developing an unbiased version of EigenGame that can leverage modern parallel computing architectures.

Methods

The core contribution is the development of µ-EigenGame, an unbiased stochastic update rule for computing eigenvectors. This is achieved by reformulating the penalty terms in the original EigenGame's utility functions. While the original EigenGame's updates were biased due to the stochastic estimation of certain terms, µ-EigenGame's updates are designed to be unbiased, even when computed on minibatches.

This unbiasedness is key because it allows for data parallelism. Instead of computing updates on partitions of data and then struggling with biased aggregation, µ-EigenGame's unbiased updates can be meaningfully combined across multiple machines or devices. This enables a larger effective batch size and thus faster convergence. The paper also provides theoretical analysis, including lemmas on asymptotic equivalence to the original EigenGame and zero bias, and a convergence theorem for the parallel, stochastic setting.

Datasets

The paper evaluates µ-EigenGame on the following datasets:

  • MNIST: A standard dataset for image recognition, used here for dimensionality reduction.
  • Meena conversational model dataset: A subset of a large text dataset, used for dimensionality reduction on high-dimensional embeddings.
  • Facebook graph: A large social network graph, used for spectral clustering.

Key Insights and Ideas

  • Bias is the bottleneck for parallelism: The paper clearly demonstrates that the bias in the original EigenGame's stochastic updates is the primary reason it cannot effectively leverage data parallelism.
  • Unbiasedness unlocks scalability: By removing this bias, µ-EigenGame can exploit modern distributed computing architectures to process much larger datasets.
  • Game theory as a tool for algorithm design: The paper continues to show the power of framing optimization problems as games, not just for theoretical insight but also for deriving practical, improved algorithms.
  • µ-EigenGame's utility is a "deflated" Rayleigh quotient: The new utility function for µ-EigenGame can be interpreted as finding the largest eigenvalue in the orthogonal complement of already-found eigenvectors, a process known as "deflation."

Key Results

  • Improved performance on MNIST: µ-EigenGame outperforms a-EigenGame in terms of the "longest correct eigenvector streak" metric and shows better subspace distance, especially at smaller minibatch sizes.
  • Scalability on Meena dataset: µ-EigenGame demonstrates significant speedups with increasing degrees of data parallelism, recovering 256 eigenvectors in a fraction of the time compared to a-EigenGame, which shows no performance gain with parallelism.
  • Accurate spectral clustering on Facebook graph: µ-EigenGame successfully recovers ground truth clusters with 99.92% accuracy.
  • Theoretical guarantees: The paper provides a convergence theorem for µ-EigenGame in the parallel, stochastic setting, which is practical and applicable to real-world scenarios, unlike the theoretical guarantees for a-EigenGame.

Limitations and Future Work

  • Finite-sample convergence rates: While the paper proves asymptotic convergence, it acknowledges the difficulty in obtaining finite-sample convergence rates for the parallel, stochastic setting, especially for Riemannian optimization problems. This is an active area of research.
  • Worst-case bounds: The analysis of noise properties involves worst-case bounds, and the paper notes that for certain distributions (like the Cauchy distribution), the noise might be unbounded, requiring careful application.
  • Future work: The authors suggest that the techniques and insights from µ-EigenGame could be applied to other areas of deep learning and optimization that leverage spectral information. They also hint at further exploration of the relationship between game theory, optimization, and neuroscience.

Summary updated

BibTeX
@inproceedings{gemp2022eigengame,
  author = {Ian M. 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