evidoria

← Back to browse

Good practice Imported

Optimising Barcelona's Participatory Budget — Decidim's Knapsack Algorithm Outperforms Rank-and-Select

Spain · Barcelona · See the Spain profile · See the Barcelona profile

Evidence: Observational / pre–post Top 66% 53/100 · Ask Evidence Copilot about this practice

IIIA-CSIC researchers applied a knapsack-optimisation algorithm to real Barcelona participatory-budget votes from the Eixample and Gràcia pilots, showing it selects up to 92% more citizen-backed proposals per euro than the city's standard rank-and-select method, at equal cost.

89.73 %
Eixample citizen support captured by the knapsack-optimisation method
84.15 %
Eixample citizen support captured by the rank-and-select method actually used
70 %
Gràcia citizen support captured by the knapsack-optimisation method
63.86 %
Gràcia citizen support captured by the rank-and-select method actually used
91.8 %
Additional supported votes at a simulated €60,000 Gràcia budget (knapsack vs rank-and-select)
5 vs 2
Additional proposals funded at a simulated €60,000 Gràcia budget (knapsack vs rank-and-select)

Details

Promoter
Ajuntament de Barcelona / IIIA-CSIC
Period
2016-2018 pilots; study published 2019
Region (NUTS)
ES511
Keywords
participatory budgeting, digital democracy, algorithmic optimisation, public finance

Context

Barcelona's Decidim platform runs the city's participatory budgeting process: residents submit proposals, a technical review filters them for feasibility, and citizens vote on a shortlist that is funded top-down by vote count ('rank and select') until the budget is exhausted. Researchers at the Artificial Intelligence Research Institute (IIIA-CSIC) and the University of Barcelona argued this method wastes budget on partially-funded slack and under-selects smaller proposals with similar support.

Objectives

Under the 'Decidim Intel·ligent' project, researchers reformulated proposal selection as a multiple-choice knapsack problem — an integer linear program that maximises total citizen support subject to the budget cap.

Activities

The method was tested retrospectively against real vote data from two council-run pilots: Eixample (€500,000 budget, 200 proposals submitted, 22 reaching the final vote, 17 funded, October 2016 to May 2018) and Gràcia (€150,000 budget, 14 finalist proposals).

Results

On the real Eixample results, the optimisation method reached 89.73% of the maximum possible citizen support versus 84.15% for the rank-and-select method actually used; in Gràcia it reached 70% versus 63.86%. Swept across a range of hypothetical budgets, the gap widened further — for example, 91.8% more supported votes and 150% more proposals funded (5 vs 2) for Gràcia at a simulated €60,000 budget, with no increase in total spend.

Conclusions

This is a peer-reviewed, retrospective simulation validated against real historical outcomes, not a live-deployed system. The paper proposes future NLP-based proposal clustering as a next step, and Barcelona's participatory budgeting has continued to run on the standard rank-and-select method since — there is no confirmed evidence the optimisation model has replaced it operationally.

Implementation

Indicative cost
Low (< €50k)
Time to results
Short (< 1 year)
Staffing & skills
IIIA-CSIC and University of Barcelona research team, under the 'Decidim Intel·ligent' project

Conditions for success

  • Retrospective validation against real historical vote data from multiple pilot districts before any live use
  • Requires digitised proposal/vote data compatible with the Decidim platform

Common failure modes

  • Remains unadopted operationally — Barcelona continued using rank-and-select after the study, with no confirmed transition to the optimisation method

Commonly funded by

National / regional programmes

Indicative funding routes for practices of this type — always check each programme's current calls and eligibility rules.

Do you run this practice? Claim it — verified implementers get a public contact pathway and can propose corrections.

Data sources

Where this practice's information was retrieved from, and when.

Similar practices you may find useful