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

Enable additional attributes with CounterfactualGenerator, improve robustness #67

Open
dylanbouchard opened this issue Dec 13, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@dylanbouchard
Copy link
Collaborator

dylanbouchard commented Dec 13, 2024

Is your feature request related to a problem? Please describe.
Currently, CounterfactualGenerator offers functionality for two attributes, race and gender. While these are important attributes for assessing fairness, other attributes are important as well. Attributes to consider adding include, but are not limited to, sexual orientation, disability/able-bodied, age, and religion.

Additionally, the current word lists for race and gender may not be exhaustive, so improving the coverage of these word lists would improve the performance of this technique.

Describe the solution you'd like
The solution should enable additional protected attributes for counterfactual substitution and/or improve the robustness of the functionality for existing attributes.

Additional context
Source code to be modified includes langfair/generator/counterfactual.py and langfair/constants/word_lists.py

@dylanbouchard dylanbouchard added the help wanted Extra attention is needed label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant