A joint Politics and Economics series 
Social choice and electoral systems 


The method of equal shares^{[1]}^{[2]}^{[3]}^{[4]} is a proportional method of counting ballots that applies to participatory budgeting,^{[2]} to committee elections,^{[3]} and to simultaneous public decisions.^{[4]}^{[5]} It can be used when the voters vote via approval ballots, ranked ballots or cardinal ballots. It works by dividing the available budget into equal parts that are assigned to each voter. The method is only allowed to use the budget share of a voter to implement projects that the voter voted for. It then repeatedly finds projects that can be afforded using the budget shares of the supporting voters. In contexts other than participatory budgeting, the method works by equally dividing an abstract budget of "voting power".^{[1]}
In 2023, the method of equal shares was being used in a participatory budgeting program in the Polish city of Wieliczka.^{[6]} The program, known as Green Million (Zielony Milion), was set to distribute 1 million złoty to ecological projects proposed by residents of the city. It was also used in a participatory budgeting program in the Swiss city of Aarau in 2023 (Stadtidee).^{[7]}
Use in academic literature
The method of equal shares was first discussed in the context of committee elections in 2019, initially under the name "Rule X".^{[1]}^{[3]}^{[4]} From 2022, the literature has referred to the rule as the method of equal shares, particularly when referring to it in the context of participatory budgeting algorithms.^{[2]}^{[8]} The method can be described as a member of a class of voting methods called expanding approvals rules introduced earlier in 2019 by Aziz and Lee for ordinal preferences (that include approval ballots).^{[9]}
Motivation
The method is an alternative to the knapsack algorithm which is used by most cities even though it is a disproportional method. For example, if 51 percent of the population support 10 red projects and 49 percent support 10 blue projects, and the money suffices only for 10 projects, the knapsack budgeting will choose the 10 red supported by the 51 percent, and ignore the 49 percent altogether.^{[10]} In contrast, the method of equal shares would pick 5 blue and 5 red projects.
The method guarantees proportional representation: it satisfies a strong variant of the justified representation axiom adapted to participatory budgeting.^{[2]} This says that a group of X percent of the population will have X percent of the budget spent on projects supported by the group (assuming that all members of the group have voted the same or at least similarly).
Intuitive explanation
In the context of participatory budgeting the method assumes that the municipal budget is initially evenly distributed among the voters. Each time a project is selected its cost is divided among those voters who supported the project and who still have money. The savings of these voters are decreased accordingly. If the voters vote via approval ballots, then the cost of a selected project is distributed equally among the voters; if they vote via cardinal ballots, then the cost is distributed proportionally to the utilities the voters enjoy from the project. The rule selects the projects which can be paid this way, starting with those that minimise the voters' marginal costs per utility.
Example 1
The following example with 100 voters and 9 projects illustrates how the rule works. In this example the total budget equals $1000, that is it allows to select five from the nine available projects. See the animated diagram below, which illustrates the behaviour of the rule.
The budget is first divided equally among the voters, thus each voters gets $10. Project received most votes, and it is selected in the first round. If we divided the cost of equally among the voters, who supported , each of them would pay . In contrast, if we selected, e.g., , then the cost per voter would be . The method selects first the project that minimises the price per voter.
Note that in the last step project was selected even though there were projects which were supported by more voters, say . This is because, the money that the supporters of had the right to control, was used previously to justify the selection of , , and . On the other hand, the voters who voted for form 20 percent of the population, and so shall have right to decide about 20 percent of the budget. Those voters supported only , and this is why this project was selected.
For a more detailed example including cardinal ballots see Example 2.
Definition
This section presents the definition of the rule for cardinal ballots. See discussion for a discussion on how to apply this definition to approval ballots and ranked ballots.
We have a set of projects , and a set of voters . For each project let denote its cost, and let denote the size of the available municipal budget. For each voter and each project let denote the 's cardinal ballot on , that is the number that quantifies the level of appreciation of voter towards project .
The method of equal shares works in rounds. At the beginning it puts an equal part of the budget, in each voter's virtual bank account, . In each round the method selects one project according to the following procedure.
 For each notyetselected project the method tries to spread the cost of the project proportionally to the cardinal ballots submitted by the voters, taking into account the fact that some voters might have already run out of money. Formally, for , we say that a notyetselected project is affordable if
Intuitively, if a project is affordable then, the cost of the project can be spread among the voters in a way that each voter pays the priceperutility of at most .
 If there are no affordable projects then the method of equal shares finishes. This happens when for each notyet selected project the remaining amount of money in the private accounts of those voters who submitted a positive ballot on is lower than the cost of : It might happen that when the method finishes, there is still some money left that would allow to fund a few more projects. This money can be spent using the simple greedy procedure that select the remaining projects starting from those with the lowest ratio , until the budget is exhausted. Yet, the method of equal shares keeps most of its properties independently of how the remaining budget is spent.
 If there is at least one notyetselected affordable project, the method selects the project that is affordable for the lowest value of (the project that minimises the priceperutility that the voters need to pay). The voters' budgets are updated accordingly: for each the method sets .
Example 2
The following diagram illustrates the behaviour of the method.
Discussion
This section provides a discussion on other variants of the method of equal shares.
Other types of ballots
The method of equal shares can be used with other types of voters ballots.
Approval ballots
The method can be applied in two ways to the setting where the voters vote by marking the projects they like (see Example 1):
 Setting if project is approved by voter , and otherwise. This assumes that the utility of a voter equals the total amount of money spent on the projects supported by the voter. This assumption is commonly used in other methods of counting approval ballots for participatory budgeting, for example in the knapsack algorithm, and typically results in selecting fewer more expensive projects.
 Setting if project is approved by voter , and otherwise. This assumes that the utility of a voter equals the number of approved selected projects. This typically results in selecting more but less expensive projects.
Ranked ballots
The method applies to the model where the voters vote by ranking the projects from the most to the least preferred one. Assuming lexicographic preferences, one can use the convention that depends on the position of project in the voter's ranking, and that , whenever ranks as more preferred than .
Formally, the method is defined as follows.
For each voter let denote the ranking of voter over the projects. For example, means that is the most preferred project from the perspective of voter , is the voter's second most preferred project and is the least preferred project. In this example we say that project is ranked in the first position and write , project is ranked in the second position (), and in the third position ().
Each voter is initially assigned an equal part of the budget . The rule proceeds in rounds, in each round:
 For each notyetselected project we say that is affordable if the remaining budget of the voters who rank at position or better is greater than or equal to :
 If no project is affordable the rule stops. This happens when the total remaining budget of the voters is lower than the cost of each notyetselected project.
 If there are affordable projects, then the rule picks the notyetselected project that is affordable for the lowest value of . The budgets of the voters are updated accordingly. First, the cost is equally spread among the voters who rank at the first position. If the budgets of these voters are insufficient to cover the cost of the project, the remaining part of the cost is further spread equally among the voters who rank at the second position, etc. Formally we start with and , and proceed in the loop:
 If then we find such that and for each voter with we set .
 Otherwise, we update the cost: . We charge the voters: for each voter with we set , and move to the next position .
Committee elections
In the context of committee elections the projects are typically called candidates. It is assumed that cost of each candidate equals one; then, the budget can be interpreted as the number of candidates in the committee that should be selected.
Unspent budget
The method of equal shares can return a set of projects that does not exhaust the whole budget. There are multiple ways to use the unspent budget:
 The utilitarian method: the projects are selected in the order of until no further project can be selected within the budget limit.
 Adjusting initial budget: the initial budget can be adjusted to the highest possible value which makes the method select projects, whose total cost does not exceed the unadjusted budget.
Comparison to other voting methods
In the context of committee elections the method is often compared to Proportional Approval Voting (PAV), since both methods are proportional (they satisfy the axiom of Extended Justified Representation (EJR)).^{[11]}^{[3]} The difference between the two methods can be described as follow.
 The method of equal shares (MES) is computable in polynomialtime, and PAV is NPhard to compute. The sequential variant of PAV is computable in polynomialtime, but does not satisfy Justified Representation.
 PAV is Paretooptimal, but MES is not.
 MES is priceable. This means that^{[3]} it is possible to assign a fixed budget to each voter, and split each voter's budget among candidates he approves, such that each elected candidate is 'bought' by the candidates who approve him, and no unelected candidate can be bought by the remaining money of the voters who approve him. MES can be viewed as an implementation of Lindahl equilibrium in the discrete model, with the assumption that the customers sharing an item must pay the same price for the item.^{[12]}
 MES extends to participatory budgeting and to cardinal ballots, whereas PAV does not satisfy Extended Justified Representation (EJR) when applied to either participatory budgeting or to cardinal ballots.^{[2]}
MES is similar to the Phragmen's sequential rule. The difference is that in MES the voters are given their budgets upfront, while in the Phragmen's sequential rule the voters earn money continuously over time.^{[13]}^{[14]} The methods compare as follows:
 Both methods are computable in polynomial time, both are priceable,^{[3]} and both may fail Paretooptimality.^{[1]}
 MES satisfies Extended Justified Representation (EJR), while the Phragmen's sequential rule satisfies Proportional Justified Representation, a weaker variant of the property.^{[2]}^{[13]}
 The Phragmen's sequential rule satisfies committee monotonicity, while MES fails the property.^{[1]}^{: Appendix A }
 MES extends to participatory budgeting with cardinal ballots, which is not the case for the Phragmen's sequential rule.^{[2]}
MES with adjusting initial budget, PAV and Phragmen's voting rules can all be viewed as extensions of the D'Hondt method to the setting where the voters can vote for individual candidates rather than for political parties.^{[15]}^{[3]} MES further extends to participatory budgeting.^{[2]}
Implementation
Below there is a Python implementation of the method that applies to participatory budgeting. For the model of committee elections, the rules is implemented as a part of the Python package abcvoting.
import math
def method_of_equal_shares(N, C, cost, u, b):
"""Method of Equal Shares
Args:
N: a list of voters.
C: a list of projects (candidates).
cost: a dictionary that assigns each project its cost.
b: the total available budget.
u: a dictionary; u[c][i] is the value that voter i assigns to candidate c.
an empty entry means that the corresponding value u[c][i] equals 0.
"""
W = set()
total_utility = {c: sum(u[c].values()) for c in C}
supporters = {c: set([i for i in N if u[c][i] > 0]) for c in C}
budget = {i: b / len(N) for i in N}
while True:
next_candidate = None
lowest_rho = float("inf")
for c in C.difference(W):
if _leq(cost[c], sum([budget[i] for i in supporters[c]])):
supporters_sorted = sorted(supporters[c], key=lambda i: budget[i] / u[c][i])
price = cost[c]
util = total_utility[c]
for i in supporters_sorted:
if _leq(price * u[c][i], budget[i] * util):
break
price = budget[i]
util = u[c][i]
rho = price / util \
if not math.isclose(util, 0) and not math.isclose(price, 0) \
else budget[supporters_sorted[1]] / u[c][supporters_sorted[1]]
if rho < lowest_rho:
next_candidate = c
lowest_rho = rho
if next_candidate is None:
break
W.add(next_candidate)
for i in N:
budget[i] = min(budget[i], lowest_rho * u[next_candidate][i])
return _complete_utilitarian(N, C, cost, u, b, W) # one of the possible completions
def _complete_utilitarian(N, C, cost, u, b, W):
util = {c: sum([u[c][i] for i in N]) for c in C}
committee_cost = sum([cost[c] for c in W])
while True:
next_candidate = None
highest_util = float("inf")
for c in C.difference(W):
if _leq(committee_cost + cost[c], b):
if util[c] / cost[c] > highest_util:
next_candidate = c
highest_util = util[c] / cost[c]
if next_candidate is None:
break
W.add(next_candidate)
committee_cost += cost[next_candidate]
return W
def _leq(a, b):
return a < b or math.isclose(a, b)
Extensions
Fairstein, Meir and Gal^{[16]} extend MES to a setting in which some projects may be substitute goods.
Empirical support
Fairstein, Benade and Gal^{[17]} compare MES to greedy aggregation methods. They find that greedy aggregation leads to outcomes that are highly sensitive to the input format used, and the fraction of the population that participates. In contrast, MES leads to outcomes that are not sensitive to the type of voting format used. This means that MES can be used with approval ballots, ordinal ballots or cardinal ballots, without much difference in the outcome. These outcomes are stable even when only 25 to 50 percent of the population participates in the election.
Fairstein, Meir, Vilenchik and Gal^{[18]} study variants of MES both on real and synthetic datasets. They find that these variants do very well in practice, both with respect to social welfare and with respect to justified representation.
External links
 Website explaining and discussing the method of equal shares in several languages
References
 ^ ^{a} ^{b} ^{c} ^{d} ^{e} Lackner, Martin; Skowron, Piotr (2023). MultiWinner Voting with Approval Preferences. SpringerBriefs in Intelligent Systems. arXiv:2007.01795. doi:10.1007/9783031090165. ISBN 9783031090158. S2CID 244921148.
 ^ ^{a} ^{b} ^{c} ^{d} ^{e} ^{f} ^{g} ^{h} Peters, Dominik; Pierczyński, Grzegorz; Skowron, Piotr (2021). "Proportional Participatory Budgeting with Additive Utilities". Proceedings of the 2021 Conference on Neural Information Processing Systems. NeurIPS'21. arXiv:2008.13276.
 ^ ^{a} ^{b} ^{c} ^{d} ^{e} ^{f} ^{g} Peters, Dominik; Skowron, Piotr (2020). "Proportionality and the Limits of Welfarism". Proceedings of the 21st ACM Conference on Economics and Computation. EC'20. pp. 793–794. arXiv:1911.11747. doi:10.1145/3391403.3399465. ISBN 9781450379755. S2CID 208291203.
 ^ ^{a} ^{b} ^{c} Freeman, Rupert; Kahng, Anson; Pennock, David (2020). "Proportionality in ApprovalBased Elections with a Variable Number of Winners". Proceedings of the TwentyNinth International Joint Conference on Artificial Intelligence. IJCAI'20. Vol. 1. pp. 132–138. doi:10.24963/ijcai.2020/19. ISBN 9780999241165. S2CID 211052991.
 ^ Conitzer, Vincent; Freeman, Rupert; Shah, Nisarg (2017). "Fair Public Decision Making". Proceedings of the 2017 ACM Conference on Economics and Computation. EC'17. pp. 629–646. arXiv:1611.04034. doi:10.1145/3033274.3085125. ISBN 9781450345279. S2CID 30188911.
 ^ "Zielony Milion  rusza nowatorski projekt BO w Wieliczce [WIDEO]". Głos24 (in Polish). 20230309. Retrieved 20230311.
 ^ Stadt Aarau. "Abstimmungsphase  Stadtidee Aarau". stadtidee.aarau.ch. Retrieved 20230311.
 ^ Rey, Simon; Maly, Jan (20230308). "The (Computational) Social Choice Take on Indivisible Participatory Budgeting". arXiv:2303.00621 [cs.GT].
 ^ Aziz, Haris; Lee, Barton E. (2019). "Proportionally Representative Participatory Budgeting with Ordinal Preferences". arXiv:1911.00864 [cs.GT].
 ^ Fluschnik, Till; Skowron, Piotr; Triphaus, Mervin; Wilker, Kai (20190717). "Fair Knapsack". Proceedings of the AAAI Conference on Artificial Intelligence. 33: 1941–1948. doi:10.1609/aaai.v33i01.33011941. ISSN 23743468.
 ^ Aziz, Haris; Brill, Markus; Conitzer, Vincent; Elkind, Edith; Freeman, Rupert; Walsh, Toby (2017). "Justified representation in approvalbased committee voting". Social Choice and Welfare. 48 (2): 461–485. arXiv:1407.8269. doi:10.1007/s0035501610193. S2CID 8564247.
 ^ Peters, Dominik; Pierczynski, Grzegorz; Shah, Nisarg; Skowron, Piotr (2021). "MarketBased Explanations of Collective Decisions". Proceedings of the AAAI Conference on Artificial Intelligence. AAAI'21. 35 (6): 5656–5663. doi:10.1609/aaai.v35i6.16710. S2CID 222132258.
 ^ ^{a} ^{b} Janson, Svante (20181012). "Phragmen's and Thiele's election methods". arXiv:1611.08826 [math.HO].
 ^ Brill, Markus; Freeman, Rupert; Janson, Svante; Lackner, Martin (20170210). "Phragmén's Voting Methods and Justified Representation". Proceedings of the AAAI Conference on Artificial Intelligence. 31 (1). arXiv:2102.12305. doi:10.1609/aaai.v31i1.10598. ISSN 23743468. S2CID 2290202.
 ^ Brill, Markus; Laslier, JeanFrançois; Skowron, Piotr (2018). "Multiwinner Approval Rules as Apportionment Methods". Journal of Theoretical Politics. 30 (3): 358–382. arXiv:1611.08691. doi:10.1177/0951629818775518. S2CID 10535322.
 ^ Fairstein, Roy; Meir, Reshef; Gal, Kobi (2021). "Proportional Participatory Budgeting with Substitute Projects". arXiv:2106.05360 [cs.GT].
 ^ Fairstein, Roy; Benadè, Gerdus; Gal, Kobi (2023). "Participatory Budgeting Design for the Real World". arXiv:2302.13316 [cs.GT].
 ^ Fairstein, Roy; Meir, Reshef; Vilenchik, Dan; Gal, Kobi (2022). "Welfare vs. Representation in Participatory Budgeting". arXiv:2201.07546 [cs.GT].