Interactive Reweighting for Mitigating Label Quality Issues

Weikai Yang, Yukai Guo, Jing Wu, Zheng Wang, Lan-Zhe Guo, Yufeng Li, Shixia Liu

Abstract

Automatic sample reweighting is a powerful way to handle messy training data, but it relies on a "perfect" validation set that rarely exists in the real world. We present Reweighter, a visual analytics tool that allows humans to interactively audit and improve validation samples. By using a bipartite graph to trace how specific validation errors poison the training process, Reweighter enables experts to diagnose and fix "meta-errors" in validation data, significantly improving model performance with minimal manual effort.

1. Introduction

In deep learning, "Garbage In, Garbage Out" remains a critical challenge. Training sets are frequently plagued by noisy labels and class imbalances. While automatic sample reweighting algorithms aim to prioritize "clean" data by evaluating its contribution to a validation set, these methods fail if the validation set itself is flawed. This paper addresses the lack of tools for experts to diagnose and fix these "meta-errors" in validation data.

2. Methods: The Reweighter System

Reweighter bridges the gap between automatic reweighting and human expertise through several core components:

  • Bipartite Graph Modeling: The system decomposes collective validation influence into individual relationships, mapping specific validation samples to the weights of training samples.
  • Influence Decomposition: The gradient of the collective loss is broken down into individual validation-to-training influences, turning a "black box" process into an interpretable map.
  • Multi-Task Optimization: The system suggests validation weights by balancing correctness (distinguishing clean from noisy data) and balancedness (fair class representation).
  • Co-Clustering Visualization: To manage scale, similar samples are grouped into clusters, visualized via a node-link diagram where link thickness and color represent influence.
Figure 1: The influence decomposition process. (a) Aggregating validation losses to calculate collective influence. (b) Decomposing influence into individual validation-to-training relationships. (c) Adjusting validation weights to correct training sample reweighting.

3. Interactive Auditing and Adjustment

The tool's primary interface allows users to audit the reweighting process. Users can relabel validation images, adjust weights manually, or add representative samples. The system re-calculates training weights in real-time, highlighting the "ripple effect" of human interventions.

Figure 2: The Reweighter interface showing validation and training sample clusters before (a) and after (b) human adjustments. The bipartite graph visualizes the positive and negative influence between clusters.

4. Evaluation and Results

The authors evaluated Reweighter on several datasets, including CIFAR-10/100, the Clothing dataset (38.3% noise), and the OCT medical imaging dataset.

Key results include:

  • Accuracy Improvements: In the Clothing case study, expert intervention improved accuracy from 71.9% to 75.4%. In the OCT study, it rose from 65.2% to 68.1%.
  • Labeling Efficiency: Reweighter achieved comparable accuracy to baseline tools while requiring 92% fewer manual labels.
  • Handling Fine-Grained Tasks: The tool excelled in distinguishing between noisy labels and difficult-but-correct samples in fine-grained classification tasks.

5. Conclusion and Future Work

Reweighter demonstrates that validation data is a powerful lever; fixing a small number of validation samples can significantly improve the weighting of thousands of training samples. Future work includes implementing an "in-context recommendation" engine to flag suspicious samples automatically and extending the framework to more complex tasks like object detection.

Summary updated

BibTeX
@article{yang2023interactive,
  author = {Weikai Yang and Yukai Guo and Jing Wu and Zheng Wang and Lan-Zhe Guo and Yufeng Li and Shixia Liu},
  title = {{Interactive Reweighting for Mitigating Label Quality Issues}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2023},
  url = {https://openreview.net/forum?id=qNSSYRjP2l},
}
Figure