2-3. Fairness

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

How can a threshold be determined if the distributions of 2 groups are very different?

  • 2 group-specific thresholds.

    m is a metric of interest, e.g., FPR, acceptance rate

<ul><li><p>2 group-specific thresholds.</p><p></p><p><em>m</em> is a metric of interest, e.g., FPR, acceptance rate</p></li></ul><p></p>
2
New cards

What are 3 approaches to ensure fair classification?

  • Pre-processing: Change training data.

  • In-processing: Change model training procedure.

  • Post-processing: Change model decisions.

In-processing is most flexible.

3
New cards
<p>What is a problem in training models under fairness constraints?</p>

What is a problem in training models under fairness constraints?

Non-convex for many well-known classifiers (logistc, SVM).

→ Hard to compute efficiently.

4
New cards

How can Hyperparameter Optimization be used for fairness?

  • Hyperparameters have massive impact on performance.

  • Train model under different hyperparameters and observe trade-off between accuracy and unfairness.

<ul><li><p>Hyperparameters have massive impact on performance.</p></li><li><p>Train model under different hyperparameters and observe <span style="color: yellow">trade-off between accuracy and unfairness</span>.</p></li></ul><p></p>
5
New cards

What is a common misconception about the goal of a ML model?

  • The goal is not to train the most accurate classifier on your data.

  • Instead, we want to optimise some real-world criteria under given constraints.

Example: Maximize community safety without putting more than 1000 people in jail.

6
New cards

What is the True Positive Rate (TPR)?

P(y^ = 1 | y = 1)

Calculated by TPR = TP / (TP + FN)

<p>P(y<sup>^</sup> = 1 | y = 1)</p><p>Calculated by TPR = TP / (TP + FN)</p>
7
New cards

What is the True Negative Rate (TNR)?

P(y^ = 0 | y = 0)

Calculated by TNR = TN / (TN + FP)

<p>P(y<sup>^</sup> = 0 | y = 0)</p><p>Calculated by TNR = TN / (TN + FP)</p>
8
New cards

What is the Positive Predictive Value (PPV)?

P(y = 1 | y^ = 1)

Calculated by PPV = TP / (TP + FP)

<p>P(y = 1 | y<sup>^</sup> = 1)</p><p>Calculated by PPV = TP / (TP + FP) </p>
9
New cards

What is the Negative Predicive Value (NPV)?

P(y = 0 | y^ = 0)

Calculated by NPV = TN / (TN + FN)

<p>P(y = 0 | y^ = 0) </p><p>Calculated by NPV = TN / (TN + FN) </p>
10
New cards

What is the Positive Prediction Rate (PPR)?

P(y^ = 1)

Calculated by PPR = (TP + FP) / (TP + FP + FN + TN)

<p>P(y^ = 1)</p><p>Calculated by PPR = (TP + FP) / (TP + FP + FN + TN)</p>
11
New cards

What is Direct Discrimination in ML?

  • Sensitive features z (race, gender, age) are used to make predictions → z ∩ x ≠ ∅

  • Can also be hidden by using features that correlate with sensitive features (f.e. location with race).

12
New cards

How can Indirect Discriminiation be measured in ML?

  • Statistical Parity (aka disparate impact)

  • Equality of opportunity (aka disparate mistreatment)

13
New cards

How is Statistical Parity (Disparate Impact) defined?

P(y^ = 1 | z = 0) = P(y^ = 1 | z = 1)

→ Same outcome probability for both groups.

14
New cards

How is Equality of Opportunity (Disparate Mistreatment) defined?

P(y^ = 0 | y = 0, z = 0) = P(y^ = 0 | y = 0, z = 1)

→ Probability of correct outcome should be equal among groups.

15
New cards

When is it impossible to have equal values across all measures of the confusion matrix for 2 groups?

When the underlying risk score distribution of the groups is different.

<p>When the underlying<span style="color: yellow"> risk score distribution</span> of the groups is different.</p>
16
New cards

What is the narrow view of fairness?

  • Similar people should get similar treatment.

  • Groups do not rely matter / sensitive groups should be disregarded.

17
New cards

What is the broad view of fairness?

  • Society should be structured to grant people equal opportunities.

  • Most broad / substantial interventions required.

18
New cards

What is the middle view of fairness?

  • Decision makers should consider past injustices that are causes of current differences in qualifications.

  • Scope is individual risk prediction scenarios.