Market equilibrium computation

Last updated

Market equilibrium computation (also called competitive equilibrium computation or clearing-prices computation) is a computational problem in the intersection of economics and computer science. The input to this problem is a market, consisting of a set of resources and a set of agents. There are various kinds of markets, such as Fisher market and Arrow–Debreu market, with divisible or indivisible resources. The required output is a competitive equilibrium , consisting of a price-vector (a price for each resource), and an allocation (a resource-bundle for each agent), such that each agent gets the best bundle possible (for him) given the budget, and the market clears (all resources are allocated).

Contents

Market equilibrium computation is interesting due to the fact that a competitive equilibrium is always Pareto efficient. The special case of a Fisher market, in which all buyers have equal incomes, is particularly interesting, since in this setting a competitive equilibrium is also envy-free. Therefore, market equilibrium computation is a way to find an allocation which is both fair and efficient.

Definitions

The input to the market-equilibrium-computation consists of the following ingredients: [1] :chap.5

  1. A set of resources with pre-specified supplies. The resources can be divisible (in which case, their supply is w.l.o.g. normalized to 1), or indivisible .
    • A bundle is represented by a vector , where is the quantity of resource . When resources are indivisible, all xj are integers; when resources are divisible, the xj can be arbitrarily real numbers (usually normalized to [0,1]).
  2. A set of agents. For each agent, there is a preference relation over bundles, which can be represented by a utility function. The utility function of agent is denoted by .
  3. An initial endowment for each agent.
    • In a Fisher market, the endowment is a budget of "fiat money" - a money that has no value outside the market, and thus does not enter the utility function. Since the agents come with money only, they are often called buyers.
    • In an Arrow–Debreu market, the endowment is an arbitrary bundle ; in this model, agents can be both buyers and sellers.

The required output should contain the following ingredients:

  1. A price-vector; a price for each resource. The price of a bundle is the sum of the prices of the resources in the, so the price of a bundle is .
  2. An allocation - a bundle for each agent i.

The output should satisfy the following requirements:

  1. The bundle should be affordable to i, that is, its price should be at most the price of agent i's endowment.
    • In a Fisher market, this means that .
    • In an Arrow-Debreu market, this means that .
  2. The bundle should be in the demand set of i: , defined as the set of bundles maximizing the agent's utility among all affordable bundles (regardless of supply), e.g., in a Fisher market:
  3. The market clears, i.e., all resources are allocated. The corresponding prices are called market-clearing prices.

A price and allocation satisfying these requirements are called a competitive equilibrium (CE) or a market equilibrium; the prices are also called equilibrium prices or clearing prices.

Kinds of utility functions

Market equilibrium computation has been studied under various assumptions regarding the agents' utility functions.

Utilities that are piecewise-linear and concave are often called PLC; if they are also separable, then they are called SPLC.

Main results

Approximate algorithms

Scarf [2] was the first to show the existence of a CE using Sperner's lemma (see Fisher market). He also gave an algorithm for computing an approximate CE.

Merrill [3] gave an extended algorithm for approximate CE.

Kakade, Kearns and Ortiz [4] gave algorithms for approximate CE in a generalized Arrow-Debreu market in which agents are located on a graph and trade may occur only between neighboring agents. They considered non-linear utilities.

Newman and Primak [5] studied two variants of the ellipsoid method for finding a CE in an Arrow-Debreu market with linear utilities. They prove that the inscribed ellipsoid method is more computat`ionally efficient than the circumscribed ellipsoid method.

Hardness results

In some cases, computing an approximate CE is PPAD-hard:

Exact algorithms

Devanur, Papadimitriou, Saberi and Vazirani [10] gave a polynomial-time algorithm for exactly computing an equilibrium for Fisher markets with linear utility functions. Their algorithm uses the primal–dual paradigm in the enhanced setting of KKT conditions and convex programs. Their algorithm is weakly-polynomial: it solves maximum flow problems, and thus it runs in time , where umax and Bmax are the maximum utility and budget, respectively.

Orlin [11] gave an improved algorithm for a Fisher market model with linear utilities, running in time . He then improved his algorithm to run in strongly-polynomial time: .

Devanur and Kannan [6] gave algorithms for Arrow-Debreu markets with concave utility functions, where all resources are goods (the utilities are positive):

Codenotti, McCune, Penumatcha and Varadarajan [12] gave an algorithm for Arrow-Debreu markes with CES utilities where the elasticity of substitution is at least 1/2.

Bads and mixed manna

Bogomolnaia and Moulin and Sandomirskiy and Yanovskaia studied the existence and properties of CE in a Fisher market with bads (items with negative utilities) [13] and with a mixture of goods and bads. [14] In contrast to the setting with goods, when the resources are bads the CE does not solve any convex optimization problem even with linear utilities. CE allocations correspond to local minima, local maxima, and saddle points of the product of utilities on the Pareto frontier of the set of feasible utilities. The CE rule becomes multivalued. This work has led to several works on algorithms of finding CE in such markets:

If both n and m are variable, the problem becomes computationally hard:

Main techniques

Bang-for-buck

When the utilities are linear, the bang-per-buck of agent i (also called BPB or utility-per-coin) is defined as the utility of i divided by the price paid. The BPB of a single resource is ; the total BPB is .

A key observation for finding a CE in a Fisher market with linear utilities is that, in any CE and for any agent i: [1]

Assume that every product has a potential buyer - a buyer with . Then, the above inequalities imply that , i.e, all prices are positive.

Cell decomposition

Cell decomposition [6] is a process of partitioning the space of possible prices into small "cells", either by hyperplanes or, more generally, by polynomial surfaces. A cell is defined by specifying on which side of each of these surfaces it lies (with polynomial surfaces, the cells are also known as semialgebraic sets). For each cell, we either find a market-clearing price-vector (i.e., a price in that cell for which a market-clearing allocation exists), or verify that the cell does not contain a market-clearing price-vector. The challenge is to find a decomposition with the following properties:

Convex optimization: homogeneous utilities

If the utilities of all agents are homogeneous functions, then the equilibrium conditions in the Fisher model can be written as solutions to a convex optimization program called the Eisenberg-Gale convex program. [19] This program finds an allocation that maximizes the weighted geometric mean of the buyers' utilities, where the weights are determined by the budgets. Equivalently, it maximizes the weighted arithmetic mean of the logarithms of the utilities:

Maximize
Subject to:
Non-negative quantities: For every buyer and product :
Sufficient supplies: For every product :

(since supplies are normalized to 1).

This optimization problem can be solved using the Karush–Kuhn–Tucker conditions (KKT). These conditions introduce Lagrangian multipliers that can be interpreted as the prices, . In every allocation that maximizes the Eisenberg-Gale program, every buyer receives a demanded bundle. I.e, a solution to the Eisenberg-Gale program represents a market equilibrium. [1] :141–142

Vazirani's algorithm: linear utilities, weakly polynomial-time

A special case of homogeneous utilities is when all buyers have linear utility functions. We assume that each resource has a potential buyer - a buyer that derives positive utility from that resource. Under this assumption, market-clearing prices exist and are unique. The proof is based on the Eisenberg-Gale program. The KKT conditions imply that the optimal solutions (allocations and prices ) satisfy the following inequalities:

  1. All prices are non-negative: .
  2. If a product has a positive price, then all its supply is exhausted: .
  3. The total BPB is weakly larger than the BPB from any individual resource, .
  4. Agent i consumes only resources with the maximum possible BPB, i.e., .

Assume that every product has a potential buyer - a buyer with . Then, inequality 3 implies that , i.e, all prices are positive. Then, inequality 2 implies that all supplies are exhausted. Inequality 4 implies that all buyers' budgets are exhausted. I.e, the market clears. Since the log function is a strictly concave function, if there is more than one equilibrium allocation then the utility derived by each buyer in both allocations must be the same (a decrease in the utility of a buyer cannot be compensated by an increase in the utility of another buyer). This, together with inequality 4, implies that the prices are unique. [1] :107

Vazirani [1] :109–121 presented an algorithm for finding equilibrium prices and allocations in a linear Fisher market. The algorithm is based on condition 4 above. The condition implies that, in equilibrium, every buyer buys only products that give him maximum BPB. Let's say that a buyer "likes" a product, if that product gives him maximum BPB in the current prices. Given a price-vector, construct a flow network in which the capacity of each edge represents the total money "flowing" through that edge. The network is as follows:

The price-vector p is an equilibrium price-vector, if and only if the two cuts ({s},V\{s}) and (V\{t},{t}) are min-cuts. Hence, an equilibrium price-vector can be found using the following scheme:

There is an algorithm that solves this problem in weakly polynomial time.

Online computation

Recently, Gao, Peysakhovich and Kroer [20] presented an algorithm for online computation of market equilibrium.

See also

Related Research Articles

<span class="mw-page-title-main">Linear programming</span> Method to solve optimization problems

Linear programming (LP), also called linear optimization, is a method to achieve the best outcome in a mathematical model whose requirements and objective are represented by linear relationships. Linear programming is a special case of mathematical programming.

In mathematics, a linear differential equation is a differential equation that is defined by a linear polynomial in the unknown function and its derivatives, that is an equation of the form

An integer programming problem is a mathematical optimization or feasibility program in which some or all of the variables are restricted to be integers. In many settings the term refers to integer linear programming (ILP), in which the objective function and the constraints are linear.

In mathematical economics, the Arrow–Debreu model is a theoretical general equilibrium model. It posits that under certain economic assumptions there must be a set of prices such that aggregate supplies will equal aggregate demands for every commodity in the economy.

A Lindahl tax is a form of taxation conceived by Erik Lindahl in which individuals pay for public goods according to their marginal benefits. In other words, they pay according to the amount of satisfaction or utility they derive from the consumption of an additional unit of the public good. Lindahl taxation is designed to maximize efficiency for each individual and provide the optimal level of a public good.

Competitive equilibrium is a concept of economic equilibrium, introduced by Kenneth Arrow and Gérard Debreu in 1951, appropriate for the analysis of commodity markets with flexible prices and many traders, and serving as the benchmark of efficiency in economic analysis. It relies crucially on the assumption of a competitive environment where each trader decides upon a quantity that is so small compared to the total quantity traded in the market that their individual transactions have no influence on the prices. Competitive markets are an ideal standard by which other market structures are evaluated.

In economics, especially in consumer theory, a Leontief utility function is a function of the form:

In algorithmic game theory, a succinct game or a succinctly representable game is a game which may be represented in a size much smaller than its normal form representation. Without placing constraints on player utilities, describing a game of players, each facing strategies, requires listing utility values. Even trivial algorithms are capable of finding a Nash equilibrium in a time polynomial in the length of such a large input. A succinct game is of polynomial type if in a game represented by a string of length n the number of players, as well as the number of strategies of each player, is bounded by a polynomial in n.

Fair item allocation is a kind of the fair division problem in which the items to divide are discrete rather than continuous. The items have to be divided among several partners who potentially value them differently, and each item has to be given as a whole to a single person. This situation arises in various real-life scenarios:

In economics and consumer theory, a linear utility function is a function of the form:

Efficiency and fairness are two major goals of welfare economics. Given a set of resources and a set of agents, the goal is to divide the resources among the agents in a way that is both Pareto efficient (PE) and envy-free (EF). The goal was first defined by David Schmeidler and Menahem Yaari. Later, the existence of such allocations has been proved under various conditions.

Fisher market is an economic model attributed to Irving Fisher. It has the following ingredients:

Envy-free (EF) item allocation is a fair item allocation problem, in which the fairness criterion is envy-freeness - each agent should receive a bundle that they believe to be at least as good as the bundle of any other agent.

Approximate Competitive Equilibrium from Equal Incomes (A-CEEI) is a procedure for fair item assignment. It was developed by Eric Budish.

<span class="mw-page-title-main">Price of anarchy in auctions</span>

The Price of Anarchy (PoA) is a concept in game theory and mechanism design that measures how the social welfare of a system degrades due to selfish behavior of its agents. It has been studied extensively in various contexts, particularly in auctions.

In theoretical economics, an abstract economy is a model that generalizes both the standard model of an exchange economy in microeconomics, and the standard model of a game in game theory. An equilibrium in an abstract economy generalizes both a Walrasian equilibrium in microeconomics, and a Nash equilibrium in game-theory.

When allocating objects among people with different preferences, two major goals are Pareto efficiency and fairness. Since the objects are indivisible, there may not exist any fair allocation. For example, when there is a single house and two people, every allocation of the house will be unfair to one person. Therefore, several common approximations have been studied, such as maximin-share fairness (MMS), envy-freeness up to one item (EF1), proportionality up to one item (PROP1), and equitability up to one item (EQ1). The problem of efficient approximately fair item allocation is to find an allocation that is both Pareto-efficient (PE) and satisfies one of these fairness notions. The problem was first presented at 2016 and has attracted considerable attention since then.

The welfare maximization problem is an optimization problem studied in economics and computer science. Its goal is to partition a set of items among agents with different utility functions, such that the welfare – defined as the sum of the agents' utilities – is as high as possible. In other words, the goal is to find an item allocation satisfying the utilitarian rule.

In theoretical economics, an Arrow–Debreu exchange market is a special case of the Arrow–Debreu model in which there is no production - there is only an exchange of already-existing goods. An Arrow–Debreu exchange market has the following ingredients:

References

  1. 1 2 3 4 5 Vazirani, Vijay V.; Nisan, Noam; Roughgarden, Tim; Tardos, Éva (2007). "Chapter 5: Combinatorial Algorithms for Market Equilibria / Vijay V. Vazirani". Algorithmic Game Theory (PDF). Cambridge, UK: Cambridge University Press. ISBN   0-521-87282-0.
  2. Scarf, Herbert E. (1967). "On the Computation of Equilibrium Prices". Cowles Foundation Discussion Papers.
  3. O. H. Merrill (1972). Applications and Extensions of an algorithm that computes fixed points of certain upper semi-continuous point to set mappings. PhD thesis.
  4. Kakade, Sham M.; Kearns, Michael; Ortiz, Luis E. (2004). Shawe-Taylor, John; Singer, Yoram (eds.). "Graphical Economics". Learning Theory. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer. 3120: 17–32. doi:10.1007/978-3-540-27819-1_2. ISBN   978-3-540-27819-1.
  5. Newman, D. J.; Primak, M. E. (1992-12-01). "Complexity of circumscribed and inscribed ellipsoid methods for solving equilibrium economical models". Applied Mathematics and Computation. 52 (2): 223–231. doi:10.1016/0096-3003(92)90079-G. ISSN   0096-3003.
  6. 1 2 3 4 Devanur, N. R.; Kannan, R. (2008-10-01). "Market Equilibria in Polynomial Time for Fixed Number of Goods or Agents". 2008 49th Annual IEEE Symposium on Foundations of Computer Science. pp. 45–53. doi:10.1109/FOCS.2008.30. ISBN   978-0-7695-3436-7. S2CID   13992175.
  7. Chen, X.; Dai, D.; Du, Y.; Teng, S. (2009-10-01). "Settling the Complexity of Arrow-Debreu Equilibria in Markets with Additively Separable Utilities". 2009 50th Annual IEEE Symposium on Foundations of Computer Science. pp. 273–282. arXiv: 0904.0644 . doi:10.1109/FOCS.2009.29. ISBN   978-1-4244-5116-6. S2CID   580788.
  8. 1 2 Chen, Xi; Teng, Shang-Hua (2009). Dong, Yingfei; Du, Ding-Zhu; Ibarra, Oscar (eds.). "Spending Is Not Easier Than Trading: On the Computational Equivalence of Fisher and Arrow-Debreu Equilibria". Algorithms and Computation. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer. 5878: 647–656. arXiv: 0907.4130 . doi:10.1007/978-3-642-10631-6_66. ISBN   978-3-642-10631-6. S2CID   7817966.
  9. 1 2 3 Chaudhury, Bhaskar Ray; Garg, Jugal; McGlaughlin, Peter; Mehta, Ruta (2020-08-01). "Dividing Bads is Harder than Dividing Goods: On the Complexity of Fair and Efficient Division of Chores". arXiv: 2008.00285 [cs.GT].
  10. Devanur, Nikhil R.; Papadimitriou, Christos H.; Saberi, Amin; Vazirani, Vijay V. (2008-11-05). "Market equilibrium via a primal--dual algorithm for a convex program". Journal of the ACM. 55 (5): 22:1–22:18. doi:10.1145/1411509.1411512. ISSN   0004-5411. S2CID   11836728.
  11. Orlin, James B. (2010-06-05). "Improved algorithms for computing fisher's market clearing prices". Proceedings of the forty-second ACM symposium on Theory of computing. STOC '10. Cambridge, Massachusetts, USA: Association for Computing Machinery. pp. 291–300. doi:10.1145/1806689.1806731. hdl: 1721.1/68009 . ISBN   978-1-4503-0050-6. S2CID   8235905.
  12. Codenotti, Bruno; McCune, Benton; Penumatcha, Sriram; Varadarajan, Kasturi (2005). Sarukkai, Sundar; Sen, Sandeep (eds.). "Market Equilibrium for CES Exchange Economies: Existence, Multiplicity, and Computation". FSTTCS 2005: Foundations of Software Technology and Theoretical Computer Science. Lecture Notes in Computer Science. Berlin, Heidelberg: Springer. 3821: 505–516. doi:10.1007/11590156_41. ISBN   978-3-540-32419-5.
  13. Bogomolnaia, Anna; Moulin, Hervé; Sandomirskiy, Fedor; Yanovskaia, Elena (2019-03-01). "Dividing bads under additive utilities". Social Choice and Welfare. 52 (3): 395–417. doi: 10.1007/s00355-018-1157-x . ISSN   1432-217X.
  14. Bogomolnaia, Anna; Moulin, Hervé; Sandomirskiy, Fedor; Yanovskaya, Elena (2017). "Competitive Division of a Mixed Manna". Econometrica. 85 (6): 1847–1871. arXiv: 1702.00616 . doi:10.3982/ECTA14564. ISSN   1468-0262. S2CID   17081755.
  15. Brânzei, Simina; Sandomirskiy, Fedor (2019-07-03). "Algorithms for Competitive Division of Chores". arXiv: 1907.01766 [cs.GT].
  16. Garg, Jugal; McGlaughlin, Peter (2020-05-05). "Computing Competitive Equilibria with Mixed Manna". Proceedings of the 19th International Conference on Autonomous Agents and MultiAgent Systems. AAMAS '20. Auckland, New Zealand: International Foundation for Autonomous Agents and Multiagent Systems: 420–428. ISBN   978-1-4503-7518-4.
  17. Chaudhury, Bhaskar Ray; Garg, Jugal; McGlaughlin, Peter; Mehta, Ruta (2021-01-01), "Competitive Allocation of a Mixed Manna", Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), Proceedings, Society for Industrial and Applied Mathematics, pp. 1405–1424, arXiv: 2008.02753 , doi: 10.1137/1.9781611976465.85 , ISBN   978-1-61197-646-5
  18. Basu, Saugata; Pollack, Richard; Roy, Marie-Françoise (1998). Caviness, Bob F.; Johnson, Jeremy R. (eds.). "A New Algorithm to Find a Point in Every Cell Defined by a Family of Polynomials". Quantifier Elimination and Cylindrical Algebraic Decomposition. Texts and Monographs in Symbolic Computation. Vienna: Springer: 341–350. doi:10.1007/978-3-7091-9459-1_17. ISBN   978-3-7091-9459-1.
  19. Eisenberg, E. (1961). "Aggregation of Utility Functions". Management Science. 7 (4): 337–350. doi:10.1287/mnsc.7.4.337. Archived from the original on September 23, 2017.
  20. Gao, Yuan; Peysakhovich, Alex; Kroer, Christian (2021). "Online Market Equilibrium with Application to Fair Division". Advances in Neural Information Processing Systems. Curran Associates, Inc. 34: 27305–27318. arXiv: 2103.12936 .