Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WiP] Individual Fairness Notion #63

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[WiP] Individual Fairness Notion #63

wants to merge 6 commits into from

Conversation

pfistfl
Copy link
Sponsor Member

@pfistfl pfistfl commented May 1, 2022

The goal of this PR is to implement individual fairness notions in mlr3fairness.

Scope:

  • Implement a flexible measure IndividualFairness that allows measuring individual fairness.
    Functionality should have the following arguments:

    • dX: Distance metric in X-space (difference between individuals).
    • dY: Distance metric in Y-space (difference between observations).
    • L: Lipschitz constant. Relates distances in X and Y.
    • cols: Which columns in X should be used to compute dX?
    • comparison: What comparator to use, see below

    The current implementation compares to all other data points, not sure if this is reasonable.

  • Implement visualizations, that e.g. show most unfairly treated individuals etc.

  • Perhaps one could also use iml to understand sources of unfairness.

Open Questions:

  • For an individual x_i, who do we compare to? All others / comparator point / clusters?
    How would we select comparator points?
  • Does reporting aggregated scores make sense to assess fairness on a model level (instead of an individual level?)
    How should we aggregate this?
  • Technical: Measures are now valid for a single data set. How can we use this e.g. in benchmarks?

Required Research

  • How is this solved in other fairness-aware software packages?
  • Individual fairness relies on a strong assumption regarding no measurement errors/biases.
    Is there anything we can do to help with assessing that?

Other:

  • Disregard individual fairness metrics for survival for now. Solve for classif and regr for now.

Relevant Literature:

@pfistfl pfistfl mentioned this pull request May 1, 2022
@pfistfl pfistfl changed the title Individual Fairness Notion [WiP] Individual Fairness Notion Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant