VISLIX: An XAI Framework for Validating Vision Models with Slice Discovery and Analysis

Xinyuan Yan, Xiwei Xuan, Jorge Piazentin Ono, Jiajing Guo, Vikram Mohanty, Arvind Kumar Shekar, Liang Gou, Bei Wang, Liu Ren · DOI

Introduction

Machine learning engineers often face "blind spots" in computer vision models—specific subsets of data, known as data slices, where performance systematically drops. For instance, an object detector might fail specifically on cars in snowy conditions or when partially occluded. Identifying these slices traditionally requires manual metadata labeling or exhaustive visual inspection, which is unscalable and prone to human bias. VISLIX addresses this by automating the discovery and explanation of these failure modes using foundation models.

The VISLIX Framework

VISLIX is a visual analytics framework that integrates foundation models to identify and interpret model errors. The system operates through a three-stage pipeline: Slice Finding, Slice Explanation, and Slice Exploration.

The VISLIX workflow: from model evaluation to slice discovery, explanation via foundation models, and interactive exploration.

Context-Aware Slice Finding

Unlike image classification tools that analyze global features, VISLIX focuses on the local spatial context of object detection errors (False Positives and False Negatives). It generates context-aware embeddings by enlarging the detection window to include surrounding pixels, capturing relationships between the object and its environment.

Generation of context-aware embeddings using perturbed cropping to capture local spatial relationships around detection errors.

These embeddings are then processed using UMAP for dimensionality reduction and HDBSCAN to cluster errors into semantically coherent slices.

Automated Explanation Generation

To explain why a slice is problematic, VISLIX employs a multi-agent system using foundation models:

  • LLaVA (VLM): Analyzes images within a slice to answer specific visual questions (e.g., about weather or lighting).
  • GPT-3.5 (Questioner): Interrogates the VLM to uncover root causes through follow-up questions.
  • GPT-3.5 (Interpreter): Synthesizes the dialogue into a concise, human-readable explanation (e.g., "The model confuses motorcycles with cars due to proximity").

Interactive Exploration

The framework includes a web-based dashboard where users can visualize slices on a 2D density plot, search for failure modes using natural language, and perform interactive hypothesis testing to validate their theories about model performance in real-time.

Evaluation and Key Results

The authors evaluated VISLIX using the PASCAL VOC and Waterbirds datasets. Key findings include:

  • Model Improvement: By identifying 8 problematic slices in a person detector and augmenting the training set with similar images, the authors improved the model's mean Average Precision (mAP) by approximately 3% (from 0.7542 to 0.7878) with minimal fine-tuning.
  • Expert Validation: In a study with six ML experts, participants found the automated explanations highly accurate for identifying edge cases, such as a dog detector misidentifying sheep or cows.
  • Granularity: VISLIX provides finer-grained analysis than previous methods, distinguishing between complex failure modes like "motorcycles in airports" versus general "motorcycle" errors.

Conclusion

VISLIX bridges the gap between raw error metrics and actionable insights. By leveraging the reasoning capabilities of foundation models and focusing on local context, it provides a scalable way for developers to debug and improve computer vision models. Future work will address LLM hallucinations and extend the framework to tasks like semantic segmentation.

Summary updated

BibTeX
@article{yan2025vislix,
  author = {Xinyuan Yan and Xiwei Xuan and Jorge Piazentin Ono and Jiajing Guo and Vikram Mohanty and Arvind Kumar Shekar and Liang Gou and Bei Wang and Liu Ren},
  title = {{VISLIX: An XAI Framework for Validating Vision Models with Slice Discovery and Analysis}},
  journal = {Computer Graphics Forum},
  year = {2025},
  doi = {10.1111/cgf.70125},
}
Figure