Definition 1
Submitted to
manuscript (XXX)


On the Efficiency of Sharing Economy Networks

Leonidas Georgiadis

Department of Electrical and Computer Engineering, Aristotle University of Thessaloniki, Greece,

George Iosifidis

Department of Computer Science and Statistics, Trinity College Dublin, Ireland,

Leandros Tassiulas

Department of Electrical Engineering and Institute for Network Science, Yale University, USA,

We consider a sharing economy network where agents embedded in a graph share their resources. This is a fundamental model that abstracts numerous emerging applications of collaborative consumption systems. The agents generate a random amount of spare resource that they can exchange with their one-hop neighbors, seeking to maximize the amount of desirable resource items they receive in the long run. We study this system from three different perspectives: a) the central designer who seeks the resource allocation that achieves the most fair endowments after the exchange; b) the game theoretic where the nodes seek to form sharing coalitions within teams, attempting to maximize the benefit of their team only; c) the market where the nodes are engaged in trade with their neighbors trying to improve their own benefit. It is shown that there is a unique family of sharing allocations that are at the same time most fair, stable with respect to continuous coalition formation among the nodes and achieving equilibrium in the market perspective. A dynamic sharing policy is given then where each node observes the sharing rates of its neighbors and allocates its resource accordingly. That policy is shown to achieve long term sharing ratios that are within the family of equilibrium allocations of the static problem. The equilibrium allocations have interesting properties that highlight the dependence of the sharing ratios of each node to the structure of the topology graph and the effect of the isolation of a node on the benefit may extract from his neighbors.


Collaborative consumption (Felson and Spaeth 1978), or the sharing economy, is an emerging economic trend that promotes novel models of sharing, bartering, or renting resources and services, which is opposed to traditional ownership-based models (Botsman and Rogers 2010, Sundararajan 2016). These solutions are attracting increasing interest due to the global recession that has changed the consumer behavior, the pressing environmental concerns, and the penetration of Internet that facilitates such activities (New York Times 2013, Economist 2013, Guardian 2014). The success of sharing economy is best manifested by the fact that it already encompasses a very diverse set of models. In some cases the payments are implemented with legal tender currency while in others the sharing activities are supported by bespoken credit systems; some applications have geographically-restricted scope while others operate in a world-wide scale; in many models the users’ collaboration is mediated by third parties, as in the transportation network Uber, while in other cases the collaboration takes place directly among users who are co-located or have common interests. All these consumption-as-a-service schemes offer sustainable and low-cost solutions to daunting consumption problems, and can boost the economy at a local or larger scale (PwC 2016).

The fundamental goal in sharing economy is to leverage the potential of ubiquitous connectivity and enable the exchange of resources among the users by exploiting the complementarity of their resource availability and demands. In decentralized implementations, this can be achieved as follows: whenever a user has some idle resource, she offers it to other users who at that time have excess needs, and benefits from the resources they offer to her in the future. Such solutions can also address problems where users have different preferences for the different resources, and need to exchange them in order each one to acquire the most valuable for her needs (Sonmez and Unver 2011). The common denominator in these scenarios is that users are both resource consumers and producers (or, prosumers), and they are free to decide how their resources will be allocated to others. Moreover, their collaboration opportunities are constrained by various network graphs. For example, ride sharing or food sharing is constrained by the geographic proximity of the participants, renewable energy sharing relies on the grid network, commodity exchanges are conditioned on the matching of the users’ needs or social ties, and so on. We will use hereafter the term sharing economy networks to describe these models where users (or, agents) embedded in a network graph exchange their resources over time, aiming to maximize their individual benefits.

Despite the proliferation and huge potential of these sharing economy networks, very important questions about their salient features and performance remain unanswered. For example, to date it is not understood if these sharing systems admit sharing equilibriums nor if there are meaningful dynamic sharing policies that can lead to these equilibriums. Also, it is not known how efficient these equilibriums are in terms of social welfare, and how robust to strategic behaviors of users who act independently or within coordinated groups. Besides, we cannot assess today how the network affects the overall performance of the sharing system or to what extent the network position of a user shapes the resources she will receive from the network.

Motivated by these important questions, we consider a general model for sharing economy networks and follow a systematic approach to articulate and analyze the following issues:

  • Definition and Properties of a Fair Sharing Policy. This is one of the most critical issues in sharing economy networks. Ideally, from a system design point of view, each user should receive resource commensurate to its contribution. This is necessary to establish the sense of fairness in the participants. However, this is not always possible because of the underlying graph that prescribes, for each user, the subset of users she can collaborate with. Additionally, there may be multiple feasible sharing solutions that differ on the amount of resource each user receives. We would prefer to select among them a fair outcome that balances the exchanges as much as possible. In the context of sharing economy networks, such a fair allocation is also considered efficient as it minimizes the wasted resources and maximizes the social welfare. The existence and the characterization of the properties of centrally designed fair and efficient policies (e.g., their dependency on the underlying network graph) is an important and currently open question.

  • Existence and Fairness of Sharing Equilibriums. Most often these systems are not controlled by a central entity that can exogenously impose such a fair solution. Instead, each user is free to decide her strategy and therefore allocate her idle resource to the neighbors from which she receives more service in return. Such interactions give rise to barter-style competitive sharing markets where the users exchange their resources in a greedy fashion. The main question here is if these myopic strategies lead to an equilibrium allocation where each user cannot unilaterally improve her benefits, and whether these equilibriums are affected by the network constraints. In more advanced settings, groups of users might be able to form coalitions and exclude non-members from sharing. For example, in a Wi-Fi sharing community such as FON (FON 2017) a subset of users may decide to serve only each other, expecting to increase their own benefits. Such strategies are very likely to deteriorate the system’s performance, e.g., resulting in isolated users, and it is important to explore if there are coalitional equilibriums that partition the network. Finally, a naturally arising question is how efficient these competitive or coalition equilibriums are, i.e., whether they are related to the above centrally designed fair sharing policy.

  • Dynamics of Sharing Interactions. In such decentralized systems, the issue of how the users can reach the sharing equilibriums is equally important to the existence of the latter. Therefore, it is crucial to understand whether there are meaningful and simple-to-implement dynamic allocation rules that can enable users to exchange their randomly created resources in a fashion that is fair and efficient in the long-term. For the sharing market setting, such dynamic policies must also be incentive-compatible, i.e., aligned with the users’ efforts to maximize their own benefits accrued from the sharing network. Besides, another desirable feature of these sharing policies is to rely on the minimum possible information regarding the structure of the network and the resources or decisions of the users. All these requirements sum up to the following key question: when the users devise their dynamic (over time) sharing decisions in a self-interested and myopic fashion, having information about the respective actions only of their one-hop neighbors, can the sharing network reach an equilibrium that is also fair and robust to group strategic deviations?

The problem of efficient cooperation and resource sharing, even when network constraints are involved, has been studied in several contexts. In communication and computing systems for example, many architectures rely on pooling of resources that belong to different businesses (e.g., Internet Service Providers) or even to different end-users. Examples of the latter cases include bandwidth management in peer-to-peer file sharing systems (Aperjis et al. 2011, Wu and Zhang, 2010), Wi-Fi Internet sharing communities (Iosifidis et al. 2014, Efstathiou et al. 2010), online content distribution schemes (Misra et al. 2010), and so on. Similar ideas have been explored in other contexts, e.g., for facilitating renewable energy sharing in smart grid networks (Gatzikis et al 2014), or for enabling operating costs’ reduction in networks of service providers or manufacturers (Anily and Haviv 2009, Manea 2016, Falkenhausen and Harks 2013). However, prior works in those areas do not address the questions outlined above, namely the impact of the graph constraints and the analysis of the competitive interactions of the users over time. This latter element gives rise to a new type of bartering markets which are related to the general equilibrium theory and the seminal work of Arrow and Debreu (Arrow and Debreu 1954). Here we study a different setting which, not only has graph constraints similarly to other networked economies (Kakade et al. 2004b, a), but also does not presume the existence of a monetary instrument. Besides our focal point is the dynamics of agents’ decisions, an aspect that remains under-investigated even in general competitive market models who rely on full-information tatonnement processes (Mas-Colell et al. 1995).

Finally, the emergence of sharing economy has motivated early studies focusing on specific applications such as vehicle pooling (Santia et al 2014) or sharing of mobile data plans (Camilo et al 2014). Nevertheless, these studies do not answer the above fundamental questions arising in sharing economy. In the sequel we provide a comprehensive overview of the literature highlighting the recent studies about sharing economy, as well as related resource sharing models that have been proposed in pertinent areas.

In order to shed light on these questions, we employ a general model that captures many basic instances of the emerging sharing economy networks. We consider a set of users, where each one generates over time a random amount of idle resource that she does not need and therefore can allocate to her neighbors. For instance a user may have excess bandwidth in her connection plan, that may either being used to forward some neighbor’s traffic or get wasted. We assume that each user has unsaturated demand for the resources of others. This model captures situations where the users have complementary resource availability and demand generation, or different types of resources and different preferences for them. Neighborhood relationships are described by a bidirectional or directional connected graph which does not change. The sharing ratio (or, simply ratio) of total received over allocated long term average resource characterizes the performance of each user, as it quantifies the accrued benefits over her contributions. We consider that the resources can be shared only among one-hop neighbors, and the shared resources are directly consumed by their recipients and cannot be distributed further in the network. This assumption captures practical distribution constraints that arise in many sharing systems.

From a system point of view, a central designer would prefer to have a vector of sharing ratios where each coordinate that corresponds to a user (or, a node in the graph), has value equal to one. Often this will not be possible due to the graph exchange constraints and asymmetries in nodes’ resource availability. For example, in a microgrid energy sharing network, some renewables might create very large amounts of energy which cannot be matched by the neighboring devices. For these cases, the lexicographically maximum (lex-optimal), or max-min, sharing vector is a meaningful performance criterion as it is Pareto optimal and balances the shared resources as much as possible (Nace and Pioro 2008).

In the absence of a network controller however, we assume that each node makes greedy myopic allocation decisions so as to maximize the aggregate resource it receives in return from the community. The interactions of the nodes give rise to a competitive market, which however differ from previous similar models (Arrow and Debreu 1954, Wu and Zhang, 2010) due to the existence of the graph and the absence of side-payments (money) among the nodes. We introduce the concept of sharing equilibrium that is appropriate for this setting, characterize the equilibrium allocations, and study its relation to the centrally designed max-min fair policy.

Accordingly, we assume that subset of nodes can coordinate and form coalitions exchanging resources only with each other. A coalitional graph-constrained game with non-transferable utility (NTU) is identified in the above set-up. We focus on the existence and properties of stable equilibrium allocations. Given a certain global allocation, if there is a subset of nodes that when they reallocate their own resources among themselves manage to improve the sharing ratio of at least one node in the subset, then they have an incentive to deviate from the global allocation. Therefore, when an allocation is in equilibrium, it should be strongly stable and no such subset should exist.

We study the above frameworks, that differ on the assumptions about the system control and the users behavior, and find a surprising connection among them. In particular:

(i) It is proved that there is a unique sharing equilibrium ratio vector that is a solution for the competitive market, and lies in the core of the NTU graph-constrained coalitional game, being also strongly stable. This is the max-min fair ratio vector. This result reveals that a centrally designed meaningful fair solution is robust to nodes’ selfish strategies even if they are allowed to coordinate and form strategic groups seeking to improve their payoff. This finding has many implications for the applicability of such fair policies to sharing economy systems.

(ii) It is shown that the equilibrium exhibits rich structure and a number of interesting properties. For example, in the equilibrium allocation there is exchange of resources only among the nodes with the lowest sharing ratios and the nodes with the highest ratios, the nodes with the second lowest ratios with the set of the second highest ratios, and so on. We also study how the sharing ratios are affected by the graph properties, such as the node degree. This latter aspect is particularly important from a network design point of view as it reveals, among others, the impact a link removal or addition has on the equilibrium. Our findings hold for any graph, and therefore they can help a controller to predict or even dictate the sharing equilibrium.

(iii) Finally, we propose a distributed stochastic algorithm that can be used by the nodes in order to make sharing decisions over time. The algorithms is simple and with minimal information requirements as it allocates the resource generated at each time instance at a node to its neighbor having the highest exchange ratio at that point. This strategy is intuitive as well, since it maximizes the current sharing benefits for the users. Interestingly, it is proved that this dynamic algorithm leads to the above fair and robust sharing equilibrium points.

The rest of this paper is organized as follows. In Section id1 we present the model and the problem statement ; in Section id1 we introduce a policy that solves the problem for all three frameworks; Section id1 presents extensive numerical results and Section id1 surveys the related literature in different areas. We conclude in Section id1 where we also discuss our model assumptions. All the proofs can be found in the Appendix of the paper.

We use capital letters to denote sequences of random variables, e.g., or . Time averages of sequences are denoted with the same letter and a bar on top, e.g.,

Let denote a connected undirected graph with a set of nodes and a set of links. We denote by the set of neighbors of node , that is . We consider a system that evolves over time and we assume a slotted time operation, where slot is the time interval The “beginning” and “end” of slot are respectively the times and . The dynamics of the nodes interactions can be described as follows. At the beginning of time slot , node generates resource , where are i.i.d with mean ; to avoid complications in the discussion we will assume that are bounded, i.e., there is a real number such that The long-term average amount of produced resource by node , , will be referred to as “endowment” of node . This resource is distributed to the neighbors of according to a policy which is formally defined below.

Definition 1

A policy is a set of rules according to which the distribution of resources among the nodes in is effected over time. More specifically, a policy determines the amount or resource node gives to node at time based on the generated and allocated resources up to time We denote the class of all policies by

Under a policy , at time node gives to node amount of the resource it generates up to and since the node cannot give more than it generates, it holds for any ,


The average amount of resource node gives to its neighbors by time is

The amount of resource node receives from its neighbors at time is and the average amount of resource received by time is, . We denote the long term average resource that user receives under policy as . Note that in general is a random variable. However, as we will see in the next section, in order to obtain policies that satisfy the objectives of interest in this work, it suffices to restrict attention to policies for which exists and has a constant and finite value.

The set of feasible long term average received resource vectors that can be achieved by policies in is denoted by . That is,


Node is interested in maximizing its long-term average received resource . Clearly, the objectives of nodes are conflicting, as neighbors have to compete for the same resources and therefore the key issue is to decide how to allocate the resources produced by the nodes. There are two basic approaches to address this issue. Namely, one could formulate this problem as a centrally defined fair-allocation problem and take into account the resource contribution of each node to the community in the long-term, so as to decide how much resource to return to it. In a different context, each node is interested in maximizing it own received resource, and this gives rise to competitive interactions and hence creates a sharing economy market. In that case, the amount of resource each node receives in the long run depends on the attained equilibrium, if any exist. Additionally, it is possible in some settings that users can coordinate with each other and form sharing groups, or coalitions, aspiring to improve their benefits by excluding non-members. Our goal is to analyze the long-term average performance of the nodes’ dynamic interactions in the three frameworks described above. This is formalized in the next subsection.

Figure 1: The model of a sharing economy network. The different system parameters and node decisions are presented, for the long-term regime or a specific time slot .

In this section, we consider three different problem formulations whose objectives are based on long-term averages of the quantities of interest.

In this setting, we consider a centralized policy designed to allocate resources to nodes in proportion to their contribution to the community. Ideally, in such a setting each nodes distributes in the long-run all its endowment and it would be desirable to allocate to every node resource equal to its contribution, i.e., . However, due to the resource sharing constraints imposed by the graph and the different resource endowments of the nodes, such policies will not be feasible in general. Given this, the designer would prefer to ensure the “most balanced” long-term allocation. A suitable method to achieve this goal is to employ the lexicographic optimal (or, lex-optimal) criterion, which has been extensively used for resource allocation and load balancing, for example, in communication networks (Georgiadis et al. 2002), (Nace and Pioro 2008), (Radunovic and Le Boudec 2007). This multi-objective optimization method first increases as much as possible the allocated resource to the node with the smaller sharing ratio, . Next, if there are many choices, it attempts to increase the resource allocated to the node with the second smaller sharing ratio, and so on. The resulting long-term average allocation is max-min fair, thus as balanced as possible. Next we provide the necessary definitions.

Definition 2

Lexicographical order. Let and be -dimensional vectors, and and the -dimensional vectors that are created by sorting the components of and respectively, in non-decreasing order. We say that is lexicographically larger than , denoted by , if the first non-zero component of the vector is positive. The notation means that either or, .

Within this framework we are interested determining policies that induce lexicographically optimal sharing ratio vector, i.e., defining , we are interested in determining a policy such that . In the following, a vector whose sharing ratio vector is lexicographically optimal will also be called simply “lexicographically optimal” or “lex-optimal”.

Assume now that each node is an independent decision maker, interested in maximizing the long-term average resource it receives. An approach in this setup is to define exchange ratios for the node resources that have the following property: each node receives resources from its neighbors in such a manner that the node maximizes its received resource subject only to the constraint that the cost of received resource does not exceed its wealth determined by the exchange ratio and the size of its endowment (the constraints regrading the size of the endowments of the neighbors of the node are not taken into account in this optimization). The solution concept for this setup is effectively the competitive (or, Walrasian) equilibrium (Arrow and Debreu 1954), (Mas-Colell et al. 1995), which has been also applied in communication networks (Aperjis et al. 2011), and extended to graphical economies (which exhibit localities) (Kakade et al. 2004a, b). However, for the problem under consideration, we avoid explicit exchange ratios, and introduce a closely related equilibrium concept:

Definition 3

Sharing Equilibrium. A sharing equilibrium is determined by a vector of sharing ratios with the following properties. a) If at time node gives resource to node , node expects in return (either at time or in the future) resourceendnote: This return resource may be obtained either from node or from any other neighbor of node . This can be interpeted as follows. If node provides resource to node it gets resource credit . Node can receive this amount of resource from any of its neighbors either at time or at some time in the future. , and b) node gives the resources it generates to its neighbors in such a manner that it maximizes its received resource in the long run, under the constraint that it does not exceed the amount it is entitled by the specified exhange rate and its endowment, that is, . It is easy to see that the resulting policy should be such that,

  1. each node distributes all its endowment to its neighbors in the long run, i.e.,

  2. each node distributes its generated resource at all times to the neighbors that have the smallest sharing ratio. Moreover, since each node attempts to maximize its received resource without taking into account the avaibable endowments of its neighbors, the optimization should result in received resource rate vector that satisfies: .

In this context, we are interested in determining whether equilibrium sharing ratios and associated policies exist. Moreover, we are interested in determining policies that operate without a priori knowledge of the equilibrium rates (provided that they exist), but adjust sharing ratios over time in such a manner that they eventually converge to the equilibrium ones; in addition, the long-term received resources are those that are obtained by employing policies that know a priori the equilibrium sharing ratios.

Before providing the details of this framework, let us introduce some additional notation. We denote by the subgraph of induced by a nonempty set of nodes , i.e., the graph with node set , and link set . We denote by the set of policies that operate on graph and by the set of all long-term received resource vectors that can be obtained by employing policies in

Note that the Graph may not be connected. However, the definition of policy in Section 2.1 still holds an hence the set of policies is well defined. Also, all the stated results for connected graphs hold for each of the connected components of .

In this setting we assume that subsets of nodes can coordinate to form coalitions and deviate from the proposed fair solution if this will ensure higher resources for some of them. In game theoretic terms, this behavior leads to a coalitional (or, cooperative) game (Myerson 1997) played by the nodes. Specifically, we call any nonempty subset of nodes a coalition when they allocate their resources only among each other. That is, there is no resource exchange among nodes in and nodes in its complement set . Hence, the feasible long-term resource vectors that nodes in get, are the dimensional vectors in . We refer to the set as the grand coalition. This coalitional game is one with non-transferable utilities, as resources cannot be split arbitrary among the nodes, due to the exchange constraints imposed by the graph. Our goal is to study the existence and the properties of self-enforcing long-term allocations. This property is formally captured by the notion of stability for the grand coalition.

Definition 4

Coalitional Stability. A grand coalition along with a policy that induces long-term received resource vector is called strongly stable if for any nonempty node set , there is no policy that induces an (dimensional) vector such that for all , and for at least one node . The allocation is called weakly stable if for any nonempty node set , there is no policy that induces a vector such that for all .

Note that strong stability implies weak stability but not the other way around. In particular, the concept of weak stability for the grand coalition is directly related to the concept of the core. In this coalitional framework, we ask the question: Is there a policy that renders the grand coalition stable?

In this section we describe a simple policy that achieves the objectives of all three frameworks defined in Section LABEL:subsec:Operating-Frameworks. According to each node maintains a ratio which may be interpreted as resource sharing ratio (or simply “ratio”) at time At time every node gives its generated resource to the node that has the smallest sharing ratio among its outgoing neighbors. Specifically, the policy operates according to Algorithm id1. Note that the only a priori information required for the operation of the policy is the set of endowments of the nodes. However, as will be discussed in Section id1, the policy can also operate by replacing with the time average .

1 At time set Unifying Policy For The Three Frameworks
432 At the beginning of slot , Each user announces to its neighbors the sharing ratio , Each user distributes the resource it generates at time to its neighbor(s) that have the smallest sharing ratio, . The next theorem is the main result of this work.
Theorem 1

The following hold.

  • Policy is Lexicographically optimal.

  • Under the node sharing ratios and long-term received resources converge to the equilibrium sharing ratios and equilibrium received resources.

  • Policy is coalitionally stable.

Next we present an outline of the arguments that will be used to prove this theorem. In Section LABEL:subsec:AchievableRates we show that the region is a subset of a polymatroid, and this allows us to restrict attention to policies under which all nodes distribute their endowments to their neighbors in the long run. In Section LABEL:subsec:Structure, using the structure of the lexicographically optimal vector in polymatroids, we derive the structure for the lexicographically optimal point in our setup, and we use this structure to show that a policy that achieves the lexicographically optimal received resource vector also achieves the equilibrium sharing ratios in the long run. Also, we show that a policy that achieves the equilibrium sharing ratios is stable. Finally, in the Appendix we show that policy achieves the lexicographically optimal point and thus possesses all properties described in Theorem 1.
In this section we provide some important properties about the region in (2) which consists of the possible vectors of long-term average received resources that can be obtained by any policy . For a set define by the set of nodes that are neighbors of nodes in , i.e., Let
where for we define . Since there are no isolated nodes, . The following lemma is a consequence of the fact that nodes can receive resources only from their neighbors.
Lemma 1

Under any policy it holds for any

Let be the class of policies in for which
  1. The long-term average of received resources exist, i.e, .

  2. All endowments generated by the nodes are eventually consumed, i.e.,

Let be the set of received resource vectors, that can be achieved by policies in . From Lemma 1 we conclude that
To proceed, we need the fact that possesses the important property of submodularity.
Lemma 2

is submodular i.e., it holds for every

For submodular , the sets and are referred to as “polymatroid polyhedron” and “base of the polymatroid” respectively. Using the polymatroid property, the next lemma shows that the achievable resource vectors under policies in is the base of the polymatroid.
Lemma 3

It holds:

Achievable Received Resource Vectors
In this section we present some properties of polymatroids that are needed in the sequel (Fujishige 2005, Bhattacharya et al 1993).
Lemma 4

If is a polymatoid with base , then for any there exist an such that . Hence the lexicographically optimal vector in lies in

Next we describe the structure of the lexicographically optimal vector in . First we need some notation. For a given , the different values the coordinates of vector takes, will be denoted by , where . The index of the value to which equals is denoted by , i.e., . We call the “level of node ”. The set of nodes of level is denoted by .
Theorem 2

Let be a polymatroid. A vector in , is lexicographically optimal if and only if the following hold.


where, The lexicographically optimal vector exists and is unique.

eview of Polymatroid Properties
In this section we describe the structure of the lexicographically optimal vector for the problem under consideration. We will make use of the following simple lemma.
Lemma 5

Let then: a) If then . b) If , then and .

For the problem under consideration in this work it can be easily seen that given any vector in there is an allocation set such that and , we refer to this set as “allocation that generates ” This allocation may not be unique as can be seen in the example shown in Figure 2. Fixing any such allocation, we say that (under this allocation) “node gives resource to node ” if . We also say that “node gives resource to a set ”, if node gives resource to any node in
Figure 2: Example of Multiple Allocations leading to identical sharing ratios. Numbers show main allocation rates, while in parentheses the alternative options are depicted. All nodes have the same average resource generation rate. Both allocations lead to the same exchage ratio vector of (1,1,1,1).
Consider now the general structure of the lexicographically optimal vector described in Theorem 2. For the problem under consideration in the current work, equality (9) implies that there is (at least one) allocation set such that the endowments of all neighbors of set are given to the nodes in this set. Similarly, (10) for implies that the endowments of all nodes in are given to the nodes in set ; in general, the endowments of all nodes in are given to nodes in set To proceed we need some additional notation. Given vector with define,
where if For example, , and consists of the nodes in that remain after removing those that belong to level sets and . In the sequel, a quantity referring to induced subgraph is denoted . Also when there is no possibility for confusion, for simplicity we omit from the notation the dependence of the quantities defined above on the vector The next Theorem describes the structure of the lexicographically optimal vector.
Theorem 3

A vector , is lexicographically optimal if and only if the following hold. If then . If then

  1. is an independent set in graph , for .

  2. , for .

  3. , for .

  4. , for .

  5. If is odd, then

Structure of Lexicographically Optimal Received Resource Vector

Let us now discuss the implications of the above theorems. Under a lexicographically optimal allocation , the nodes are divided in disjoint sets , where nodes in each set have the same sharing ratio; this division depends both on the resource endowments of the nodes and on the graph . For the discussion below, please refer to Fig. id1, that presents an example of the structure for levels. In this graph, we depict with solid lines the physical connections that may exist among the different sets of nodes. Notice that the actual nodes and their detailed connections are not shown. Sharing ratios Structure. According to Theorem 3, the sharing ratios have a certain structure. Specifically, the highest sharing ratio is inversely proportional to the lowest one (), the second highest sharing ratio is inversely proportional to the second lowest sharing ratio (), and so on. Additionally, as shown in Fig. id1 all the nodes in the set with the highest sharing ratio, , exchange resources only with nodes belonging to the set with the lowest sharing ratio, . Similarly, the nodes in set exchange resources only with nodes in set and so on. When is odd, there is one set of nodes, here the set , which exchange resource only with each other. Topological Properties. Nodes in the set with the lowest exchange rate, constitute an independent set. Moreover, the set of their neighbors is the set with the highest sharing ratio, Similarly, it holds that nodes in constitute an independent set in the graph . Hence, the nodes in set can have links only with nodes in set and possibly with nodes in (since the latter do not belong in ). However, as discussed above, nodes in exchange resource only with nodes in . With the same reasoning, it is easy to see that nodes in set can be physically connected with nodes in , and , but they exchange resource only with nodes in the latter set. Finally, nodes in set exchange resources only with each other. These properties reveal how the graph affects the lex-optimal fair solution. For example, by adding a link between two nodes initially belonging to (which is independent), the lex-optimal solution changes and places these (now connected) nodes to another set. This dependency among the graph structure and the lex-optimal sharing ratio vector will become more evident in the sequel. The next theorem shows that the ratios of the lexicographically optimal point are the equilibrium sharing ratios of the competitive framework.
Theorem 4

Let be a lexicographically optimal vector. The ratios are equilibrium sharing ratios for the competitive framework.

The next theorem shows that a policy achieving the lexicographically optimal vector is stable.
Theorem 5

A policy that achieves the lexicographically optimal vector is strongly stable.

The next section presents representative numerical examples that shed light on the above results.
For our numerical investigation, we consider two families of network graphs. First, we focus on small graphs with typical structures, such as rings. Then, we present the equilibriums in well-known network models such as Erdos-Renyi, Lattice, Scale-free and Small-world graphs. umerical Results and Discussion
Consider first the networks of Fig. 4. Solid lines represent the physical connections of each node, i.e., the possible exchanges that this sharing economy network can support, and the dotted arrows indicate the actual resource allocations that take place at the equilibrium point. Next to each node we depict its resource endowment.
Figure 4: (a): A network with 6 nodes that create 2 groups, each one marked with the dotted-line rectangle. There are 3 different levels of sharing ratios. The color of each node is analogous to its sharing ratio value (increasing from white to black colour). The received resources are , and . The sharing ratios for the nodes belonging to each set are , , and respectively; (b): A network with nodes which create groups. Received resources are , , , , , , , , , , , , and . (c): A ring graph of nodes with coalition and level. (d): A complete graph of nodes with coalition and levels.
Let us first focus on the 6-node network of Fig. 3(a). At the lex-optimal equilibrium point this network has levels with 3 sets which are marked with different colors, where darker colors are used for nodes with higher sharing ratios. Let us now verify the properties that the lex-optimal allocation should have according to Theorem 3. First, notice that set is independent in graph . Moreover, the neighbors of nodes in set are the nodes in . Although nodes in are physically connected, they only allocate resource to nodes in and it holds . Moreover, the highest and the lowest levels satisfy the condition . The nodes are partitioned into disjoint groups and , each one containing nodes with at most two levels. For the example of Fig. 3(b) we used a network with nodes that yields levels, with , , , , , and . The sets are , , , , , and . Sets , , and are independent in graphs , , and the set is independent in . Moreover, it holds , and , and holds . In this example we have 3 disjoint groups , , and . We see that links , , , and are redundant and can be removed without affecting the lex-optimal allocation.
Figure 5: Lattice Graphs with N=30 nodes. (a): equal-endowment nodes (), 1 sharing ratio level. (b): low-endoment nodes (), 2 high-endowment nodes (), 7 different sharing ratio levels. (c): low-endoment nodes (30), 5 high-endowment nodes (), 4 different sharing ratio levels.
Figure 6: Equilibriums in Erdos-Renyi Graphs. (a): , link creation probability , 1 sharing ratio level. (b): , , 1 sharing ratio level. (c): , high-endowment nodes (), 4 sharing ratio levels.
Figure 7: Scale-free Graphs. (a): low skewed with skew parameter 0.5, 5 sharing ratio levels. (b): moderately skewed (linear model, skew parameter 1), 7 sharing ratio levels. (c): highly skewed (parameter 2), 5 sharing ratio levels.
Figure 8: Small-world Graph, N=30. (a):Small-world Graph with symmetric nodes; (b):Small-world Graph with Asymmetric Endowments (4 nodes with D=300)
Figure 3(c) depicts a complete graph with nodes, where node has level while the other nodes have level . In general for complete graphs, from Theorem 3 and the fact that independent sets in such graphs contain only one node, it follows that lex-optimal allocations may have at most two levels. Moreover a complete graph has two levels iff the resource of node with the maximum endowment is larger than the sum of the resources of the rest of the nodes, and it is . On the other hand, for the respective -node ring graph, Fig. 3(d), the lex-optimal solution yields levels. asic Graphs
In this subsection we focus on larger graphs of typical models, namely the Lattice, Erdos-Renyi (Erdos and Renyi 1960), Scale-free (Barabasi and Albert 1999), and Small-world (Watts and Strogatz 1998) networks. We demonstrate that the reached equilibrium points can be affected by the properties of these networks, e.g., their density, but also by the diversity in the nodes’ resource endowments. In Figure 5 we present the equilibrium allocations for 3 lattice graphs with 30 nodes. First, Figure 4(a) presents the homogeneous case where every node has an average generation rate of resource units. The node color is modulated by the attained equilibrium sharing ratio, with darker shades indicated higher sharing ratios. We observe first that in the homogeneous case, the graph structure does not create any imbalance in the equilibrium, all nodes achieve an sharing ratio equal to 1. This result changes significantly when the nodes have diverse resource endowments. Namely, in Figure 4(b) we depict the equilibrium of the same lattice network where 2 out of the 30 nodes have now much higher resource, namely . This creates 7 different sharing ratio levels. Finally, Figure 4(c)depicts a graph where 5 out of the 30 nodes have resource , and this creates 4 different sharing ratio levels, making the sharing economy network less imbalanced in that respect. Next we focus on Erdos-Renyi (E-R) graphs. Figure 5(a) depicts an E-R graph with nodes and link creation probability , where all nodes are homogeneous in terms of their resource endowments, having . We observe that all nodes reach the same unique equilibrium point of equal exchanges. The same holds for Figure 5(b) which is denser (), yet the additional links do not affect the allocation strategies of the nodes. However, when the nodes become resource-diverse with 2 nodes having , the equilibrium changes significantly. Namely, there are 5 sharing ratio levels with the minimum of them being as low as and the maximum as high as . In other words, similarly to the lattice graph we observe that a change in the resource endowments is more likely to change the equilibrium than a change in the structure of these networks. This is not the case however for scale-free graphs. These networks which are formed through preferential-attachment processes, do not show assortative mixing (Newman 2002), and specifically many nodes with low degree are connected to nodes with much higher degree. This creates a structural advantage which results in diverse equilibrium sharing ratios even for homogeneous systems where nodes have identical resource endowments. Figure 6(a) presents the equilibrium in a scale-free graph that has a power parameter . We observe that there are 5 different sharing ratio levels, as some nodes have high degree while many others have degree 1. Figure 6(b) presents a graph created by a linear preferential attachment process, i.e., , that attains an equilibrium with 7 sharing ratio levels. Finally, for the graph of Figure 6(c) it is and the equilibrium again changes and has 5 sharing ratio levels. In summary, we see with this basic example that in scale-free graphs the equilibrium is significantly affected by the structural properties of the network graph and result in asymmetric points even when the nodes are identical in terms of their resource endowments. As a final example, we present in Figure 8 the equilibriums in 30-nodes graphs that has the small-world property (Watts and Strogatz 1998). Figure 6(b) presents a homogeneous network where all nodes have equal resource endowments (30 units) while Figure 6(c) depicts the same network where 4 nodes have 300 units of average resource. This creates 3 different sharing ratio levels, instead of a single sharing ratio level for the former case.
Figure 9: Convergence of Algorithm 1. (a):Convergence of sharing ratios in the Lattice Network of Fig. 4(a); results shown for 3 nodes with degrees 2, 3, and 4. Inset plot shows the first 100 iterations. (b): Convergence of sharing ratios in the Erdos-Renyi Network of Fig. 5(a); results shown for 4 nodes with degrees 1, 3, 5 and 8. Inset plot shows the first 100 iterations. (c): Convergence of sharing ratios in the Scale-free Network of Fig. 6(b); results shown for 3 nodes with 3 different sharing ratios. Inset plot shows the first 100 iterations.
ypical Network Models
Finally, we present the convergence results for Algorithm 1. First, in Figure 8(a) we plot the value over time of the sharing ratio (or, sharing ratio) for three nodes in the lattice network of Figure 4(a). We observe that after the first 100 slots (see the inset) the ratios have converged very closely to their final values. We have plotted the results for nodes with different degrees, which however does affect in this example the convergence speed. Similarly, in Figure 8(b) we present the convergence of 4 nodes with different degrees in the Erdos-Renyi network of Figure 5(a). Again we observe a relatively fast convergence on the final sharing ratios which are all equal to 1. Finally, Figure 8(c) presents the convergence results for 3 nodes in the Scale-free graph of network 6(b). In this case, the sharing ratios converge in different levels, and we show here the results for 3 nodes attaining 3 different sharing ratio values. ynamic Interactions and Convergence
The model and questions considered in this work are fundamental and therefore their relation to prior studies in different fields is rather expected. For example, to some extent, similar questions have been investigated in the context of network exchange theory in sociology, the general equilibrium theory in economics, various game theoretic works for networked markets or social networks, and in the context of designing cooperation mechanisms in communication and computing systems. Below we provide a brief overview of the more pertinent results in these areas and explain how our work differs. In particular, one key novel aspect of our paper is that unlike past works where the resources of producers to be distributed were known a priori, here we assume that the resource of the producer is generated dynamically over time and the prosumer allocates the resource chunks as become available. The dynamic policy we propose monitors time averages of offered resources as they evolve to make the allocation decisions. iterature Overview
Our work is directly related to the general equilibrium theory which focuses on the existence of exchange ratio and allocation equilibriums in competitive markets. The first attempt to study such models dates back to 1874 and the efforts of L. Walras (Walras 1954) who introduced the tatonnement process that leads to an equilibrium, and the analysis of I. Fisher who considered a simpler model (the Fisher market) in 1891 (Fisher 1891) and studied automated methods for computing the equilibriums. A richer production - consumption macroeconomic model was introduced in the seminal paper of K. Arrow and G. Debreu (Arrow and Debreu 1954) who formally proved the existence of equilibriums (A-D model). Subsequent works refined these results by devising the necessary and sufficient conditions for the existence of equilibriums when the agents have linear utility functions (Gale 1976). More recently, researchers have focused on the computation complexity of Arrow-Debreu or Fisher equilibriums, and have developed approximate or even exact (pseudo)-polynomial algorithms for special cases of these markets (Devanur et al 2008, Orlin 2010, Duan and Mehlhorn 2015); we refer the reader to (Devanur et al 2016) for an excellent discussion about these results and overview of the recent literature. The sharing economy model in this paper differs from the above works in many ways. First, we do not assume the existence of any monetary instrument; hence commodity prices cannot be introduced nor we need to calculate them in order to find the economy’s equilibriums. In other words, this is a pure exchange or bartering scheme. Similar models have been studied for house exchange markets (Shapley and Scarf 1974) or labor (timeshare) exchanges (Wang and Krishna 2006), where the focus has been again to prove existence of equilibriums. Another distinct aspect of our model is the underlying graph that constraints the possible trades. It is worthwhile to note here that A-D and Fisher markets can capture to some extent the network constraints through the commodity preferences (assuming that each agent possesses a different commodity). However, even under this assumption, previous works did not study the impact of the preference constraints on the equilibriums. Similar network models have been studied in the context of graphical economies Kakade et al. (2004b, a) which extend the classical Walrasian equilibrium by imposing constraints on the subsets of buyers and sellers who can trade. It is shown that this network structure can create variation in the price of a certain commodity across different graph neighborhoods. Compared to these latter results, our model does not presume any type of money transfers, there is no budget constraints (as in typical exchange economies) and the nodes do not value money. Besides, we fully characterize the equilibriums, relate them to the max-min fair solution, and study how they are affected by the network. We also prove that these sharing equilibriums lie within the core of the respective NTU game. Although this relation is known for market games and the respective coalitional games, to the best of our knowledge this is the first result for NTU coalitional graph-constrained games without money. This property is also related to strong Nash equilibriums (see (Andelman et al., 2007) and references therein), for which however there are no general existence results; besides, we focus on market clearing (or competitive) equilibriums which rely on the assumption of price-taking behavior for the agents and hence are fundamentally different than Nash equilibriums. Finally, (Herings et al. 2000) and (Jackson and Wolinsky 1996) studied also core solutions of coalitional graph games where the nodes are allowed to create new or severe existing connections. In our model the graph is exogenously given, e.g., based on the location of nodes. Moreover, we go a further step and prove that these equilibriums are strongly stable in the sense that there are no deviations even if they improve only one user’s sharing ratio. However, probably the most important difference of our work compared to the above literature is that we explicitly focus on dynamic policies that can lead to the market equilibrium in a decentralized fashion, with lightweight computations and minimal network state information. Namely, the generated resources are unknown in advance and each node is aware only of the existence and strategy of its one-hop neighbors. eneral Equilibrium and Game Theory Models
Indeed, the vast majority of literature in Arrow-Debreu or Fisher market (and in their variants) focuses either on the existence of equilibriums or on centralized algorithms for their computation. Albeit very significant, such solutions cannot be applied in practice, especially in the sharing economy applications we focus in this work. Instead, it is of utmost importance to understand if (and how) the agents in such economies can make allocation decisions that will gradually drive the system to its equilibrium, without the need for a central coordinator or full knowledge of the market’s state. In (Wu and Zhang, 2010) the authors studied exactly this problem and proposed a new distributed algorithm, called the Proportional Response (PR) dynamics, as a protocol for trading bandwidth on a peer-to-peer file sharing network. The PR dynamics involves a sequence of bids by the buyers and exchange ratios by the sellers that respond to each other. The seller exchange ratios are simply set to be the sum of all the bids they receive. The buyers set their bids proportional to the utility they would obtain with the bids and the exchange ratios in the previous round. Subsequently, (Zhang 2011) studied the application of these dynamics for trading in a Fisher market, while (Birnbaum et al 2011) showed that the proportional bidding and allocation algorithm introduced in (Wu and Zhang, 2010) is essentially a gradient descent algorithm that can solve the Fisher market optimization program in a decentralized fashion. This proportional allocation algorithm is very interesting and substantially different from the Walrasian tatonnement process. In the latter the exchange ratio of each good is gradually adjusted according to the excess of demand in the previous time step, and then the agents adjust their requested amounts based on the updated exchange ratios. The proportional response dynamics on the other hand do not explicitly involve a exchange ratio mechanism as the requests are based on the user’s utility. Consequently, it does not presume a central controller to aggregate all the demands and offers, and it does not require to solve an optimization problem at each step. However, all the above approaches refer to a static model, where the amounts of commodities and budgets are constant and known in advance. In this work we consider a more challenging (and realistic) system where the resource availability varies randomly and we prove the convergence of a distributed algorithm that fully allocates the generated commodities to the requester that offers the highest sharing ratio. This decision rule is intuitive and in line with the expected market behavior of agents who myopically seek to maximize their benefits in each step. Moreover, we explain that the propose algorithm converges to the equilibrium even if each agent does not know in advance his average expected rate of resource generation, and simply uses the running average in each step. Finally, previous works focused on Fisher markets, where there are only buyers who compete for a set of limited commodities, i.e., the exchange ratios reflect only the congestion and not the interests of the sellers, a condition substantially different from the sharing economy market of prosumers that we study here. ynamic Sharing Algorithms
The problem of cooperation in wireless networks is of paramount importance and has been considered in different contexts, such as for ad hoc networks (Buttyan and Hubaux, 2003) or WiFi sharing models (Efstathiou et al. 2010). This is a problem that gains increasing interest in communication networks (Iosifidis et al. 2014), as there are many related market solutions offered either as a product, e.g., routers that are tailored for cooperation (FON 2017), or mobile applications that allow sharing of content among devices. Moreover, such mechanisms have been extensively studied in file sharing peer-to-peer (P2P) overlay systems. In this case, each device that participates in the overlay is an economic agent in the sense that it provides some commodity (the files it possesses) and requests some other goods (the files other devices share). While our model is similar to previous works, e.g., see (Aperjis et al. 2011) and references therein, our analysis provides novel insights for the structure and properties of the resulting equilibriums and focuses, for the first time, in the dynamics of such interactions. Finally, in more grassroots efforts, such cooperative infrastructures offer low-cost Internet access to under-served or low-income communities around the globe (Redhook 2017). Unlike previous works, our model does not presume any kind of logistics infrastructure, e.g., for transaction or reputation systems. Instead, we proved that a simple and intuitive best response algorithm, with no information about the graph and resource endowments, converges to a fair and robust connectivity or content sharing equilibrium. ooperation Mechanisms in Communication Systems
Sharing economy is a recent topic and hence there are only few related studies on the underlying exchange mechanisms. A first important research thrust here consists of works which analyze the users motives for participation through surveys. It is found that users join various sharing economy platforms often due to sustainability concerns (Hamari et al 2015, Lampinen et al 2015) and their decisions are facilitated when third-party mediators (as in Airbnb) (Kim et al 2015, Ikkala and Lampinen 2014) resolve the various logistic and security issues that arise. In (Zervas et al 2016) it is shown that sharing economy services have non-negligible impact on incumbent businesses, motivating the study of mixed markets where both sharing economy and mainstream services coexist (Cusumano 2015). In sharing systems, reciprocity mechanisms are crucial (Suhonen et al 2010, Lampinen et al 2013, Ye et al 2016) and they are affected by the graph structure, an aspect that was first pointed in the context of network exchange theory (Markovsky et al 1988, Beinenstock and Bonacich 1993, Walker et al 2000). However, these latter works focus only on simple bargaining problems and their experimental behavioral analysis is orthogonal to our efforts. haring Economy
We introduced and analyzed a novel model of sharing economy networks where agents embedded in a graph share their resources over time. This basic model captures an increasing number of business cases where end-users exchange directly resources or services. Such solutions are fueled today by the ideas about collaborative consumption, or sharing economy, and have the potential to boost the global economy in many ways, transforming the way humans trade and collaborate. Our findings suggest that there is a simple class of dynamic exchange policies that can lead to an equilibrium point which is fair, in a max-min fashion, and stable with respect to selfish strategies of single or groups of colluding agents. Moreover, the equilibrium allocations have an interesting structure that underline the relation of the sharing equilibriums with the topology of the network graph. Our model can be substantially extended, covering this way an even larger set of scenarios. First, the presented policy is distributed since each node needs to be informed only about the sharing ratios of its outgoing neighbors. As it stands now however, each node needs to know its average resource generation rate . Nevertheless, this requirement can also be removed by replacing with
The arguments for proving this claim are mainly technical, albeit lengthy; hence we refer the interested reader to Bhattacharya et al (1993) where a different system with similar dynamics is analyzed. In practice, this means that the proposed algorithm can drive the sharing economy network to the desirable operation point with minimum local interactions among the nodes, and with no information about the actual resource availability (statistics of resource generation).Another issue with Algorithm 1 is that if the statistics of node endowments change, then decisions are based on time averages, the adaptation of the system to new parameters will be slow. This issue can be avoided by replacing time averages with their discounted versions, e.g. by replacing with . It can be shown that by selecting close to 1, the system performance is close to the optimal, while ensuring satisfactory speed of adaptation to statical changes of parameters. We refer the reader to (Bhattacharya et al 1993) for more details on this. Finally, we have assumed that all the users have the same priority and unsatiated demand; the model can be extended for users with different priorities. oncluding Remarks
Lemma 1. Under any policy it holds for any
Proof. According to the definitions and eq. (1):
Taking limits and using the fact that (4) follows. Next,
Lemma 2. is submodular i.e.,it holds for every
Proof. By a theorem of Lovasz (Lovasz 1983), it suffices to show that for any and it holds,
Lemma 3. It holds: Proof. Observe first that is convex since given two policies , in , one can design a policy with , where , as follows:
Since is convex and to show that in fact , it suffices to show that all extreme points of belong to . Since is a base of a polymatroid, its extreme points are defined as follows. Let be any permutation of node indices. Define also . Then an extreme point of is the following,
and in fact all extreme points of are of the form (15), (16). Consider the policy that operates as follows:
  • All nodes in give always their generated resource to .

  • All nodes in give always their generated resource to .

It can be easily seen from the definitions that under policy the long-term resources allocated to the nodes are given by (15), (16).    
Lemma 5. Let then: a) If then . b) If , then and . Proof. Since , we have
a) If , then for all , hence b) Let now . If , then since , we have
which contradicts (17). Similarly it is shown that .    
Theorem 1. The following hold.
  • Policy is Lexicographically optimal.

  • Under the node sharing ratios and long-term received resources converge to the equilibrium sharing ratios and equilibrium received resources.

  • Policy is coalitionally stable.

Proof. In this subsection we show that the policy that operates according to Algorithm id1 is lexicographically optimal. The rest of the assertions of the theorem follow from the discussion in Section LABEL:subsec:Structure. The proof is based on stochastic approximation techniques. In particular, we will make use of the following stochastic approximation theorem due to Robbins and Siegmund and follow the approach in (Bhattacharya et al 1993).
Theorem 6

On a probability space equipped with a sequence of -fields let be non-negative and -measurable random variables such that



Then, exists, is finite and a.s.

We will need the following lemma.
Lemma 6

Let It hodls


For all it holds,

Proof. According to Algorithm id1, the nodes in receive all the resources generated by their neighbor nodes at time . Similarly, the nodes in receive all the resources generated by their neighbors at time , hence,
Taking conditional expectations we obtain
To show (21), setting we have for ,