Introduction
Large-scale vision-and-language (ViL) models, such as CLIP, have demonstrated remarkable capabilities in cross-modal understanding. However, these models often inherit and amplify societal biases regarding gender, ethnicity, and occupation present in their training data. Traditionally, auditing these models for such biases requires "hand-crafting" evaluation datasets—a process where researchers manually label thousands of images to probe specific subgroups (e.g., "doctors with dark skin tones").
This manual approach is a significant bottleneck: it is labor-intensive, expensive, and limited by the researcher's prior hypotheses. Automated "slice discovery" methods exist but typically require task-specific labels (like ground-truth classifications) and struggle with the unstructured nature of image data. To address this, we present VLSlice, an interactive system that enables users to explore unlabeled datasets and discover coherent subgroups—or "slices"—where ViL models exhibit biased or inconsistent behavior.
The VLSlice System
VLSlice facilitates a human-in-the-loop workflow designed to bridge the gap between high-dimensional data organization and semantic interpretation. The system operates through four primary stages:
1. Caption-based Querying
Users begin by defining a "subject population" (e.g., "a photo of a person") and a "bias dimension" (e.g., "a photo of a CEO"). This setup allows the system to isolate the model's association between a general category and a specific attribute.
2. The $\Delta C$ Metric
A core challenge in auditing ViL models is that raw affinity scores are often uncalibrated. A high-quality image might receive a high score for many different prompts simply due to its clarity. VLSlice introduces the $\Delta C$ metric, which calculates the change in percentile rank between the baseline and augmented captions. By focusing on the relative shift in rank rather than raw scores, the metric disentangles the "subject" from the "bias," identifying images that the model specifically associates with the target concept relative to the rest of the population.
3. Visiolinguistic Clustering
To present data meaningfully, the system employs agglomerative clustering. Unlike standard visual clustering, VLSlice groups images based on both visual similarity and consistency in their $\Delta C$ scores. This "visiolinguistic" approach ensures that the resulting clusters are not only visually coherent but also exhibit similar model behavior.
4. Interactive Refinement
The interface allows users to "bootstrap" a slice by selecting representative images. The system then provides recommendations:
- Similar Clusters: To increase the sample size of a discovered bias.
- Counterfactual Clusters: To find images with similar visual features but opposite model behavior. This helps users refine the boundaries of a bias and distinguish between genuine semantic associations and confounding factors.
Experimental Evaluation
The system was evaluated using a subset of 8.1 million images from the OpenImages dataset, focusing on the CLIP model. A user study (n=22) compared VLSlice against a "ListSort" baseline—a traditional interface that sorts images by $\Delta C$ without clustering or interactive recommendations.
Key Results
- Quantity and Coherence: Users of VLSlice generated slices that were significantly larger (averaging 84.58 more images) and more visually coherent (higher F1 scores) than those using the baseline.
- Abstract Bias Discovery: VLSlice proved superior at uncovering non-obvious biases. In a "Person/CEO" task, 62% of VLSlice users identified slices related to gender, skin tone, or age. In contrast, only 34% of baseline users reached this level of abstraction, with many remaining focused on low-level features like "black and white photography."
- User Experience: Participants rated VLSlice significantly higher for its ability to help them find new behaviors, confirm hypotheses, and discover additional representative images.
Discussion and Limitations
While VLSlice significantly lowers the barrier to model auditing, it faces certain constraints. The system relies on a "top-k" filtering strategy to manage large datasets; if $k$ is too small, rare subgroups may be missed, while a $k$ that is too large can introduce noise into the $\Delta C$ metric. Furthermore, the tool is limited by the model's own representations—if a model is entirely "blind" to a specific feature, VLSlice cannot cluster images based on that feature. Finally, while efficient for dual-encoder models like CLIP, extending this interactive approach to more computationally expensive joint-encoder models remains a challenge for future work.
Conclusion
VLSlice demonstrates that interactive, human-AI collaborative tools can effectively surface systemic biases in large-scale vision-and-language models without the need for manual annotation. By combining a robust ranking metric with intuitive clustering and refinement tools, VLSlice empowers researchers to move from simple search to true discovery.
Summary updated