Abstract: The theoretical analysis of deep neural networks (DNN) is arguably among the most challenging research directions in machine learning (ML) right now, as it requires from scientists to lay novel statistical learning foundations to explain their behaviour in practice. While some success has been achieved recently in this endeavour, the question on whether DNNs can be analyzed using the tools from other scientific fields outside the ML community has not received the attention it may well have deserved. In this paper, we explore the interplay between DNNs and game theory (GT), and show how one can benefit from the classic readily available results from the latter when analyzing the former. In particular, we consider the widely studied class of congestion games, and illustrate their intrinsic relatedness to both linear and non-linear DNNs and to the properties of their loss surface. Beyond retrieving the state-of-the-art results from the literature, we argue that our work provides a very promising novel tool for analyzing the DNNs and support this claim by proposing concrete open problems that can advance significantly our understanding of DNNs when solved.
Introduction
Deep learning has achieved remarkable empirical success, yet its theoretical foundations remain a subject of intense investigation. A central mystery is why training deep neural networks (DNNs)—which involves optimizing highly non-convex loss functions—consistently converges to high-quality solutions using simple gradient-based methods like Stochastic Gradient Descent (SGD). While geometric perspectives have offered some explanations, this paper explores a novel bridge between DNNs and game theory, specifically congestion games. By reframing DNN training as the search for a Wardrop Equilibrium, the authors provide a new lens through which to analyze the loss landscape and convergence properties of these models.
Methodology: DNNs as Congestion Games
The core contribution of this work is the formal mapping of a neural network's information flow to a non-atomic congestion game. In these games, originally designed to model road traffic, a "population" of players chooses paths through a network to minimize individual costs. In the context of a DNN, this mirrors the optimization of weights to minimize loss.
The transformation process involves several steps to align the neural architecture with game-theoretic structures, as shown in the following figure:
The mapping is defined by several key components:
- Input Features: Represented as populations of infinitesimal players.
- Network Paths: Correspond to the available "strategies" for the players.
- Weights and Flow: Weights determine the "congestion" or flow on specific edges, influencing the cost for players choosing those paths.
- Loss Function: The total DNN loss corresponds to the "social cost" (the total cost paid by all players) in the game.
The authors extend this analysis from linear networks to non-linear ReLU networks by treating activation functions as "resource failures." In this probabilistic model, certain paths become unavailable depending on the input, allowing the game-theoretic guarantees to persist even in non-linear settings.
Key Insights and Theoretical Results
A pivotal finding of this research is that for the games representing these DNNs, the Price of Anarchy (PoA) is 1. In game theory, PoA quantifies the efficiency gap between selfish behavior (equilibrium) and coordinated optimization (social optimum). A PoA of 1 implies that every local minimum of the DNN loss function—which corresponds to a Wardrop Equilibrium—is also a global minimum.
Key results include:
- Equivalence Proof: Formal proof that every local minimum of a linear DNN (under specific structural assumptions) is a Wardrop Equilibrium of its associated congestion game.
- Global Optimality: Recovery of the famous result that local minima are global minima for linear networks through a game-theoretic proof, providing a robust alternative to traditional geometric derivations.
- Unified Framework: Extension of these results to ReLU networks using the "Choromanska assumptions," offering a consistent theoretical view across different architectures.
Limitations and Future Directions
While the bridge to congestion games is powerful, it currently relies on certain restrictive assumptions. The theory requires non-negative, normalized weights and specific pyramidal layer structures (where hidden layers are at least as wide as the output layer). Furthermore, the ReLU model simplifies real-world dynamics by assuming path activations are independent of weights.
Future research directions proposed by the authors include:
- Architecture Generalization: Investigating if the Price of Anarchy remains 1 for complex architectures like Transformers or U-Nets.
- Learning Dynamics: Utilizing "regret matching" algorithms from game theory to derive tighter bounds on DNN convergence speeds.
- Alternative Training: Exploring whether Optimal Transport theory can lead to new training paradigms that find equilibria more efficiently than standard backpropagation.
Conclusion
By establishing that deep neural networks are fundamentally related to congestion games, this work opens a promising new avenue for theoretical analysis. This game-theoretic perspective not only recovers existing results on global optimality but also provides a robust framework for addressing open questions in deep learning theory, suggesting that the "mysteries" of DNNs may be solvable using the established tools of economic and game theory.
Summary updated