DASH: Visual Analytics for Debiasing Image Classification via User-Driven Synthetic Data Augmentation

Bum Chul Kwon, Jungsoo Lee, Chaeyeon Chung, Nyoungwoo Lee, Ho-Jin Choi, Jaegul Choo

TL;DR

DASH is a visual analytics system designed to help researchers identify and fix "data biases" in image classification models. By combining explainable AI tools like Grad-CAM with generative models for synthetic data augmentation, DASH allows humans to iteratively discover why a model is failing and steer its retraining toward better generalization.

What Problem Does This Paper Address?

Deep learning models are notorious for taking shortcuts. Instead of learning the essence of a "frog," a model might simply learn that frogs usually appear in "swamps." If the training data is biased—meaning certain classes always co-occur with specific backgrounds or colors—the model learns these irrelevant correlations, known as bias factors.

When such a model encounters a frog in a desert, it fails. Automatically identifying and mitigating these biases is incredibly difficult because the "bias" is often a high-level semantic feature (like a specific background style) that isn't easily captured by simple statistics. The authors argue that a human-in-the-loop approach is necessary to identify these subtle visual traps and provide the right kind of "counter-examples" to fix them.

Methods

The authors developed DASH (Data Augmentation System for Human-in-the-loop), which follows a three-stage workflow:

  1. Discover (T1): Users identify clusters of misclassified images using a t-SNE Projection View (see Figure 2) and use Grad-CAM heatmaps to see exactly which parts of an image the model is focusing on. If the model looks at the grass instead of the fruit, a bias factor has been found.
  2. Mitigate (T2): Once a bias is identified (e.g., "the model only recognizes yellow bananas"), users generate synthetic data to break that correlation. DASH uses XploreGAN, a state-of-the-art image-to-image translation model. Unlike standard GANs, XploreGAN can cluster visual styles automatically, allowing users to "transfer" a new style (like a green color or a different background) onto a source image to create a debiased training sample.
  3. Retrain & Steer (T3): Users retrain the classifier with the new synthetic images and monitor performance in real-time via the Classifier Board.
The DASH interface provides a comprehensive dashboard for error analysis and data generation.

Datasets

The system was evaluated using two datasets specifically designed to test debiasing:

  • Fruit Dataset: 450 images of apples, oranges, and bananas. The bias was color-based (e.g., bananas were mostly yellow in training, but the test set included green ones).
  • Cartoon Dataset: 680 images of cartoon characters. The bias factor was the presence of sunglasses on specific characters.

Key Insights and Ideas

  • Visualizing the "Why": The integration of Grad-CAM is crucial. As shown in Figure 3, comparing the heatmaps of correctly vs. incorrectly classified images allows researchers to confirm if a model is "cheating" by looking at peripheral features rather than the object itself.
  • GANs as a Surgical Tool: Instead of just adding random noise or rotations (standard augmentation), DASH uses GANs to target specific semantic biases. If the model is biased toward "swamps," the user can explicitly generate "frogs in streets."
  • The Power of Latent Space: By using t-SNE to project the model's latent representations, users can visually see "islands" of errors, which often correspond to specific bias factors that are otherwise hidden in global accuracy metrics.
Projection View helps identify clusters of errors in the latent space.

Key Results

The authors conducted a user study with ten machine learning experts:

  • Accuracy Boost: For the Cartoon dataset, all participants successfully raised the model's test accuracy from under 55% to 90%. For the more challenging Fruit dataset, 70% of participants reached 65% accuracy (up from <55%).
  • Iterative Success: Participants retrained their models an average of 2.1 times for cartoons and 3.3 times for fruits, demonstrating that debiasing is an iterative process of discovery and correction.
  • Expert Validation: Experts noted that DASH significantly reduced the "cognitive effort" required to manage the complex loop of error analysis, data generation, and retraining.
Grad-CAM heatmaps reveal whether a model is focusing on the object or the background.

Limitations and Future Work

  • Domain Expertise: DASH is currently designed for experts. Participants noted that novices would struggle with the nuances of GAN training and latent space interpretation.
  • Scalability: The study used relatively small, controlled datasets. Testing DASH on massive benchmarks like ImageNet remains a challenge due to the computational cost of real-time GAN generation and retraining.
  • History Tracking: Users expressed a desire for better "version control" to track which specific synthetic images helped or hurt the model over multiple iterations.
  • Integration: Future work could involve embedding these visual tools directly into data science environments like Jupyter Notebooks.

Summary updated

BibTeX
@inproceedings{kwon2022dash,
  author = {Bum Chul Kwon and Jungsoo Lee and Chaeyeon Chung and Nyoungwoo Lee and Ho-Jin Choi and Jaegul Choo},
  title = {{DASH: Visual Analytics for Debiasing Image Classification via User-Driven Synthetic Data Augmentation}},
  booktitle = {EuroVis (Short Papers)},
  year = {2022},
  url = {https://openreview.net/forum?id=m98rJO2JIt},
}
Figure