fairness ethics and machine learning
play

Fairness, Ethics, and Machine Learning Prof. Mike Hughes Many - PowerPoint PPT Presentation

Tufts COMP 135: Introduction to Machine Learning https://www.cs.tufts.edu/comp/135/2019s/ Fairness, Ethics, and Machine Learning Prof. Mike Hughes Many ideas/slides attributable to: Alexandra Chouldechova Moritz Hardt 3 Fairness: Unit


  1. Tufts COMP 135: Introduction to Machine Learning https://www.cs.tufts.edu/comp/135/2019s/ Fairness, Ethics, and Machine Learning Prof. Mike Hughes Many ideas/slides attributable to: Alexandra Chouldechova Moritz Hardt 3

  2. Fairness: Unit Objectives • How to think systematically about end-to-end ML • Where does data come from? • What features am I measuring? What protected information can leak in unintentionally? • Who will be impacted? • How to define and measure notions fairness • Use concepts: accuracy, TPR, FPR, PPV, NPV • What is achievable? What is impossible? Mike Hughes - Tufts COMP 135 - Spring 2019 4

  3. Example Concerns about Fairness Mike Hughes - Tufts COMP 135 - Spring 2019 5

  4. Unfair image search Mike Hughes - Tufts COMP 135 - Spring 2019 6

  5. Unfair Word Embeddings Mike Hughes - Tufts COMP 135 - Spring 2019 7

  6. Unfair Hiring?

  7. Job Ad Classifier: Is this fair?

  8. Unfair Recidivism Prediction Mike Hughes - Tufts COMP 135 - Spring 2019 10

  9. Focus: Binary Classifier • Let’s say we have two groups, A and B • Could be any protected group (race / gender / age) • We’re trying to build a binary classifier that will predict individuals as HIGH or LOW risk • Likelihood of recidivism • Ability to pay back a loan Mike Hughes - Tufts COMP 135 - Spring 2019 11

  10. Group Discussion • When should protected information (gender, race, age, etc) be provided as input to a predictor? • Can you build a “race-blind” classifier? • How could we measure if the predictions are fair? • Is it enough to ensure accuracy parity? • ACC( group A) = ACC( group B ) Mike Hughes - Tufts COMP 135 - Spring 2019 12

  11. Notation for Binary Classifier Mike Hughes - Tufts COMP 135 - Spring 2019 13

  12. Example of Accuracy Parity Group A Group B true outcomes Y 0 0 1 1 0 0 1 1 1 = would fail to appear in court classifier prediction C 0 0 0 0 1 1 1 1 1 = too risky for bail Is this fair? Mike Hughes - Tufts COMP 135 - Spring 2019 14

  13. Case Study: The COMPAS future crime prediction algorithm Mike Hughes - Tufts COMP 135 - Spring 2019 15

  14. COMPAS classifier HIGH RISK of future crime hold in jail before trial LOW RISK of future crime release before trial other features (e.g. demographics, questionnaire answers, family history) Mike Hughes - Tufts COMP 135 - Spring 2019 16

  15. 2 Mike Hughes - Tufts COMP 135 - Spring 2019

  16. Mike Hughes - Tufts COMP 135 - Spring 2019 18

  17. The COMPAS tool assigns defendants scores from 1 to 10 that indicate how likely they are to reoffend based on more than 100 factors, including age, sex and criminal history. Notably, race is not used. These scores profoundly affect defendants’ lives: defendants who are defined as medium or high risk, with scores of 5-10, are more likely to be detained while awaiting trial than are low-risk defendants, with scores of 1-4. Mike Hughes - Tufts COMP 135 - Spring 2019 19

  18. Mike Hughes - Tufts COMP 135 - Spring 2019 20

  19. Mike Hughes - Tufts COMP 135 - Spring 2019 21

  20. Full Document: https://www.documentcloud.org/documents/2702103-Sample-Risk- Mike Hughes - Tufts COMP 135 - Spring 2019 Assessment-COMPAS-CORE.html 22

  21. ProPublica says: “Groups have different False Pos. Rates ” Mike Hughes - Tufts COMP 135 - Spring 2019 23

  22. Compas Team Says: “Groups have same predictive value ” Mike Hughes - Tufts COMP 135 - Spring 2019 24

  23. False Positive Rate = • When true outcome is 0, how often does classifier say “1”.

  24. True Positive Rate = • When true outcome is 1, how often does classifier say “1”.

  25. Positive Predictive Value = When classifier says “1”, how often is true label 1.

  26. Negative Predictive Value = When classifier says “0”, how often is true label 0.

  27. ProPublica says: “Groups have different False Pos. Rates ” Mike Hughes - Tufts COMP 135 - Spring 2019 29

  28. Compas Team Says: “Groups have same predictive value ” Mike Hughes - Tufts COMP 135 - Spring 2019 30

  29. Worksheet Mike Hughes - Tufts COMP 135 - Spring 2019 31

  30. Equation of the Day 1 − PPV p FPR = TPR 1 − p PPV where prevalence p = Pr(Y = 1) If two groups have different p values, can we simultaneously have TPR parity AND FPR parity AND PPV parity AND NPV parity? Mike Hughes - Tufts COMP 135 - Spring 2019 32

  31. https://www.propublica.org/article/bias-in-criminal-risk-scores- is-mathematically-inevitable-researchers-say Mike Hughes - Tufts COMP 135 - Spring 2019 33

  32. Unless classifier is perfect, must chose one: Disparate Treatment (PPV or NPV not equal) or Disparate Impact (FPR or TPR not equal) Mike Hughes - Tufts COMP 135 - Spring 2019 34

  33. Try demo of making decisions from risk scores: goo.gl/P8rmA3 Mike Hughes - Tufts COMP 135 - Spring 2019 35

  34. Fairness: Unit Objectives • How to think systematically about end-to-end ML • Where does data come from? • What features am I measuring? What protected information can leak in unintentionally? • Who will be impacted? • How to define and measure notions fairness • Use concepts: accuracy, TPR, FPR, PPV, NPV • What is achievable? What is impossible? Mike Hughes - Tufts COMP 135 - Spring 2019 36

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend