Professional Documents
Culture Documents
Weighted Voting Systems: Reliability Versus Rapidity: Gregory Levitin
Weighted Voting Systems: Reliability Versus Rapidity: Gregory Levitin
Weighted Voting Systems: Reliability Versus Rapidity: Gregory Levitin
www.elsevier.com/locate/ress
Abstract
The weighted voting system (WVS) consists of n units that each provide a binary decision (0 or 1) or abstain from voting. Each
unit has its own individual weight. System output is 1 if the cumulative weight of all 1-opting units is at least a pre-specified fraction
t of the cumulative weight of all non-abstaining units. Otherwise, system output is 0. The system input is either 0 or 1. Every unit is
characterized by probability of making decisions 0 and 1 and by probability of abstaining for each input. The system fails if its output
is not equal to its input.
This paper shows that if the WVS consists of units that need different time to produce their outputs, the decision time of the entire system
depends on the distribution of unit weights and on the value of t. It shows also that a tradeoff exists between the system reliability and its
rapidity.
An algorithm that finds the system parameters maximizing its reliability under constraint imposed on the expected system decision time is
suggested. Illustrative examples are presented.
q 2004 Elsevier Ltd. All rights reserved.
0951-8320/$ - see front matter q 2004 Elsevier Ltd. All rights reserved.
doi:10.1016/j.ress.2004.08.017
178 G. Levitin / Reliability Engineering and System Safety 89 (2005) 177–184
Nomenclature
t threshold factor, (0%t%1) tj time when the decision dj(I) of voting unit j
n number of units belonging to WVS becomes available
K number of different voting results in WVS T expected WVS decision time
I WVS input (proposition to be accepted or T* maximum allowed expected decision time
rejected), I2{0,1} Wm1 total weight of units that have decision time not
Pr{v} probability of event v greater than tm and vote for the proposition
pi Pr{IZi} acceptance
dj(I) decision (output) of individual unit j Wm0 total weight of units that have decision time not
D(I) decision of the entire WVS greater than tm and vote for the proposition
qðjÞ
is Pr{dj(I)ZsjIZi},i2{0,1},s2{0,1,x} rejection
Qis Pr{D(I)ZsjIZi}, i2{0,1},s2{0,1,x} hm
I0 probability that the proposition I is rejected at
R Pr{D(I)ZI}, WVS reliability time tm
UIm ðzÞ U-function representing all the possible different hm
I1 probability that the proposition I is accepted at
states of a subsystem containing m fastest voting time tm
units when system input is I 1(x) unity function: 1(TRUE)Z1, 1(FALSE)Z0
w0j ‘negative’ weight of unit j (weight of unit j when
Acronyms1
dj(I)Z0)
WVS weighted voting system
w1j ‘positive’ weight of unit j (weight of unit j when
UF U(z)-function
dj(I)Z1)
Fig. 1. Example of asymmetric WVS with nZ6. 2. The weighted voting model
times can vary. As it was mentioned in [11], the system does Consider the WVS consisting of n voting units
not need to wait for decisions of slow voting units, as long, characterized by error probabilities qðjÞ ðjÞ ðjÞ ðjÞ
01 , q10 , q1x , q0x and
as the system can make a correct decision with reliability decision times tj. The WVS incorporates all the unit outputs
higher than a pre-specified level. Moreover, in some cases into a unanimous system output D using the following
the decisions of the slow voting units do not affect the threshold based decision rule:
8 X X X
>
> 1; if w1j dj ðIÞR t ½w1j dj ðIÞ C w0j ð1 K dj ðIÞÞ; wj s0
>
>
>
> dj ðIÞsx
X dj ðIÞsx
X dj ðIÞsx
X
<
DðIÞ Z 0; if w1j dj ðIÞ! t ½w1j dj ðIÞ C w0j ð1 K dj ðIÞÞ; wj s0 (3)
>
> dj ðIÞsx
X dj ðIÞsx dj ðIÞsx
>
>
>
: x;
> if wj Z 0:
dj ðIÞsx
decision of the entire system since this decision becomes Let us order the units such that tj%tjC1 for 1%j%nK1
evident after the fast units have voted. This happens and define the total weight of WVS units that have the
when the total weight of units voting for the proposition decision times not greater than tm and support the
acceptance or rejection is enough to guarantee the system proposition I as Wm1
decision independently of the decisions of the units that X
m
have not voted yet. In such situations the voting process Wm1 Z w1j 1ðdj ðIÞ Z 1Þ; (4)
jZ1
can be terminated without waiting for slow units’
decisions and the WVS decision can be made in a and the total weight of WVS units that have the decision
shorter time. times not greater than tm and reject the proposition as Wm0 :
The number of combinations of unit decisions that allow X
m
the entire system decision to be obtained before the outputs Wm0 Z w1j 1ðdj ðIÞ Z 0Þ: (5)
of all of the units become available depends on the unit jZ1
weights distribution and on the threshold value. By The decision rule (3) can now be rewritten as follows:
increasing the weights of the fastest units one makes the 8
WVS more decisive in the initial stage of voting and >
> 1; if Wn1 R tðWn1 C Wn0 Þ; Wn1 C Wn0 s0
<
therefore reduces the mean system decision time by the DðIÞ Z 0; if Wn1 ! tðWn1 C Wn0 Þ; Wn1 C Wn0 s0 :
price of making it less reliable. >
>
:
In applications where the WVS should make many x; if Wn1 C Wn0 Z 0:
decisions in a limited time the expected system decision (6)
time is considered to be a measure of its performance.
Following this expression the condition that D(I)Z0 can
Since the units’ weights and the threshold affect both the
be rewritten as
WVS’s reliability and its expected decision time, the
problem of the optimal system turning can be formulated Wn1 ! tðWn1 C Wn0 Þ (7)
as follows: find the voting units’ weights and the or
threshold that maximize the system reliability R while
providing the expected decision time T not greater than ð1 K tÞWn1 K tWn0 ! 0: (8)
180 G. Levitin / Reliability Engineering and System Safety 89 (2005) 177–184
This gives one the simple way of tallying the units’ votes: that X meets some condition X2q, the coefficients of
each unit j adds value of ð1K tÞw1j to the total WVS score if the polynomial U(z) should be summed for every term
it votes for proposition acceptance, value ofKtw0j if it votes with xk2q. This can be done using the operator d as
for proposition rejection and nothing if it abstains. The follows:
proposition is rejected if the total score is negative.
X
K
Let Vi1 and Vi0 be the sum of ‘positive’ and ‘negative’ PrfX 2qg Z dðUðzÞ; qÞ Z sk 1ðxk 2qÞ: (15)
weights of units from i to n respectively kZ1
X
n X
n
In our case, the polynomial U(z) can define system unit
Vi1 Z w1j ; Vi0 Z w0j ; (9) output distribution, i.e. it can represent all the possible
jZi jZi
states of the system by relating the probabilities of each
1 0 state k to voting results corresponding to unit outputs dj(I)
(VnC1 Z VnC1 Z 0 by definition).
After the voting of the first m units the total system score (1%j%n) in that state. Each WVS state k can be
is ð1K tÞWm1 K tWm0 . The maximal possible value of the characterized by two indices: state probability sk and
score after the rest of the units add their votes is total score of unit votes at state
P k Gk.
Consider the UF UðzÞZ KkZ1 sk zGk , which relates
ð1 K tÞWm1 K tWm0 C ð1 K tÞVmC1
1
; (10) these two indices. Using this polynomial one can describe
(if all of the units from mC1 to n vote for proposition output distributions of a system consisting of an individual
acceptance) and the minimal possible value of the score is unit j as
Given the UF for first mK1 voting units UImK1 ðzÞ, one can and calculated as follows:
easily obtain the UF for first m voting units UIm ðzÞ as:
R Z p0 Q00 C p1 Q11 : (24)
X
Km
Gm
UIm ðzÞ Z UðUImK1 ðzÞ; um
I ðzÞÞ kz :
sm (20)
Z k
kZ1
Having the times of units’ voting and the probabilities
that the WVS decision is made after voting of m units one
Consecutively, applying Eq. (20) for mZ2, .,n one can can obtain the expected decision time as
obtain the UF for the entire WVS UIn ðzÞ. Note that while the
X
n X
n
total number of different states is 3n, many of these states ðhm 10 C h11 Þtm :
m
T Z p0 00 C h01 Þtm C p1 ðhm m
(25)
can result in the same values of score G. Therefore the total mZ1 mZ1
number of terms Kn in UIn ðzÞ can be much less then 3n
because of like terms collection. In the worst case, the
3.2. Algorithm for evaluating WVS reliability and expected
complexity of the procedure that obtains the UF UIn ðzÞ is
decision time
O(3n).
Using the d operator (15) over UIm ðzÞ one can obtain
Using the technique described in Section 3.1, one can
probabilities that the proposition I will be accepted or
obtain the system reliability and the expected decision time
rejected after voting of first m units as
by the following procedure:
hm m m 1
I0 Z dðUI ðzÞ; Gk ! ðt K 1ÞVmC1 Þ
1. Assign U00 ðzÞZ U10 ðzÞZ 1; Q00ZQ11ZTZ0.
X
Km 2. For each voting unit j define two UF uj0 ðzÞ and uj1 ðzÞ in the
Z sm m 1
k 1ðGk ! ðt K 1ÞVmC1 Þ; (21) form (16) using Eqs. (17) and (18).
kZ1 3. For mZ1,.,nC1 obtain ðtK 1ÞVm1 and tVm0 using Eq.
(which corresponds to the sum of probabilities of scores (9).
meeting condition (12) of proposition rejection) and 4. For mZ1,.,n
4.1 Obtain U0m ðzÞ and U1m ðzÞ using Eq. (20).
hm 00 ; h01 from U0 ðzÞ and h10 , h11 from U1 ðzÞ
m m 0
I1 Z dðUI ðzÞ; Gk R tVmC1 Þ 4.2 Obtain hm m m m m m
X
n X
n Y
n U00 ðzÞ Z U10 ðzÞ Z 1; Q00 Z Q11 Z T Z 0:
Q11 Z hm
11 K Q1x Z hm
11 K qðjÞ
1x : (23)
mZ1 mZ1 jZ1 Following step 2 of the algorithm, obtain:
Since events IZ0 and IZ1 are mutually exclusive, ð1 K tÞw11 Z 2; ð1 K tÞw12 Z 1:2; ð1 K tÞw13 Z 0:8;
the entire WVS reliability Pr{D(I)ZI} can be defined as
PrfDðIÞZ 0jI Z 0gPrfI Z 0g C PrfDðIÞZ 1jI Z 1gPrfI Z 1g Ktw01 Z K1:8; K tw02 Z K2:4; K tw03 Z K1:8:
182 G. Levitin / Reliability Engineering and System Safety 89 (2005) 177–184
The UF for the individual voting units are: U12 ðzÞ Z 10K4 ð186zK0:6 C2z0 C93z1:2 C485zK0:4 Þ:
u10 ðzÞ ¼ 10K2 ð2z2 þ z0 þ 97zK1:8 Þ; UF for subsystem consisting of three units are
u11 ðzÞ ¼ 10 ð2z
K2 K1:8 0 2
þ z þ 97z Þ; U03 ðzÞ Z UðU02 ðzÞ;u30 ðzÞÞ Z 10K6 ð192zK0:4 C2z1:2 C2z0
u20 ðzÞ ¼ 10K2 ð2z1:2 þ 2z0 þ 96zK2:4 Þ; C194zK0:6 Þð1z0:8 C99zK1:8 Þ Z10K6 ð192z0:4 C2z2:0
u21 ðzÞ ¼ 10K2 ð5zK2:4 þ 2z0 þ 93z1:2 Þ; C2z0:8 C194z0:2 C19008zK2:2 C198zK0:6
u30 ðzÞ ¼ 10K2 ð1z0:8 þ 99zK1:8 Þ; C198zK1:8 C19206zK2:4 Þ;
u31 ðzÞ ¼ 10K2 ð3zK1:8 þ 97z0:8 Þ:
U13 ðzÞ Z UðU12 ðzÞ;u31 ðzÞÞ Z 10K6 ð186zK0:6 C2z0 C93z1:2
Following step 3 of the algorithm, obtain:
C485zK0:4 Þð3zK1:8 C97z0:8 Þ
tV20 Z tðw02 C w03 Þ Z 0:6 !7 Z 4:2;
Z 10K6 ð558zK2:4 C6zK1:8 C279zK0:6 C1455zK2:2
tV30 Z tw03 Z 0:6 !3 Z 1:8; tV40 Z 0; C18042z0:2 C194z0:8 C9021z3:0 C47045z0:4 Þ:
ðt K 1ÞV21 Z ðt K 1Þðw12 C w13 Þ Z K0:4 !8 Z K3:2; In the final UF all of the terms meet either condition (12)
or (13). The terms meeting condition (12) are marked in
ðt K1ÞV31 Z ðtK1Þw13 ZK0:4!2 ZK0:8; ðt K1ÞV31 Z 0: bold italic, the terms meeting condition (13) are marked in
bold.
Following step 4 of the algorithm, obtain: h300 Ch301 Z10K6 ð192 C2 C2 C194C19008 C198
U01 ðzÞ Zu10 ðzÞ; U11 ðzÞ Zu11 ðzÞ: C198 C19206Þ Z0:039;
UF U01 ðzÞ and U11 ðzÞ do not contain terms that meet Q00 Z0:9602Ch300 Z 0:9602 C10K6 ð19008 C198 C198
conditions (12) and (13). This means that the WVS cannot
C19206Þ Z 0:99881;
make any decision based on voting of the first unit and
h100 Zh101 Zh110 Z h111 Z 0:
h310 Ch311 Z10K6 ð558 C6 C279 C1455C18042 C194
UF for subsystem consisting of two units are C9021 C47045Þ Z0:0766;
U02 ðzÞ ZUðu10 ðzÞ; u20 ðzÞÞ
Q11 Z0:9215Ch311 Z 0:9215 C10K6 ð18042 C194 C9021
Z10K4 ð4z3:2 C4z2 C192zK0:4 C2z1:2 C2z0 C47045Þ Z 0:995802:
References