2021 \setcopyrightrightsretained \acmConference[EC ’21]Proceedings of the 22nd ACM Conference on Economics and ComputationJuly 18–23, 2021Budapest, Hungary \acmBooktitleProceedings of the 22nd ACM Conference on Economics and Computation (EC ’21), July 18–23, 2021, Budapest, Hungary\acmDOI10.1145/3465456.3467628 \acmISBN978-1-4503-8554-1/21/07 \acmDOI10.1145/3465456.3467628
Graphical Economies with Resale
Abstract.
Kakade, Kearns, and Ortiz (KKO) introduce a graph-theoretic generalization of the classic Arrow–Debreu (AD) exchange economy. Despite its appeal as a networked version of AD, we argue that the KKO model is too local, in the sense that goods cannot travel more than one hop through the network. We introduce an alternative model in which agents may purchase goods on credit in order to resell them. In contrast to KKO, our model allows for long-range trade, and yields equilibria in more settings than KKO, including sparse endowments. Our model smoothly interpolates between the KKO and AD equilibrium concepts: we recover KKO when the resale capacity is zero, and recover AD when it is sufficiently large. We give general equilibrium existence results, and an auction-based algorithm to compute approximate equilibria when agent utilities satisfy the weak gross-substitutes property.
1. Introduction
Market exchange equilibria have an illustrious history dating back to Walras in 1874 Walras (1874), culminating in a general proof of existence for Arrow–Debreu (AD) equilibria Arrow and Debreu (1954). A key assumption of the Walrasian framework—that markets are centralized—has been under scrutiny the past years, spurring a rapidly growing literature focused on the economics of networks (cf. Bramoullé et al. (2016), § 6.5). In these decentralized models, agents are typically nodes in a graph and trade is restricted to edges. A particularly inspiring example, and the prime motivation for the present work, is the graphical exchange economy introduced by Kakade, Kearns, and Ortiz (KKO) Kakade et al. (2004a). The KKO model allows for local markets, where intuitively each agent can set its own prices, and can purchase goods from neighoring agents at their prices.
While the KKO model does capture many intuitive phenomena arising from economies with graphical structure, the model falls short in several simple scenarios. In particular, KKO is perhaps “too local”, as the model prohibits goods to move more than one hop in the network. As such, there are simple networks where one would intuitively expect a chain of trade, yet KKO offers either no equilibrium or one which fragments the network. See §3 for two such examples.
In this paper, we introduce an extension of the KKO model which allows agents to purchase goods to resell, thereby facilitating long-range trade throughout the network. As we show, our model provides an intuitive resolution to scenarios described above involving a chain of trade, giving the intermediate nodes a share of the overall surplus. Our model also smoothly interpolates between the KKO and AD equilibrium concepts, by throttling the amount that agents are allowed to resell: when resale is eliminated, goods can only move one hop, and we recover KKO, and conversely when resale is sufficiently large, all local prices must coincide, and we recover AD.
In addition to the intuitive appeal of our model, we give standard existence results, showing that equilibria exist in essentially any setting where AD equilibria exist (§4). We also give an auction-based algorithm to compute approximate equilibria, by modifying previous combinatorial auction-based algorithms to account for resale (§5). Despite the similarity to the algorithms in Kapoor et al. (2005); Garg and Kapoor (2006), we require entirely new techniques to bound the runtime. Our algorithmic results are perhaps surprising, as our model is closely related to AD economies with production, which in general have bleak computational results Garg et al. (2017); Garg and Kannan (2015); Garg and Vazirani (2013). We conclude in §6 with extensions, discussion, and future directions.
1.1. Related Work
Understanding the behaviour of markets (economies) is at the heart of many research streams in theoretical economics. Work pioneered by the century economist Léon Walras Walras (1874) has been at the epicenter since pioneering work by Arrow and Debreu (1954), which establishes the existence of equilibria in a very general model of the economy that is now known as the Arrow–Debreu (AD) market model. In the theoretical computer science community, computing equilibria in the AD model has garnered much attention. In the purely exchange setting of the AD model multiple algorithmic innovations have been made to compute equilibria, e.g. Devanur (2004); Vazirani (2010); Devanur et al. (2008); Garg and Kapoor (2006); Codenotti et al. (2005); Kakade et al. (2004a); Garg et al. (2019). The work introduced in this paper falls outside the scope of these algorithms since resale in graphical economies behaves like a special version of production in the AD model. For AD markets with production, Jain and Varadarajan (2006) and Kapoor et al. (2005) give polynomial-time algorithms for finding competitive equilibria for certain types of production and utility functions. However, resale in graphical economies falls outside the scope of production applicable to the convex program in Jain and Varadarajan (2006), and is more complicated than the production in Kapoor et al. (2005). In fact, certain forms of resale reduce to a special case of production where even approximating competitive equilibria is known to be FIXP-hard in general Garg et al. (2017, 2014).
We introduce a variant of the auction based algorithms by Garg and Kapoor (2006) and Kapoor et al. (2005) that is able to approximate competitive equilibria in graphical economies with resale, though our proofs differ substantially. By considering specific graph structures, the algorithm being introduced extends both Garg and Kapoor (2006) and Kapoor et al. (2005) to a more general class of utility functions and, in the case of Garg and Kapoor (2006), to a more general class of production functions. These auction-based algorithms have a storied history in general resource allocation and network optimization Bertsekas (1992); Lin et al. (2013); Zavlanos et al. (2008); Avasarala et al. (2006); Curescu and Nadjm-Tehrani (2008), thus generalizing these algorithms to a network market model with long range trade provides insights reaching farther than classic economics. Finally, a form of resale discussed in this paper, called credit bound resale, can be thought of as a natural extension of the spending constraint utilities introduced in Devanur (2004); Vazirani (2010) to a production-like setting.
Along with the aforementioned connections to traditional economic theory and algorithmic economics, the work presented here has deep ties to the study of economic networks more broadly. In §6.5 we discuss these connections in detail.
2. Setting and Background
We consider economies consisting of a set of divisible goods and a set of agents embedded as nodes in some graph , whose edges describe who may trade with whom. For ease of exposition we will assume that is undirected throughout this paper; all results can be easily extended to directed graphs. In addition, to simplify notation, in lieu of we will use the reflexive symmetric binary relation on , so that for any two agents , the presence of an edge between them is denoted by . When it is important to specify, we will also use the notation to mean .
In the economy, each agent has an endowment of goods and a utility function . The endowment vector describes the bundle of goods that agent enters the market with; agent is endowed an amount of good . The utility function encodes agent ’s preferences over bundles of goods. As introduced by Kakade et al. (2004a), a graphical economy can be formally defined as follows.
Definition 2.1.
A graphical economy is an undirected graph over agents with neighbor relation , utilities , and endowments , where is an integer denoting the number of goods being traded.
To discuss equilibria in a graphical economy, Kakade, et al. Kakade et al. (2004a) introduce local price vectors for each agent , so that is the price at which agent sells one unit of good . The consumption plans111In the traditional AD economy setting, an agent’s consumption plan is often referred to as their “allocation”. However, as defined in §3, we will consider agents who purchase goods for both consumption and reselling. For this reason we opt for the term consumption plan, as it more naturally differentiates between the goods purchased for consumption vs. reselling. are given by vectors describing the bundle of goods agent purchases from agent for consumption, so that the set thus describes all of the consumption for agent . To enforce the condition that trade must traverse edges, we set for .
Throughout the paper we will use to denote the full set of endowments in the economy, to denote the full set of prices in the economy, to denote the full set of consumption plans in the economy, etc. In addition, we will treat each of these sets as vectors, matrices, and tensors that are indexed in a way that is consistent with their definitions above; for example, agent buys an amount of good from agent for consumption.
2.1. The Arrow–Debreu (AD) Exchange Model
The Arrow–Debreu (AD) exchange economy Arrow and Debreu (1954), also known as the Walrasian model, is extremely well studied due to its central role in general equilibrium theory. The graphical economies studied here are generalizations of AD which retain AD as a special case Kakade et al. (2004a). In the language introduced above, consider a graphical economy with agents and goods that is embedded in a complete graph, i.e. a graphical economy where every pair of agents is able to trade with one another.
Definition 2.2.
An AD equilibrium is a pair of a set of price vectors and set of consumption plans such that if the underlying graph is complete, we have for all , and the following conditions are satisfied:
-
1.
Market Clearing.
(1) -
2.
Individual rationality (IR). For all agents , setting maximizes their utility over all satisfying
(2)
Notice that since the underlying trade graph is complete, the condition that for all is without loss of generality: by allowing trade between every pair of agents, at equilibrium the local aspects of a graphical economy essentially become obsolete. To see this, note that agents can consume goods from any other agent, and thus individual rationality dictates that agents should only consume utility maximizing goods at the cheapest price in the economy. To enforce market clearing the price on a good must therefore be identical throughout the economy, meaning that prices can simply be described by a single vector. Similarly, since local prices are all the same, all that matters about the consumption plan are the sums , often called the demand vectors, specifying what each agent consumes but not from whom. After these two simplifications, we arrive at the usual definition of an AD equilibrium.
2.2. The Kakade, Kearns, Ortiz (KKO) Equilibrium
By moving from the complete graph to general graphs, and imposing a local clearing condition instead of a global one, we arrive at the notion of equilibria for graphical economies introduced by Kakade, Kearns, and Ortiz (KKO) Kakade et al. (2004a). Unlike the AD equilibrium, the KKO model allows asymmetries in trade opportunities to arise from the underlying graph, yielding local price vectors that are generally distinct among agents.
Definition 2.3.
A KKO equilibrium of a graphical economy is a pair of prices and consumption plans , such that the following conditions are satisfied for all :
-
1.
Local Clearing.
(3) -
2.
Individual rationality (IR). Setting maximizes the utility over all satisfying
(4)
As above, one can see eq. (3) as a clearing constraint by defining the demand vector from agent by . When is the complete graph, we recover the AD equilibrium.
Graphical economies such as KKO are both technically and conceptually appealing. As is often the case in computer science, designing algorithms to exploit the underlying network topology can yield more efficient algorithms; see Kakade et al. (2004a); Kakade et al. (2004b); Nisan et al. (2007), as well as §5. Conceptually, as one of the most well-studied and general mathematical models of trade, placing AD on a network provides a natural way of understanding the effects of network topology in actual economies and, more generally, resource routing problems. Studying the relationship between network structure and local equilibrium outcomes yields better understanding of the phenomena observed in data Kakade et al. (2004b).
Kakade et al. (2004a) show the existence of graphical equilibria under very general conditions, and give an algorithm to compute equilibria in polynomial time. Their algorithm follows from a novel algorithm to compute AD equilibria, together with a reduction to AD from the graphical setting by using “tagged” goods which are marked according to who sold them. The model we present below will not allow such a reduction.
3. Allowing Resale
Consider the following natural 3-node example: two agents with complementary endowments and preferences, each connected only to a single “broker” agent with no endowment. The utilities in this example are linear; here and throughout the paper when we work with linear utilities, we will specify the utility by its coefficients , so that .
Intuitively, one might expect that agent 2 would extract rent from the other agents, as without a broker, agents 1 and 3 cannot trade and would have no utility. However, there is no KKO equilibrium, as technically agents 1 and 3 cannot trade directly even in the presence of agent 2. To see this, note that for the market to clear in eq. (3), no agent can purchase anything from agent 2, as the demand must match the supply . Furthermore, agents 1 or 3 cannot have any nonzero budget after selling their endowment, since otherwise they would rationally spend it on goods which they and their neighbors do not have in their endowments. We conclude that the prices of the nonzero endowments are zero: and . But now that these prices are zero, agent 2 only satisfies individual rationality by buying an infinite amount of these goods, making clearing impossible. We conclude that no equilibrium exists under the KKO model.
A standard way to address this non-existence is to impose a small minimum endowment, i.e., to replace each zero in the endowment vectors with . Let us call an -KKO equilibrium one which arises from a KKO equilibrum after imposing this minimum; such an equilibrium always exists by Kakade et al. (2004a). In the -KKO equilibrium for this example, since agent 2 is indifferent between both goods, agent 2 extracts most of the utility as expected. In §3.2 we show that our formalism using resale leads to an equivalent outcome.
Unfortunately, -KKO equilibria do not always match intuition. Consider a -KKO equilibrium for a modification of the above example, where we set . Since agents 1 and 2 have no utility for the first good and one of them must consume this good for the market to clear in eq. (3), agent 1 must have zero price for that good: . The endowment of agent 1 is therefore distributed among agents 1 and 2 for no profit and no utility, meaning an entire unit of utility is wasted in any -KKO equilibrium. By contrast, under our model agent 2 takes advantage of resale by facilitating the trade of the first good to agent 3. See Appendix C for a full analysis.
3.1. Resale Equilibrium
Motivated by the above examples, we introduce a new equilibrium concept for graphical economies which allows agents to facilitate trade between other parties without consuming any of the goods so traded; in other words, agents are allowed to resell goods. By introducing resale we are able to extend KKO equilibria to better capture the behaviour one expects in graphical economies at equilibrium. Though resale equilibria are defined as a one-shot process like the AD and KKO settings, it is intuitive to think of a resale equilibrium as proceeding in two phases: a resale phase and a purchase phase. In the resale phase, agents purchase goods from each other but immediately sell them, intuitively to arbitrage prices which differ within their neighborhood. At the end of the resale phase, the market need not clear. Next, in the purchase phase, agents sell their endowments, and then use this money, together with the profits from the first phase, to purchase goods to optimize their utility. Only after both phases do we require the market to clear at each node, in the sense that every agent holds onto a nonnegative amount of each good, and no goods are created or destroyed in the economy.
To capture resale, we track purchases for resale separately from purchases for consumption. The vector denotes the bundle of goods agent purchased from agent for resale, and as before we define for . As with , we define and to be the resale plans for an agent and for the whole economy respectively. Finally, associated with each agent is a resale bound representing an exogenous limit on resale for agent . The vector represents the set of every agent’s resale bound. The resale limits in have a natural interpretation as credit or capacity constraints, as we describe below.
We define equilibria in graphical economies with resale in terms of demand systems. This formalism provides an intuitive means of reasoning about graphical economies with resale in their full generality and will be particularly important for the algorithm we introduce in §5. Our use of demand systems is inspired by the recent work of Garg et al. (2019), though our algorithm differs from theirs in significant ways beyond just applying to a graphical setting with resale. Informally, demand systems encode optimal actions for agents in the economy at a given set of prices and budget. For example, in both AD and KKO equilibria, a demand system will return the set of consumption plans maximizing an agent’s utility while satisfying eqs. 2 and 4 above.
Definition 3.1.
A demand system is a function . A demand system is said to be normalized if for all , and said to be scale invariant if for all , , .
In our model each agent has two demand systems: a consumption demand system and a resale demand system . For consumption, denotes the set of plans that maximize agent ’s utility at prices within the budget . As defined above, we have for in every consumption plan . When an agent has linear utilities , will include all consumption plans with fractional assignments of goods maximizing bang-per-buck with total price . 222When the optimal consumption plans are unique for each set of prices and budget, these systems coincide with demand functions, which are well studied in exchange economies for certain classes of utility functions. To see the importance of considering demand systems rather than demand functions, simply note that linear utility functions often have non-unique demand sets for a given set of prices and budgets.
For resale, denotes the set of resale plans that maximize resale profits over a set of feasible resale plans . We enforce for in every . While our results apply to quite general resale demand systems,333In fact, for the analysis in § 5, we do not even need resale demand systems to maximize resale profits. a natural and motivating example is credit bound resale, where represents the total budget or “line of credit” with which agent can purchase goods in order to resell. Formally, the credit bound resale demand system sets , so that is the set of fractional assignments of goods of total cost maximizing profit-per-credit . Another natural form of resale is commodity bound resale, which maximizes resale profits subject to . Despite its intuitive appeal, proving existence for commodity bound resale requires strengthening our assumptions, as we discuss in §6.4. Our examples throughout the paper use credit bound resale where every agent has linear utilities.
Definition 3.2.
Let and be the consumption and normalized resale demand systems of each agent . For any , a -resale equilibrium of a graphical economy is a triple of prices , consumption plans , and resale plans , such that for all the following conditions are satisfied:
-
1.
Local Clearing.
-
2.
Optimal arbitrage. .
-
3.
Individual rationality (IR). .
When using resale demand systems having constraints such as credit bounds, the prices can determine the feasible set of resale plans. Due to this dependence, equilibrium prices do not necessarily scale in the sense traditionally seen in AD economies. For example, in credit bound resale, equilibrium plans are preserved when scaling both equilibrium prices and credit bounds . The equilibrium prices still scale in the traditional sense for commodity bound resale, as there the feasible resale plans do not depend on prices.
For credit bound resale and similar resale demand systems, we recover the KKO equilibrium concept for and the AD equilibrium for sufficiently large . To see this, for every , consider a normalized resale system that returns sets that are increasing in when can profit. To recover KKO, we simply set to remove resale: implies for all as is normalized, and thus consumption budgets are which is equivalent to eq. (4) and market clearing simply reduces to eq. (3). Conversely, let be sufficiently large for each agent. As resale is essentially unrestricted, then any difference in prices will result in large reselling. In particular, for all , if is large enough444For credit bound resale, it suffices to set the total cost of buying all goods in the economy. for there to exist at equilibrium prices such that includes every good in the economy, then the market will not clear if any prices differ. Thus, for sufficiently large , we will have for all , forcing zero profits from resale. As agents are therefore indifferent among all valid resale plans, goods can move freely throughout the graph, and we can set to achieve any consumption plan satisfying global market clearing, eq. (1).
3.2. Revisiting the Broker Example
We can now see how the addition of resale changes the outcome of the broker example from above. For simplicity let be a credit bound resale demand system for every agent . We will argue that, for any , the following prices at lead to a -resale equilibrium where . Dotted lines depict movement of the goods.
Let us verify the equilibrium. Agents 1 and 3 have nothing to gain from resale, so abstain from the first phase, whereas agent 2 can resell a total of units. Agent 2 thus purchases and from agents 1 and 3, respectively, to then resell for an optimal profit of . In the second phase, agents 1 and 3 sell their endowments for a revenue of and purchase and from agent 2, respectively, thus optimizing their utility. Agent 2 uses the profit from the first phase to purchase and from agents 1 and 3, respectively, at a price . Optimal arbitrage and individual rationality are clear; it remains to check the clearing constraint. Setting , we now have that the goods consumed by agent 2 are , and the goods resold are indeed consumed by agents 1 and 3.555Commodity bound resale offers a similar resolution to this broker example. The primary difference is that agent 2’s resale plans are not influenced by prices, and thus agent 2 will always resell from each of the other agents.
The resolution of the broker example is intuitive: adding a small amount of resale capacity allows agent 2 to extract nearly all of the rent for the service of facilitating trade between agents 1 and 3. Specifically, the final utilities are , , and , respectively. The larger becomes, the less rent agent 2 can extract, for the simple reason that the prices for the other agents must increase for the market to clear. When , all prices become equal and the market is effectively a classic AD exchange economy as predicted in §3.1.
Finally, while this example is motivating as it yields no KKO equilibrium, and we must have for the same reason, we can easily take a limit as to obtain a limiting equilibrium where agent 2 extracts all the rents from its neighbors. This leads to an intuitive extension of the KKO equilibrium concept, which remains well-defined even for agents with zero endowments: a limiting equilibrium of a -resale economy as . This limiting resale equilibrium yields an efficient allocation in both this example and the modification above with . In contrast, the corresponding limiting -KKO equilibrium as suffers from the same problem as the non-limit version: for the modified example with , the first good is “trapped” in a local economy regardless of , and thus in the limit.
4. Existence of Equilibria
We prove the existence of equilibria in graphical economies with resale that satisfy five assumptions. Our assumptions are weaker than those by Arrow and Debreu (1954) and Kakade et al. (2004a), and are closer to those made by Maxfield (1997) and McKenzie (1981), which are some of the mildest assumptions needed for proving the existence of equilibria in AD economies. Our proof follows a similar trajectory to Kakade et al. (2004a), but requires substantially more work due to our relaxations of their assumptions; in particular, endowments may be zero, and as such desired goods may not be directly available in an agent’s neighborhood. At a high level, the proof strategy can be thought of as a three step process: (§4.1) a proof that quasi-equilibria exist, a weaker equilibrium concept which relaxes rationality; (§4.2) assumptions that ensure these quasi-equilibria are in fact -resale equilibria when the underlying graph is connected; and (§4.3) a proof that these assumptions guarantee the general existence of -resale graphical equilibria by establishing equilibria in every connected component of the underlying graph.
The remainder of the section is dedicated to proving existence (Theorem 4.4) and will introduce the necessary concepts, assumptions, and lemmas. For each result we will give a proof sketch, with full proofs in Appendix A. Other than Assumption 5 which is specific to graphical settings, our assumptions are standard utility and non-degeneracy assumptions in line with those made by Arrow and Debreu (1954), Kakade et al. (2004a), and Maxfield (1997). The assumption specific to our setting is rather weak, and essentially states that the underlying graph does not create pathological local economies where agents cannot access the goods for which they have utility.
4.1. Existence of Quasi-Equilibria with Resale
The concept of quasi-equilibria was first introduced by Debreu (1962) to do away with the assumption in Arrow and Debreu (1954) that every agent in the economy has non-zero endowments of every good. (In particular, as discussed in §3, these criticisms apply to -KKO equilibria.) McKenzie (1981) gives a detailed discussion of quasi-equilibria and AD equilibria, while Maxfield (1997) shows that analogous quasi-equilibria exist in AD economies with production. Intuitively, quasi-equilibria are relaxations of equilibria: agents with wealth behave exactly as they would at equilibrium, while agents without wealth need not satisfy individual rationality. As rationality of agents with zero wealth applies only to goods with zero prices, quasi-equilibria are used as a stepping stone to ultimately rule out zero prices and/or zero wealth, in which case they coincide with the usual equilibria.
We say an agent is rational if optimal arbitrage and individual rationality (conditions 2 and 3 of Definition 3.2) are both satisfied. Our definition of -resale quasi-equilibria is equivalent to its counterpart in AD production economies.
Definition 4.1.
A -resale quasi-equilibrium of a graphical economy with resale is a set of globally normalized prices (i.e. ), a set of consumption plans , and a set of resale plans , in which the local markets clear, optimal arbitrage is enforced, and for each agent with wealth , the following conditions hold:
-
1.
(Rational) If agent has positive wealth (), then , and thus is rational.
-
2.
(Quasi-Rational) If agent has no wealth (), then is budget constrained, but need not be in , i.e., individual rationality need not hold.
As noted above, quasi-equilibria are a powerful tool for proving existence, for the following reasons. First, agents can only consume while being quasi-rational if some good in their neighborhood has price zero since they have no wealth. Second, if all agents are behaving rationally, then the -resale quasi-equilibrium is exactly a -resale equilibrium. These facts play a crucial role in our proof—as they did in e.g. Debreu (1962); McKenzie (1981); Maxfield (1997); Kakade et al. (2004a)—because once we know a quasi-equilibrium exists, it suffices to show that all endowed agents are rational and all non-endowed agents have strictly positive local price vectors. Given these statements, an agent either has positive wealth, and thus is rational, or is forced to consume nothing.
We now turn to the various assumptions needed to establish the general existence of -resale quasi-equilibria (Lemma 4.2). The first is a set of conditions on agents’ utility functions, which are typical in mathematical economics and match those needed in Arrow and Debreu (1954); Kakade et al. (2004a); Maxfield (1997).
Assumption 1.
For all agents , prices , and , the utility function such that consumption plans satisfies:
-
(i)
(Continuity) is a continuous function.
-
(ii)
(Non-Satiability) There exists such that is strictly monotone increasing in .
-
(iii)
(Quasi-Concavity) Let . If then for all .
The utility conditions of Assumption 1 in turn influence the agents’ consumption demand systems. As was true in Kakade et al. (2004a), Assumption 1 in the graphical setting, together with individual rationality, implies that in any -resale equilibrium agents only demand a good for consumption at the cheapest price available in their neighborhood. Stated formally, by Assumption 1 and individual rationality, for agents , , and good , if then for all . In addition, non-satiability ensures every agent has at least one good that demands an infinite amount of if offered a zero price; in discussions to come, when we say is non-satiable in we are referring to this phenomenon.
Assumption 2 establishes weak conditions on resale demand systems so that satisfying optimal arbitrage behaves as we might typically expect in economic models. Firstly the assumption ensures that if an agent can resell profitably, then they do resell something without discriminating against specific goods or agents as long as it is profitable. Secondly the assumption ensures that if an agent can resell some good profitably, and a neighbor is offering for free, then will be empty since no finite amount of good can saturate ’s credit (analogous to non-satiation in consumption). Finally, the assumption ensures that agents without the capacity to resell () do not resell.
Assumption 2.
For all agents , is a normalized resale demand system with a closed and convex set of feasible resale plans. Furthermore, for all with ,
-
(i)
if there exist with , then for all ;
-
(ii)
if there exist with , then will be empty.
Together, these assumptions imply the existence of quasi-equilibria in our setting. The proof boils down to observing that graphical economies with resale are a case of AD economies with production. From this relationship it is easy to check that the preconditions for quasi-equilibrium existence highlighted in Maxfield (1997) are satisfied.
4.2. Propagation of Rationality in Connected Components
With quasi-equilibria in hand, we turn to assumptions that ensure all agents are rational. First, every agent in the economy must be able to participate with every good in the economy.
Assumption 3.
For each consumer , or .
When , Assumption 3 is analogous to assumptions made in both Arrow and Debreu (1954) and Kakade et al. (2004a). When , every agent has some capacity to resell, and for sufficiently small , Assumption 3 behaves like a weaker form of its counterpart in those works.666Both Arrow and Debreu (1954) and Kakade et al. (2004a) require that every agent is endowed with a non-zero amount of every good. When , Assumption 3 allows agents to have sparse endowment vectors even when is set to such small values that resale is virtually non-existent in the economy. This assumption can be thought of as a near-minimal requirement to participate in the economy. It may be possible to replace with , but our current proof techniques would require strengthening Assumption 5 for technical reasons related to the propagation of non-zero prices.
Our next assumption simply guarantees that every good exists at least somewhere in the economy. Intuitively, this assumption asserts that in order for a good to influence a competitive economy it needs to exist. Together with Assumption 5 introduced below, this assumption ensures all goods in the economy play a role.
Assumption 4.
For every good , there exists an agent such that .
Lastly, in Assumption 5, we will enforce that the underlying economy graph is sufficiently connected in a supply-demand sense; this assumption ensures both that agents have access to goods they are non-satiable on, and that the economy can function properly if resale is not profitable. Ensuring access to desired goods is important on a technical level since otherwise clearing may be impossible, e.g., if agents spend money on goods that are unavailable to them. Similarly, absent any assumption, when agents with sparse endowment vectors are unable to profit from resale, it is possible to construct graphical economies where entire sectors of the economy behave nonsensically. An interesting corollary of Assumption 5 is that unendowed agents cannot be picky: there cannot exist goods in which only unendowed agents are non-satiable.
To formally state Assumption 5, call a path between agents a trade path if every node on the path has . We write for the set of agents on some trade path between and ; by convention , and by definition, . Also, define the supply graph of as the directed graph with if , is non-satiable in , and there is a trade path between and . Edges in are present whenever could directly or indirectly sell their endowment of to , when price conditions allow for profitable resale in between, if applicable. Finally, let be the (non-disjoint) union of supply graphs on all goods, with . In graph theoretic terms, encodes all possible directed source-sink pairs in the economy, and each encodes source-sink pairs for the good .
Assumption 5.
For every agent and good :
-
(i)
If is non-satiable in then there exists an incoming edge to in .
-
(ii)
If , there exists an edge in from to such that and .
-
(iii)
Furthermore, for each connected component of the underlying economy graph , the subgraph of induced by is strongly connected.
One technical interpretation of Assumption 5 is that we cannot partition any connected component of the underlying trade graph into two sets of endowed agents where one group cannot supply any good the other group wants. This assumption is very closely related to the irreducibility assumption used to prove existence of AD equilibria by McKenzie (1959, 1961). While McKenzie (1959) introduces irreducibility on the entire economy as a sufficient assumption for proving existence, our assumption need only hold on each connected component. The supply graph serves a similar purpose to the directed graphs constructed in Maxfield (1997) for proving existence, though we place weaker assumptions on consumers in exchange for slightly stronger assumptions on .
Together Assumptions 1–5 provide powerful guarantees: certain non-zero prices must propagate in the presence of a rational agent (Lemma A.1), and any -resale quasi-equilibrium must have at least one endowed rational agent (Lemma A.3). We briefly sketch the argument here. Assumption 1 ensures an agent is non-satiable in some good , therefore if is rational then must have a non-zero price in ’s neighborhood for the market to clear. If agent has and for some good , then Assumption 2 implies that must have a non-zero price in ’s neighborhood for the same reason. Lastly, by definition quasi-equilibrium prices must have at least one non-zero price. Coupling these facts and recursively applying them ensures a non-zero price propagates along trade paths and hence throughout supply graphs—this insight plays a vital role throughout our proof of existence.
To conclude, we show that rationality propagates in connected components of graphical economies much like non-zero prices do, so long as these assumptions are satisfied.
Lemma 4.3.
The proof of this final lemma has a very similar intuition as the proof of Lemma A.3, but is on a grander scale. We know rationality implies non-zero prices by Assumption 1(ii), that non-zero prices propagate along trade paths by Lemma A.1, and that endowed agents are on trade paths with all other endowed agents by Assumption 5(iii). Therefore, since we know a rational agent exists by Lemma A.3, these facts combine to ensure non-zero prices propagate such that all endowed agents must be rational. In addition, Assumption 5(ii) ensures all non-endowed agents lie on a trade path with some endowed agent at the end of it for each of the goods in the economy, and from Lemma A.1 we know that non-zero prices propagate on trade paths connected to rational agents. With some bookkeeping, it follows that non-endowed agents must have strictly positive local price vectors. Thus, either the non-endowed agents are able to resell and have wealth, or they have no wealth and cannot consume anything as all prices in their neighborhood are non-zero.
4.3. General Existence of Resale Equilibria
Combining all five assumptions, and Lemma 4.3, we are now ready to show existence of equilibria (Theorem 4.4). It remains only to show is that Lemma 4.3 holds on each connected component of a graphical economy. By definition, if Assumptions 1, 2, 3, and 5 hold for a disconnected graphical economy with resale, then the assumptions also hold for each connected component of the graphical economy. In addition, if Assumption 4 does not hold for some connected component of the underlying trade graph , then there is some with for every . As Assumption 5 asserts that each has an incoming edge in for each that is non-satiable in, and that is strongly connected among suppliers in , it follows that there cannot exist an agent that is non-satiable in . Therefore, by appropriately scaling their prices, we know that goods contradicting Assumption 4 can be neglected at equilibrium in , and Assumptions 1–5 hold in for the set of goods .
As was just discussed, each connected component of the graphical economy’s underlying trade graph satisfies Assumptions 1–5 (possibly by removing some “useless goods”). Thus, by Lemma 4.3, every agent in each connected component of the graphical economy is rational and, by definition, has its own -resale equilibrium. Finally, by definition, the union of equilibria in uncoupled graphical economies is an equilibrium of the entire economy and so we know that a -resale equilibrium exists in any graphical economy satisfying our five assumptions. Stated formally, we have the following theorem.
Theorem 4.4.
The conditions of Theorem 4.4 are straightforward to check. Given the utility functions, resale constraints, endowments, and underlying trade graph in standard forms (e.g. encoded in matrices), we can construct and check the conditions in Assumptions 1–5 in polynomial time using standard graph algorithms with additional bookkeeping. For example, consider checking the assumptions for the broker example in §3. Assumption 1 is easily verified for linear utilities; Assumption 2 is also easily verified for credit bound resale; Assumption 3 follows from all agents having ; Assumption 4 is satisfied by the endowments of Agents 1 and 3; Assumption 5 is satisfied as Agents 1 and 3 are intermediated by Agent 2 and so all agents have access to the goods they want, Agent 2 is on every trade path, and is connected on Agents 1 and 3.
5. Computing Equilibria
Computing equlibria is known to be a computationally hard problem in general market models Garg et al. (2017). In addition to proving existence of equilibria in graphical economies with resale, we also introduce an auction-based algorithm that finds an approximate equilibrium. Our algorithm generalizes the settings considered by Kapoor et al. (2005) and Garg and Kapoor (2006), and has a natural interpretation as an ascending price auction held simultaneously at every node in the graphical economy. Due to the local nature of the auctions conducted, the algorithm has an additional benefit of being easily implementable in a decentralized and asynchronous manner. In this section we first introduce the technical preliminaries needed for our algorithm, such as the weak gross substitutes property, along with its guarantees (§5.1). We then overview the algorithm (§5.2) and give proof sketches of correctness and time complexity (§5.3). See Appendix B for the full pseudo-code and proofs.
5.1. Preliminaries & Technical Guarantees
Two additional assumptions on demand systems are needed for our algorithm. These assumptions are standard in auction-based algorithms for approximating equilibria of markets Kapoor et al. (2005); Garg and Kapoor (2006); Garg et al. (2019). First, we assume that the consumption and resale demand systems and are scale invariant for every agent , which is sufficient to guarantee that there exists an equilibrium for our algorithm to approximate for any initial prices. For example, if is a set of prices at a -resale equilibrium, then scale invariance ensures is also a set of equilibrium prices for all . The second assumption, weak gross substitutability, appears necessary for agents to myopically update consumption and resale plans without having to retract previous decisions.
Definition 5.1.
We say that the demand system satisfies the weak gross substitutability (WGS) property if for any , , and , there exists such that whenever for and . If satsifies WGS, a demand oracle is an algorithm which produces such a as output when given , and as input.
We assume that, for every agent , the consumption demand system satisfies WGS and that the negation of the resale demand system satisfies WGS.777By saying satisfies WGS, we mean that the demand system resulting from negating every resale plan that is the output from is WGS. From the reduction in Garg and Kannan (2015), this is equilvalent to satisfying WGS for production. Intuitively, this assumption means that raising the price on a good does not decrease the consumption nor increase the resale of any other good. As such, consumption and resale demand systems that satisfy WGS ensure that local price raises do not leave agents regretting previous decisions. This property will be integral for the algorithm to find approximate equilibria efficiently since it will monotonically increase prices by regular increments. These assumptions are identical to those used in Garg et al. (2019), which introduces a different auction based algorithm for the pure exchange setting; we refer to that work for a comprehensive discussion of WGS consumption demand systems.
Throughout the algorithm, agents will consult a consumption oracle and a resale oracle, described in Definition 5.1. These oracles are algorithms that provide agents with a consumption and resale plan guaranteed to exist by the definitions of WGS demand systems. In the case of consumption, the oracle only cares about satisfying the WGS property of the consumption demand system. For resale, the oracles used in the algorithm also take into consideration an additional request vector of the form as input, and try to have close to of each good . These resale oracles satisfy the WGS property of the negated resale demand system, and minimize among all negated resale plans satisfying WGS. Taking requests helps resale oracles cater to the actual consumption needs of the economy when multiple resale plans maximize profits.
Our algorithm finds solutions that satisfy relaxed versions of the requirements for -resale equilibria (Definition 3.2). We use a notion of -approximate -resale equilibrium that is consistent with Garg et al. (2019), but uses the stronger notions of approximate clearing, and approximately efficient budget use, from Garg and Kapoor (2006) and Kapoor et al. (2005).
Definition 5.2.
For an , the triple of prices , consumption plans , and resale plans is a -approximate -resale equilibrium if for all the following conditions are satisfied. Here satisfies and for every , and we define the budgets and .
-
1.
Approximate Clearing.
-
2.
Approximately Optimal Arbitrage. for some .
-
3.
Approx. Individual Rationality. for some .
-
4.
Approximately Efficient Budget Use.
In other words, market clearing is within a multiplicative factor of , budgets are all spent within a multiplicative factor of , and both the consumption and resale plans are subsets of optimal plans within a multiplicative factor of of prices and budgets.
Using the ideas introduced above, our algorithm achieves the following guarantees. As is often the case in auction-based algorithms, the time complexity is expressed in terms of the largest price found by the algorithm Kapoor et al. (2005); Garg and Kapoor (2006); Garg et al. (2019), which we denote by . An upper bound on can be found for specific sets of demand and resale systems, i.e. when these systems are given by explicit utility functions and resale constraints. Unfortunately, as we demonstrate in §6.2, may be super-polynomial in the input size, though in some cases the algorithm still terminates in polynomial time.
Theorem 5.3.
Let be the size of the largest neighborhood in . For any graphical economy with resale satisfying Assumptions 1–5, and for which all consumption demand systems and negated resale demand systems are scale invariant and satisfy WGS, a -approximate -resale equilibrium can be found in
time, where is the time needed for one call to the demand oracle, is the time needed for one call to the resale oracle, is the largest price found by the algorithm, is the maximal quantity of resold goods for any and any , and .
5.2. Overview of an Auction-Based Algorithm for Graphical Economies
Our algorithm can be thought of as a series of localized auctions or negotiation processes, where agents simultaneously try to outbid one another for desired goods and utilize resale to leverage their position in the network (to maximize resale profits which they can use to place bids). For a fixed accuracy parameter , playing out this process gradually increases prices monotonically by a multiplicative factor of until, at termination, the algorithm has converged on a -approximate -resale equilibrium. In this section we only sketch the algorithm; the complete pseudo-code is given in Appendix B (Algorithm 1).
At initialization the parameter is appropriately chosen, all prices in are set to unity, and all consumption and resale plans to zero. In addition, all agents are given an initial budget of since no bids have been placed and resale is not profitable yet, as prices are identical. Later, when prices differ in the economy, each agent has a budget given by the sum of with the maximum profit can make from resale for prices in its neighborhood.
A key concept is that of good being assigned. All goods are initially unassigned. As agents place bids on their neighbors’ goods according to the current prices, their neighbors will try to assign goods to the bidder from endowments or using resale. Crucially, a bid corresponds to an assignment of a good at the current price. As bids are placed and assignments made, an agent may assign their entire endowment and exhaust their resale capacity, at which point the agent realizes their good is over-demanded at the current price. In response, the agent will raise their price on over-demanded goods and will begin receiving bids at the higher price. When the process resumes and a bid is placed at the higher price, the agent will renege on assignments at the old price and make a new assignment to the agent placing the bid at the higher price. Bids are thus best understood as a “security deposit” indicating an agent’s commitment to buy the good at the current price, while assignments are best understood as first-come-first-served agreements that are only honored until a better bid comes along. Furthermore, since the price of a good is only raised when an agent has reneged on all assignments at the previous price, a price is only raised when all other options have been exhausted.
With this understanding, roughly speaking, each step in the algorithm is broken into three parts:
-
1.
Agents query their consumption oracle and then use any surplus budget to bid on goods in the consumption oracle’s output plan that are not currently satisfied (e.g., due to neighboring agents previously being unable to match demand).
-
2.
Having received bids on goods, agents try matching bids by reneging on assignments made with their endowments at the old price. If after reneging on every assignment made at the old price using its endowment the agent is still unable to match a bid, then they query their resale oracle. From the oracle’s output, they adjust their resale plans and place bids accordingly using their resale budget. Finally, if they are still unable to match requests, then the agent raises prices on over-demanded goods and broadcasts the change to their neighbors.
-
3.
If a reneged assignment was for consumption, then the agent’s bid is returned. Otherwise, the reneged assignment was for resale and a recursive process might ensue: the agent whose assignment was reneged has its resale bid returned and then must renege on the assignments dependant on this bid accordingly. Since goods can be resold over a long trade path in the underlying graph, this recursive reneging of assignments for resale may span the diameter of the underlying graph in the worst case.
Throughout the course of the algorithm, consumption and resale plans are constantly in flux as assignments get made and reneged on, and budgets are carefully updated whenever prices are raised and bids get placed or returned—we defer the intricacies of this process to Appendix B. The algorithm only terminates when either the market locally clears exactly for every agent or every agent’s budget is nearly spent.
5.3. Overview of Algorithm’s Analysis
In this section we give proof sketches for both the correctness and runtime of our algorithm (Theorem 5.3), with full proofs in Appendix B.2 and B.3. A crucial observation for both proofs is that, at any given point in the algorithm, a good is only ever assigned at one of two prices: its current price and its old price. To see this, recall the process highlighted in §5.2 for how prices get raised: a good’s price is raised when it is over-demanded, at which point the agent only receives bids at the new price and reneges on assignments made at the previous price as more bids arrive. As was mentioned, agents only raise prices when no assignments exist at the old price and they conclude that their good is over-demanded at the current price.
Correctness. We begin with three observations that hold for the algorithm’s entire duration: (i) Prices are monotonically raised, so a good’s current price is always higher than its old price. (ii) Each agent’s budget is computed using the current prices in their neighborhood, i.e. assuming they are selling their entire endowment and optimally reselling at the current (higher) prices. (iii) Agents bid for resale and consumption according to their respective oracle and the current budget.
Since consumption and negated resale oracles satisfy WGS, from (i) we know that price raises can never increase plans suggested by an agent’s oracles. Therefore, from (iii), it follows that approximate individual rationality and approximately optimal arbitrage hold for every agent for the entirety of the algorithm. The right inequality in approximate clearing follows from the fact that assignments are never made with goods an agent does not have on hand. Similarly, the right inequality in approximately efficient budget use follows from (ii) and (iii) since budgets are always computed at the current prices and oracles always suggest plans within the budget. The left inequality in both approximate clearing and approximately efficient budget use follow from the way termination conditions are specified for the algorithm. When the algorithm terminates because all goods clear locally in the economy, these left inequalities hold trivially; for approximate clearing it is by definition, and for approximately efficient budget use because it implies no good is over-demanded and thus budgets are used fully. For the other termination condition, when every agent’s budget is nearly spent, showing that the left inequality holds requires some careful accounting of technical details about agents’ surplus budgets (Appendix B.2).
Run-Time. To analyze the time complexity of the algorithm, we bound two quantities: (i) the number of times prices can be raised, and (ii) the number of steps between price raises before the algorithm must terminate. Using to derive (i) follows the same argument as many other auction-based algorithms Kapoor et al. (2005); Garg and Kapoor (2006). The argument notes that prices are never decreased, and prices are always increased by a factor of , and thus the number of price raises is bounded by . Our derivation of (ii) uses a method resembling an amortized analysis and differs considerably from previous work on auction-based algorithms. We observe that goods are never assigned at an old price, and therefore the total amount of budgets being spent on bids at old prices can only decrease between price raises. Thus, by using the total amount of budgets spent on goods at their old price as a potential, we derive a bound on the amount of time before this potential reaches zero. We then argue that when the potential is zero, no goods are being assigned at their old price in the entire economy, thus either the market exactly clears or some good is over demanded and a price must get raised. Putting these bounds together, and deriving the time complexity of each sub-routine in the algorithm, yields the time complexity in Theorem 5.3. Precise details of this analysis are given in Appendix B.3.
6. Discussion
We have introduced a variant of the Kakade, Kearns, and Ortiz (KKO) Kakade et al. (2004a) model of an exchange economy embedded on a graph, so that agents may propagate trade to distant parts of the graph by reselling goods. As motivated by our broker examples (§3.2 and Appendix C), our model has several appealing properties. We discuss these properties further here, along with other considerations, extensions, and future directions.
6.1. Market Breadth
As we saw in the broker example (§3.2), the addition of resale allows goods to move more than one hop in the network. To underscore this point, consider a natural extension of the broker example, where agents having complementary endowments and preferences are connected by some arbitrarily long chain of brokers. For the same reason as before, no equilibrium exists under the KKO model, but we would hope that with resale the market is able to move goods through the underlying network so as to match demand in maximally distant “local markets”.
As with the original broker example, it is simple to check that the conditions of Theorem 4.4 are satisfied when we set for any . Thus, there exists a -resale equilibrium. We now argue that in any such equilibrium, some amount of good must travel all the way from agent to agent , and good from agent to agent . As argued in §3, consider the case where agent does not resell good to agent . If agent had any budget, the market would not clear, as agent would request good from herself or from agent . Thus, we must have , but then there is no optimal consumption plan, as even with zero budget agent would request an infinite amount of good from agent . By symmetry, the same applies to agents and . We conclude that, in any -resale equilibrium in this example, goods must traverse the entire length of the network.
6.2. Algorithm Runtime and Bounding
The runtime given in Theorem 5.3 depends linearly on , so for a polynomial runtime guarantee, one may hope to prove a general polynomial upper bound on . Unfortunately, the following example shows that can be exponential in the number of agents. Interestingly, the algorithm still terminates in polynomial time in this example, thus prompting the question of whether a different analysis could yield a general polynomial runtime bound.
Consider an economy where the underlying graph is a chain as in §6.1. There are goods, and each agent is endowed with one unit of good and nothing else, so that and for all . Agents have utility for their own good and utility for their right neighbor’s good: , , and otherwise. When running the algorithm from §5 with some constant and agents being considered sequentially in order of , the algorithm terminates in at most rounds despite . To see this, observe that in the first round each agent such that purchases the entire endowment from until finally agent raises the price on their endowment since purchased it. After this first round agents and repeatedly try outbidding one another for ’s endowment until the price raises times. Once price raises occur on ’s endowment, has maximal bang-per-buck on it’s own endowment and will bid on it after each new price raise on ’s endowment. By a symmetric argument, after each series of price raises on the agent’s endowment, the agent begins bidding on its own endowment, e.g. will begin bidding on its own endowment after price raises on ’s endowment. As there are agents and each agent consumes their own endowment at equilibrium, there are at least rounds before the algorithm terminates for a total runtime of . Although the algorithm terminates in polynomial-time, the final price for agent ’s good is .
6.3. Exact Equilibria
In Section 5 we introduce an algorithm for finding approximate -resale equilibria of graphical economies with resale. In general the computation of equilibria is a computationally difficult problem (see e.g. Garg et al. (2017)). Garg and Kannan (2015) introduce an algorithm for computing exact equilibria in AD production economies with polyhedral production sets, given the number of goods in the economy as a constant. Through a simple reduction of graphical economies with resale to a classic AD economy with production (as highlighted in the proof of Lemma 4.2), we can see that the algorithm for computing exact equilibria in Garg and Kannan (2015) directly applies to our setting but that the algorithm is only polynomial time when the number of goods and agents are both constant (due to the “tagging” of goods). That said, by simply replacing the global market clearing notion that is typically used in AD economies with our local notion of market clearing in all of their arguments, their algorithm for computing exact equilibria is recovered provided the number of goods is constant in the graphical economy.
6.4. Commodity Bound Resale: Capacity vs. Credit
Along with the credit bound resale we used in examples throughout this paper, another natural form is commodity bound resale, where agents maximize resale profits subject to a hard constraint on the amount of goods being resold. Formally, resale demand systems now return resale plans such that setting maximizes over all satisfying . Commodity bounds on resale can be thought of as modeling limitations on storage or bandwidth available to agents for reselling goods.
Graphical economies with commodity bound resale have many appealing properties: they are intuitive, they have straightforward analytic solutions to the broker and market breadth (§6.1) examples, the algorithm in §5 is simple to derive, etc. Unfortunately, since they do not satisfy Assumption 2(ii), graphical economies with commodity bound resale require stronger assumptions in order to prove the general existence of equilibria,888Since commodity bound resale allows agents to resell a finite amount of goods when prices are zero, the propagation argument used in §4 requires unintuitive assumptions in order to ensure existence. For example, one can apply the argument to commodity bounds by appending a condition to Assumption 5 stating that for each good an agent is endowed with there is at least one adjacent neighbor with utility for the good. and fall squarely outside the scope of most existence results found in theoretical economics (e.g. Arrow and Debreu (1954); McKenzie (1981, 1961, 1959); Maxfield (1997); Walras (1874); Mas-Collel et al. (1995)).
6.5. Relevance to the Economic Literature
In order to address concerns about the centralized nature of traditional economic models, several recent works have introduced models of decentralized markets. These models often place markets on a multipartite graph, where edges represent two agents being capable of trade with one another, and the agents play a specific role in buyer-seller interactions possibly facilitated by intermediaries, e.g. Blume et al. (2007); Gale and Kariv (2009); Choi et al. (2017); Han and Juarez (2018); Hinnosaar (2019). Kakade et al. (2004a) introduced a generalization of the AD exchange model to a graphical setting, enabling a robust set of interactions between agents on an arbitrary set of goods which is lacking in other economic models on networks. Unfortunately, as we have argued, the model in Kakade et al. (2004a) is “too local” and does not allow for any degree of intermediation between agents.
This paper generalizes the work in Kakade et al. (2004a) to allow for robust intermediation in graphical economies. One could therefore consider our model as a unifying generalization of many models of trade in the literature of decentralized markets. Furthermore, by presenting two modes for equating graphical economies with AD economies,999Kakade et al. (2004a) showed that AD exchange economies are equivalent to graphical economies with agents embedded on a complete graph. In §3 we argued that AD exchange economies are equivalent to graphical economies with a certain class of Resale demand systems and sufficiently large resale capacities. This gives two ways for graphical economies to interpolate between centralized and decentralized markets: (i) by changing the density of the underlying graph, and (ii) by changing resale capacities in the economy. we equip the study of decentralized markets with a novel and mathematically rigorous means of understanding decentralized market models within the context of competitive AD equilibria.
6.6. Future Directions
The example in §6.2 shows that may not be polynomially-bounded even when the algorithm terminates in polynomial time; characterizing instances for which the runtime is polynomially-bounded in the input size is an interesting open question. Another important question is to understand the relationship between the underlying graph structure and equilibrium outcomes. For instance, the broker example in §3.2 illustrates the fact that a node can extract rent solely from their position in the network—exploring a more precise connection between this advantage and graph-theoretic parameters such as degree centrality is an exciting direction for future work. Similarly, studying market breadth and depth yields a series of natural questions about graphical economies. Finally, since resale is a special case of production, it is of interest to find intuitive assumptions for guaranteeing existence in other forms of resale (e.g., commodity bound resale), and more generally, extend our model to a graphical production setting.
We thank Nehal Kamat, Camden Elliot-Williams, and Jessie Finocchiaro for detailed comments and other contributions. We are indebted to Jugal Garg, Ruta Mehta, Simina Brânzei, and Michael Kearns for crucial references and discussions. This work was supported in part from the National Science Foundation under Grant No. 1657598.
References
- (1)
- Arrow and Debreu (1954) Kenneth J Arrow and Gerard Debreu. 1954. Existence of an Equilibrium for a Competitive Economy. Econometrica 22, 3 (1954), 265–290.
- Avasarala et al. (2006) V. Avasarala, H. Polavarapu, and T. Mullen. 2006. An Approximate Algorithm for Resource Allocation Using Combinatorial Auctions. In 2006 IEEE/WIC/ACM International Conference on Intelligent Agent Technology. 571–578.
- Bertsekas (1992) Dimitri P. Bertsekas. 1992. Auction algorithms for network flow problems: A tutorial introduction. Computational Optimization and Applications 1 (1992), 7–66.
- Blume et al. (2007) Larry Blume, David Easley, Jon Kleinberg, and Eva Tardos. 2007. Trading Networks with Price-Setting Agents. In Proceedings of the 8th ACM Conference on Electronic Commerce (EC ’07). Association for Computing Machinery, New York, NY, USA, 143–151. https://doi.org/10.1145/1250910.1250933
- Bramoullé et al. (2016) Yann Bramoullé, Andrea Galeotti, and Brian Rogers. 2016. The Oxford Handbook of the Economics of Networks. Oxford University Press. https://www.oxfordhandbooks.com/view/10.1093/oxfordhb/9780199948277.001.0001/oxfordhb-9780199948277
- Choi et al. (2017) Syngjoo Choi, Andrea Galeotti, and Sanjeev Goyal. 2017. Trading in Networks: Theory and Experiments. Journal of the European Economic Association 15, 4 (02 2017), 784–817. https://doi.org/10.1093/jeea/jvw016 arXiv:https://academic.oup.com/jeea/article-pdf/15/4/784/19518068/jvw016.pdf
- Codenotti et al. (2005) Bruno Codenotti, Benton McCune, Sriram Penumatcha, and Kasturi Varadarajan. 2005. Market Equilibrium for CES Exchange Economies: Existence, Multiplicity, and Computation.
- Curescu and Nadjm-Tehrani (2008) C. Curescu and S. Nadjm-Tehrani. 2008. A Bidding Algorithm for Optimized Utility-Based Resource Allocation in Ad Hoc Networks. IEEE Transactions on Mobile Computing 7, 12 (2008), 1397–1414.
- Debreu (1962) Gerard Debreu. 1962. New Concepts and Techniques for Equilibrium Analysis. International Economic Review 3, 3 (1962), 257–273. http://www.jstor.org/stable/2525394
- Devanur (2004) Nikhil R. Devanur. 2004. The Spending Constraint Model for Market Equilibrium: Algorithmic, Existence and Uniqueness Results. In Proceedings of the Thirty-Sixth Annual ACM Symposium on Theory of Computing (STOC ’04). Association for Computing Machinery, New York, NY, USA, 519–528. https://doi.org/10.1145/1007352.1007431
- Devanur et al. (2008) Nikhil R. Devanur, Christos H. Papadimitriou, Amin Saberi, and Vijay V. Vazirani. 2008. Market Equilibrium via a Primal–Dual Algorithm for a Convex Program. J. ACM 55, 5, Article Article 22 (Nov. 2008), 18 pages. https://doi.org/10.1145/1411509.1411512
- Gale and Kariv (2009) Douglas M. Gale and Shachar Kariv. 2009. Trading in Networks: A Normal Form Game Experiment. American Economic Journal: Microeconomics 1, 2 (2009), 114–132. http://www.jstor.org/stable/25760364
- Garg et al. (2019) Jugal Garg, Edin Husić, and László A. Végh. 2019. Auction Algorithms for Market Equilibrium with Weak Gross Substitute Demands. arXiv:cs.GT/1908.07948
- Garg and Kannan (2015) Jugal Garg and Ravi Kannan. 2015. Markets with Production: A Polynomial Time Algorithm and a Reduction to Pure Exchange. In Proceedings of the Sixteenth ACM Conference on Economics and Computation (EC ’15). Association for Computing Machinery, New York, NY, USA, 733–749. https://doi.org/10.1145/2764468.2764517
- Garg et al. (2014) Jugal Garg, Ruta Mehta, Vijay V. Vazirani, and Sadra Yazdanbod. 2014. Leontief Exchange Markets Can Solve Multivariate Polynomial Equations, Yielding FIXP and ETR Hardness. CoRR abs/1411.5060 (2014). arXiv:1411.5060 http://arxiv.org/abs/1411.5060
- Garg et al. (2017) Jugal Garg, Ruta Mehta, Vijay V. Vazirani, and Sadra Yazdanbod. 2017. Settling the Complexity of Leontief and PLC Exchange Markets under Exact and Approximate Equilibria. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2017). Association for Computing Machinery, New York, NY, USA, 890–901. https://doi.org/10.1145/3055399.3055474
- Garg and Vazirani (2013) Jugal Garg and Vijay V. Vazirani. 2013. On Computability of Equilibria in Markets with Production. arXiv:cs.GT/1308.5272
- Garg and Kapoor (2006) Rahul Garg and Sanjiv Kapoor. 2006. Auction Algorithms for Market Equilibrium. Math. Oper. Res. 31, 4 (Nov. 2006), 714–729. https://doi.org/10.1287/moor.1060.0216
- Han and Juarez (2018) Lining Han and Ruben Juarez. 2018. Free intermediation in resource transmission. Games and Economic Behavior 111 (2018), 75 – 84. https://doi.org/10.1016/j.geb.2018.06.006
- Hinnosaar (2019) Toomas Hinnosaar. 2019. Price Setting on a Network. CoRR abs/1904.06757 (2019). arXiv:1904.06757 http://arxiv.org/abs/1904.06757
- Jain and Varadarajan (2006) Kamal Jain and Kasturi Varadarajan. 2006. Equilibria for economies with production: Constant-returns technologies and production planning constraints. In Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm. Society for Industrial and Applied Mathematics, 688–697.
- Kakade et al. (2004a) Sham M Kakade, Michael Kearns, and Luis E Ortiz. 2004a. Graphical economics. In International Conference on Computational Learning Theory. Springer, 17–32.
- Kakade et al. (2004b) Sham M. Kakade, Michael Kearns, Luis E. Ortiz, Robin Pemantle, and Siddharth Suri. 2004b. Economic Properties of Social Networks. In Proceedings of the 17th International Conference on Neural Information Processing Systems (NIPS’04). MIT Press, Cambridge, MA, USA, 633–640.
- Kapoor et al. (2005) Sanjiv Kapoor, Aranyak Mehta, and Vijay Vazirani. 2005. An Auction-Based Market Equilibrium Algorithm for a Production Model. In Proceedings of the First International Conference on Internet and Network Economics (WINE’05). Springer-Verlag, Berlin, Heidelberg, 102–111. https://doi.org/10.1007/11600930_11
- Lin et al. (2013) Chengyu Lin, Tuo Yu, Riheng Jia, Feng Yang, and Xiaoying Gan. 2013. Auction based channel allocation in multi-hop networks. 2013 International Conference on Wireless Communications and Signal Processing (2013), 1–6.
- Mas-Collel et al. (1995) Andreu Mas-Collel, Michael D Whinston, and Jerry R Green. 1995. Microeconomic Theory. Oxford University Press.
- Maxfield (1997) Robert R. Maxfield. 1997. General equilibrium and the theory of directed graphs. Journal of Mathematical Economics 27, 1 (February 1997), 23–51. https://ideas.repec.org/a/eee/mateco/v27y1997i1p23-51.html
- McKenzie (1959) Lionel W. McKenzie. 1959. On the Existence of General Equilibrium for a Competitive Market. Econometrica 27, 1 (1959), 54–71. http://www.jstor.org/stable/1907777
- McKenzie (1961) Lionel W. McKenzie. 1961. On the Existence of General Equilibrium: Some Corrections. Econometrica (pre-1986) 29, 2 (04 1961), 247.
- McKenzie (1981) Lionel W. McKenzie. 1981. The Classical Theorem on Existence of Competitive Equilibrium. Econometrica 49, 4 (1981), 819–841. http://www.jstor.org/stable/1912505
- Nisan et al. (2007) Noam Nisan, Tim Roughgarden, Eva Tardos, and Vijay V. Vazirani. 2007. Algorithmic Game Theory. Cambridge University Press, USA.
- Vazirani (2010) Vijay V. Vazirani. 2010. Spending Constraint Utilities with Applications to the Adwords Market. Math. Oper. Res. 35, 2 (May 2010), 458–478. https://doi.org/10.1287/moor.1100.0450
- Walras (1874) Léon Walras. 1874. Éléments d’économie politique pure, ou, Théorie de la richesse sociale. L. Corbaz Lausanne.
- Zavlanos et al. (2008) Michael M. Zavlanos, Leonid Spesivtsev, and George J. Pappas. 2008. A distributed auction algorithm for the assignment problem. 2008 47th IEEE Conference on Decision and Control (2008), 1212–1217.
Appendix A Full Proofs and Informally Stated Lemmas from §4
A.1. Informally Stated Lemmas from §4.2
Lemma A.1.
Proof A.2.
Let be agents such that is rational and there exists a trade path between and . If is non-satiated in , then by definition for all ; in particular, . Similarly, if and , then for all , as otherwise Assumption 2(ii) contradicts optimal arbitrage.
Arguing by contradiction, suppose for some . Let be a trade path between and containing , ordered from to , and let be the first edge along such that and . (Such an edge must exist as and .) Note that as otherwise but , contradicting the above; similarly, as then as well and cannot be both positive and zero. Thus, , as is on a trade path between and but , and by Assumption 2(ii) we therefore contradict optimal arbitrage.
Lemma A.3.
Proof A.4.
Let , , and be a -resale quasi-equilibrium. By price normalization there exists at least one agent that has a good with non-zero price, i.e. there exists such that . Consider ’s wealth . Note that, by definition, . It follows that if , then we know has positive wealth and so is rational. On the other hand, if , then by Assumption 3 we know that .
Let be a good such that . We now show that there exists a trade path between and some agent with . Note that some with exists by Assumption 4. By non-satiability (Assumption 1(ii)), agent is non-satiable in some good . By Assumption 5(i) for and , there exists a trade path between and some with . Furthermore, as , by Assumption 5(iii) there is a directed path in from to . For each , by Assumption 3, either or . Let be the first index such that , which must exist as . We now have a trade path between and , and and for all . As for all , stitching these trade paths together gives a trade path between and . (Observe that if , many of the above statements are vacuously true, and the statement follows as .) We have established , and Lemma A.1 now gives . Therefore , so is rational.
A.2. Proof of Lemma 4.2 (Existence of -Resale Quasi-Equilibria)
Proof A.5.
Our proof is straightforward–we satisfy all the preconditions for quasi-equilibrium existence highlighted in Maxfield (1997). Notice that a graphical economy with resale is an AD production economy with “tagged goods” and a “production firm” per agent who can resell. Let for and represent the corresponding “tagged good” in the AD setting. Then the consumption plans in the AD setting only allow consumer to consume goods for . Similarly, each such that has sole ownership of a firm whose resale plans only allow input of goods for and, for each input , outputs an equal amount of where the allowable consumption set is defined by ’s resale bounds. In this AD setting and with our assumptions it is clear that: the consumption sets are closed convex sets bounded from below, the production sets are closed convex sets containing that do not produce goods “from nothing”, the utility functions still satisfy Assumption 1, and the economy satisfies “free disposal”. As stated in Maxfield (1997) and McKenzie (1981), these conditions are sufficient to imply the existence of a quasi-equilibrium in an AD production economy.
A.3. Proof of Lemma 4.3 (Propagation of Rationality in Connected Components)
Proof A.6.
Our proof proceeds in two stages. First we show that if there exists a rational endowed agent, then that rationality will “propagate” to all other endowed agents. We conclude by showing that this implies every non-endowed agent in the economy has a strictly positive local price vector, which forces all non-endowed agents to behave rationally at a -resale quasi-equilibrium too.
Let , , and be a -resale quasi-equilibrium as guaranteed by Lemma 4.2 and Assumptions 1 and 2. Suppose is rational and non-satiated in . For any edge in , we have and there exists a trade path between and . By Lemma A.1, we have for all , and as , we have and is rational. By definition of , if any agent is rational, then all agents with a directed path to in are therefore rational, by repeating this argument for the respective goods on each edge of this path. From Lemma A.3, there exists a rational agent with . By Assumption 5(iii), is strongly connected among endowed agents, so all agents with have directed paths in to , and are therefore rational.
It remains to establish rationality of unendowed agents. By Assumption 5(ii), if , then for all there exists an edge in such that and . By definition of , we also have . By the above use of Lemma A.1, as , we must have . Therefore, for all unendowed and goods , . Letting be the budget for agent , we conclude that if , either , in which case by Assumption 1 and therefore rationally consumes nothing, or , in which case is also rational.
Appendix B Detailed Auction-Based Algorithm and its Analysis
A sketch of the auction-based algorithm for computing approximate resale equilibria was given in §5, but several technical details were omitted for the sake of clarity and exposition–we will now expand on all of these details. A detailed description of the algorithm is given in Appendix B.1, with complete pseudo-code given in Algorithm 1. Appendix B.2 and B.3 contain full proofs of correctness and runtime of the algorithm respectively, together these formally prove Theorem 5.3 as was sketched in §5.3.
Throughout Algorithm 1 we will use as shorthand meaning “agent consults their consumption oracle for with the input ” where and are the prices and budgets used during the previous call to the oracle. Similarly, we use as shorthand for “agent consults their resale oracle for with the input and the request vector r” where r is the “request” vector discussed in section §5.1 and is the set of prices used during the previous call to the oracle. Since prices are never decreased in Algorithm 1, maintaining prices and budgets from previous oracle calls involves straightforward bookkeeping.
B.1. Auction-Based Algorithm for Computing Approximate Equilibria
At initialization of the algorithm, a small accuracy parameter is appropriately chosen, all prices in are set to unity, all consumption plans to zero, and all resale plans to zero. Prices will only ever increase throughout the algorithm and these increases are in multiplicative increments of . At the initial prices no agent can profit from resale, so only endowed agents have surplus budgets at the start of the algorithm. As mentioned in §5.2, a key concept in our discussion of the algorithm is that of goods being assigned at a price. Assignment simply refers to an agent “commiting” a portion of a good they have available (from their endowment or purchased in order to resell) to an agent who has placed a bid on the good. Note that since both consumption and resale begin at zero, we say that all goods in the economy are initially unassigned. As will be discussed below, the algorithm assigns goods to the highest bidder and goods are only ever unassigned at initialization or when an agent gets outbid.
After initialization Algorithm 1 proceeds by iterating through the main loop until one of two conditions are met: the market locally clears exactly for every agent, or every agent’s budget is nearly spent. The amount of money in an agent’s budget that is not being used (i.e. not used in bids) is called that agent’s surplus budget. Within the main loop of Algorithm 1, agents are considered one by one. If some agent is considered without surplus budget, then the algorithm simply moves onto the next agent. If some agent is considered and does have positive surplus budget, then they consult their demand oracle and use their surplus budget to place bids according to the oracle’s output consumption plan. Suppose agent has placed a bid on agent ’s good according to the demand oracle’s output plan. Agent will try to meet the demand of ’s bid via calls to the Assign, Outbid, and Reschedule_Resale procedures in that order.
In the Assign procedure agent checks if it has some unassigned amount of good and, if so, simply gives agent an appropriate amount (either as much as has or as much as ’s bid can pay for) of agent ’s good at the current price . If agent was unable to meet agent ’s demand for good after Assign is called, then all of ’s good is already assigned to other agents at either the current price () or the old price () and the Outbid procedure is called. In the Outbid procedure agent “takes back” good from agents who were assigned at the old price , returns the money those agents had spent on bids for at the old price, and reassigns the newly available quantities of to agent at the new price . Finally, if agent was unable to meet agent ’s demand for good after Outbid is called, then all of ’s good is assigned at the current price and will need to consider resale as a means of meeting agent ’s demand for ; this is when the Reschedule_Resale procedure is called.
In the Reschedule_Resale procedure agent consults their resale oracle and, if the oracle has deemed it profitable, uses the oracle’s output to try and acquire more of good for agent by using credit. Though perhaps mysterious at first glance, calls to Reschedule_Resale essentially boil down to agent comparing the resale oracle’s previous output with the current output and, if there is a profitable way to (re)allocate the credit being used, agent tries procuring more of good by using credit to place bids via internal calls to the Assign, Outbid, and Reschedule_Resale procedures. It is important that, by definition, ’s resale oracle will never reduce resale profits. If after calling Reschedule_Resale agent is still unable to satisfy agent ’s bids for good , then knows it has priced too low and will raise by a fixed multiplicative factor of . At this point agent updates its budget and the current iteration of the main loop is finished.
As alluded to above, at any given point in the algorithm goods can only be assigned at either the current price or the previous price . This fact follows immediately from prices only being raised when a good is fully assigned at the current price and still over demanded (i.e. after a call to Reschedule_Resale). Furthermore, notice that the Reschedule_Resale procedure tries to procure goods by essentially mirroring the process in the main loop (which is key to our analysis in Appendix B.3).
B.2. Correctness
Let be the amount agent is assigned for consumption from of at the old price and be the amount agent is assigned for consumption from of at the new price . Similarly, let be the amount agent is assigned for resale from of at the old price and be the amount agent is assigned for resale from of at the new price . Then and . Define the surplus budget with agent as
and the total surplus budget in the economy as . Finally, let and . Note that in the definition of , agent is never reselling good at their old price for the good . This follows from the fact that Raise_Rrice can only be called after an agent has rescheduled as much resale as they can.
We will show in Lemma B.1 that the following hold throughout a run of the algorithm. As in Definition 5.2, here satisfies and for every , and we define budgets and .
Invariant 1.
for some .
Invariant 2.
for some .
Invariant 3.
.
Invariant 4.
.
Invariant 5.
.
Lemma B.1.
Proof B.2.
To derive Invariant 1, notice that agents are only ever reselling goods at prices satisfying after consulting their resale oracle. The agent has a constant resale budget . Recall that resale demand systems satisfy WGS for and so, by the definition of WGS, for and we know that whenever for all , . Thus for all and , which implies that . We know that is the resale plan obtained during ’s last call to their resale oracle, and throughout the algorithm goods might be unassigned, so it follows that at any point in the algorithm and Invariant 1 holds.
Invariant 2 holds for a similar reason. Notice that agents are only every consuming and reselling goods at prices satisfying after consulting their demand oracle. Let be an agent, and . As agents never resell their own goods at an old price by design, ’s budget at the price set is maximal at the iteration of the algorithm being considered, i.e. . By the definition of WGS, for and we know that whenever for all , . Thus we know . As is the consumption plan obtained during ’s last call to their demand oracle, and goods might be unassigned during the algorithm, we know that and Invariant 2 holds.
Invariant 3 is true because none of the procedures in the algorithm ever over-allocate goods and we carefully propagate changes to resale plans throughout the economy when they appear.
Invariant 4 holds because in Algorithm 1 an agent only ever has a good assigned for resale if an agent is bidding on it from them and they are unable to provide it from endowments. If an agent no longer wants the good being resold to them, then that fact is propagated throughout the economy in Update_Resale and the agent returns the good to their supplier. Thus if the agent reselling a good is endowed with it then the inequality is strict, and if the agent is not endowed with the good then equality holds.
From Invariants 1 and 2 we are guaranteed to have approximately optimal arbitrage and approximate individual rationality satisfied at termination. Invariants 3 and 5 partially imply approximate clearing and approximately efficient budget use at termination. In fact, combining Invariants 3 and 4 shows us that when local clearing condition is exact (i.e. not approximate) at termination. It remains to show that approximate clearing and approximately efficient budget use are bounded from below, which we establish in the following two lemmas.
Lemma B.3.
When Algorithm 1 terminates:
(5) |
Proof B.4.
If the algorithm terminates because all goods clear locally in the economy, then the right inequality is an equality, and the left inequality follows trivially. Now consider the other termination case, when the total surplus budget in the economy is at most . In light of Invariant 4, we need only prove the left inequality. Using the fact that allows us to rewrite the surplus budget of agent as
Combining the termination condition with the observations , , , , and , we then have
As throughout the algorithm, goods are never allocated more than they can be supplied, it follows that all summands of the outer sum are non-negative, implying that
Now fix and and consider two cases; in the first, suppose . Then by definition of , we have and thus after rearranging terms, . In the second case, suppose . Then by Invariant 5 we have which immediately implies the bound.
Lemma B.5.
When Algorithm 1 terminates:
Proof B.6.
The right inequality holds by Invariant 5. Furthermore, notice that if the algorithm terminates because all goods clear locally in the economy, then this implies that no good is being over demanded which can only happen if all agents are able to spend their budgets entirely. Thus the left inequality follows trivially. Consider the other termination case, when the total surplus in the economy . From the definition of agent ’s surplus we get that
which implies that
Now fix and consider two cases; in the first, suppose there exists such that . By definition we know (since ) and thus after rearranging terms, . In the second case, suppose for every . Note that for any and such that , we know and so . Again, rearranging terms implies that which concludes the proof.
B.3. Complexity Analysis
Let be the largest price found by Algorithm 1. As highlighted in §5.3, we will use to: (i) bound the number of calls made to the Raise_Price procedure during the algorithm (Lemma B.7) and (ii) bound the amount of time between calls to Raise_Price before the algorithm terminates (Lemma B.9). An upper bound on can be found for specific sets of demand and resale systems, i.e. when these systems are given by explicit utility functions and resale constraints.
Lemma B.7.
The number of calls to the Raise_Price procedure is bounded by:
Proof B.8.
By design, prices are never decreased in Algorithm 1. Furthermore, each call to the Raise_Price procedure raises the price of a single good by a factor of . Thus the number of price raises is bounded by .
We further partition the steps of the algorithm into rounds. A single round corresponds to a sequence of iterations of the while loop in Algorithm 1’s Main function, such that each agent with surplus budget has reduced to at least once after calling the Assign, Outbid, or Reschedule_Resale procedures (possibly interleaved with other agents’ calls to these functions). We say a round is complete when the Raise_Price procedure is not called during the round. It is important to note that, due to the Outbid and Reschedule_Resale procedures, by the end of a round an agent’s surplus may become positive again.
Recall that was defined to be the maximal quantity of resold goods for any and any is .
Lemma B.9.
In a sequence of at least complete rounds, either a call to Raise_Price is made or Algorithm 1 terminates.
Proof B.10.
Consider a sequence of complete rounds in which no calls to Raise_Price are made, noting that all prices in the economy are the same during such a sequence. Let the first round in the sequence be referred to as round , the second round in the sequence as round , and so on. Throughout this proof we will adopt the convention that and round is still part of the sequence of complete rounds being considered. Let be the total surplus budget at the beginning of round . Define the total amount of money spent on goods at their old price throughout the economy at the start of round as where (resp., ) is the amount agent spent on agent ’s good at the old price for consumption (resp., resale) at the beginning of round .
Observe that for the sequence to continue into another round, the calls to Outbid and Reschedule_Resale must return at least amount of money to the total surplus in the economy by the end of the round or else the algorithm terminates. Let be the total amount of money returned to surplus budgets via calls to Outbid and Reschedule_Resale during round and let be the contributions to stemming from increases to after an agent had during round . As every agent achieves zero surplus budget at some point during the round, by definition, we in fact have . We therefore must have , as the algorithm has not terminated. In addition, Algorithm 1 never assigns goods at the old prices and can only unassign goods if they were previously assigned at the old price (i.e. neither Outbid nor Reschedule_Resale can unassign a good bought at the current price ). This implies that all money in was previously spent on goods at old price and all money in will be spent to outbid goods bought at old prices. Therefore and we must have . Once we reach round in the sequence where , we know that in the round either a call to Raise_Price is made or the algorithm will terminate. This follows from the fact that, when Reschedule_Resale is called, it will call Raise_Price if and only if it is not able to supply the requested amount of goods. Since , in round either every call to Reschedule_Resale is able to meet demand (satisfying the local clearing condition for termination) or a good is over demanded and it calls Raise_Price. Thus, we must have .
As the total consumption is bounded by the sum of endowments, the total resale by the sum of , and prices by , we must have . Therefore .
Having shown that Algorithm 1 finds a -approximate -resale equilibrium at termination in Appendix B.2, we now conclude the proof of Theorem 5.3 by formally deriving the time complexity of Algorithm 1. In Lemma B.7 we bounded the maximum number of calls to the Raise Price procedure during the algorithm, and in Lemma B.9 we bounded the number of rounds between calls to Raise Price, so all that remains is to derive the time complexity of a single round. That said, the time spent in a round is fully determined by the number of calls to the Assign, Outbid, and Reschedule_Resale procedures during the round. However, the pseudo-code presented for Algorithm 1 above is purposely written in a way that highlights its decentralized and asynchronous nature. Therefore, for the sake of deriving a time complexity for Theorem 5.3, we will assume that in a round: (i) agents are considered in an arbitrary but fixed order and (ii) while that agent’s surplus budget is greater than zero the agent will repeat the process described in Main’s loop. Note that if the agent chosen in (ii) already has no surplus budget, this will count as “reducing to zero at least once” in that round.
Consider an agent during a complete round that proceeds in the manner just described. Each time calls the Assign procedure they are asking neighbors to give them as much of each desired good as the neighbor currently have unassigned. Each time calls the Outbid procedure they are asking neighbors to re-neg on deals they have already made on the desired goods. Each time calls the Reschedule_Resale procedure they are asking neighbors to do whatever they can to resell desired goods to them. Thus, since Algorithm 1 never unassigns goods that are currently assigned at the current price, the time needed for each of these procedures (without forcing a call to Raise_Price) is bounded by exactly the time needed for each procedure to check every source of each good (and to query resale oracles in the case of Reschedule_Resale). To formally derive this bound, let be the size of ’s open neighborhood in the economy’s underlying graph and let .
During the start of its turn, agent will make a single call to its consumption oracle which takes time . Agent then, in the worst case, makes a call to Assign, Outbid, and also Reschedule_Resale. Each call to Assign essentially amounts to book-keeping and updating variables. The agent checks each per good , for a total of operations in the worst case. Thus the time needed for Assign is . Calls to Outbid require some book-keeping along with any time spent in the Update_Resale procedure. In the worst case, during this procedure the agent checks each per per good and can make one call to Update_Resale each time. Notice that the Update_Resale procedure is essentially a breadth first search with some variables being updated along the way, so we know its time complexity to be . Thus the Outbid procedure needs time at most Calls to Reschedule_Resale requires calls to resale oracles, some book-keeping, internal calls to Assign and Outbid, and also recursive calls to Reschedule_Resale. We know calls to resale oracles take time and each neighbor must consult their oracle in the worst case. The time complexity of each internal call to Assign and Outbid is the same as we’ve already derived above, therefore all we have left to derive is the number of recursive calls to Reschedule_Resale that are possible. Note that Reschedule_Resale is only called recursively for neighbors whose goods are profitable to resell, therefore we know that cycles are impossible. It follows that the depth of these recursive calls to Reschedule_Resale is bounded by . Within each call to Reschedule_Resale internal calls to Assign and Outbid can again be made. From this we know that the Reschedule_Resale procedure has time complexity .
Combining the above, the time spent on a single agent is bounded by and so the time complexity of a single round is bounded by . Combining this bound with the lemmas found in this section proves Theorem 5.3.
Appendix C Asymmetric Broker Example
We will demonstrate that addressing non-existence of equilibria by imposing a small minimum on endowments (i.e. replacing each zero in endowment vectors with ) is not a suitable alternative to resale in graphical economies. To do so, consider the following modified -node broker example highlighted in §3. Again, for every agent , the consumption demand systems given by linear utilities and is a credit bound resale demand system.
We show that no KKO equilibrium exists (§C.1), and that any KKO equilibrium arising from imposing a small minimum on endowments–the -KKO equilibria–wastes an entire unit of utility (§C.2). By contrast, we conclude by showing that incorporating resale gives rise to an equilibrium matching economic intuition and settles this tension borne from KKO being too local (§C.3).
C.1. Non-existence of KKO Equilibria
As before, two agents with complementary endowments and preferences are connected only to a single broker agent with no endowment; the only difference is that the broker agent has a singular preference for one of the goods. Given the similarity to the original broker example, an essentially identical argument to the one given in §3 reveals that no KKO equilibrium exists. To summarize: Without resale the market cannot clear if any agent purchases goods from agent 2 as . Therefore , otherwise agents 1 or 3 have non-zero budget and by individual rationality must spend it on goods their neighbors are not endowed with. However, now that these prices are zero, agent 2 only satisfies individual rationality by buying an infinite amount of the second good. Thus no KKO equilibrium exists.
C.2. Wasteful Outcomes at -KKO Equilibria
Suppose a small minimum is imposed on agents’ endowments, and all zeros are replaced with in the endowments. We argue that the resultant -KKO equilibria must have the following prices up to uniformly re-scaling prices by a multiplicative constant . Dotted lines depict one possible movement of goods, but we show all other outcomes are equivalent.
Since we are interested in -KKO equilibrium outcomes, no resale is possible and goods can only be traded with immediate neighbors. Therefore agents 1 and 2 are the only possible consumers for agent 1’s endowment of the first good , but neither agents 1 or 2 have utility for this good. All endowments must be consumed for the market to clear in eq. (3), so it follows that or else by individual rationality agents 1 and 2 will not consume the good. Furthermore, we know otherwise market clearing is impossible since individual rationality dictates that goods are only ever consumed at the lowest price in an agent’s neighborhood. For the same reason we get that .
Let and , where we know otherwise individual rationality is only satisfied by agents consuming an infinite amount of the goods they have utility for. We find that agents 1, 2, and 3 sell their endowments for a revenue of , , and respectively. For simplicity, let us assume that agent 1 spends its entire revenue to purchase back its own endowment vector for consumption.101010We have equivalent outcomes when agents 1 and 2 “split” and/or “swap” consumption from equal parts of and . The reason can be “split” at equilibrium is because it is free and neither agent has utility for the good. Similarly, and can have equal parts “swapped” between the agents because the good is equally priced by both agents and they have identical utility for the good. In this case, agent 2 spends its entire revenue to purchase the entirety of both its own and agent 3’s endowment of the second good, and respectively–it is intuitive to think of agent 2 using the revenue from selling to purchase and the revenue from selling to purchase itself back. Clearly then agent 3 spends its entire revenue to purchase the entirety of both its own and agent 2’s endowment of the first good, and respectively. At the end of this process, agents 1, 2, and 3 have consumption plans summarized by the bundles , , and respectively.
Local market clearing and individual rationality are clear since we ensured all endowments are consumed by immediate neighbors, agents only spend revenue on utility maximizing goods, and each agent spends exactly their entire revenue. To derive the prices shown above, let . From agent 2’s budget constraint we find that , where the left hand side is the cost of agent 2’s consumption bundle and the right hand side is their revenue. Hence, when we get . By rescaling , it is clear that all other -KKO equilibrium prices must be a rescaling of these prices by a multiplicative constant. In addition, we saw that an entire unit of utility is lost at -KKO equilibria and the final utilities are given by , , and for agents 1, 2, and 3 respectively.
C.3. Efficient Outcomes at Resale Equilibria
We now conclude by showing that allowing resale leads to equilibria that match economic intuition even when endowment vectors are sparse. We will argue that, for any , the following prices at lead to a -resale equilibrium where . Observe that is a solution of the quadratic equation for the polynomial .
To verify the equilibrium, recall that it is helpful to think of two phases. Agents 1 and 3 have nothing to gain from resale, so abstain from the first phase, whereas agent 2 can profit and is willing to resell any bundle of goods with a total cost of so long as the goods being resold maximize profit-per-credit. By definition and , therefore the goods with non-zero endowments always have maximal profit-per-credit and agent 2 can resell any combination of these goods with a total cost of . Furthermore, as all prices are non-zero and individual rationality dictates that agents will not spend any budget on goods they have no utility for, we know that agent 2 must purchase from agent 1 for resale in order for the market to clear. It follows that, since , , and the total cost of goods resold must be , agent 2 purchases from agent 3 for resale. Hence, agent 2 makes an optimal profit from resale of and agent 1 has sold its entire endowment for a total revenue of . In the second phase, agent 3 sells its remaining endowment, which combines with the revenue made during the resale phase, for a total revenue of . Agents 1 and 2 are only interested in buying the second good and will spend their entire budget doing so at the best band-per-buck price available; agent 1 thus purchases from agent 2 at a cost of and agent 2 purchases from agent 3 at a cost of . Similarly, agent 3 is only interested in buying the first good and will spend their entire budget doing so; thus agent 3 purchases from agent 2 at a cost of .
Optimal arbitrage and individual rationality are clear since agents only resold maximal profit-per-credit goods and bought maximal bang-per-buck goods using their entire budgets; it remains to check the clearing constraint. We know agent 2 has an endowment of and resold , therefore since agents 1 and 3 consumed and from agent 2, respectively, the market locally clears at agent 2. Similarly, agents 1 and 3 had endowments of and respectively. Since agent 2 resold and from agents 1 and 3, respectively, and consumed from agent 3, it is clear that the market locally clears at agents 1 and 3. Therefore we have confirmed that this is a -resale equilibrium.
Thus adding resale resolves this modified broker example in an intuitive way: adding a small amount of resale capacity facilitates trade between agents 1 and 3, while allowing agent 2 to extract rent and consume nearly all of the good it has utility for. In particular, the final utilities are , , and , respectively. The larger becomes, the less rent agent 2 can extract, for the simple reason that the prices for the other agents must increase for the market to clear. When , all prices become equal and the market is effectively a classic AD exchange economy as predicted in §3.1. Regardless of , we see that the social welfare is strictly better than the -KKO equilibrium outcomes found in §C.2 since all utility is extracted from the endowments.
Finally, though we must have as no KKO equilibrium exists, the limiting equilibrium as is well defined and has agent 2 consuming all of the good it has utility for. This demonstrates that while imposing a small minimum on endowments is not a economically viable substitute for resale, the limiting resale equilibrium is a well motivated alternative to imposing a small minimum on endowments.