Skip to main content
QUICK REVIEW

[Paper Review] EigenGame: PCA as a Nash Equilibrium

Ian Gemp, Brian McWilliams|arXiv (Cornell University)|Oct 1, 2020
Sparse and Compressive Sensing TechniquesEngineering39 references6 citations
TL;DR

This paper introduces EigenGame, a novel game-theoretic framework that formulates principal component analysis (PCA) as a Nash equilibrium problem, where each principal component is a player optimizing its own utility. The method uses gradient updates combining Oja’s rule and generalized Gram-Schmidt orthogonalization, enabling decentralized, parallel computation and achieving state-of-the-art performance on large-scale datasets like ImageNet, including computing the top 32 principal components of ResNet-200 activations on 1.2M images.

ABSTRACT

We present a novel view on principal component analysis (PCA) as a competitive game in which each approximate eigenvector is controlled by a player whose goal is to maximize their own utility function. We analyze the properties of this PCA game and the behavior of its gradient based updates. The resulting algorithm -- which combines elements from Oja's rule with a generalized Gram-Schmidt orthogonalization -- is naturally decentralized and hence parallelizable through message passing. We demonstrate the scalability of the algorithm with experiments on large image datasets and neural network activations. We discuss how this new view of PCA as a differentiable game can lead to further algorithmic developments and insights.

Motivation & Objective

  • To reframe PCA as a competitive game where each eigenvector is a player maximizing its own utility.
  • To develop a decentralized, parallelizable algorithm for PCA that avoids centralized orthonormalization.
  • To demonstrate scalability and convergence of the method on large-scale datasets, including ImageNet.
  • To provide theoretical and empirical support for the game-theoretic formulation of PCA as a Nash equilibrium.
  • To enable efficient computation of principal components in high-dimensional settings, such as deep neural network activations.

Proposed method

  • Formulate PCA as a non-cooperative game where each principal component (player) maximizes a utility function based on data variance and orthogonalization.
  • Define player utility as a combination of Oja’s rule (for variance maximization) and a generalized Gram-Schmidt process (for mutual orthogonality).
  • Derive gradient updates for each player that are locally computable and do not require centralized coordination.
  • Implement a sequential, globally convergent algorithm that updates eigenvectors one at a time, ensuring convergence to the Nash equilibrium.
  • Scale the algorithm using data-and-model parallelism in JAX, distributing eigenvector updates across multiple TPU devices.
  • Use pmap and lax.all_gather for efficient communication during the broadcast step of orthogonalization.

Experimental results

Research questions

  • RQ1Can PCA be meaningfully reinterpreted as a game-theoretic problem where each eigenvector is a rational player seeking to maximize its own utility?
  • RQ2Does the proposed game formulation lead to a stable Nash equilibrium that corresponds to the true principal components?
  • RQ3Can the resulting algorithm be decentralized and parallelized without sacrificing convergence or accuracy?
  • RQ4How does the performance of EigenGame compare to established streaming k-PCA algorithms like Oja’s rule and GHA on synthetic and real-world data?
  • RQ5Can the method scale to high-dimensional, large-scale datasets such as ImageNet activations, where full SVD is infeasible?

Key findings

  • EigenGame successfully computes the top-32 principal components of ResNet-200 activations on ImageNet (1.2M images, ~20M dimensions) in approximately nine hours using 32 TPUv3 devices.
  • The method converges to the true principal components even when eigenvalues are repeated, as shown in experiments with a 'bubble' of identical eigenvalues.
  • EigenGame performs competitively with Oja’s algorithm under high batch size (1024 samples), and the performance gap with other methods narrows under lower batch sizes due to gradient bias.
  • The top principal components of ResNet-200 activations are interpretable as edge filters (e.g., Gabor-like), with PC 1 capturing class-discriminative features across deeper blocks.
  • The algorithm remains stable and effective under strict angular tolerance (π/32), indicating robust convergence even in challenging settings.
  • The decentralized nature of EigenGame eliminates the need for centralized orthonormalization, enabling efficient parallelization across distributed hardware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.