Simultaneous eating algorithm explained

A simultaneous eating algorithm (SE)[1] is an algorithm for allocating divisible objects among agents with ordinal preferences. "Ordinal preferences" means that each agent can rank the items from best to worst, but cannot (or does not want to) specify a numeric value for each item. The SE allocation satisfies SD-efficiency - a weak ordinal variant of Pareto-efficiency (it means that the allocation is Pareto-efficient for at least one vector of additive utility functions consistent with the agents' item rankings).

SE is parametrized by the "eating speed" of each agent. If all agents are given the same eating speed, then the SE allocation satisfies SD-envy-freeness - a strong ordinal variant of envy-freeness (it means that the allocation is envy-free for all vectors of additive utility functions consistent with the agents' item rankings). This particular variant of SE is called the Probabilistic Serial rule (PS).

SE was developed by Hervé Moulin and Anna Bogomolnaia as a solution for the fair random assignment problem, where the fraction that each agent receives of each item is interpreted as a probability. If the integral of the eating speed of all agents is 1, then the sum of fractions assigned to each agent is 1, so the matrix of fractions can be decomposed into a lottery over assignments in which each agent gets exactly one item. With equal eating speeds, the lottery is envy-free in expectation (ex-ante) for all vectors of utility functions consistent with the agents' item rankings.

A variant of SE was applied also to cake-cutting, where the allocation is deterministic (not random).[2]

Description

Each item is represented as a loaf of bread (or other food). Initially, each agent goes to their favourite item and starts eating it. It is possible that several agents eat the same item at the same time.

Whenever an item is fully eaten, each of the agents who ate it goes to their favorite remaining item and starts eating it in the same way, until all items are consumed.

For each item, the fraction of that item eaten by each agent is recorded. In the context of random assignments, these fractions are considered as probabilities. Based on these probabilities, a lottery is done. The type of lottery depends on the problem:

An important parameter to SE is the eating speed of each agent. In the simplest case, when all agents have the same entitlements, it makes sense to let all agents eat in the same speed all the time. However, when agents have different entitlements, it is possible to give the more privileged agents a higher eating speed. Moreover, it is possible to let the eating speed change with time. The important thing is that the integral of the eating speed of each agent equals the total number of items that the agent should receive (in the assignment setting, each agent should get exactly 1 item, so the integral of all eating-speed functions should be 1).

Examples

There are four agents and four items (denoted w, x, y, z). The preferences of the agents are:

The agents have equal rights so we apply SE with equal and uniform eating speed of 1 unit per minute.

Initially, Alice and Bob go to w and Chana and Dana go to x. Each pair eats their item simultaneously. After 1/2 minute, Alice and Bob each have 1/2 of w, while Chana and Dana each have 1/2 of x.

Then, Alice and Bob go to y (their favourite remaining item) and Chana and Dana go to z (their favourite remaining item). After 1/2 minute, Alice and Bob each have 1/2 of y and Chana and Dana each have 1/2 of z.

The matrix of fractions is now:

Alice: 1/2 0 1/2 0

Bob: 1/2 0 1/2 0

Chana: 0 1/2 0 1/2

Dana: 0 1/2 0 1/2

Based on the eaten fractions, item w is given to either Alice or Bob with equal probability and the same is done with item y; item x is given to either Chana or Dana with equal probability and the same is done with item z. If it is required to give exactly 1 item per agent, then the matrix of probabilities is decomposed into the following two assignment matrices:
1 0 0 0 ||| 0 0 1 0

0 0 1 0 ||| 1 0 0 0

0 1 0 0 ||| 0 0 0 1

0 0 0 1 ||| 0 1 0 0

One of these assignments is selected at random with a probability of 1/2.

Other examples can be generated at the MatchU.ai website.

Properties

The description below assumes that all agents have risk-neutral preferences, that is, their utility from a lottery equals the expected value of their utility from the outcomes.

Efficiency

SE with any vector of eating speeds satisfies an efficiency property called SD-efficiency (also called ordinal efficiency). Informally it means that, considering the resulting probability matrix, there is no other matrix that all agents weakly-sd-prefer and at least one agent strictly-sd-prefers.

In the context of random assignments, SD-efficiency implies ex-post efficiency: every deterministic assignment selected by the lottery is Pareto-efficient.

A fractional assignment is SD-efficient if-and-only-if it is the outcome of SE for some vector of eating-speed functions.

Fairness

SE with equal eating speeds (called PS) satisfies a fairness property called ex-ante stochastic-dominance envy-freeness (sd-envy-free). Informally it means that each agent, considering the resulting probability matrix, weakly prefers his/her own row of probabilities to the row of any other agent. Formally, for every two agents i and j:

Note that sd-envy-freeness is guaranteed ex-ante: it is fair only before the lottery takes place. The algorithm is of course not ex-post fair: after the lottery takes place, the unlucky agents may envy the lucky ones. This is inevitable in allocation of indivisible objects.

PS satisfies another fairness property, in addition to envy-freeness. Given any fractional allocation, for any agent i and positive integer k, define t(i,k) as the total fraction that agent i receives from his k topmost indifference classes. This t is a vector of size at most n*m, where n is the number of agents and m is the number of items. An ordinally-egalitarian allocation is one that maximizes the vector t in the leximin order. PS is the unique rule that returns an ordinally-egalitarian allocation.[3]

Strategy

SE is not a truthful mechanism: an agent who knows that his most preferred item is not wanted by any other agent can manipulate the algorithm by eating his second-most preferred item, knowing that his best item will remain intact. The following is known about strategic manipulation of PS:

Note that the random priority rule, which solves the same problem as PS, is truthful.

Extensions

The SE algorithm has been extended in many ways.

Guaranteeing ex-post approximate fairness

As explained above, the allocation determined by PS is fair only ex-ante but not ex-post. Moreover, when each agent may get any number of items, the ex-post unfairness might be arbitrarily bad: theoretically it is possible that one agent will get all the items while other agents get none. Recently, several algorithms have been suggested, that guarantee both ex-ante fairness and ex-post approximate-fairness.

Freeman, Shah and Vaish[14] show:

Aziz[15] shows:

Babaioff, Ezra and Feige[16] show:

Hoefer, Schmalhofer and Varricchio[17] extend the notion of "Best-of-Both-Worlds" lottery to agents with different entitlements.

See also

The page on fair random assignment compares PS to other procedures for solving the same problem, such as the random priority rule.

Notes and References

  1. Bogomolnaia . Anna . Anna Bogomolnaia . Moulin . Hervé . Hervé Moulin . 2001 . A New Solution to the Random Assignment Problem . Journal of Economic Theory . 100 . 2 . 295 . 10.1006/jeth.2000.2710.
  2. Book: Aziz . Haris . Ye . Chun . Web and Internet Economics . Cake Cutting Algorithms for Piecewise Constant and Piecewise Uniform Valuations . 2014 . Liu . Tie-Yan . Qi . Qi . Ye . Yinyu . https://link.springer.com/chapter/10.1007/978-3-319-13129-0_1 . Lecture Notes in Computer Science . 8877 . en . Cham . Springer International Publishing . 1–14 . 10.1007/978-3-319-13129-0_1 . 978-3-319-13129-0. 18365892 .
  3. Bogomolnaia . Anna . 2015-07-01 . Random assignment: Redefining the serial rule . Journal of Economic Theory . en . 158 . 308–318 . 10.1016/j.jet.2015.04.008 . 0022-0531.
  4. Book: Aziz. Haris. Gaspers. Serge. Mackenzie. Simon. Mattei. Nicholas. Narodytska. Nina. Walsh. Toby. Proceedings of the 2015 International Conference on Autonomous Agents and Multiagent Systems . 2015-05-04 . Istanbul, Turkey. International Foundation for Autonomous Agents and Multiagent Systems. 1451–1459. 978-1-4503-3413-6. .Older technical report: https://arxiv.org/abs/1401.6523.
  5. Hosseini . Hadi . Larson . Kate . Cohen . Robin . 2018-07-01 . Investigating the characteristics of one-sided matching mechanisms under various preferences and risk attitudes . Autonomous Agents and Multi-Agent Systems . en . 32 . 4 . 534–567 . 10.1007/s10458-018-9387-y . 1703.00320 . 14041902 . 1573-7454.
  6. Wang . Zihe . Wei . Zhide . Zhang . Jie . 2020-04-03 . Bounded Incentives in Manipulating the Probabilistic Serial Rule . Proceedings of the AAAI Conference on Artificial Intelligence . en . 34 . 2 . 2276–2283 . 10.1609/aaai.v34i02.5605 . 210943079 . 2374-3468. free . 2001.10640 .
  7. Katta . Akshay-Kumar . Sethuraman . Jay . 2006 . A solution to the random assignment problem on the full preference domain . Journal of Economic Theory . 131 . 231–250 . 10.1016/j.jet.2005.05.001.
  8. Yılmaz . Özgür . 2009 . Random assignment under weak preferences . Games and Economic Behavior . 66 . 546–558 . 10.1016/j.geb.2008.04.017.
  9. Athanassoglou . Stergios . Sethuraman . Jay . 2011-08-01 . House allocation with fractional endowments . International Journal of Game Theory . en . 40 . 3 . 481–513 . 10.1007/s00182-010-0251-9 . 15909570 . 1432-1270.
  10. Budish. Eric. Che. Yeon-Koo. Kojima. Fuhito. Milgrom. Paul. 2013-04-01. Designing Random Allocation Mechanisms: Theory and Applications. American Economic Review. en. 103. 2. 585–623. 10.1257/aer.103.2.585. 0002-8282.
  11. Ashlagi . Itai . Saberi . Amin . Shameli . Ali . 2020-03-01 . Assignment Mechanisms Under Distributional Constraints . Operations Research . 68 . 2 . 467–479 . 10.1287/opre.2019.1887 . 1810.04331 . 0030-364X.
  12. Aziz . Haris . Stursberg . Paul . 2014-06-20 . A Generalization of Probabilistic Serial to Randomized Social Choice . Proceedings of the AAAI Conference on Artificial Intelligence . en . 28 . 1 . 10.1609/aaai.v28i1.8796 . 16265016 . 2374-3468. free .
  13. Aziz . Haris . Brandl . Florian . 2022-09-01 . The vigilant eating rule: A general approach for probabilistic economic design with constraints . Games and Economic Behavior . en . 135 . 168–187 . 10.1016/j.geb.2022.06.002 . 2008.08991 . 221186811 . 0899-8256.
  14. Book: Freeman. Rupert. Shah. Nisarg. Vaish. Rohit. Proceedings of the 21st ACM Conference on Economics and Computation . Best of Both Worlds: Ex-Ante and Ex-Post Fairness in Resource Allocation . 2020-07-13. https://doi.org/10.1145/3391403.3399537. EC '20. Virtual Event, Hungary. Association for Computing Machinery. 21–22. 10.1145/3391403.3399537. 978-1-4503-7975-5. 2005.14122. 211141200.
  15. Book: Aziz, Haris . Web and Internet Economics . Simultaneously Achieving Ex-ante and Ex-post Fairness . 2020-12-07 . https://doi.org/10.1007/978-3-030-64946-3_24 . Lecture Notes in Computer Science . 12495 . Berlin, Heidelberg . Springer-Verlag . 341–355 . 10.1007/978-3-030-64946-3_24 . 2004.02554 . 978-3-030-64945-6. 214802174 .
  16. Babaioff. Moshe. Ezra. Tomer. Feige. Uriel. 2021-02-09. Best-of-Both-Worlds Fair-Share Allocations. cs.GT. 2102.04909.
  17. Hoefer . Martin . Schmalhofer . Marco . Varricchio . Giovanna . 2022-09-08 . Best of Both Worlds: Agents with Entitlements . cs.GT . 2209.03908 .