Abstract
Recent years have seen the development of many open-source machine learning (ML) fairness toolkits aimed at helping practitioners assess and address unfairness in their systems. However, there has been little research investigating how these tools are actually utilized in practice. This paper presents the first in-depth empirical exploration of how industry practitioners interact with existing fairness toolkits. Through think-aloud interviews and an anonymous online survey, we identify several opportunities for toolkits to better address practitioner needs, specifically in scaffolding effective and responsible use. Our findings highlight implications for the design of future toolkits that support practitioners in contextualizing, communicating, and collaborating around ML fairness efforts.
Introduction
In response to growing concerns regarding algorithmic bias, the "Fairness, Accountability, and Transparency" (FAccT) community has released several high-profile open-source toolkits, such as IBM’s AI Fairness 360 (AIF360) and Microsoft’s Fairlearn. These libraries are designed to help developers detect and mitigate bias within their models. However, a significant "usability gap" persists. Most existing research on these toolkits has been retrospective, relying on post-hoc feedback rather than direct observation of the development process.
This study addresses a fundamental question: When a developer is tasked with making a model "fair," how do these toolkits actually help or hinder them? By observing the friction between general-purpose software libraries and the highly contextual, socio-technical nature of real-world fairness, we identify critical areas for improvement in toolkit design.
Methodology
The researchers employed a two-pronged approach to capture both deep qualitative insights and broader industry trends:
- Think-Aloud Interviews: 11 industry practitioners from companies including Microsoft, Google, and various FinTech and LegalTech firms participated in 60-minute sessions. They were tasked with building a model using a real-world dataset while utilizing AIF360 or Fairlearn for the first time. Participants verbalized their thought processes, frustrations, and decision-making logic.
- Anonymous Online Survey: To validate interview findings, 56 practitioners were surveyed regarding their professional experiences with fairness issues and toolkits in their actual workplaces.
The resulting data was analyzed using inductive thematic analysis to identify recurring patterns in how practitioners learn about, integrate, and potentially misuse these tools.
Experimental Setup
Participants used the Student Performance Dataset, which contains academic achievement data from Portuguese secondary schools. This dataset includes sensitive or proxy attributes (such as parental education and family support). It was selected specifically because it is less "cliché" than standard datasets like COMPAS, forcing participants to think critically about which features are sensitive in a specific educational context.
Key Insights and Practitioner Challenges
The "Fairness through Unawareness" Trap
Despite their technical expertise, 7 out of 9 interview participants initially attempted to address bias by simply deleting sensitive columns (e.g., sex or age). This approach—known as "fairness through unawareness"—is a common pitfall, as other features often act as proxies for the removed data. Current toolkits rarely provide explicit warnings against this practice, leading practitioners to believe they have solved a problem that remains embedded in the data.
Toolkits as Pedagogical Resources
Practitioners frequently viewed these toolkits as educational resources rather than just code libraries. A significant portion of the sessions was spent reading documentation to understand the theoretical definitions of metrics like "Equalized Odds." This suggests that the documentation is as critical to the toolkit's success as the functional code.
The Impact of API Familiarity
There was a clear preference for Fairlearn over AIF360 due to "API-fit." Fairlearn’s syntax closely mimics scikit-learn, allowing for seamless integration into existing workflows. Conversely, AIF360’s use of custom data structures created a higher barrier to entry, leading to frustration and slower onboarding.
Reformulating the Problem to Fit the Tool
In several instances, the limitations of the toolkits dictated the machine learning task. Some participants changed their task from regression to classification simply because the toolkits provided more robust support and metrics for classification. This highlights a risk where the available tools inadvertently constrain the scope of fairness interventions.
Results and Design Requirements
The study identified that 92% of survey respondents cited "stakeholder demand" as the primary driver for fairness testing. However, current toolkits focus almost exclusively on the technical needs of the individual developer, neglecting the need to communicate complex trade-offs to non-technical stakeholders. Furthermore, 58% of practitioners admitted they would seek the "fastest available solution" due to workplace time constraints.
Based on these findings, future toolkits should prioritize:
- Educational Scaffolding: Integrating learning moments into the development flow.
- Rapid Onboarding: Providing "Quickstart" resources to accommodate time-pressured environments.
- Workflow Integration: Ensuring compatibility with standard ML ecosystems.
- Advocacy Tools: Developing dashboards and visualizations to help practitioners explain fairness trade-offs to business domain experts.
Conclusion
Fairness toolkits must evolve from simple code libraries into "social computing systems." To be truly effective, they must facilitate interdisciplinary collaboration, providing the tools necessary for developers to consult with legal and domain experts. By including features like "anti-pattern" warnings and stakeholder-facing visualizations, toolkits can better support the nuanced, socio-technical work of building fair machine learning systems.
Summary updated