Abstract
Machine learning models often exhibit significant performance disparities across different demographic subgroups, even when aggregate accuracy metrics appear high. Identifying these "intersectional biases"—where unfairness emerges at the junction of multiple features—is a critical but difficult task for practitioners. We present Visual Auditor, an open-source interactive tool designed to help researchers surface and summarize these biases directly within computational notebooks. By combining automated slice-finding algorithms with intuitive visualizations, Visual Auditor allows users to move beyond dense tabular data to identify and understand the "geography" of model failure.
Introduction
A model might achieve 95% overall accuracy while failing systematically for specific subgroups, such as "low-income women over 50." This phenomenon, known as intersectional bias, represents a significant hurdle in deploying fair and robust AI. While automated "slice-finding" algorithms have been developed to detect these problematic subsets, their output is typically a list of text and numbers that is difficult to interpret at scale. Practitioners often struggle to see the "big picture" or identify clusters of related failures. Visual Auditor bridges this gap by providing a visual interface for the discovery and summarization of model underperformance.
System Design and Methods
Visual Auditor is implemented as a Python backend coupled with a D3.js and React frontend, functioning as an interactive widget within Jupyter Notebooks. This integration ensures that auditing becomes a seamless part of the model development workflow rather than an isolated post-hoc step.
Automated Discovery
The system utilizes the SliceFinder algorithm to scan datasets for "slices"—subsets defined by one or two features—where the model's log loss is significantly higher than the global average. This automated pass identifies potential areas of concern without requiring the user to specify hypotheses in advance.
Interactive Visualizations
To make the detected slices interpretable, Visual Auditor provides two primary views:
- The Force Layout (Summary View): Slices are mapped onto a grid where axes represent different features (e.g., Age, Education). Each node represents a slice; its color indicates the severity of underperformance (log loss), and its size represents the number of samples. This allows users to instantly identify which demographic intersections are most problematic and how much data they represent.
- The Graph Layout (Relationship View): To reveal the underlying structure of bias, the tool can draw edges between nodes that share a significant number of data points. These connections help practitioners identify "clusters" of bias that might stem from a single root cause, allowing them to address broad regions of failure rather than individual, disconnected slices.
Evaluation
The authors evaluated Visual Auditor using two standard fairness benchmarks: the Adult Census Income Dataset (predicting income levels) and the Statlog German Credit Dataset (classifying credit risk).
To assess the tool's utility in real-world scenarios, an observational study was conducted with four domain experts (data scientists and engineers) from Fiddler AI. The results indicated high levels of efficacy and satisfaction:
- Usability: Participants rated the tool 6.75/7 for both enjoyment and its ability to help them understand model bias.
- Efficiency: Experts noted that the visual encoding of sample size and performance allowed them to prioritize significant problems much faster than traditional tabular methods.
- Discovery: One participant successfully used the Graph Layout to identify a large, connected subsection of problematic nodes, suggesting that targeting these clusters would yield the most substantial performance improvements.
Discussion and Future Work
While Visual Auditor significantly improves the detection phase of the fairness pipeline, several challenges remain. Currently, the tool focuses on intersections of two features to maintain visual clarity; however, real-world bias often involves higher-order intersections (e.g., four or more features) that are difficult to visualize without UI clutter. Furthermore, while the tool identifies where a model fails, it does not yet provide automated suggestions for how to fix the bias, such as specific data augmentation or re-weighting strategies.
Future iterations of the tool will explore hierarchical summarization techniques to handle datasets with hundreds of features and investigate methods to bridge the gap between bias detection and model remediation.
Summary updated