JupyterLab in Retrograde: Contextual Notifications That Highlight Fairness and Bias Issues for Data Scientists
Open Access
- 11 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-19
Abstract
Current algorithmic fairness tools focus on auditing completed models, neglecting the potential downstream impacts of iterative decisions about cleaning data and training machine learning models. In response, we developed Retrograde, a JupyterLab environment extension for Python that generates real-time, contextual notifications for data scientists about decisions they are making regarding protected classes, proxy variables, missing data, and demographic differences in model performance. Our novel framework uses automated code analysis to trace data provenance in JupyterLab, enabling these notifications. In a between-subjects online experiment, 51 data scientists constructed loan-decision models with Retrograde providing notifications continuously throughout the process, only at the end, or never. Retrograde’s notifications successfully nudged participants to account for missing data, avoid using protected classes as predictors, minimize demographic differences in model performance, and exhibit healthy skepticism about their models.Keywords
Funding Information
- National Science Foundation (IIS-1939728, CNS-2047827)
This publication has 42 references indexed in Scilit:
- Subtle Bugs Everywhere: Generating Documentation for Data Wrangling Code2021
- Do you Really Code? Designing and Evaluating Screening Questions for Online Surveys with Programmers2021
- Understanding and Visualizing Data Iteration in Machine Learning2020
- FAIRVIS: Visual Analytics for Discovering Intersectional Bias in Machine Learning2019
- Managing Messes in Computational Notebooks2019
- Towards Effective Foraging by Data Scientists to Find Past Analysis Choices2019
- How Data Science Workers Work with Data2019
- A comparative study of fairness-enhancing interventions in machine learning2019
- Model Cards for Model Reporting2019
- Fairness through awareness2012