Robustar: Interactive Toolbox Supporting Precise Data Annotation for Robust Vision Learning

Chonghan Chen, Haohan Wang, Leyang Hu, Yuhao Zhang, Shuguang Lyu, Jingcheng Wu, Xinnuo Li, Linjing Sun, Eric P. XingarXiv 2022 · DOI

Abstract

Robustar is an open-source interactive toolbox designed to improve the robustness of computer vision models by targeting "spurious features" in training data. By combining human expertise with automated tools like influence functions and saliency maps, it allows users to efficiently identify and "brush out" misleading pixels. This data-centric approach leads to models that generalize better to real-world scenarios by learning core object features rather than environmental correlations.

Introduction

Modern machine learning models often achieve high accuracy on standard benchmarks but fail under real-world distribution shifts. This failure is frequently attributed to the learning of spurious features—statistical shortcuts that correlate with labels in training sets but lack causal relationships (e.g., classifying a "cow" based on the presence of green grass). While algorithmic fixes exist, they are often specialized and difficult to generalize. Robustar proposes a data-centric approach: removing these features at the source. Since manual pixel-level cleaning of massive datasets is infeasible, Robustar provides a software suite to make targeted annotation efficient and scalable.

The Robustar Pipeline

The system implements a multi-step interactive pipeline that bridges the gap between human intuition and machine learning interpretability.

The Robustar interactive pipeline for identifying and removing spurious features.
  1. Standard Training: Users begin with a standard PyTorch model or train one within the system.
  2. Automatic Identification: Instead of exhaustive manual review, Influence Functions identify training samples responsible for incorrect test predictions, prioritizing "suspicious" images.
  3. Model Interpretation: Saliency Maps visualize which pixels the model prioritizes, helping users determine if the model is focusing on the object or the background.
  4. Precise Annotation: Users can "brush out" spurious pixels manually, filter by pixel ranges, or utilize pre-trained segmentation models (e.g., Mask R-CNN) to isolate foreground objects.
  5. Paired Training: The system trains the model on both original and "brushed" images (where spurious pixels are replaced by noise). A consistency regularization term forces the model to produce the same prediction for both, effectively teaching it to ignore the noisy regions.

Interactive Interface and Features

The Robustar GUI is designed to maximize human-AI collaboration. It provides a comprehensive dashboard for data management and model debugging.

Overview of the Robustar interface, including the main canvas, image list, and interpretability panels.

The interface includes a control panel for navigation, an image list for selection, and a main canvas for precise annotation. Crucially, it integrates a model prediction summary and saliency-map interpretations directly into the workflow. This allows users to see immediate feedback on how the model perceives an image before and after annotation. For natural images, automated segmentation tools act as a "force multiplier," significantly reducing the manual labor required to mask backgrounds.

Key Insights and Results

Robustar shifts the focus from model architecture to data quality. Key takeaways include:

  • Efficiency through Influence: Using influence functions ensures human effort is spent on the most impactful samples.
  • Model-Free Robustness: The approach is architecture-agnostic, working with any model following standard PyTorch structures.
  • Human-AI Collaboration: While humans identify what to ignore, AI tools handle the pixel-level masking, making the process feasible for large datasets.

Experimental results indicate that the paired training paradigm efficiently improves model robustness with lower computing costs compared to many alternative methods. The software is containerized via Docker for easy deployment.

Conclusion and Future Work

Robustar demonstrates that interactive, data-centric tools can effectively mitigate the impact of spurious correlations. While automated segmentation works well for natural images, future work aims to improve performance in specialized domains like medical imaging. Additionally, the data generated through this interactive process could eventually be used to train fully automated data-cleaning systems.

The toolbox is open-source and available at https://github.com/HaohanWang/Robustar.

Summary updated

BibTeX
@misc{chen2022robustar,
  author = {Chonghan Chen and Haohan Wang and Leyang Hu and Yuhao Zhang and Shuguang Lyu and Jingcheng Wu and Xinnuo Li and Linjing Sun and Eric P. Xing},
  title = {{Robustar: Interactive Toolbox Supporting Precise Data Annotation for Robust Vision Learning}},
  year = {2022},
  eprint = {2207.08944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.08944},
}
Figure