Rental harmony[1][2] is a kind of a fair division problem in which indivisible items and a fixed monetary cost have to be divided simultaneously. The housemates problem[3][4] and room-assignment-rent-division[5][6] are alternative names to the same problem.[7][8]:305–328 In the typical setting, there are [math]\displaystyle{ n }[/math] partners who rent together an [math]\displaystyle{ n }[/math]-room house for cost fixed by the homeowner. Each housemate may have different preferences — one may prefer a large room, another may prefer a room with a view to the main road, etc. The following two problems should be solved simultaneously:
There are several properties that we would like the assignment to satisfy.
Envy-freeness implies Pareto-efficiency. Proof: Suppose by contradiction that there exists an alternative assignment, with the same price-vector, that is strictly better for at least one partner. Then, in the current allocation, that partner is envious.
The rental-harmony problem has been studied under two different assumptions on the partners' preferences:
The cardinal assumption implies the ordinal assumption, since given a valuation vector it is always possible to construct a preference relation. The ordinal assumption is more general and puts less mental burden on the partners.
The protocol by Francis Su makes the following assumptions on the preferences of the partners:
Normalize the total rent to 1. Then each pricing scheme is a point in an [math]\displaystyle{ (n-1) }[/math]-dimensional simplex with [math]\displaystyle{ n }[/math] vertices in [math]\displaystyle{ \mathbb{R}^n }[/math]. Su's protocol operates on a dualized version of this simplex in a similar way to the Simmons–Su protocols for cake-cutting: for every vertex of a triangulation of the dual simplex, which corresponds to a certain price scheme, it asks the owning partner "which room do you prefer in that pricing scheme?". This results in a Sperner coloring of the dual simplex, and thus there exists a small sub-simplex which corresponds to an approximate envy-free assignment of rooms and rents.
Su's protocol returns a sequence of allocations which converges to an envy-free allocation. The prices are always non-negative. Hence, the outcome satisfies the NN and EF requirements.
[9] and [10] provide popularized explanations of Su's Rental Harmony protocol.
[11] and [12] provide on-line implementations.
Azriely and Shmaya[2] generalize Su's solution to a situation in which the capacity of each room may be larger than one (i.e., several partners can live in the same room).
They prove the existence of envy-free allocations in the following conditions:
The main tools used in the proof are:
Their solution is constructive in the same sense as Su's solution - there is a procedure that approximates the solution to any given precision.
A. In both Su's solution and Azrieli&Shmaya's solution, the preference relation of each partner is allowed (but not obliged) to depend on the entire price-vector. I.e, a partner may say "if room A costs 1000, then I prefer room B to room C, but if room A costs only 700, then I prefer room C to room B".
There are several reasons such generality can be useful.[2]
B. Both Su's solution and Azrieli&Shmaya's solution make a "Miserly tenants" assumption - they assume that a tenant always prefers a free room to a non-free room. This assumption is strong and not always realistic. If one of the rooms is very bad, it is possible that some tenants will not want to live in that room even for free. This is easy to see in the cardinal version: if you believe that room A is worth 0 and room B is worth 100, and room A is free and room B costs 50, then you certainly prefer room B.
Su[1] suggests to weaken this assumption in the following way: each partner never chooses the most expensive room if there is a free room available. This does not require the person to choose the free room. In particular, this will hold if a person always prefers a free room to a room costing at least [math]\displaystyle{ 1/(n-1) }[/math] of the total rent. However, even this weakened assumption might be unrealistic, as in the above example.[8]:320–321
As explained above, the input to the cardinal version is a matrix of bids: every partner has to submit a bid to each room, saying how much (in dollars) this room is worth for him.
A key notion in the cardinal solutions is a maxsum (aka utilitarian) allocation. This is an allocation of partners to rooms, that maximizes the sum of bids. The problem of finding a maxsum allocation is known as the assignment problem, and it can be solved by the Hungarian algorithm in time [math]\displaystyle{ O(n^3) }[/math] (where [math]\displaystyle{ n }[/math] is the number of partners). Every EF allocation is maxsum and every maxsum allocation is PE.[4]
The two requirements of envy-freeness and non-negative payments are not always compatible. For example, suppose the total cost is 100 and the valuations are:
Room 1 | Room 2 | |
---|---|---|
Partner 1 | 150 | 0 |
Partner 2 | 140 | 10 |
Here, the only maxsum allocation is giving room 1 to partner 1 and room 2 to partner 2. In order to make sure partner 2 does not envy, partner 1 must pay 115 and partner 2 must pay -15.
In this example, the sum of valuations is more than the total cost. If the sum of valuations equals the total cost, and there are two or three partners, then there always exists an EF and NN allocation.[4]:110–111 But if there are four or more partners, then again EF and NN might be incompatible, as in the following example (see [8]:318–319 for proof):
Room 1 | Room 2 | Room 3 | Room 4 | |
---|---|---|---|---|
Partner 1 | 36 | 34 | 30 | 0 |
Partner 2 | 31 | 36 | 33 | 0 |
Partner 3 | 34 | 30 | 36 | 0 |
Partner 4 | 32 | 33 | 35 | 0 |
Note that this example does not occur in the ordinal version, since the ordinal protocols make the "Miserly Partners" assumption - partners always prefer free rooms. When this assumption holds, there always exists an EF+NN allocation. But, in the above example, the assumption does not hold and an EF+NN allocation does not exist. Therefore, the protocols in the cardinal version have to compromise between EF and NN. Each protocol makes a different compromise.
Brams and Kilgour[8]:305–328[13] suggest the Gap Procedure:
The idea behind the last step is that the next-lowest valuations represent the "competition" on the rooms. If there a room is more wanted by the next-highest bidder, then it should cost more. This is similar in spirit to the Vickrey auction. However, while in the Vickrey auction the payment is entirely independent of the partner's bid, in the Gap procedure the payment is only partially independent. Therefore, the Gap procedure is not strategyproof.
The Gap Procedure always assignes non-negative prices. Because the assignment is maxsum, it is obviously also Pareto-efficient. However, some partners may be envious. I.e, the Gap procedure satisfies NN and PE but not EF.
Moreover, the Gap Procedure may return non-envy-free allocations, even when EF allocations exist. Brams relates to this problem saying that: "Gap prices do take into account the competitiveness of bidding for goods, which makes the pricing mechanism market-oriented. Although envy-freeness is a desirable property, I prefer a marketlike mechanism when there is a conflict between these two properties; partners should pay more when bids are competitive, even at the sacrifice of causing envy".[8]:321
Haake et al.[7] present the Compensation Procedure. The problem it solves is more general than the rental-harmony problem in certain aspects:
There is a "qualification requirement" for a partner: the sum of his bids must be at least the total cost.
The procedure works in the following steps.
When there are many item and complex constraints, the initial step - finding a maxsum allocation - may be difficult to calculate without a computer. In this case, the Compensation Procedure may start with an arbitrary allocation. In this case, the procedure might conclude with an allocation that contains envy-cycles. These cycles can be removed by moving bundles along the cycle. This strictly increases the total sum of utilities. Hence, after a bounded number of iterations, a maxsum allocation will be found, and the procedure can continue as above to create an envy-free allocation.
The Compensation Procedure might charge some partners a negative payment (i.e., give the partners a positive amount of money). This means that the Compensation Procedure is EF (hence also PE) but not NN. The authors say:
However, other authors claim that, in the usual housemates scenario:
Abdulkadiroğlu et al.[5] suggest a market-based approach. It is a combination of an ascending auction and a descending auction. It is simplest to describe as a continuous-price auction:
In practice, it is not necessary to change the price continuously, since the only interesting prices are prices in which the demand-sets of one or more partners change. It is possible to calculate the set of interesting prices in advance, and convert the continuous-price auction to a discrete-price auction. This discrete-price auction stops after a finite number of steps.[5]:525–528
The returned allocation is always envy-free. The prices may be negative, like in the procedure of Haake et al. However, in contrast to that procedure, the prices are non-negative if there exists an EF allocation with non-negative prices.
Sung and Vlach[4] prove the following general properties of allocations:
Based on these properties, they propose the following algorithm:
The runtime complexity of both finding maxsum allocation and finding minsum prices is [math]\displaystyle{ O(n^3) }[/math].
The solution of Sung and Vlach seems to have all the desirable properties of the previous protocols, i.e.: PE and EF and NN (if possible) and polynomial run-time, and in addition, it guarantees that every envious partner gets a free room.[14] provides an implementation of a similar solution, also based on solving a linear-programming problem but citing a different paper.
Gal, Mash, Procaccia and Zick,[15] based on their experience with the rent division application in the Spliddit website, note that envy-freeness alone is insufficient to guarantee the satisfaction of the participants. Therefore they build an algorithmic framework, based on linear programming, for calculating allocations that are both envy-free and optimize some criterion. Based on theoretic and experimental tests, they conclude that the maximin criterion - maximizing the minimum utility of an agent subject to envy-freeness - attains optimal results.
Note that, since their solution is always EF, it might return negative prices.
Most papers in the cardinal model assume that agents have Quasilinear utility functions - their utility is the room value minus the price. But in reality, agents have budget constraints - if the room price is above their budget, the utility drops much faster than linearly. Procaccia, Velez and Yu[16] study this model and present an algorithm for finding whether there exists an EF allocation satisfying the budget constraints, and if so, find such an allocation that satisfies an additional fairness criterion.
All protocols surveyed so far assume that the partners reveal their true valuations. They are not strategyproof - a partner can gain by reporting false valuations. Indeed, strategyproofness is incompatible with envy-freeness: there is no deterministic strategyproof protocol that always returns an envy-free allocation. This is true even when there are only two partners and when the prices are allowed to be negative. Proof: Assume that the total cost is 100 and the partners' valuations are as below (where [math]\displaystyle{ x,y }[/math] are parameters and [math]\displaystyle{ 0\lt x\lt y\lt 100 }[/math]):
Room 1 | Room 2 | |
---|---|---|
Partner 1 | 100 | x |
Partner 2 | 100 | y |
The only maxsum allocation is giving room 1 to partner 1 and room 2 to partner 2. Let [math]\displaystyle{ p_2 }[/math] be the price of room 2 (so that the price of room 1 is [math]\displaystyle{ 100-p_2 }[/math]). To ensure partner 1 does not envy, we must have [math]\displaystyle{ p_2\geq x/2 }[/math]. To ensure partner 2 does not envy, we must have [math]\displaystyle{ p_2\leq y/2 }[/math].
Suppose a deterministic protocol sets the price [math]\displaystyle{ p_2 }[/math] to some value in [math]\displaystyle{ [x/2,y/2] }[/math]. If the price is more than [math]\displaystyle{ x/2 }[/math], then partner 2 has an incentive to report a lower value of [math]\displaystyle{ y }[/math], which is still above [math]\displaystyle{ x }[/math], in order to push his payment down towards [math]\displaystyle{ x/2 }[/math]. Similarly, if the price is less than [math]\displaystyle{ y/2 }[/math], then partner 1 has an incentive to report a higher value of [math]\displaystyle{ x }[/math], which is still below [math]\displaystyle{ y }[/math], in order to push the payment of partner 2 up towards [math]\displaystyle{ y/2 }[/math] (and thus push his own payment down). Hence, the mechanism cannot be strategyproof.
Researchers have coped with this impossibility in two ways.
There is a variant of the problem in which, instead of assuming that the total house cost is fixed, we assume that there is a maximum cost for each room. In this variant, a strategyproof mechanism exists: the deterministic allocation-rule selecting the min-sum cost is strategyproof.[17]
This result can be generalized for greater flexibility on the indivisible objects, and a proof of coalitional strategy-proofness.[18][19]
Going back to the original rental-harmony problem, it is possible to consider randomized mechanisms. A randomized mechanism returns a probability distribution over room-assignments and rent-divisions. A randomized mechanism is truthful in expectation if no partner can increase the expected value of his utility by mis-reporting his valuations to the rooms. The fairness of a randomized mechanism can be measured in several ways:[6]
1. Ex-ante Envy-Freeness means that no partner envies the lottery of any other partner. This condition is trivial to achieve in a truthful mechanism: randomise over all possible allocations with equal probability and charge each partner [math]\displaystyle{ 1/n }[/math] of the total cost. But this condition is not appealing, since there is a large chance that in the final outcome, many partners will be envious. They may not be comforted by the fact that the lottery has been fair.
2. Guaranteed Probability of Envy-Freeness (GPEF) means that there is a certain probability [math]\displaystyle{ p }[/math] such that, regardless of the partners' valuations, with probability at least [math]\displaystyle{ p }[/math], the final outcome will be envy-free. It is possible to achieve a GPEF of [math]\displaystyle{ 1/n }[/math] in the following way: find an envy-free assignment; choose an integer [math]\displaystyle{ i\in\{0,\dots,n-1\} }[/math] at random; and move each partner cyclically [math]\displaystyle{ i }[/math] rooms to the right. This randomized mechanism is truthful-in-expectation, since every partner has an equal probability to land in each room and the expected payment is [math]\displaystyle{ 1/n }[/math] of the total cost, regardless of the partner's bid. The probability of having an EF allocation is the probability that [math]\displaystyle{ i=0 }[/math], which is exactly [math]\displaystyle{ 1/n }[/math]. This is not encouraging, since the probability of envy-freeness converges to 0 when the number of partners grows. But it is impossible to do better: in every truthful-in-expectation mechanism, the GPEF is at most [math]\displaystyle{ 1/n }[/math].
3. Expected Number of Envy-Free partners (ENEF) means that there is a certain integer [math]\displaystyle{ N }[/math] such that, if we average the number of partners who do not envy in all possible outcomes of the mechanism, then regardless of the partners' valuations, the expectation is at least [math]\displaystyle{ N }[/math]. The ENEF criterion seems more appropriate than the GPEF criterion, because it measures not only the probability of entire envy-freeness, but also the quality of the cases in which the allocation is not entirely envy-free. The maximum ENEF of a truthful-in-expectation mechanism is at most [math]\displaystyle{ n-1+1/n }[/math]. It is possible to attain this bound for [math]\displaystyle{ n=2 }[/math]. For [math]\displaystyle{ n\gt 2 }[/math], there is a truthful-in-expectation mechanism that almost attains this bound: the ENEF is [math]\displaystyle{ n-1 }[/math]. The general idea is as follows. Use the VCG mechanism to calculate a maxsum assignment and payments. Select one partner at random. Ignore that partner and use VCG again. Combine the outcomes in a way which guarantees that the total payment equals the total cost (see the paper for details). It is possible to show that: (a) the mechanism is truthful-in-expectation; (b) all partners except the ignored partner do not envy. Hence, the ENEF is [math]\displaystyle{ n-1 }[/math]. Simulations show that in about 80% of the cases, the GPEF of this mechanism is also at its maximum of [math]\displaystyle{ 1/n }[/math].
A possible relaxation of the strategyproofness requirement is to try to minimize the "degree of manipulability".[20] This is defined by counting, for each profile, the number of agents who can manipulate the rule. Maximally-preferred fair allocation rules are the minimally (individually and coalitionally) manipulable fair and budget-balanced allocation rules according to this new concept. Such rules choose allocations with the maximal number of agents for whom the utility is maximized among all fair and budget-balanced allocations.
There are several problems in which there are only indivisible items to share, with no monetary transfers: