SlideShare a Scribd company logo
1 of 83
Download to read offline
Full Stack Deep Learning - UC Berkeley Spring 2021 - Sergey Karayev, Josh Tobin, Pieter Abbeel
Ethics
Full Stack Deep Learning - UC Berkeley Spring 2021
Preamble
• This is a huge subject, spanning many disciplines and addressing many
real different problems.

• We, ML practitioners, need to have a student mindset, and not assume we
have the answers. These are not easy problems.

• I am not an expert. Excellent resources recommended at the end.
2
Full Stack Deep Learning - UC Berkeley Spring 2021
Tech Ethics Curricula
• 115 university tech ethics courses analyzed

• Huge variation in materials

• More consensus in outcomes: ability to critique, spot issues, and make and
communicate arguments.
3
SIGCSE 2020
Full Stack Deep Learning - UC Berkeley Spring 2021
One last preamble
4
https://www.newyorker.com/books/page-turner/this-is-water
Full Stack Deep Learning - UC Berkeley Spring 2021
Outline
• What is ethics

• Long-term ethical problems in AI

• Near-term ethical problems in AI

• Best practices

• Where to learn more
5
Full Stack Deep Learning - UC Berkeley Spring 2021
What is ethics
6
Full Stack Deep Learning - UC Berkeley Spring 2021
Ethics?
7
Ethics ≠ Feelings Ethics ≠ Laws Ethics ≠ Societal Beliefs
https://www.scu.edu/ethics/ethics-resources/ethical-decision-making/what-is-ethics/
Full Stack Deep Learning - UC Berkeley Spring 2021
Ethical Theories
8
https://kevinbinz.com/2017/04/13/ethical-theory-intro/
Divine Command
- Moral behaviors are
those commanded
by the divine

- Criticism: not much
philosophy can say
Virtue Ethics
- Moral behaviors
uphold the person's
virtues

- Criticism: increasing
evidence that
character traits are
illusory
Deontology (Duty)
- Moral behaviors are
those that satisfy the
categorical
imperative (e.g. don't
lie, don't kill)

- Criticism:
unacceptable
inflexibility
Utilitarianism
- Moral behaviors are
those that bring the
most good to the
most people

- Criticism: How to
measure utility?
Full Stack Deep Learning - UC Berkeley Spring 2021
Is one a clear winner?
• Professional philosophers are just about evenly split between these
9
https://philpapers.org/surveys/results.pl
Full Stack Deep Learning - UC Berkeley Spring 2021
Intuition through "Trolley Problems"
10
Full Stack Deep Learning - UC Berkeley Spring 2021
Trolley Problems
11
Full Stack Deep Learning - UC Berkeley Spring 2021
Ethical Theories
12
https://www.researchgate.net/figure/Summary-of-major-ethical-theories_tbl2_229658531
Full Stack Deep Learning - UC Berkeley Spring 2021
Ethics of Technology
• Ethics change with technological progress

• e.g. Industrial revolution

• e.g. Right to Internet access

• e.g. Birth control, surrogate pregnancy, embryo selection,
artificial womb

• e.g. Lab-grown meat
13
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
14
Full Stack Deep Learning - UC Berkeley Spring 2021
Long-term problems
15
Full Stack Deep Learning - UC Berkeley Spring 2021
Autonomous Weapons
• Tempting to dismiss as far-fetched at this
time

• But "the future is already here, just not evenly
distributed"
16
Full Stack Deep Learning - UC Berkeley Spring 2021
Replacing human labor
• AI and robots replacing humans in
existing jobs

• Good and bad!

• Interesting spin: AI controlling human
labor
17
Sfdpnnfoefe!
tipsu!tupsz
Full Stack Deep Learning - UC Berkeley Spring 2021
Replacing humans entirely
18
Full Stack Deep Learning - UC Berkeley Spring 2021
What's common in all these
long-term problems?
19
Full Stack Deep Learning - UC Berkeley Spring 2021
Alignment
• "Paperclip maximizer": AGI given the goal of producing paperclips
eventually turns every atom in space into paperclips

• Old lesson: establishing and communicating our goals and values is hard,
and technology amplifies the difficulty
20
Full Stack Deep Learning - UC Berkeley Spring 2021
Guiding principle:
AI systems we build need to be
aligned with our goals and values
21
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
22
Full Stack Deep Learning - UC Berkeley Spring 2021
Deep topic
• Active area of research (active at Berkeley)

• Useful lens for near-term problems, too
23
Full Stack Deep Learning - UC Berkeley Spring 2021
Near-term problems
24
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
25
Full Stack Deep Learning - UC Berkeley Spring 2021
26
https://www.reuters.com/article/us-amazon-com-jobs-automation-insight/amazon-scraps-secret-ai-recruiting-tool-that-showed-bias-
against-women-idUSKCN1MK08G
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume
27
ML Model
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume
28
ML Model
Data
Ijsjoh!efdjtjpot@!
Ps!kpc!qfsgpsnbodf@
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume
29
ML Model
Data
World
Lopxo!up!cf!cjbtfe!jo!nboz!xbzt;!
.!ijsjoh!qjqfmjof!
.!ijsjoh!efdjtjpot!
.!qfsgpsnbodf!sbujoht
Tp!op!nbuufs!xibu!xf!qjdl-!
pvs!ebub!jt!bmtp!cjbtfe
Uifsfgpsf!pvs!
npefm!jt!cjbtfe
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume
30
Action
Tpvsdjoh@!Epvcmf.difdljoh!ivnbo!
efdjtjpo@!Ijsjoh@
ML Model
Data
World
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume
31
Action
Jo!nboz!dbtft-!bnqmjgzjoh!
fyjtujoh!cjbtft"
ML Model
Data
World
Full Stack Deep Learning - UC Berkeley Spring 2021
Hiring
• ML model to predict hiring decision given a resume

• Amplifying existing biases is not aligned with our goals and values!
32
Action
Jo!nboz!dbtft-!bnqmjgzjoh!
fyjtujoh!cjbtft"
ML Model
Data
World
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
33
Full Stack Deep Learning - UC Berkeley Spring 2021
Fairness
34
Full Stack Deep Learning - UC Berkeley Spring 2021
COMPAS
• Goal: predict recidivism, such that judges can consult 1-10 score in pre-trial
sentencing decisions.

• Motivation: be less biased than humans

• Solution:

• Gather data

• Exclude protected class attributes (race, etc)

• Ensure that our model's score corresponds to same probability of
recidivism across all groups
35
Correctional Offender Management Profiling for Alternative Sanctions
Full Stack Deep Learning - UC Berkeley Spring 2021
And yet!
36
https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing
Full Stack Deep Learning - UC Berkeley Spring 2021
21 Fairness Definitions
37
Aravind Narayanan - 21 Fairness Definitions
🙏
Full Stack Deep Learning - UC Berkeley Spring 2021
Statistical Bias
• Statistical bias: Difference between estimator's
expected value and the true value

• In this sense, COMPAS scores are not biased,
w.r.t re-arrest

• But is it an adequate fairness criterion? Is it
aligned with our values?
38
https://www.washingtonpost.com/news/monkey-cage/wp/2016/10/17/can-an-algorithm-be-racist-our-analysis-is-more-cautious-
than-propublicas/
Jnqpsubou!dbwfbu"!Xf!pomz!
ibwf!ebub!gps!bssftut-!opu!
dsjnft!dpnnjuufe/!Uifsf!nbz!
xfmm!cf!cjbt!jo!bssftut/
Full Stack Deep Learning - UC Berkeley Spring 2021
Different perspectives on fairness
• What do different stakeholders want from the
classifier?

• Decision-maker: of those I've labeled high risk,
how many recidivated?

• Predictive value: TP / (TP + FP)

• Defendant: what's the probability I'll be incorrectly
classified as high risk?

• False positive rate: FP / (FP + TN)

• Society: is the selected set demographically
balanced? 

• Demographic parity
39
Aravind Narayanan - 21 Fairness Definitions
Full Stack Deep Learning - UC Berkeley Spring 2021
Group Fairness
• Do outcomes differ between
groups (e.g. demographic), which
we have no reason to believe are
actually different?

• Motivation of the Pro-Publica
article
40
Aravind Narayanan - 21 Fairness Definitions
Gbmtf!
Qptjujwf
Gbmtf!
Ofhbujwf
Full Stack Deep Learning - UC Berkeley Spring 2021
No "correct" group fairness definition
41
Aravind Narayanan - 21 Fairness Definitions
Full Stack Deep Learning - UC Berkeley Spring 2021
It gets worse...
• Okay, then let's just pick most important
two metrics (FPR and FNR), and allow the
model to use protected class attributes.

• Now we fail individual fairness ->

• Fine, let's just pick one! (e.g. equal FPR)

• We still sacrifice some utility (e.g. public
safety, or number of defendants released)
42
Aravind Narayanan - 21 Fairness Definitions
Full Stack Deep Learning - UC Berkeley Spring 2021
Interactive Example
43
https://research.google.com/bigpicture/attacking-discrimination-in-ml/
Full Stack Deep Learning - UC Berkeley Spring 2021
By the way...
44
Aravind Narayanan - 21 Fairness Definitions
Full Stack Deep Learning - UC Berkeley Spring 2021
Trade-offs
45
Aravind Narayanan - 21 Fairness Definitions
Full Stack Deep Learning - UC Berkeley Spring 2021
Seeing the water
46
Full Stack Deep Learning - UC Berkeley Spring 2021
47
https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
Full Stack Deep Learning - UC Berkeley Spring 2021
48
https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
Full Stack Deep Learning - UC Berkeley Spring 2021
49
https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
50
Full Stack Deep Learning - UC Berkeley Spring 2021
Representation
51
Full Stack Deep Learning - UC Berkeley Spring 2021
Representation
52
https://twitter.com/nke_ise/status/897756900753891328
Full Stack Deep Learning - UC Berkeley Spring 2021
Not a new problem, sadly
53
Full Stack Deep Learning - UC Berkeley Spring 2021
...or a problem in just our field
54
Recent improvement!
Full Stack Deep Learning - UC Berkeley Spring 2021
Large part of the solution
55
https://www.nytimes.com/2021/03/15/technology/artificial-intelligence-google-bias.html
Full Stack Deep Learning - UC Berkeley Spring 2021
Another example
56
Recent improvement!
Full Stack Deep Learning - UC Berkeley Spring 2021
Translation
57
Aravind Narayanan - 21 Fairness Definitions
Recent improvement!
Full Stack Deep Learning - UC Berkeley Spring 2021
Word Embeddings
• Word2Vec introduced vector
math on word embeddings

• Reveal harmful biases
encoded in our language
corpora

• Potential solution: de-bias at
training time, but at least
make user aware
58
Full Stack Deep Learning - UC Berkeley Spring 2021
GPT-3
59
Full Stack Deep Learning - UC Berkeley Spring 2021
Recent Language Models
• Paper apparently led to
authors being fired by
Google
60
http://faculty.washington.edu/ebender/papers/Stochastic_Parrots.pdf
Full Stack Deep Learning - UC Berkeley Spring 2021
Seeing the water
• Whether language models should reflect the world as it is in the data, or
as society believes it should be, depends on what use they are applied to.

• And when we do want them to reflect the world as it should be, do we
agree on what that is?
61
Full Stack Deep Learning - UC Berkeley Spring 2021
Face Recognition
• Old context: no expectation of
privacy in public

• New context: "in public" now
means "on any street in any city, or
on any website on the internet"

• Is it ethical to work on this?

• Is it a problem if it does not work as
well on some ethnicities?
62
https://fairmlbook.org/introduction.html
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
63
Full Stack Deep Learning - UC Berkeley Spring 2021
Best practices
64
Full Stack Deep Learning - UC Berkeley Spring 2021
What do practitioners need?
65
• support in fairness-aware data collection and
curation

• overcoming teams’ blind spots

• implementing more proactive fairness auditing
processes

• auditing complex ML systems

• deciding how to address particular instances of
unfairness

• addressing biases in the humans embedded
throughout the ML development pipeline
2019
Full Stack Deep Learning - UC Berkeley Spring 2021
Some suggestions
• Ethical risk sweeping

treat like cybersecurity penetration testing

• Expanding the ethical circle

whose interests, desires, experiences, values have we just assumed instead of
consulted? 

• Think about the terrible people

Who might abuse, steal, weaponize what we build? What incentives are we
creating?

• Closing the loop

Remember that this is not a process to complete and forget. Set up ways to keep
improving.
66
https://www.youtube.com/watch?v=av7utkFXbU4
Full Stack Deep Learning - UC Berkeley Spring 2021
Model Cards
67
https://modelcards.withgoogle.com/face-detection
Full Stack Deep Learning - UC Berkeley Spring 2021
Bias Audit
68
http://www.datasciencepublicpolicy.org/projects/aequitas/
Full Stack Deep Learning - UC Berkeley Spring 2021
69
http://www.datasciencepublicpolicy.org/projects/aequitas/
Full Stack Deep Learning - UC Berkeley Spring 2021
70
AI bias is rooted in societal inequities,
manifested in data, and amplified by AI.
Unbiased societal AI is an impossible goal
for a single project to achieve, but greatly
mitigating its harmful effects is not.
Visualization courtesy of Eric Wang
Full Stack Deep Learning - UC Berkeley Spring 2021
71
Build a diverse AI team to bring lived
experience to their work
Display insights about bias contextually and
intuitively in product
Make AI fairness and transparency a key
component of our work
Visualization courtesy of Eric Wang
Full Stack Deep Learning - UC Berkeley Spring 2021
A professional code of ethics?
72
Full Stack Deep Learning - UC Berkeley Spring 2021
Medicine
73
Full Stack Deep Learning - UC Berkeley Spring 2021
Armed Forces
74
Full Stack Deep Learning - UC Berkeley Spring 2021
75
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
76
Full Stack Deep Learning - UC Berkeley Spring 2021
Learn more
77
Full Stack Deep Learning - UC Berkeley Spring 2021
Experts
• Practical Data Ethics course from Rachel
Thomas: https://ethics.fast.ai

• Single lecture from Fast.ai 2020 course: https://
www.youtube.com/watch?v=krIVOb23EH8
78
Full Stack Deep Learning - UC Berkeley Spring 2021 79
https://fairmlbook.org
Full Stack Deep Learning - UC Berkeley Spring 2021
80
https://dssg.github.io/fairness_tutorial/
Full Stack Deep Learning - UC Berkeley Spring 2021
81
Full Stack Deep Learning - UC Berkeley Spring 2021
82
Full Stack Deep Learning - UC Berkeley Spring 2021
Thank you!
83

More Related Content

What's hot

Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)
Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)
Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)Sergey Karayev
 
Test-Driven Machine Learning
Test-Driven Machine LearningTest-Driven Machine Learning
Test-Driven Machine LearningC4Media
 
Testing and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep LearningTesting and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep LearningSergey Karayev
 
Data Management - Full Stack Deep Learning
Data Management - Full Stack Deep LearningData Management - Full Stack Deep Learning
Data Management - Full Stack Deep LearningSergey Karayev
 
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021Sergey Karayev
 
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021Sergey Karayev
 
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021Sergey Karayev
 
Enabling Congestion Control Using Homogeneous Archetypes
Enabling Congestion Control Using Homogeneous ArchetypesEnabling Congestion Control Using Homogeneous Archetypes
Enabling Congestion Control Using Homogeneous ArchetypesJames Johnson
 
Deep learning with Keras
Deep learning with KerasDeep learning with Keras
Deep learning with KerasQuantUniversity
 

What's hot (13)

Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)
Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)
Lecture 4: Transformers (Full Stack Deep Learning - Spring 2021)
 
Test-Driven Machine Learning
Test-Driven Machine LearningTest-Driven Machine Learning
Test-Driven Machine Learning
 
Testing and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep LearningTesting and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep Learning
 
Data Management - Full Stack Deep Learning
Data Management - Full Stack Deep LearningData Management - Full Stack Deep Learning
Data Management - Full Stack Deep Learning
 
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021
Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021
 
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021
Lecture 3: RNNs - Full Stack Deep Learning - Spring 2021
 
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021
Lecture 2.A: Convolutional Networks - Full Stack Deep Learning - Spring 2021
 
On Impact in Software Engineering Research (HU Berlin 2021)
On Impact in Software Engineering Research (HU Berlin 2021)On Impact in Software Engineering Research (HU Berlin 2021)
On Impact in Software Engineering Research (HU Berlin 2021)
 
On impact in Software Engineering Research (ICSE 2018 New Faculty Symposium)
On impact in Software Engineering Research (ICSE 2018 New Faculty Symposium)On impact in Software Engineering Research (ICSE 2018 New Faculty Symposium)
On impact in Software Engineering Research (ICSE 2018 New Faculty Symposium)
 
On Impact in Software Engineering Research (Dagstuhl 2020)
On Impact in Software Engineering Research (Dagstuhl 2020)On Impact in Software Engineering Research (Dagstuhl 2020)
On Impact in Software Engineering Research (Dagstuhl 2020)
 
On Impact in Software Engineering Research
On Impact in Software Engineering ResearchOn Impact in Software Engineering Research
On Impact in Software Engineering Research
 
Enabling Congestion Control Using Homogeneous Archetypes
Enabling Congestion Control Using Homogeneous ArchetypesEnabling Congestion Control Using Homogeneous Archetypes
Enabling Congestion Control Using Homogeneous Archetypes
 
Deep learning with Keras
Deep learning with KerasDeep learning with Keras
Deep learning with Keras
 

Similar to Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)

Korean mooc presentation may 2015
Korean mooc presentation may 2015Korean mooc presentation may 2015
Korean mooc presentation may 2015Kyle Peck
 
Wilczewski iced report to nasa at ksc on 20180609 f
Wilczewski iced report to nasa at ksc on 20180609 fWilczewski iced report to nasa at ksc on 20180609 f
Wilczewski iced report to nasa at ksc on 20180609 fRich Wilczewski
 
Implementing Open Badges in Three Preservice Teacher Education Programs 2015
Implementing Open Badges in Three Preservice Teacher Education Programs 2015Implementing Open Badges in Three Preservice Teacher Education Programs 2015
Implementing Open Badges in Three Preservice Teacher Education Programs 2015Dan Randall
 
DSL for Leadership Education
DSL for Leadership EducationDSL for Leadership Education
DSL for Leadership EducationAdam Jessep
 
Uconn Coiro Assessment 2008
Uconn Coiro Assessment 2008Uconn Coiro Assessment 2008
Uconn Coiro Assessment 2008Julie Coiro
 
Data Science Reinvents Learning?
Data Science Reinvents Learning?Data Science Reinvents Learning?
Data Science Reinvents Learning?Paco Nathan
 
What will they need? Pre-assessment techniques for instruction session.
What will they need?  Pre-assessment techniques for instruction session.What will they need?  Pre-assessment techniques for instruction session.
What will they need? Pre-assessment techniques for instruction session.gwenexner
 
"Discussion boards don’t work": Evaluation of a course blog for teaching with...
"Discussion boards don’t work": Evaluation of a course blog for teaching with..."Discussion boards don’t work": Evaluation of a course blog for teaching with...
"Discussion boards don’t work": Evaluation of a course blog for teaching with...Chris Willmott
 
Predicting Potential Responders in Twitter: A Query Routing Algorithm
Predicting Potential Responders in Twitter: A Query Routing AlgorithmPredicting Potential Responders in Twitter: A Query Routing Algorithm
Predicting Potential Responders in Twitter: A Query Routing AlgorithmJonathas Magalhães
 
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3Dr. Aparna Varde
 
Non-Traditional Assessment and Inclusivity in Physics Teaching
Non-Traditional Assessment and Inclusivity in Physics TeachingNon-Traditional Assessment and Inclusivity in Physics Teaching
Non-Traditional Assessment and Inclusivity in Physics TeachingFlip Tanedo
 
Learning Analytics: Realizing their Promise in the California State University
Learning Analytics:  Realizing their Promise in the California State UniversityLearning Analytics:  Realizing their Promise in the California State University
Learning Analytics: Realizing their Promise in the California State UniversityJohn Whitmer, Ed.D.
 
Technological Accessibility: Learning Platform Among Senior High School Students
Technological Accessibility: Learning Platform Among Senior High School StudentsTechnological Accessibility: Learning Platform Among Senior High School Students
Technological Accessibility: Learning Platform Among Senior High School StudentsLoc Nguyen
 
Scientific expertise; what it is and how it relates to scientific critical th...
Scientific expertise; what it is and how it relates to scientific critical th...Scientific expertise; what it is and how it relates to scientific critical th...
Scientific expertise; what it is and how it relates to scientific critical th...EduSkills OECD
 
Addictive links, Keynote talk at WWW 2014 workshop
Addictive links, Keynote talk at WWW 2014 workshopAddictive links, Keynote talk at WWW 2014 workshop
Addictive links, Keynote talk at WWW 2014 workshopPeter Brusilovsky
 
Cutting the Commute: Assess Authentically and Still Arrive on Time
Cutting the Commute:  Assess Authentically and Still Arrive on TimeCutting the Commute:  Assess Authentically and Still Arrive on Time
Cutting the Commute: Assess Authentically and Still Arrive on TimeToni Carter
 
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...Simon Bates
 
Collaborative Metric Learning (WWW'17)
Collaborative Metric Learning (WWW'17)Collaborative Metric Learning (WWW'17)
Collaborative Metric Learning (WWW'17)承剛 謝
 

Similar to Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021) (20)

Korean mooc presentation may 2015
Korean mooc presentation may 2015Korean mooc presentation may 2015
Korean mooc presentation may 2015
 
Wilczewski iced report to nasa at ksc on 20180609 f
Wilczewski iced report to nasa at ksc on 20180609 fWilczewski iced report to nasa at ksc on 20180609 f
Wilczewski iced report to nasa at ksc on 20180609 f
 
Implementing Open Badges in Three Preservice Teacher Education Programs 2015
Implementing Open Badges in Three Preservice Teacher Education Programs 2015Implementing Open Badges in Three Preservice Teacher Education Programs 2015
Implementing Open Badges in Three Preservice Teacher Education Programs 2015
 
DSL for Leadership Education
DSL for Leadership EducationDSL for Leadership Education
DSL for Leadership Education
 
Learning Analytics BETT2013
Learning Analytics BETT2013Learning Analytics BETT2013
Learning Analytics BETT2013
 
Uconn Coiro Assessment 2008
Uconn Coiro Assessment 2008Uconn Coiro Assessment 2008
Uconn Coiro Assessment 2008
 
Data Science Reinvents Learning?
Data Science Reinvents Learning?Data Science Reinvents Learning?
Data Science Reinvents Learning?
 
What will they need? Pre-assessment techniques for instruction session.
What will they need?  Pre-assessment techniques for instruction session.What will they need?  Pre-assessment techniques for instruction session.
What will they need? Pre-assessment techniques for instruction session.
 
"Discussion boards don’t work": Evaluation of a course blog for teaching with...
"Discussion boards don’t work": Evaluation of a course blog for teaching with..."Discussion boards don’t work": Evaluation of a course blog for teaching with...
"Discussion boards don’t work": Evaluation of a course blog for teaching with...
 
Predicting Potential Responders in Twitter: A Query Routing Algorithm
Predicting Potential Responders in Twitter: A Query Routing AlgorithmPredicting Potential Responders in Twitter: A Query Routing Algorithm
Predicting Potential Responders in Twitter: A Query Routing Algorithm
 
Social Network Analysis Applications and Approach
Social Network Analysis Applications and ApproachSocial Network Analysis Applications and Approach
Social Network Analysis Applications and Approach
 
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3
Information to Wisdom: Commonsense Knowledge Extraction and Compilation - Part 3
 
Non-Traditional Assessment and Inclusivity in Physics Teaching
Non-Traditional Assessment and Inclusivity in Physics TeachingNon-Traditional Assessment and Inclusivity in Physics Teaching
Non-Traditional Assessment and Inclusivity in Physics Teaching
 
Learning Analytics: Realizing their Promise in the California State University
Learning Analytics:  Realizing their Promise in the California State UniversityLearning Analytics:  Realizing their Promise in the California State University
Learning Analytics: Realizing their Promise in the California State University
 
Technological Accessibility: Learning Platform Among Senior High School Students
Technological Accessibility: Learning Platform Among Senior High School StudentsTechnological Accessibility: Learning Platform Among Senior High School Students
Technological Accessibility: Learning Platform Among Senior High School Students
 
Scientific expertise; what it is and how it relates to scientific critical th...
Scientific expertise; what it is and how it relates to scientific critical th...Scientific expertise; what it is and how it relates to scientific critical th...
Scientific expertise; what it is and how it relates to scientific critical th...
 
Addictive links, Keynote talk at WWW 2014 workshop
Addictive links, Keynote talk at WWW 2014 workshopAddictive links, Keynote talk at WWW 2014 workshop
Addictive links, Keynote talk at WWW 2014 workshop
 
Cutting the Commute: Assess Authentically and Still Arrive on Time
Cutting the Commute:  Assess Authentically and Still Arrive on TimeCutting the Commute:  Assess Authentically and Still Arrive on Time
Cutting the Commute: Assess Authentically and Still Arrive on Time
 
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...
Keynote lecture at 2016 NTU Learning and Teaching Seminar - Students as Partn...
 
Collaborative Metric Learning (WWW'17)
Collaborative Metric Learning (WWW'17)Collaborative Metric Learning (WWW'17)
Collaborative Metric Learning (WWW'17)
 

More from Sergey Karayev

Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)Sergey Karayev
 
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)Sergey Karayev
 
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Sergey Karayev
 
Machine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep LearningMachine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep LearningSergey Karayev
 
Setting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep LearningSetting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep LearningSergey Karayev
 
Research Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep LearningResearch Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep LearningSergey Karayev
 
Infrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep LearningInfrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep LearningSergey Karayev
 
AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019Sergey Karayev
 
Attentional Object Detection - introductory slides.
Attentional Object Detection - introductory slides.Attentional Object Detection - introductory slides.
Attentional Object Detection - introductory slides.Sergey Karayev
 

More from Sergey Karayev (9)

Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
 
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
 
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
 
Machine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep LearningMachine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep Learning
 
Setting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep LearningSetting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep Learning
 
Research Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep LearningResearch Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep Learning
 
Infrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep LearningInfrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep Learning
 
AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019
 
Attentional Object Detection - introductory slides.
Attentional Object Detection - introductory slides.Attentional Object Detection - introductory slides.
Attentional Object Detection - introductory slides.
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)

  • 1. Full Stack Deep Learning - UC Berkeley Spring 2021 - Sergey Karayev, Josh Tobin, Pieter Abbeel Ethics
  • 2. Full Stack Deep Learning - UC Berkeley Spring 2021 Preamble • This is a huge subject, spanning many disciplines and addressing many real different problems. • We, ML practitioners, need to have a student mindset, and not assume we have the answers. These are not easy problems. • I am not an expert. Excellent resources recommended at the end. 2
  • 3. Full Stack Deep Learning - UC Berkeley Spring 2021 Tech Ethics Curricula • 115 university tech ethics courses analyzed • Huge variation in materials • More consensus in outcomes: ability to critique, spot issues, and make and communicate arguments. 3 SIGCSE 2020
  • 4. Full Stack Deep Learning - UC Berkeley Spring 2021 One last preamble 4 https://www.newyorker.com/books/page-turner/this-is-water
  • 5. Full Stack Deep Learning - UC Berkeley Spring 2021 Outline • What is ethics • Long-term ethical problems in AI • Near-term ethical problems in AI • Best practices • Where to learn more 5
  • 6. Full Stack Deep Learning - UC Berkeley Spring 2021 What is ethics 6
  • 7. Full Stack Deep Learning - UC Berkeley Spring 2021 Ethics? 7 Ethics ≠ Feelings Ethics ≠ Laws Ethics ≠ Societal Beliefs https://www.scu.edu/ethics/ethics-resources/ethical-decision-making/what-is-ethics/
  • 8. Full Stack Deep Learning - UC Berkeley Spring 2021 Ethical Theories 8 https://kevinbinz.com/2017/04/13/ethical-theory-intro/ Divine Command - Moral behaviors are those commanded by the divine - Criticism: not much philosophy can say Virtue Ethics - Moral behaviors uphold the person's virtues - Criticism: increasing evidence that character traits are illusory Deontology (Duty) - Moral behaviors are those that satisfy the categorical imperative (e.g. don't lie, don't kill) - Criticism: unacceptable inflexibility Utilitarianism - Moral behaviors are those that bring the most good to the most people - Criticism: How to measure utility?
  • 9. Full Stack Deep Learning - UC Berkeley Spring 2021 Is one a clear winner? • Professional philosophers are just about evenly split between these 9 https://philpapers.org/surveys/results.pl
  • 10. Full Stack Deep Learning - UC Berkeley Spring 2021 Intuition through "Trolley Problems" 10
  • 11. Full Stack Deep Learning - UC Berkeley Spring 2021 Trolley Problems 11
  • 12. Full Stack Deep Learning - UC Berkeley Spring 2021 Ethical Theories 12 https://www.researchgate.net/figure/Summary-of-major-ethical-theories_tbl2_229658531
  • 13. Full Stack Deep Learning - UC Berkeley Spring 2021 Ethics of Technology • Ethics change with technological progress • e.g. Industrial revolution • e.g. Right to Internet access • e.g. Birth control, surrogate pregnancy, embryo selection, artificial womb • e.g. Lab-grown meat 13
  • 14. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 14
  • 15. Full Stack Deep Learning - UC Berkeley Spring 2021 Long-term problems 15
  • 16. Full Stack Deep Learning - UC Berkeley Spring 2021 Autonomous Weapons • Tempting to dismiss as far-fetched at this time • But "the future is already here, just not evenly distributed" 16
  • 17. Full Stack Deep Learning - UC Berkeley Spring 2021 Replacing human labor • AI and robots replacing humans in existing jobs • Good and bad! • Interesting spin: AI controlling human labor 17 Sfdpnnfoefe! tipsu!tupsz
  • 18. Full Stack Deep Learning - UC Berkeley Spring 2021 Replacing humans entirely 18
  • 19. Full Stack Deep Learning - UC Berkeley Spring 2021 What's common in all these long-term problems? 19
  • 20. Full Stack Deep Learning - UC Berkeley Spring 2021 Alignment • "Paperclip maximizer": AGI given the goal of producing paperclips eventually turns every atom in space into paperclips • Old lesson: establishing and communicating our goals and values is hard, and technology amplifies the difficulty 20
  • 21. Full Stack Deep Learning - UC Berkeley Spring 2021 Guiding principle: AI systems we build need to be aligned with our goals and values 21
  • 22. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 22
  • 23. Full Stack Deep Learning - UC Berkeley Spring 2021 Deep topic • Active area of research (active at Berkeley) • Useful lens for near-term problems, too 23
  • 24. Full Stack Deep Learning - UC Berkeley Spring 2021 Near-term problems 24
  • 25. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring 25
  • 26. Full Stack Deep Learning - UC Berkeley Spring 2021 26 https://www.reuters.com/article/us-amazon-com-jobs-automation-insight/amazon-scraps-secret-ai-recruiting-tool-that-showed-bias- against-women-idUSKCN1MK08G
  • 27. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume 27 ML Model
  • 28. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume 28 ML Model Data Ijsjoh!efdjtjpot@! Ps!kpc!qfsgpsnbodf@
  • 29. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume 29 ML Model Data World Lopxo!up!cf!cjbtfe!jo!nboz!xbzt;! .!ijsjoh!qjqfmjof! .!ijsjoh!efdjtjpot! .!qfsgpsnbodf!sbujoht Tp!op!nbuufs!xibu!xf!qjdl-! pvs!ebub!jt!bmtp!cjbtfe Uifsfgpsf!pvs! npefm!jt!cjbtfe
  • 30. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume 30 Action Tpvsdjoh@!Epvcmf.difdljoh!ivnbo! efdjtjpo@!Ijsjoh@ ML Model Data World
  • 31. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume 31 Action Jo!nboz!dbtft-!bnqmjgzjoh! fyjtujoh!cjbtft" ML Model Data World
  • 32. Full Stack Deep Learning - UC Berkeley Spring 2021 Hiring • ML model to predict hiring decision given a resume • Amplifying existing biases is not aligned with our goals and values! 32 Action Jo!nboz!dbtft-!bnqmjgzjoh! fyjtujoh!cjbtft" ML Model Data World
  • 33. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 33
  • 34. Full Stack Deep Learning - UC Berkeley Spring 2021 Fairness 34
  • 35. Full Stack Deep Learning - UC Berkeley Spring 2021 COMPAS • Goal: predict recidivism, such that judges can consult 1-10 score in pre-trial sentencing decisions. • Motivation: be less biased than humans • Solution: • Gather data • Exclude protected class attributes (race, etc) • Ensure that our model's score corresponds to same probability of recidivism across all groups 35 Correctional Offender Management Profiling for Alternative Sanctions
  • 36. Full Stack Deep Learning - UC Berkeley Spring 2021 And yet! 36 https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing
  • 37. Full Stack Deep Learning - UC Berkeley Spring 2021 21 Fairness Definitions 37 Aravind Narayanan - 21 Fairness Definitions 🙏
  • 38. Full Stack Deep Learning - UC Berkeley Spring 2021 Statistical Bias • Statistical bias: Difference between estimator's expected value and the true value • In this sense, COMPAS scores are not biased, w.r.t re-arrest • But is it an adequate fairness criterion? Is it aligned with our values? 38 https://www.washingtonpost.com/news/monkey-cage/wp/2016/10/17/can-an-algorithm-be-racist-our-analysis-is-more-cautious- than-propublicas/ Jnqpsubou!dbwfbu"!Xf!pomz! ibwf!ebub!gps!bssftut-!opu! dsjnft!dpnnjuufe/!Uifsf!nbz! xfmm!cf!cjbt!jo!bssftut/
  • 39. Full Stack Deep Learning - UC Berkeley Spring 2021 Different perspectives on fairness • What do different stakeholders want from the classifier? • Decision-maker: of those I've labeled high risk, how many recidivated? • Predictive value: TP / (TP + FP) • Defendant: what's the probability I'll be incorrectly classified as high risk? • False positive rate: FP / (FP + TN) • Society: is the selected set demographically balanced? • Demographic parity 39 Aravind Narayanan - 21 Fairness Definitions
  • 40. Full Stack Deep Learning - UC Berkeley Spring 2021 Group Fairness • Do outcomes differ between groups (e.g. demographic), which we have no reason to believe are actually different? • Motivation of the Pro-Publica article 40 Aravind Narayanan - 21 Fairness Definitions Gbmtf! Qptjujwf Gbmtf! Ofhbujwf
  • 41. Full Stack Deep Learning - UC Berkeley Spring 2021 No "correct" group fairness definition 41 Aravind Narayanan - 21 Fairness Definitions
  • 42. Full Stack Deep Learning - UC Berkeley Spring 2021 It gets worse... • Okay, then let's just pick most important two metrics (FPR and FNR), and allow the model to use protected class attributes. • Now we fail individual fairness -> • Fine, let's just pick one! (e.g. equal FPR) • We still sacrifice some utility (e.g. public safety, or number of defendants released) 42 Aravind Narayanan - 21 Fairness Definitions
  • 43. Full Stack Deep Learning - UC Berkeley Spring 2021 Interactive Example 43 https://research.google.com/bigpicture/attacking-discrimination-in-ml/
  • 44. Full Stack Deep Learning - UC Berkeley Spring 2021 By the way... 44 Aravind Narayanan - 21 Fairness Definitions
  • 45. Full Stack Deep Learning - UC Berkeley Spring 2021 Trade-offs 45 Aravind Narayanan - 21 Fairness Definitions
  • 46. Full Stack Deep Learning - UC Berkeley Spring 2021 Seeing the water 46
  • 47. Full Stack Deep Learning - UC Berkeley Spring 2021 47 https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
  • 48. Full Stack Deep Learning - UC Berkeley Spring 2021 48 https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
  • 49. Full Stack Deep Learning - UC Berkeley Spring 2021 49 https://www.mobilizegreen.org/blog/2018/9/30/environmental-equity-vs-environmental-justice-whats-the-difference
  • 50. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 50
  • 51. Full Stack Deep Learning - UC Berkeley Spring 2021 Representation 51
  • 52. Full Stack Deep Learning - UC Berkeley Spring 2021 Representation 52 https://twitter.com/nke_ise/status/897756900753891328
  • 53. Full Stack Deep Learning - UC Berkeley Spring 2021 Not a new problem, sadly 53
  • 54. Full Stack Deep Learning - UC Berkeley Spring 2021 ...or a problem in just our field 54 Recent improvement!
  • 55. Full Stack Deep Learning - UC Berkeley Spring 2021 Large part of the solution 55 https://www.nytimes.com/2021/03/15/technology/artificial-intelligence-google-bias.html
  • 56. Full Stack Deep Learning - UC Berkeley Spring 2021 Another example 56 Recent improvement!
  • 57. Full Stack Deep Learning - UC Berkeley Spring 2021 Translation 57 Aravind Narayanan - 21 Fairness Definitions Recent improvement!
  • 58. Full Stack Deep Learning - UC Berkeley Spring 2021 Word Embeddings • Word2Vec introduced vector math on word embeddings • Reveal harmful biases encoded in our language corpora • Potential solution: de-bias at training time, but at least make user aware 58
  • 59. Full Stack Deep Learning - UC Berkeley Spring 2021 GPT-3 59
  • 60. Full Stack Deep Learning - UC Berkeley Spring 2021 Recent Language Models • Paper apparently led to authors being fired by Google 60 http://faculty.washington.edu/ebender/papers/Stochastic_Parrots.pdf
  • 61. Full Stack Deep Learning - UC Berkeley Spring 2021 Seeing the water • Whether language models should reflect the world as it is in the data, or as society believes it should be, depends on what use they are applied to. • And when we do want them to reflect the world as it should be, do we agree on what that is? 61
  • 62. Full Stack Deep Learning - UC Berkeley Spring 2021 Face Recognition • Old context: no expectation of privacy in public • New context: "in public" now means "on any street in any city, or on any website on the internet" • Is it ethical to work on this? • Is it a problem if it does not work as well on some ethnicities? 62 https://fairmlbook.org/introduction.html
  • 63. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 63
  • 64. Full Stack Deep Learning - UC Berkeley Spring 2021 Best practices 64
  • 65. Full Stack Deep Learning - UC Berkeley Spring 2021 What do practitioners need? 65 • support in fairness-aware data collection and curation • overcoming teams’ blind spots • implementing more proactive fairness auditing processes • auditing complex ML systems • deciding how to address particular instances of unfairness • addressing biases in the humans embedded throughout the ML development pipeline 2019
  • 66. Full Stack Deep Learning - UC Berkeley Spring 2021 Some suggestions • Ethical risk sweeping
 treat like cybersecurity penetration testing • Expanding the ethical circle
 whose interests, desires, experiences, values have we just assumed instead of consulted? • Think about the terrible people
 Who might abuse, steal, weaponize what we build? What incentives are we creating? • Closing the loop
 Remember that this is not a process to complete and forget. Set up ways to keep improving. 66 https://www.youtube.com/watch?v=av7utkFXbU4
  • 67. Full Stack Deep Learning - UC Berkeley Spring 2021 Model Cards 67 https://modelcards.withgoogle.com/face-detection
  • 68. Full Stack Deep Learning - UC Berkeley Spring 2021 Bias Audit 68 http://www.datasciencepublicpolicy.org/projects/aequitas/
  • 69. Full Stack Deep Learning - UC Berkeley Spring 2021 69 http://www.datasciencepublicpolicy.org/projects/aequitas/
  • 70. Full Stack Deep Learning - UC Berkeley Spring 2021 70 AI bias is rooted in societal inequities, manifested in data, and amplified by AI. Unbiased societal AI is an impossible goal for a single project to achieve, but greatly mitigating its harmful effects is not. Visualization courtesy of Eric Wang
  • 71. Full Stack Deep Learning - UC Berkeley Spring 2021 71 Build a diverse AI team to bring lived experience to their work Display insights about bias contextually and intuitively in product Make AI fairness and transparency a key component of our work Visualization courtesy of Eric Wang
  • 72. Full Stack Deep Learning - UC Berkeley Spring 2021 A professional code of ethics? 72
  • 73. Full Stack Deep Learning - UC Berkeley Spring 2021 Medicine 73
  • 74. Full Stack Deep Learning - UC Berkeley Spring 2021 Armed Forces 74
  • 75. Full Stack Deep Learning - UC Berkeley Spring 2021 75
  • 76. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 76
  • 77. Full Stack Deep Learning - UC Berkeley Spring 2021 Learn more 77
  • 78. Full Stack Deep Learning - UC Berkeley Spring 2021 Experts • Practical Data Ethics course from Rachel Thomas: https://ethics.fast.ai • Single lecture from Fast.ai 2020 course: https:// www.youtube.com/watch?v=krIVOb23EH8 78
  • 79. Full Stack Deep Learning - UC Berkeley Spring 2021 79 https://fairmlbook.org
  • 80. Full Stack Deep Learning - UC Berkeley Spring 2021 80 https://dssg.github.io/fairness_tutorial/
  • 81. Full Stack Deep Learning - UC Berkeley Spring 2021 81
  • 82. Full Stack Deep Learning - UC Berkeley Spring 2021 82
  • 83. Full Stack Deep Learning - UC Berkeley Spring 2021 Thank you! 83