โš–๏ธ Algorithmic Fairness

Machine Learning / Fairness

Algorithmic fairness deals with building "fair" ๐Ÿค– Machine Learning models. The main definitions of fairness group fairness and individual fairness; the former considers statistics across subgroups in the populations, and the latter considers each person individually.

However, among both definitions, choices for what constitutes "harm"โ€”and thus how to equalize harm and guarantee fairnessโ€”is subjective and domain-specific, as seen in the ๐Ÿงญ COMPAS battle. Even worse, by the ๐Ÿชถ Multi-Fairness Unsatisfiability Theorem, it's often impossible to satisfy multiple definitions of fairness at once.

Machine Learning Bias

Standard machine learning optimization doesn't ensure fairness. Simply minimizing error often gives us models that are more effective on some groups than others. Note that for this reason, sometimes a model trained on datasets without sensitive attributes (like race) can be unfair to these groupsโ€”on the contrary, a model that considers such attributes may ironically be more fair.

There are many ways standard optimization practices may go wrong.

  1. Less data on certain subgroups.
  2. Different groups have different distributions.
  3. Features are less predictive on some groups.
  4. Some groups are inherently less predictable (for example, face recognition with or without facial hair).
  5. Data is biased.

Group Fairness

Group fairness algorithms aim to reduce the differences in harm across different groups. Two common methods are ๐Ÿ”ฉ Bolt-On Bias Mitigation and the ๐Ÿ”ฎ Oracle Fairness Approach.

Individual Fairness

Individual fairness is a bit harder to define. We can't treat each individual as their own group since their error would be or .

Metric Fairness

Metric fairness applies the idea that "similar individuals should get treated similarly." Specifically, it defines some distance metric between two individuals and constraints to obey

Subgroup Fairness

Subgroup fairness notes that if we achieve group fairness, subgroups defined by membership in intersecting groups ("disabled Hispanic women over age 55," for example) can still face discrimination. To solve this, we can employ a similar learner-regulator framework from the ๐Ÿ”ฎ Oracle Fairness Approach to enforce violations on groups .

Average Individual Fairness

Average individual fairness considers cases where our model evaluates individuals multiple times (for example, in product recommendations). It forces the average error rates across individuals to be roughly similar,

Fairness Elicitation

Fairness elicitation goes beyond simple definitions of fairness and instead elicits empirical judgements from other people. These judgement have the form " and should receive the same treatment" or " should be treated at least as well as ."

If we have the outcome data and judgements , we can find that minimizes error on subject to . This provides another game theory problem formulation.

Minimax Group Fairness

Minimax group fairness notes that for some methods that aim to equalize harm, we may be needlessly inflating harm for the advantaged subgroups to ensure equality. An alternative guarantee is to promise that the error on each group is beneath a thresholdโ€”but no promise that errors are equal across groups. This gives us the minimax problem

Bias Bounties

๐Ÿ’ฐ Bias Bounties is an approach that invites the public to help improve the model. Similar to bug bounties, we reward people for finding biases and fixing them.

Content by William Liang, written in Obsidian.
Thank you to all the educators who made these notes possible.