Gofven / flowback

Flowback 1st Iteration
GNU General Public License v3.0
2 stars 3 forks source link

Flowback Backend

Flowback was created and project lead by Loke Hagberg. The co-creators of this version were: Siamand Shahkaram, Emil Svenberg and Yuliya Hagberg. It is a decision making platform.

This text is not allowed to be removed.

The following is from Collected papers on finitist mathematics and phenomenalism: a digital phenomenology by Loke Hagberg 2023 [1].

In Swedish the organization/association is called 'Föreningen för Digital Demokrati'.

Introduction

The association for Digital Democracy is a non-profit that was created to prevent the current trend of democratic backsliding in the world. According to “Democracy Facing Global Challenges: V-Dem Annual Democracy Report 2019 Institute at the University of Gothenburg”, the main causes of democratic backsliding are misinformation, socio-economic inequality and instability, undemocratic values, and the external influence of non-democratic states [2] [3]. We see this as a problem with our democracy as it is not rational enough to solve these issues. If the current system does not either produce or implement sufficient solutions, it is a problem with the system itself. Democracy is important to make a society aligned with the values of its members and to coordinate and cooperate on a global level to solve global issues, such as many possible existential crises like global warming, world war, and miss-aligned AGI. Democracy, according to the political scientist Robert Dahl, is when a group of members rule over something by some majority rule method, with further criteria being one vote per voter, that voters have the ability to understand the process, high participation of the voters, voters controlling the agenda, and “the voters” being inclusive [4].

Direct democracy can be problematic as the voters do not always have the time, knowledge or energy to spend on every issue - and the result can turn out very badly when people are systematically wrong (which is likely in various important cases). Representative democracies are more rational in that sense, but can be less aligned with its voters.

This is where liquid democracy comes in. Lewis Carroll described liquid democracy in the earliest account that we know of, where it’s described as a middle-path between direct and indirect democracy. Members in the group can become delegates whereby their votes are publically displayed while non-delegates can continuously copy what the delegates vote for in some subject areas such as healthcare, education etc. and do not need to display their votes [5]. Because time with a given deadline is limited in amount, the larger the decision space is the less time can be spent on each issue if all are to be covered. Delegation solves this issue by allowing voters to off-load work and instead spend their time overseeing that the delegates are trust-worthy and in some cases make inputs to specific polls. This allows processes to happen automatically to a larger degree. Voters ideally vote on outcomes and not paths to outcomes. Liquid democracy is difficult to implement non-digitally however.

The first time in the world that a party using digital liquid democracy got positions in a political body was Demoex in Vallentuna municipality, Sweden 2002, as far as we know. They were in office for a few terms but later lost their position [6]. We have been in contact with them, written books in Swedish, and learnt about the problems that they faced. One problem Demoex faced was security.

Using security standards and blockchain-protocol for example, the members of the group can really verify the history and in general trust the longest chain (the longer, the more they can trust it, given enough nodes). Formal verification of some components could possibly be carried out as well, which is standard for high integrity software. These measures are recent developments that can mitigate the security issues. Some have also claimed that voting online means that someone can force you to vote a certain way. There are technical solutions to make it improbable, by sending out a voting code during a period for example where the voting needs to occur within a smaller period, and special voting booths.

Another problem that Demoex experienced was “neighbor delegation” and in general delegation not going to the person with the most expertise in the given area. Liquid democracy has been shown to be suboptimal in cases where voters only delegate to people they know. This is also known as “neighbor delegation”, and can be a problem because a group that actually knows more than the crowd might not be picked [8]. It is unlikely on many grounds that most people know of the best delegates, and that the result is more likely to be skewed toward not only suboptimality but also a worse outcome than direct democracy in various cases.

The problem of “neighbor delegation” as explained above is something predictive liquid democracy sets out to solve. The solution is recommending delegates that vote as the best predictor suggests, taking the given voter’s goal into account. Predictive liquid democracy was first described in this very book and is the founding theory behind Digital Democracy's software: Flowback. Predictive liquid democracy is the combination of liquid democracy and prediction market features (the prediction market is not necessarily with money, and is not in the following case), where predictions are about the proposals (which may or may not pass). Diversity in perspectives and knowledge are reflected in the predictions and the votings on in predictive liquid democracy. The voting itself happens with score voting (also used by Demoex) which means that elements from some finite set of values can be picked for each proposal without further constraints. Score voting is the best estimator when:

An example of score voting happening in nature is bees using it in deciding on potential new nest sites, which in general tends to achieve the best outcomes [7].

The scores in score voting are related to the strength of the voters preferences when voting honestly, something a minority cares a lot about which a majority does not care about, especially much will be represented in general when voting on budgets taking the results as the distribution of money for example. It is important that a vote-eligible minority affected by an outcome is part of the population so that their opinions can be represented.

The largest organization possible may decide that a more local region can take certain decisions themselves while the super organization audits and can intervene at any time. This is because the largest organization is more probable to find the ”correct answer” using predictive liquid democracy. Take the example of a minority wanting to legalize murder, this would not be allowed by a super-organization such as a state in most democratic countries because a majority does not want that.

Predictive liquid democracy has been shown to be optimal in the sense of finding the best path toward a given goal if most voters delegate, delegates are approximately rational, and predictors that delegates vote like are independent and have prediction scores over 0.5. When goals are differing, it may not be optimal if there is strategic voting in certain cases, which has been shown to be unlikely in large groups (displaying the optimality was done by me, see the next section).

Any identifiable human that has access to a computer with internet connection, at least some time to spend on the forum, and the capacity to understand the simple parts of the system can use Flowback to govern. It is of course not realistic to get that entire part of the world population onboard, rather we begin by introducing the forum to already existing organizations as a first step and build bottom-up. Human experts will be required in many subject areas as we are starting off as well to function as predictors.

Our organization has built the platform for predictive liquid democracy, Flowback, in a modular way. Flowback is further free and open source, having the GNU GPLv3 license. It is hence copyleft as well. It is transparent in the sense that users can check how the code works.

Predictive liquid democracy in Flowback

The implementation of predictive liquid democracy in Flowback is as follows: there can be various groups that a user can be part of, joining a group the user becomes a member. The member has certain privileges that could vary, but our standard privileges are: create polls (which are questions), create proposals on polls (alternative answers to the questions), predictions (statements about outcomes about one or more proposals), make bets on predictions (bet a value between 0 or 1 that the prediction will occur), become a delegate or stop being a delegate, have voting rights, and can evaluate the outcomes of prediction in an evaluation.

Every member is hence a poll creator, a proposal creator and a predictor. A member may or may not also be a voter and or delegate.

A poll is in one or multiple subject areas and is about something. Either there is a given goal or not. One possibility is to also vote on goals. Goals could be voted on in one poll before another in which the possible paths to that goal are voted on as a deliberation tool around the goals themselves. Polls can further have a quorum for a percentage or number of votes to be cast for it to count.

Delegation happens outside of the polls and subject areas, that can be delegated in, can be picked for a given poll. Anyone who has been a delegate has a public track-record from their time being a delegate which is updated at once after every poll has reached its delegate lock-in phase. Voters can prioritize the delegates for the subject areas.

There are various phases in a poll that have a limited time, except for the voting in the last step. The phases of a poll are: the proposal phase, the prediction phase, the betting phase, the voting phase, the delegate lock-in phase, the result phase – and then a final step being prediction evaluation (which is not a phase in a poll).

Deliberative discussions in predictive liquid democracy happen both in comments on polls, proposals, and predictions, as well as possibly outside polls and outside of Flowback as well. Flowback could of course be expanded upon with other sense-making tools making it work more effectively. We have for example built a chat in Flowback.

The proposal phase means that proposals are submitted and discussed. No proposal can be removed to ensure that someone believes that a certain proposal will be votable on in a later phase and is instead removed during 'the last second' of the proposal phase. Handling proposals that are faulty in some way happens by the ordering functionality in the later stages. During the proposal phase the subject areas are voted on by approval voting (yes or no-voting), and any positive score result over a threshold is accepted.

The prediction phase means that anyone can write statements about possible outcomes from one or more proposals, an example is: “if proposal 1 or proposal 2 passes, then X will happen before the date Y”. A prediction is not indicating whether it will happen or not.

After every prediction is in place, the betting phase starts, where predictors give percentages about the probability of the outcomes. The predictions with differing bets and having been predicted with a higher sum of prediction scores than others will be ordered higher than the others and vice versa. Predictors could have added irrelevant predictions to the subject areas or even predictions about things that are very frequent such as “the sun rising in one week” and so on. To make sure that predictors do predict, they will lose points from their prediction score if they do not bet on every prediction in a poll with a differing bet and high enough activity (which is a function of the prediction scores of those that bet on it). It makes sure that a predictor does not need to bet on every prediction on a given poll, and at the same time does not gain by betting on self-evident predictions and do not only bet on the easier predictions.

The voting phase only starts when every prediction has been made, the weighted average bets can be displayed in this phase like it is on sites like Metaculus. Here the delegates and the voters can provide scores between 0 and 100 for example. The proposals are ordered by their total scores.

The delegate lock-in phase means that delegate scoring is locked-in so that anyone delegating could check where their vote goes if they do delegate to their given delegate. A voter can always override their delegate in any poll by voting themselves, and sync back with their prioritized subject area delegate.

After those phases the result is calculated and displayed, if the result leads to a tie between some set of alternatives a re-vote can be held or one can just be picked at random with equal probability (which should happen if the re-vote leads to the same result at the very least). This is a trade-off between speed and accuracy in scoring as a new vote can show differences that were not shown in the previous scoring - it is like zooming in on the policy space and scoring again. When the winning proposal’s prediction dates are reached, their outcomes are evaluated by voters and voters only, whereby they vote by approval voting. Based on the result of the evaluation at a given time, the majority pick will update the prediction scores accordingly to some updating function.

An example of the entire process:

Flowback will recommend delegates per subject area that seem to be value-aligned, and the more value-aligned the higher up in the suggested order. Predictors and delegates might even be subscribed to with notifications for what they do.

Flowback has further modules such as accounting and a Kanban board and schedule per group designed so that users of Flowback can get all of their designated tasks in their own Kanban board and meetings in their schedule. We have further integrated Jitsi for video conferences, admins can send mails, handle privileges in a group, put in the subject areas, and documents can be handled as well. It is important to have such modules as a decision needs to be implemented by some set of agents. Flowback also becomes an enterprise resource planning tool in this way, not only to decide but also to help with implementation.

Problems addressed

Because we order things in Flowback after their interactions and make sure that items that will be decided on cannot slip by without notifications, it also makes Flowback robust to irrelevance - which is what trolls and spam usually rely on.

If predictors try to game the system they could: together bet on predictions that are irrelevant and create such predictions, but such a colluding group needs to have some predictor that bets against them, meaning that they lose the colluding groups impact - and the more so the more times they collude. Predictors colluding on large scales becomes unlikely if transparent algorithms are actively supported in as many areas as possible.

The subject areas could be voted on in a gaming way, but the largest group will always win there, and they can lose more from not having accurate subject areas in most cases as they are the largest group either way.

There are various possible issues where their frequency and degree of negative impact should be measured by examining many trials with larger groups to get significant results.

Predictive liquid democracy

The following describes predictive liquid democracy. Combining prediction markets and liquid democracy into predictive liquid democracy was done theoretically, and independently, by me ('independently' if someone else may have stated its properties, see 'Föreningen för Digital Demokrati' in Sweden - that is the association for Digital democracy - digitaldemocracy.world) when the Flowback project was in an early stage (2021). This decision system is anti-fragile, as it learns from any mistake if the mechanisms work well enough. Non-local delegation can be more optimal than local, where the locality is in regard to the network of social relations. It is possible that those who know many and seem knowledgeable are not and the result can become worse than it could be using a more objective recommendation algorithm for non-local delegation [8]. Predictive liquid democracy provides a base for such a recommendation algorithm.

Predictive liquid democracy as implemented in Flowback 2023-01

Voter:

Delegate:

Predictor:

Poll:

Poll phase problems:

Separate poll phases:

Poll creator:

Proposal creator:

Result:

Prediction evaluation:

Prediction evaluation problems:

Subject area division:

Shared roles:

Delegates track record:

Poll quorum:

How can we ensure strategic voting not creating too large negative effects:

The properties of predictive liquid democracy

A Condorcet jury is a jury where the following is the case:

Properties of a Condorcet jury:

Optimal sets:

Properties of optimal delegates:

A perfect delegate case:

Properties of score voting:

Considering strategic voting using score voting:

Optimization outside of predictive liquid democracy:

Empirical questions:

The largest organization possible may decide that a more local region can take certain decisions themselves while the super organization audits and can intervene at any time. This is because the largest organization is more probable to find the "correct answer" using predictive liquid democracy.

[1]: Hagberg, L. (2023). Collected papers on finitist mathematics and phenomenalism: a digital phenomenology. BoD-Books on Demand.

[2]: Lührmann, Anna; Lindberg, Staffan I. (2019). "A third wave of autocratization is here: what is new about it?".

[3]: V-Dem report 2021: Global wave of autocratization accelerates, Stefan Kalberer, 14. Mar 2021

[4]: Beckman, L., \& Mörkenstam, U. (2016). Politisk teori. Liber.

[5]: Carroll, Lewis (1884). The Principles of Parliamentary Representation. London: Harrison and Sons.

[6]: "Demoex (Sweden)". newDemocracy. The newDemocracy Foundation. Retrieved 23 April 2018.

[7]: Seeley, T.D. (2011). Honeybee democracy. Princeton University Press.

[8]: Kahng, A., Mackenzie, S., \& Procaccia, A. (2021). Liquid democracy: An algorithmic perspective. Journal of Artificial Intelligence Research, 70, 1223-1252.

[9]: De Condorcet, N. (2014). Essai sur l'application de l'analyse à la probabilité des décisions rendues à la pluralité des voix. Cambridge University Press.

[10]: List, C., \& Goodin, R. E. (2001). Epistemic democracy: Generalizing the Condorcet jury theorem.

[11]: Dietrich, F., \& Spiekermann, K. (2021). Jury theorems.

[12]: Laslier, J. F. (2006). Strategic approval voting in a large electorate.

[13]: Benedetti, R. (2010). Scoring rules for forecast verification. Monthly Weather Review, 138(1), 203-211.