Fairness in ML 2: Equal opportunity and odds
Privacy & Fairness in Data Science CS848 Fall 2019
Slides adapted from https://fairmlclass.github.io/4.html
Fairness in ML 2: Equal opportunity and odds Privacy & Fairness - - PowerPoint PPT Presentation
Fairness in ML 2: Equal opportunity and odds Privacy & Fairness in Data Science CS848 Fall 2019 Slides adapted from https://fairmlclass.github.io/4.html 2 Outline Recap: Disparity impact Issues with Disparate Impact
Slides adapted from https://fairmlclass.github.io/4.html
2
4
X1 … … … … Race Bail … 1 … 1 1 (Y) 1 … 1 … 1 0 (N) 1 … 1 … 0 (N) .. … … … … … …
012 𝐹 = Pr[𝐹|𝑌 = 1]
016 𝐹 = Pr[𝐹|𝑌 = 0]
5
X1 … … … … Race Bail … 1 … 1 1 (Y) 1 … 1 … 1 0 (N) 1 … 1 … 0 (N) .. … … … … … …
016 𝑔 𝑍 = 1
012[𝑔 𝑍 = 1] ≤ 𝜐
01= 𝑔 𝑍 = 1 = 𝑄01=> 𝑔 𝑍 = 1
–
?@AB C D 12 ?@AB>[C D 12] ≥ 1 − 𝜗
– 𝑄
01= 𝑔 𝑍 = 1 − 𝑄01=> 𝑔 𝑍 = 1
≤ 𝜗
7
8
9
01= 𝑔 𝑍 = 1|𝐷 = 1 = 𝑄01=> 𝑔 𝑍 = 1|𝐷 = 1
– Deny bail when person will not recidivate
10
11
01= 𝑔 𝑍 = 1|𝐷 = 0 = 𝑄01=> 𝑔 𝑍 = 1|𝐷 = 0
12
13
012 𝑔(𝑍) = 1 𝐷 = 1] =?
016 𝑔(𝑍) = 1 𝐷 = 1] =?
012 𝑔(𝑍) = 1 𝐷 = 0] =?
016 𝑔(𝑍) = 1 𝐷 = 0] =?
14
012 𝑔(𝑍) = 1 𝐷 = 1] = 1
016 𝑔(𝑍) = 1 𝐷 = 1] = 1
012 𝑔(𝑍) = 1 𝐷 = 0] = 1/2
016 𝑔(𝑍) = 1 𝐷 = 0] = 1/2
15
– positive predictive value parity if if for all groups 𝑦 and 𝑦′, 𝑄
01= 𝐷 = 1|𝑔 𝑍 = 1 = 𝑄01=> 𝐷 = 1|𝑔 𝑍 = 1
– negative predictive value parity if if for all groups 𝑦 and 𝑦′, 𝑄
01= 𝐷 = 1|𝑔 𝑍 = 0 = 𝑄01=> 𝐷 = 1|𝑔 𝑍 = 0
– predictive value parity if satisfies both of the above.
16
17
012 𝐷 = 1 𝑔(𝑍) = 1] =
016 𝐷 = 1 𝑔(𝑍) = 1] =
012 𝐷 = 1 𝑔(𝑍) = 0] =
016 𝐷 = 1 𝑔(𝑍) = 0] =
18
012 𝐷 = 1 𝑔(𝑍) = 1] = 8/9
016 𝐷 = 1 𝑔(𝑍) = 1] = 1/3
012 𝐷 = 1 𝑔(𝑍) = 0] = 0
016 𝐷 = 1 𝑔(𝑍) = 0] = 0
19
20
21
22
23
24
25
26
27
012 𝑔
016 𝑔
012 𝑔
012 𝑔
012 𝑔
012 𝑔
016 𝑔
016 𝑔
28
X=1 c'=0 c’=1 c=0 p0 p1 c=1 1-p0 1-p1 X=0 c’=0 c’=1 c=0 p2 p3 c=1 1-p2 1-p3
29
012 𝑔
012 𝑔
0.0 1.0 0.5 0.0 1.0 0.5
x
30
0 𝑔
0 𝑔
012 𝑔
016 𝑔
012 𝑔
016 𝑔
31
32
c'=0 c’=1 c=0 p0 p1 c=1 1-p0 1-p1 X=0 c'=0 c’=1 c=0 p2 p3 c=1 1-p2 1-p3 𝑔 Q 𝑔 P
33
34
35