First-Order Methods for Large-Scale Market Equilibrium Computation

Yuan Gao, Christian Kroer

TL;DR

Computing Fisher market equilibria at massive scale has traditionally been throttled by the heavy per-iteration linear-system solves of interior-point methods. This paper reformulates equilibrium convex programs for linear, quasilinear, and Leontief utilities so that simple first-order methods (FOMs) like Projected Gradient and Mirror Descent apply directly, proving they achieve linear convergence and extending interpretable Proportional Response dynamics to quasilinear markets.

What Problem Does This Paper Address?

Market equilibria—specifically within the classical Fisher market model—underpin critical applications like ad auctions, fair course allocation, recommender systems, and cloud compute sharing. While equilibria under concave, homogeneous utilities can theoretically be computed via the Eisenberg–Gale (EG) convex program, existing solvers hit a wall at scale:

  • Interior-point methods (IPMs) require solving large, dense, often ill-conditioned linear systems at each step, making them impractical for millions of buyers and goods.
  • Combinatorial algorithms achieve polynomial runtime guarantees in theory, but they are brittle to constraint changes and exhibit prohibitively expensive per-iteration overhead in practice.

The goal is to design simple, parallelizable, gradient-based first-order methods (FOMs) with cheap per-iteration costs that still offer rigorous linear convergence guarantees.

Methods

The paper develops reformulations and algorithmic guarantees across optimization theory and economics:

  1. Equilibrium Bounding & Quadratic Extrapolation: Standard EG objectives involve terms like $-\log(u_i(x_i))$ or $p_j \log p_j$, whose gradients blow up near zero. The authors derive lower and upper bounds on equilibrium allocations, prices, and utilities. Using these bounds, they smoothly replace non-Lipschitz parts of the objectives with quadratic extrapolations without changing the optimal solution set.
  2. Proximal Gradient with Linesearch (PGLS): Casting each problem into $f(x) = h(Ax) + \langle q, x \rangle$ over a polyhedral set $\mathcal{X}$, they prove that Projected Gradient (PG) achieves global linear convergence via the Hoffman bound and the Proximal-Polyak–Łojasiewicz (PŁ) condition. They also develop a practical backtracking linesearch scheme (LS_{\alpha,\beta,\Gamma}) with guaranteed linear convergence and bounded backtracking steps.
  3. Quasilinear Shmyrev & Proportional Response (PR): For quasilinear (QL) utilities (which depend directly on prices and violate standard homogeneity assumptions), the authors derive a new convex formulation (QL-Shmyrev). They prove that applying Mirror Descent with KL divergence to this program yields a natural generalization of Proportional Response (PR) dynamics, proving a sublinear $O(1/t)$ last-iterate convergence rate in objective value and price error.
  4. Leontief Market Dual: For Leontief utilities (representing perfect complements), the authors work with a dual formulation where variables are prices over a simplex-like polyhedron, proving linear convergence for PG.

Datasets

No empirical real-world datasets were used; experiments were conducted on synthetically generated market instances:

  • Market sizes tested: $n \in \{50, 100, 150, 200\}$ buyers and $m = 2n$ items.
  • Valuation matrices $v_{ij}$ were sampled i.i.d. from four distributions: Standard Gaussian, Uniform, Exponential, and Lognormal.
  • Budgets were evaluated under both unit budgets ($B_i = 1$) and randomized budgets ($B_i = 0.5 + \tilde{B}_i$ for linear; $B_i = 5(1 + \tilde{B}_i)$ for QL).
  • 30 random instances were generated per parameter setting, benchmarked against ground truth computed via CVXPY + Mosek.

Key Insights and Ideas

  • Log-barriers can be smoothed safely: You don't need interior-point barriers everywhere. Because market equilibria cannot collapse to zero utility/price under nondegeneracy, bounding the equilibrium values allows "quadratic cutting" of the log functions, restoring global strong convexity and Lipschitz smoothness.
  • Proportional Response is Mirror Descent in disguise: Extending the known connection for linear utilities, the natural economic dynamic where buyers update bids proportional to received utility is mathematically equivalent to Bregman-divergence Mirror Descent on the dual QL-Shmyrev objective.
  • Linesearch beats conservative theory: Theoretical step sizes rely on worst-case Hoffman constants $H_{\mathcal{X}}(A)$, which can be astronomically pessimistic. The authors' practical linesearch scheme tracks local curvature, converging dramatically faster while retaining linear convergence proofs.

Key Results

  • Approximate vs. High Accuracy Tradeoff:
  • For low accuracy (e.g., relative price error $\epsilon \le 10^{-2}$ or normalized duality gap $\le 10^{-3}$), Proportional Response (PR) is the fastest algorithm, finding approximate solutions in very few iterations.
  • For high accuracy (e.g., duality gap $/ n \le 10^{-5}$ or $5 \times 10^{-6}$), PGLS dominates, converging in far fewer iterations due to its linear rate.
  • Sparse Projections: For linear utilities, each PG projection decomposes into independent simplex projections across items, scaling as $O(\text{nnz}(v) \log(\text{nnz}(v)))$ per iteration—completely independent of total market size when valuations are sparse.
  • Leontief Efficiency: For Leontief utilities, PGLS solved the price dual to high accuracy within tens of iterations across all test distributions.
  • Frank-Wolfe (FW) Limitations: While FW was competitive for linear utilities at low accuracy, it performed extremely poorly on quasilinear markets.

Limitations and Future Work

  • Away-step Frank-Wolfe Complexity: While away-step FW variants theoretically offer linear convergence, maintaining explicit vertex representations proved computationally unpromising and was abandoned for these formulations.
  • Dependence on Problem Constants: Although linear convergence rates are proven, the contraction constants depend on the Hoffman constant $H_{\mathcal{X}}(A)$ and valuation bounds, which can degrade if valuations are extremely poorly conditioned.
  • Indivisible Items: The framework strictly applies to divisible Fisher markets; extending these continuous gradient dynamics directly to discrete or combinatorial allocation settings without relying on ex-post lotteries remains challenging.

Summary updated

BibTeX
@inproceedings{gao2020first,
  author = {Yuan Gao and Christian Kroer},
  title = {{First-Order Methods for Large-Scale Market Equilibrium Computation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=4mms2E9xX6N},
}
Figure