Large-Scale Contextual Market Equilibrium Computation through Deep Learning
Yunxuan Ma, Yide Bian, Hao Xu, Weitao Yang, Jingshu Zhao, Zhijian Duan, Feng Wang, Xiaotie Deng
TL;DR
This work tackles large-scale contextual market equilibrium computation by introducing MarketFCNet, a neural network-based allocation function x_\theta(b_i,g_j) trained via Augmented Lagrangian methods to satisfy market constraints while decoupling complexity from the number of buyers. It provides unbiased gradient estimators to enable SGD/Adam optimization and defines Nash Gap (NG) as a principled measure of deviation from equilibrium, tying welfare gaps to a saddle-point interpretation. Empirical results on CES utilities show MarketFCNet achieves competitive equilibrium-like performance with dramatically reduced runtime compared to traditional solvers, and demonstrates strong scalability across market sizes and context distributions. The approach promises practical impact for accelerating large-scale contextual market analysis and opens avenues for online and stochastic-budget extensions.
Abstract
Market equilibrium is one of the most fundamental solution concepts in economics and social optimization analysis. Existing works on market equilibrium computation primarily focus on settings with relatively few buyers. Motivated by this, our paper investigates the computation of market equilibrium in scenarios with a large-scale buyer population, where buyers and goods are represented by their contexts. Building on this realistic and generalized contextual market model, we introduce MarketFCNet, a deep learning-based method for approximating market equilibrium. We start by parameterizing the allocation of each good to each buyer using a neural network, which depends solely on the context of the buyer and the good. Next, we propose an efficient method to unbiasedly estimate the loss function of the training algorithm, enabling us to optimize the network parameters through gradient. To evaluate the approximated solution, we propose a metric called Nash Gap, which quantifies the deviation of the given allocation and price pair from the market equilibrium. Experimental results indicate that MarketFCNet delivers competitive performance and significantly lower running times compared to existing methods as the market scale expands, demonstrating the potential of deep learning-based methods to accelerate the approximation of large-scale contextual market equilibrium.
