-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaises_6_3
763 lines (756 loc) · 46.4 KB
/
aises_6_3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
<h1 id="fairness">6.3 Fairness</h1>
<strong>We
can use the law to ensure that AIs make fair decisions.</strong>
AIs are being used in many sensitive applications that affect human
lives, from lending and employment to healthcare and criminal justice.
As a result, unfair AI systems can cause serious harm. Methods for
improving AI fairness could mitigate harms from biased systems, but they
require overcoming challenges in formalizing and implementing fairness.
This section explores <em>algorithmic fairness</em>, including its
technical definitions, limitations, and real-world strategies for
building fairer systems.</p>
<strong>The COMPAS case study.</strong>
A famous example of algorithmic decision-making in criminal justice
is the COMPAS (Correctional Offender Management Profiling for
Alternative Sanctions) software used by over 100 jurisdictions in the US
justice system. This algorithm uses observed features such as criminal
history to predict recidivism, or how likely defendants are to reoffend.
A ProPublica report <span class="citation"
data-cites="angwin2016bias">[11]</span> showed that COMPAS
disproportionately labeled African-Americans as higher risk than white
counterparts with nearly identical offense histories. However, COMPAS’s
creators argued that it was <em>calibrated</em>, with accurate general
probabilities of recidivism across the three general risk levels, and
that it was less biased and better than human judgments <span
class="citation" data-cites="dieterich2016compas">[12]</span>. This
demonstrated the trade-off between different definitions of fairness: it
was calibrated across risk levels, but it was also clear that COMPAS
generated more false positives for African-American defendants
(predicting they would re-offend when they did not) and more false
negatives for white defendants, predicting they would not re-offend when
they in fact did. Adding to the concern, COMPAS is a black-box
algorithm: its process is proprietary and hidden. One lawsuit argued
this violates due process rights since its methods are hidden from the
court and the defendants <span class="citation"
data-cites="harvard2017state">[13]</span>. In this section, we will
discuss some of the serious ethical questions raised by this case,
examining what makes algorithms unfair and considering some methods to
improve fairness.</p>
<h2 id="sec:bias">6.3.1 Bias</h2>
<p><strong>AI systems can amplify undesirable biases.</strong> AI
systems are being increasingly deployed throughout society. If these
influential systems have biases, they can reinforce disparities and
produce widespread, long-term harms. In AI, <em>bias</em> refers to a
consistent, systematic, or undesirable distortion in the outcomes
produced by an AI system. These outcomes can be predictions,
classifications, or decisions. Bias can be influenced by many factors,
including erroneous assumptions, training data, or human biases. Biases
in modern deep learning systems can be especially consequential. While
not all forms of bias are harmful, we focus on biases that are socially
relevant because of their harms. We must proactively prevent bias to
avoid its harms. This section overviews bias in AI and outlines some
mitigation strategies.</p>
<p><strong>Aspects of bias in AI.</strong> A bias is <em>systematic</em>
when it includes a pattern of repeated deviation from the true values in
one direction. Unlike random unstructured errors, or “noise,” these
biases are not reliably fixed by just adding more data. Resolving
ingrained biases often requires changing algorithms, data collection
practices, or how the AI system is applied. <em>Algorithmic bias</em>
occurs when any computer system consistently produces results that
disadvantage certain groups over others. Some biases are relatively
harmless, like a speech recognition system that is better at
interpreting human language than whale noises. However, other forms of
bias can result in serious social harms, such as partiality to certain
groups, inequity, or unfair treatment.</p>
<p><strong>Bias can manifest at every stage of the AI
lifecycle.</strong> From data collection to real-world deployment, bias
can be introduced through multiple mechanisms at any step in the
process. Historical and social prejudices produce skewed training data,
propagating flawed assumptions into models. Flawed models can cement
biases into the AI systems that help make important societal decisions.
In addition, humans misinterpreting results can further compound bias.
After deployment, biased AI systems can perpetuate discriminatory
patterns through harmful feedback loops that exacerbate bias. Developing
unbiased AI systems requires proactively identifying and mitigating
biases across the entire lifecycle.</p>
<figure id="fig:enter-label">
<embed src="https://raw.githubusercontent.com/WilliamHodgkins/AISES/main/images/bias_diagram.png" class="tb-img-full" style="width: 90%"/>
<p class="tb-caption">Figure 6.2: Systematic psychological, historical, and social biases can lead to algorithmic biases
within AI systems. </p>
<!--<figcaption>Systematic psychological, historical, and social biases can-->
<!--lead to algorithmic biases within AI systems.</figcaption>-->
</figure>
<p><strong>Biases in AI often reflect systemic biases.</strong>
Systematic biases can occur even against developers’ intentions. For
instance, Amazon developed an ML-based resume-screening algorithm
trained on historical hiring decisions. However, as the tech industry is
predominantly male, this data reflected skewed gender proportions in the
data (about 60% male and 40% female) <span class="citation"
data-cites="amazon_bias">[1]</span>. Consequently, the algorithm scored
male applicants higher than equally qualified women, penalizing resumes
with implicit signals like all-female colleges. The algorithm
essentially reproduced real-world social biases in hiring and
employment. This illustrates how biased data, when fed into AI systems,
can inadvertently perpetuate discrimination. Organizations must be
vigilant about biases entering any stage of the machine learning
pipeline.</p>
<p><strong>In many countries, some social categories are legally
protected from discrimination.</strong> Groups called <em>protected
classes</em> are legally protected from harmful forms of bias. These
often include race, religion, sex/gender, sexual orientation, ancestry,
disability, age, and others. Laws in many countries prohibit denying
opportunities or resources to people solely based on these protected
attributes. Thus, AI systems exhibiting discriminatory biases against
protected classes can produce unlawful outcomes. Mitigating algorithmic
bias is crucial for ensuring that AI complies with equal opportunity
laws by avoiding discrimination.</p>
<p><strong>Conclusion.</strong> Identifying and mitigating biases is
crucial to build social trust in AI. This section discusses the main
sources of bias as well as strategies researchers are exploring to
mitigate bias. However, this overview aims to be brief, so it is not
exhaustive.<p>
</p>
<h2 id="sources-of-bias">6.3.2 Sources of Bias</h2>
<p>Biases can arise from multiple sources, both from properties of the
AI system itself and human interaction with the system. This section
discusses common sources of harmful biases in AI systems, although there
are many more. First, we will discuss technical sources of bias,
primarily from flawed data or objectives. Then, we will review some
biases that arise from interactions between humans and AI systems.</p>
<h3 id="technical-sources-of-bias-in-ai-systems">Technical Sources of
Bias in AI Systems</h3>
<p><strong>An overview of technical sources of bias.</strong> In this
section, we will review some sources of bias in technical aspects of AI
systems. First, we will investigate some <em>data-driven</em> sources of
biases, including flawed training data, subtle patterns that can be used
to discriminate, biases in how the data is generated or reported, and
underlying societal biases. Flawed or skewed training data can propagate
biases into the model’s weights and predictions. Then, we show how RL
training environments and objectives can also reinforce bias.</p>
<p><strong>ML models trained on biased datasets can learn and reinforce
harmful societal biases.</strong> AI systems learn from human-generated
data, absorbing both valuable knowledge and harmful biases. Even when
unintentional, this data frequently mirrors ingrained societal
prejudices. As a result, AI models can propagate real-world
discrimination by learning biases from their input data. For instance, a
lawsuit found that Facebook’s ad targeting algorithm violated the Fair
Housing Act because it learned to exclude users from seeing housing ads
based on race, gender, or other protected traits. Similarly, ML models
can reflect political biases, deprioritizing users from specific
political affiliations by showing their content to smaller audiences. As
another example, an NLP model trained on a large corpus of internet text
learned to reinforce gender stereotypes, completing sentence structures
of the format “man is to X as woman is to Y” with content such as “man
is to computer programmer as woman is to homemaker” <span
class="citation" data-cites="bolukbasi2016man">[2]</span>. These
examples show how ML models can amplify existing social biases.</p>
<p><strong>Models can learn to discriminate based on subtle
correlations.</strong> One intuitive way to fix bias is to remove
protected attributes like gender and achieve “fairness through
unawareness.” But this is not enough to remove bias. ML models can learn
subtle correlations that serve as proxies for these attributes. For
example, even in datasets with gender information removed,
resume-screening models learned to associate women with certain colleges
and assigned them lower scores <span class="citation"
data-cites="amazon_bias">[1]</span>. In another study, ML models
erroneously labeled images of people cooking as women, due to learned
gender biases <span class="citation"
data-cites="zhao2017men">[3]</span>. Thus, models can discriminate even
when the data does not contain direct data about protected classes. This
hidden discrimination can harm protected groups despite efforts to
prevent bias.</p>
<p><strong>Biased or unrepresentative data collection can lead to biased
decisions.</strong> Training data reflects biases in how the data was
collected. If the training data is more representative of some groups
than others, the predictions from the model may also be systematically
worse for the underrepresented groups. Thus, the model will make worse
or biased decisions for the group that is represented less in the
dataset. Imbalances in training data occur when the data is skewed with
respect to output labels, input features, and data structure. For
instance, a disease prediction dataset with 100,000 healthy patients but
only 10 sick patients exhibits a large class imbalance. The minority
class with fewer examples is underrepresented.</p>
<p><strong>Several other problems can introduce bias in AI training
data.</strong> Systematic problems in the data can add bias. For
instance, <em>reporting bias</em> occurs when the relative frequency of
examples in the training data misrepresents real-world frequencies.
Often, the frequency of outcomes in legible data does not reflect their
actual occurrence. For instance, the news amplifies shocking events and
under-reports normal occurrences or systematic, ongoing
problems—reporting shark attacks rather than cancer deaths. <em>Sampling
bias</em> occurs when the data collection systematically over-samples
some groups and undersamples others. For instance, facial recognition
datasets in Western countries often include many more lighter-skinned
individuals. <em>Labeling bias</em> is introduced later in the training
process, when systematic errors in the data labeling process distort the
training signal for the model. Humans may introduce their own subjective
biases when labeling data.<p>
Beyond problems with the training data, the training environments and
objectives of RL models can also exhibit problems that promote bias.
Now, we will review some of these sources of bias.</p>
<p><strong>Training environments can also amplify bias.</strong>
<em>Reward bias</em> occurs when the environments used to train RL
models introduce biases through improper rewards. RL models learn based
on the rewards received during training. If these rewards fail to
penalize unethical or dangerous behavior, RL agents can learn to pursue
immoral outcomes. For example, models trained in video games may learn
to accomplish goals by harming innocents if these actions are not
sufficiently penalized in training. Some training environments may fail
to encourage good behaviors enough, while others can even incentivize
bad behavior by rewarding RL agents for taking harmful actions. Humans
must carefully design training environments and incentives that
encourage ethical learning and behavior <span class="citation"
data-cites="gilbert2022choices">[4]</span>.</p>
<p><strong>RL models can optimize for training objectives that amplify
bias or harm.</strong> Reinforcement learning agents will try to
optimize the goals they are given in training, even if these objectives
are harmful or biased, or reflect problematic assumptions about value.
For example, a social media news feed algorithm trained to maximize user
engagement may prioritize sensational, controversial, or inflammatory
content to increase ad clicks or watch time. Technical RL objectives
often make implicit value assumptions that cause harm, especially when
heavily optimized by a powerful AI system <span class="citation"
data-cites="stray2021optimizing kross2013facebook">[5], [6]</span>. News
feed algorithms implicitly assume that how much a user engages with some
content is a high-quality indicator of the <em>value</em> of that
content, therefore showing it to even more users. After all, social
media companies train ML models to maximize ad revenue by increasing
product usage, rather than fulfilling goals that are harder to monetize
or quantify, such as improving user experience or promoting accurate and
helpful information. Especially when taken to their extreme and applied
at a large scale, RL models with flawed training objectives can
exacerbate polarization, echo chambers, and other harmful outcomes.
Problems with the use of flawed training objectives are further
discussed in the Proxy Gaming section.<p>
In summary, biased training data, flawed objectives, and other technical
aspects of ML models can introduce bias, illustrating how ML bias can
perpetuate existing disparities. Carefully scrutinizing the technical
details of models is crucial for mitigating these biases.</p>
<h3 id="biases-from-human-ai-interactions">Biases from human-AI
interactions</h3>
<p><strong>Interactions between humans and AI systems can produce many
kinds of bias.</strong> It is not enough to just ensure that AI systems
have unbiased training data: humans interacting with AI systems can also
introduce biases during development, usage, and monitoring. Flawed
evaluations allow biases to go unnoticed before models are deployed.
<em>Confirmation bias</em> in the context of AI is when people focus on
algorithm outputs that reinforce their pre-existing views, dismissing
opposing evidence. Humans may emphasize certain model results over
others, skewing the outputs even if the underlying AI system is
reliable. This distorts our interpretation of model decisions.
<em>Overgeneralization</em> occurs when humans draw broad conclusions
about entire groups based on limited algorithmic outputs that reflect
only a subset. Irrationality and human cognitive bias play a substantial
role in biasing AI systems.</p>
<p><strong>Human-AI system biases can be reinforced by feedback
loops.</strong> <em>Feedback loops</em> in human-AI systems often arise
when the output of an AI system is used as input in future AI models. An
AI system trained on biased data could make biased decisions that are
fed into future models, reinforcing bias in a self-perpetuating cycle.
We speak more about these feedback loops in the Complex Systems chapter.
<em>Self-fulfilling prophecies</em> can occur when an algorithmic
decision influences actual outcomes, as the model reinforces its own
biases and influences future input data <span class="citation"
data-cites="krueger2020hidden">[7]</span>. In this way, models can
amplify real-world biases, making them even more real. For example, a
biased loan-approval algorithm could deny loans to lower-income groups,
reinforcing real-world income disparities that are then reflected in the
training data for future models. This process can make bias more severe
over time.</p>
<p><strong>Automation and measurability induce bias.</strong> Bias can
be amplified by <em>automation bias</em>, where humans favor algorithmic
decisions over human decisions, even if the algorithm is wrong or
biased. This blind trust can cause harm when the model is flawed.
Similarly, a <em>bias toward the measurable</em> can promote a general
preference for easily quantifiable attributes. Human-AI systems may
overlook important qualitative aspects and less tangible factors.</p>
<p><strong>Despite their problems, AI systems can be less biased than
humans.</strong> Although there are legitimate concerns, AI systems used
for hiring and other sensitive tasks may sometimes lead to <em>less</em>
biased decisions when compared with human decision-makers. Humans often
harbor strong biases that skew their judgment in these decisions. With
careful oversight and governance, AI holds promise to reduce certain
biases relative to human motivations.<p>
In summary, human biases and blind spots during development, usage, and
governance of AI systems contribute to biased outputs from AI systems. A
holistic approach for critically examining human-AI interaction is
required to address this.</p>
<h2 id="ai-fairness-concepts">6.3.3 AI Fairness Concepts</h2>
<strong>Fairness is difficult to
specify.</strong>
Fairness is a complicated and disputed concept with no single
agreed-upon definition. Different notions of fairness can come into
conflict, making it challenging to ensure that an AI system will be
considered fair by all stakeholders.</p>
<strong>Five fairness concepts.</strong>
Some concepts of <em>individual fairness</em> focus on treating
similar individuals similarly—for instance, ensuring job applicants with
the same qualifications have similar chances of being shortlisted.
Others focus on <em>group fairness</em>: ensuring that protected groups
receive similar outcomes as majority groups. <em>Procedural
fairness</em> emphasizes improving the processes that lead to outcomes,
making sure they are consistent and transparent. <em>Distributive
fairness</em> concerns the equal distribution of resources.
<em>Counterfactual fairness</em> emphasizes that a model is fair if its
predictions are the same even if a protected characteristic like race
were different, all else being equal. These concepts can all be useful
in different contexts.</p>
<strong>Justice as fairness.</strong>
Ethics is useful for analyzing the idea of fairness. John Rawls’
theory of justice as fairness argues that fairness is fundamental to
achieving a more just social system. His
<em>maximin</em> and <em>difference principles</em> that
inequalities in social goods can only be justified if they maximize
benefits for the most disadvantaged people. He also argued that the
social goods must be open to all under equality of opportunity. These
ideas align with common notions of fairness. Some argue this principle
also applies to AI: harms from the bias of algorithmic decisions should
be minimized, especially in ways that make the worst-off people better
off. Theories of justice can help develop the background principles for
fairness.</p>
<strong>Algorithmic fairness.</strong>
The field of algorithmic fairness aims to understand and address
unfairness issues that can arise in algorithmic systems, such as
classifiers and predictive models. This field’s goal is to ensure that
algorithms do not perpetuate disadvantages based on <em>protected
characteristics</em> such as race, gender, or class, especially while
predicting an outcome from features based on training data. Several
different technical definitions of fairness have been proposed, often
formalized mathematically. These definitions aim to highlight unfairness
in ML systems, but most possess inherent limitations. We will review
three definitions below.</p>
<p><em>Statistical parity.</em> The concept of statistical parity, also
known as demographic parity, requires that an algorithm makes positive
decisions at an equal rate for different groups. This metric requires
that the model’s predictions are <em>independent</em> of the sensitive
attribute. A hiring algorithm satisfies statistical parity if the hiring
rates for men and women are identical. While intuitive, statistical
parity is a very simplistic notion; for instance, it does not account
for potential differences between groups that could justify or explain
different outcomes.<p>
<p><em>Equalized odds.</em> Equalized odds require that the false positive
rate and false negative rate are equal across different groups. A
predictive health screening algorithm fulfills equalized odds if the
false positive rate is identical for men and women. This metric ensures
that the <em>accuracy</em> of the model is not dependent on the
sensitive attribute value. However, enforcing equalized odds can reduce
overall accuracy.<p>
<em>Calibration.</em> Calibration measures how well predicted
probabilities match empirical results. In a calibrated model, the actual
long-run frequency of positives in the real population will match the
predicted probability from the model. For instance, if the model
predicts 20% of a certain group will default on a loan, roughly 20% will
in fact default. Importantly, calibration is a metric for populations,
and it does not tell us about the correctness or fairness of an ML
system for individuals. Calibration can improve fairness by preventing
incorrect, discriminatory predictions. As it happens, ML models often
train on losses that encourage calibration, and are therefore often
calibrated naturally.<p>
These technical concepts can be useful for operationalizing fairness.
However, there is no single mathematical definition of fairness that
matches everyone’s complex social expectations. This is a problem
because satisfying one definition can often violate others: there are
tensions between statistical notions of fairness.</p>
<h2 id="limitations-of-fairness">6.3.4 Limitations of Fairness</h2>
<p>There are several problems with trying to create fair AI systems.
While we can try to improve models’ adherence to the many metrics of
fairness, the three classic definitions of fairness are mathematically
contradictory for most applications. Additionally, improving fairness is
often at odds with accuracy. Another practical problem is that creating
fair systems means different things across different areas of
applications, such as healthcare and justice, and different stakeholders
within each area have different views on what constitutes fairness.</p>
<p><strong>Contradictions between
fairness metrics.</strong>
Early AI fairness research largely focused on three metrics of
fairness: statistical/demographic parity, equalized odds, and
calibration. However, these ubiquitous metrics often contradict each
other: statistical parity only considers overall prediction rates, not
accuracy, while an equalized odds approach focuses on accuracy across groups and
calibration emphasizes correct probability estimates on average.
Achieving calibration may require violating statistical parity when the
characteristic being predicted is different across groups, such as
re-offending upon release from prison being more common among
disadvantaged minorities <span class="citation"
data-cites="corbettdavies2018measure">[14]</span>. This makes fulfilling
all three notions of fairness at once difficult or impossible.<p>
<p>The <em>impossibility theorem</em> for AI fairness proves that no
classifier can satisfy these three definitions of fairness unless the
prevalence of the target characteristic is equal across groups or
prediction is perfect <span class="citation"
data-cites="chouldechova2016fair kleinberg2016inherent">[15], [16]</span>.
Requiring a model to be “fair” according to one metric may actually
disadvantage certain groups according to another metric. This undermines
attempts to create a universally applicable, precise definition of
fairness. However, we can still use metrics to better approximate our
ideals of fairness while remaining aware of their limitations.</p>
<strong>Fairness
can reduce performance if not achieved carefully.</strong>
Enforcing fairness constraints often reduces model accuracy. Two
papers found that applying fairness techniques to an e-commerce
recommendation system increased financial costs <span class="citation"
data-cites="zahn2009cost">[17]</span> and mitigating unfairness in Kaggle
models by post-processing reduced performance <span class="citation"
data-cites="biswas2020machine">[18]</span>. However, these and others
also find ways to simultaneously improve both fairness and accuracy; for
example, work on healthcare models has managed to improve fairness with
little effect on accuracy <span class="citation"
data-cites="poulain2023improving">[19]</span>. While aiming for fairness
can reduce model accuracy in many cases, sometimes fairness can be
improved without harming accuracy.</p>
<strong>Difficulties in
achieving fairness across contexts.</strong>
Different fields have distinct problems: fairness criteria that make
sense in the context of employment may be inapplicable in healthcare.
Even different fields within healthcare face different problems with
incompatible solutions. These context-specific issues make generic
solutions inadequate. Models trained on historical data might reflect
historical patterns such as the underprescription of pain medication to
women <span class="citation"
data-cites="calderone1990influence">[20]</span>. Removing gender
information from the dataset seems like an obvious way to avoid this
problem. However, this does not always work and can even be
counterproductive. For instance, removing gender data from an algorithm
that matches donated organs to people in need of transplants failed to
eliminate unfairness, because implicit markers of gender like body size
and creatinine levels still put women at a disadvantage <span
class="citation" data-cites="rodriguez-castro2014female">[21]</span>.
Diagnostic systems without information about patients’ sex tend to
mispredict disease in females because they are trained mostly on data
from males <span class="citation" data-cites="Straw2022">[22]</span>.
Finding ways to achieve fairness is difficult: there is no single method
or definition of fairness that straightforwardly translates into fair
outcomes for all.</p>
<strong>Disagreements in
intuitions about fairness.</strong>
There is widespread disagreement in intuitions about the fairness of
ML systems, even when a model fulfills technical fairness metrics; for
instance, patients and doctors often disagree on what constitutes
fairness. People often view identical decisions as more unfair if they
come from a statistical model <span class="citation"
data-cites="lee2018understanding">[23]</span>; they also often disagree
on which fairness-oriented features are the most important <span
class="citation" data-cites="harrison2020emperical">[24]</span>, such as
whether race should be used by the model or whether the model’s accuracy
or false positive rates are more important. It is unclear how to define
fairness in a generally acceptable way.</p>
<h2 id="approaches-to-improving-fairness">6.3.5 Approaches to Combating Bias and Improving
Fairness</h2>
<p>Due to the impossibility theorem and inconsistent and competing
ideas, it is only possible to pursue some <em>definition</em> or
<em>metric</em> of fairness—fairness as conceptualized in a particular
way. This goal can be pursued both through technical approaches that focus
directly on algorithmic systems, and other approaches that focus on related social factors.</p>
<strong>Technical approaches.</strong>
Metrics of fairness such as statistical parity identify aspects of ML systems that
are relevant for fairness. Technical approaches to improving fairness include a host
of methods to improve models’ performance on these metrics, which can mitigate some
forms of unfairness. These often benefit from being broadly applicable with little
domain-specific knowledge. Developers can test predictive models against various
metrics for fairness and adjust models so that they perform better. Fairness toolkits
offer programmatic methods for implementing technical fairness metrics into ML pipelines.
Other methods for uncovering hidden sources of unfairness in ML models include adversarial testing, sensitivity analysis, and ranking feature importances. One promising
technical approach involves training an adversarial network to predict a protected variable
from an ML model’s outputs <span
class="citation" data-cites="zhang2018mitigating">[28]</span>. By penalizing the model when the
adversary succeeds at predicting a variable like race or political affiliation from the
model’s outputs, the model is forced to avoid discrimination and make predictions that do
not unfairly depend on sensitive attributes. When applied well, this can minimize biases.</p>
<strong>Problems with technical
approaches.</strong>
However, technical methods fall short of addressing the social
consequences of unfairness. They fail to adjust to sociocultural
contexts and struggle to combat biases inherited from training data.
“Fairness through unawareness” aims to remove protected characteristics
like gender and race from datasets to prevent sexism and racism, but
often fails in practice because this data is embedded in correlates. A focus on narrow
measures can ignore other relevant considerations, and measures are
often subject to proxy gaming (See the Proxy Gaming section). A more
in-depth, qualitative, and socially grounded approach is often harder
and does not scale as easily as technical methods, but it is still
essential for navigating concerns in AI fairness.</p>
<p><strong>Engineering strategies for reducing bias must be paired with
non-technical strategies.</strong> Ultimately, technical debiasing alone
is insufficient. Social processes are crucial as humans adapt to AI. We
speak about this at length in the Systemic Factors section in the Safety Engineering chapter, but here we will only
mention a few ideas. For instance, <em>early bias detection</em>
involves creating checks to identify risks of bias before the AI system
is deployed or even trained, so that models that have discriminatory
outputs can be rejected before they cause harm. Similarly, <em>gradual
deployment</em> safely transitions AI systems into use while monitoring
them for bias so that harms can be identified early and reversed.
<em>Regulatory changes</em> can require effective mitigation strategies
by law, mandating transparency and risk mitigation in safety-critical AI
systems, as we discuss in the Governance chapter.</p>
<strong>Other approaches.</strong>
Other approaches emphasize that unfairness is tied to systemic
social injustices propagated through technical systems. They highlight
political, economic, and cultural factors and apply methods such as
anti-discrimination policy, legal reform, and a design process focused
on values and human impacts. These methods, which include policies like
developing AI systems with input from stakeholders, can surface and
mitigate sources of unfairness early. Substantive social changes are
generally more expensive and difficult than technical approaches.
However, they can be more impactful, reducing models’ negative social
impacts.</p>
<p><strong>Participatory design can mitigate bias in AI
development.</strong> An important non-technical strategy for bias
reduction is stakeholder engagement, or deeply engaging impacted groups
in the design of the AI system to identify potential biases proactively.
Diverse teams and users can also help engineering teams incorporate
diverse perspectives into the R&D process of AI models to anticipate
potential biases proactively. One approach to proactively addressing
bias is <em>participatory design</em>, which aims to include those
affected by a developing technology as partners in the design process to
ensure that the final product meets diverse human interests. For
example, before implementing an AI notetaking assistant for doctors,
participatory design can require hospitals to improve the system based
on feedback from all stakeholders during iterative design sessions with
nurses, doctors, and patients. Rather than just evaluating ML models on
test sets, developers should consult with the affected groups during the
design process. Adding oversight mechanisms for rejecting models with
discriminatory outputs can also enable catching biases before AI models
affect real decisions.</p>
<p><strong>Independent audits are important for identifying biases in AI
systems before deployment.</strong> Auditors can systematically evaluate
datasets, models, and outputs to uncover discrimination and hold the
developers of AI systems accountable. There are several signs of bias to
look for when auditing datasets. For example, auditors can flag missing
data for certain subgroups, which indicates underrepresentation.
<em>Data skew</em>, where certain groups are misrepresented compared to
their real-world prevalence, is another sign of bias. Patterns and
correlations with protected classes could indicate illegal biases.
Auditors can also check for disparities in the model outputs. By
auditing throughout the process, developers can catch biases early,
improving data and models <em>before</em> their biases propagate. Rather
than waiting until after the system has harmful impacts, meticulous
audits should be integrated as part of the engineering and design
process for AI systems <span class="citation"
data-cites="raji2020closing">[9]</span>. Audits are especially effective
when conducted independently by organizations without a stake in the AI
system’s development, allowing for impartial and rigorous auditing
throughout the process.</p>
<p><strong>Effective model evaluation is a crucial way to reduce
bias.</strong> An important part of mitigating bias is proactively
evaluating AI systems by analyzing their outputs for biases. Models can
be tested by measuring performance metrics such as false positive and
false negative rates separately for each subgroup. For instance,
significant performance disparities between groups like men and women
can reveal unfair biases. Ongoing monitoring across demographics is
necessary to detect unintended discrimination before AI systems
negatively impact people’s lives. Without rigorous evaluation of model
outputs, harmful biases can easily go unnoticed.</p>
<p><strong>Reducing toxicity in data aims to mitigate harmful biases in
AI, but faces challenges.</strong> <em>Toxicity</em> refers to harmful
content, such as inflammatory comments or hate speech. Models trained on
unfiltered text can absorb these harmful elements. As a result, AI
models can propagate toxic content and biases if not carefully designed.
For example, language models can capture stereotypical and harmful
associations between social groups and negative attributes based on the
frequency of words occurring together. Reducing toxicity in the training
data can mitigate some biases. For example, developers can use toxicity
classifiers to clean up the internet data, using both sentiment and
manual labels to identify toxic content. However, all of these
approaches still run into major challenges and limitations. Classifiers
are still subject to social bias, evaluations can be brittle and
unreliable, and bias is often very hard to measure.</p>
<p><strong>Trade-offs can emerge between correcting one form of bias and
introducing new biases.</strong> Bias reduction methods can introduce
new biases, as classifiers have social biases, evaluations are
unreliable, and bias reduction can introduce new biases. For example,
some experiments show that an attempt to correct for toxicity in
OpenAI’s older content moderation system resulted in biased treatment
towards certain political and demographic groups: a previous system
classified negative comments about conservatives as not hateful, while
flagging the exact same comments about liberals as hateful <span
class="citation" data-cites="Rozado2023treatment">[10]</span>. It also
exhibited disparities in classifying negative comments towards different
nationalities, religions, identities, and more.<p>
In summary, biases can arise at all stages of the AI lifecycle and
compound in complicated ways. A multifaceted approach is necessary,
combining development practices, technical strategies, and governance,
to detect and reduce harmful biases in AI systems.</p>
<h3 id="conclusion">Conclusion</h3>
<p>We have discussed some of the sources of bias in AI systems, including
problems with training data, data collection processes, training environments,
and flawed objectives that AI systems optimize. Human interactions with AI systems,
such as automation bias and confirmation bias, can introduce additional biases.</p>
We can clarify which types of bias or unfairness we wish to avoid using
mathematical definitions such as statistical parity, equalized odds, and calibration.
However, there are inherent tensions and trade-offs between different notions of fairness.
There is also disagreement between stakeholders' intuitions about what constitutes fairness.</p>
Technical approaches to debiasing including predictive models and adversarial
testing are useful tools to identify and remove biases. However, improving the fairness
of AI systems requires broader sociotechnical solutions such as participatory design,
independent audits, stakeholder engagement, and gradual deployment and monitoring of AI systems.
</p>
<br>
<br>
<h3>References</h3>
<div id="refs" class="references csl-bib-body" data-entry-spacing="0"
role="list">
<div id="ref-amazon_bias" class="csl-entry" role="listitem">
<div class="csl-left-margin">[1] J.
Dastin, <span>“Amazon scraps secret AI recruiting tool that showed bias
against women.”</span> [Online]. Available: <a
href="https://www.reuters.com/article/us-amazon-com-jobs-automation-insight-idUSKCN1MK08G">https://www.reuters.com/article/us-amazon-com-jobs-automation-insight-idUSKCN1MK08G</a></div>
</div>
<div id="ref-bolukbasi2016man" class="csl-entry" role="listitem">
<div class="csl-left-margin">[2] T.
Bolukbasi, K.-W. Chang, J. Zou, V. Saligrama, and A. Kalai, <span>“Man
is to computer programmer as woman is to homemaker? Debiasing word
embeddings.”</span> 2016. Available: <a
href="https://arxiv.org/abs/1607.06520">https://arxiv.org/abs/1607.06520</a></div>
</div>
<div id="ref-zhao2017men" class="csl-entry" role="listitem">
<div class="csl-left-margin">[3] J.
Zhao, T. Wang, M. Yatskar, V. Ordonez, and K.-W. Chang, <span>“Men also
like shopping: Reducing gender bias amplification using corpus-level
constraints.”</span> 2017. Available: <a
href="https://arxiv.org/abs/1707.09457">https://arxiv.org/abs/1707.09457</a></div>
</div>
<div id="ref-gilbert2022choices" class="csl-entry" role="listitem">
<div class="csl-left-margin">[4] T.
K. Gilbert, S. Dean, T. Zick, and N. Lambert, <span>“Choices, risks, and
reward reports: Charting public policy for reinforcement learning
systems.”</span> 2022. Available: <a
href="https://arxiv.org/abs/2202.05716">https://arxiv.org/abs/2202.05716</a></div>
</div>
<div id="ref-stray2021optimizing" class="csl-entry" role="listitem">
<div class="csl-left-margin">[5] J.
Stray, I. Vendrov, J. Nixon, S. Adler, and D. Hadfield-Menell,
<span>“What are you optimizing for? Aligning recommender systems with
human values.”</span> 2021. Available: <a
href="https://arxiv.org/abs/2107.10939">https://arxiv.org/abs/2107.10939</a></div>
</div>
<div id="ref-kross2013facebook" class="csl-entry" role="listitem">
<div class="csl-left-margin">[6] E.
Kross <em>et al.</em>, <span>“Facebook use predicts declines in
subjective well-being in young adults,”</span> <em>PloS one</em>.</div>
</div>
<div id="ref-krueger2020hidden" class="csl-entry" role="listitem">
<div class="csl-left-margin">[7] D.
Krueger, T. Maharaj, and J. Leike, <span>“Hidden incentives for
auto-induced distributional shift.”</span> 2020. Available: <a
href="https://arxiv.org/abs/2009.09153">https://arxiv.org/abs/2009.09153</a></div>
</div>
<div id="ref-zhang2018mitigating" class="csl-entry" role="listitem">
<div class="csl-left-margin">[8] B.
H. Zhang, B. Lemoine, and M. Mitchell, <span>“Mitigating unwanted biases
with adversarial learning.”</span> 2018. Available: <a
href="https://arxiv.org/abs/1801.07593">https://arxiv.org/abs/1801.07593</a></div>
</div>
<div id="ref-raji2020closing" class="csl-entry" role="listitem">
<div class="csl-left-margin">[9] I.
D. Raji <em>et al.</em>, <span>“Closing the AI accountability gap:
Defining an end-to-end framework for internal algorithmic
auditing.”</span> 2020. Available: <a
href="https://arxiv.org/abs/2001.00973">https://arxiv.org/abs/2001.00973</a></div>
</div>
<div id="ref-Rozado2023treatment" class="csl-entry" role="listitem">
<div class="csl-left-margin">[10] D.
Rozado, <span>“The unequal treatment of demographic groups by
ChatGPT/OpenAI content moderation system.”</span> [Online]. Available:
<a
href="https://davidrozado.substack.com/p/openaicms">https://davidrozado.substack.com/p/openaicms</a></div>
<div id="ref-angwin2016bias" class="csl-entry" role="listitem">
<div class="csl-left-margin">[11] J.
Angwin, J. Larson, S. Mattu, and L. Kirchner, <span>“Machine
bias.”</span> [Online]. Available: <a
href="https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing">https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing</a></div>
</div>
<div id="ref-dieterich2016compas" class="csl-entry" role="listitem">
<div class="csl-left-margin">[12] W.
Dieterich, C. Mendoza, and T. Brennan, <span>“COMPAS risk scales:
Demonstrating accuracy equity and predictive parity.”</span> vol. 7, pp.
1–36, 2016.</div>
</div>
<div id="ref-harvard2017state" class="csl-entry" role="listitem">
<div class="csl-left-margin">[13] </div><div
class="csl-right-inline"><span>“State v. loomis,”</span> <em>Harvard Law
Review</em>, vol. 130, 2017.</div>
</div>
<div id="ref-corbettdavies2018measure" class="csl-entry"
role="listitem">
<div class="csl-left-margin">[14] S.
Corbett-Davies, J. D. Gaebler, H. Nilforoshan, R. Shroff, and S. Goel,
<span>“The measure and mismeasure of fairness.”</span> 2018. Available:
<a
href="https://arxiv.org/abs/1808.00023">https://arxiv.org/abs/1808.00023</a></div>
</div>
<div id="ref-chouldechova2016fair" class="csl-entry" role="listitem">
<div class="csl-left-margin">[15] A.
Chouldechova, <span>“Fair prediction with disparate impact: A study of
bias in recidivism prediction instruments.”</span> 2016. Available: <a
href="https://arxiv.org/abs/1610.07524">https://arxiv.org/abs/1610.07524</a></div>
</div>
<div id="ref-kleinberg2016inherent" class="csl-entry" role="listitem">
<div class="csl-left-margin">[16] J.
Kleinberg, S. Mullainathan, and M. Raghavan, <span>“Inherent trade-offs
in the fair determination of risk scores.”</span> 2016. Available: <a
href="https://arxiv.org/abs/1609.05807">https://arxiv.org/abs/1609.05807</a></div>
</div>
<div id="ref-zahn2009cost" class="csl-entry" role="listitem">
<div class="csl-left-margin">[17] M.
von Zahn and S. Feuerrigel, <span>“The cost of fairness in AI: Evidence
from e-commerce,”</span> <em>Business and Information Systems
Engineering</em>, vol. 64, 2009, doi: <a
href="https://doi.org/10.1007/s12599-021-00716-w">10.1007/s12599-021-00716-w</a>.</div>
</div>
<div id="ref-biswas2020machine" class="csl-entry" role="listitem">
<div class="csl-left-margin">[18] S.
Biswas and H. Rajan, <span>“Do the machine learning models on a crowd
sourced platform exhibit bias? An empirical study on model
fairness,”</span> in <em>Proceedings of the 28th <span>ACM</span> joint
meeting on european software engineering conference and symposium on the
foundations of software engineering</em>, <span>ACM</span>, Nov. 2020.
doi: <a
href="https://doi.org/10.1145/3368089.3409704">10.1145/3368089.3409704</a>.</div>
</div>
<div id="ref-poulain2023improving" class="csl-entry" role="listitem">
<div class="csl-left-margin">[19] R.
Poulain, M. F. B. Tarek, and R. Beheshti, <span>“Improving fairness in
AI models on electronic health records: The case for federated learning
methods,”</span> 2023. Available: <a
href="https://arxiv.org/abs/2305.11386">https://arxiv.org/abs/2305.11386</a></div>
</div>
<div id="ref-calderone1990influence" class="csl-entry" role="listitem">
<div class="csl-left-margin">[20] K.
L. Calderone, <span>“The influence of gender on the frequency of pain
and sedative medication administered to postoperative patients,”</span>
<em>Sex Roles</em>, vol. 23, pp. 713–725, 1990, Available: <a
href="https://doi.org/10.1007/bf00289259">https://doi.org/10.1007/bf00289259</a></div>
</div>
<div id="ref-rodriguez-castro2014female" class="csl-entry"
role="listitem">
<div class="csl-left-margin">[21] K.
I. Rodríguez-Castro, E. D. Martin, M. Gambato, S. Lazzaro, E. Villa, and
P. Burra, <span>“Female gender in the setting of liver
transplantation,”</span> <em>World J Transplant</em>, vol. 4, 2014, doi:
<a
href="https://doi.org/10.5500/wjt.v4.i4.229">10.5500/wjt.v4.i4.229</a>.</div>
</div>
<div id="ref-Straw2022" class="csl-entry" role="listitem">
<div class="csl-left-margin">[22] I.
Straw and H. Wu, <span>“Investigating for bias in healthcare algorithms:
A sex-stratified analysis of supervised machine learning models in liver
disease prediction,”</span> <em>BMJ Health & Care Informatics</em>,
vol. 29, p. 100457, Apr. 2022, doi: <a
href="https://doi.org/10.1136/bmjhci-2021-100457">10.1136/bmjhci-2021-100457</a>.</div>
</div>
<div id="ref-lee2018understanding" class="csl-entry" role="listitem">
<div class="csl-left-margin">[23] M.
K. Lee, <span>“Understanding perception of algorithmic decisions:
Fairness, trust, and emotion in response to algorithmic
management,”</span> <em>Big Data & Society</em>, vol. 5, 2018,
Available: <a
href="https://api.semanticscholar.org/CorpusID:149040922">https://api.semanticscholar.org/CorpusID:149040922</a></div>
</div>
<div id="ref-harrison2020emperical" class="csl-entry" role="listitem">
<div class="csl-left-margin">[24] G.
Harrison, J. Hanson, C. Jacinto, J. Ramirez, and B. Ur, <span>“An
empirical study on the perceived fairness of realistic, imperfect
machine learning models,”</span> Jan. 2020, pp. 392–402. doi: <a
href="https://doi.org/10.1145/3351095.3372831">10.1145/3351095.3372831</a>.</div>
</div>
</div>