Abstract
Deep learning models are highly sensitive to the quality of their training data, yet large-scale datasets often contain significant labeling noise. This paper introduces an interactive, human-in-the-loop system designed to detect and correct these errors efficiently. By leveraging a trained classifier's own uncertainty and categorizing mistakes into three distinct types—Class Interpretation, Instance Interpretation, and Similarity—the system enables users to drastically improve dataset quality. Evaluations on MNIST and CIFAR-10 demonstrate that users can resolve over 85% of errors in minutes, leading to substantial gains in model accuracy.
Introduction
Deep learning is famously data-hungry, but the "gold standard" datasets used to train these models are often far from perfect. Whether due to rushed crowdsourced workers, automated labeling scripts, or genuine ambiguity (such as confusing a handwritten '1' with a '7'), noisy labels are pervasive.
The primary challenge is scale. Manually verifying tens of thousands of images in datasets like MNIST or CIFAR-10 is a prohibitively labor-intensive task. While active learning techniques help select new images for labeling, few tools exist to help experts efficiently find and fix mistakes in already labeled datasets. This paper addresses the "garbage in, garbage out" problem by transforming data cleaning into an interactive, guided process.
Methodology: The Train-Detect-Correct Loop
The proposed workflow integrates seamlessly with standard machine learning pipelines through a four-stage cycle: Train → Detect → Correct → Repeat.
1. Error Categorization
To streamline the cleaning process, the authors define three primary types of labeling errors that require different corrective actions:
- Class Interpretation Errors: Systematic confusion where a labeler consistently mistakes one class for another (e.g., confusing European-style '7's with '1's).
- Instance Interpretation Errors: One-off mistakes where a single image is mislabeled (e.g., a frog labeled as a cat).
- Similarity Errors: Redundant or near-duplicate images that can bias the model or compromise validation sets by appearing in both training and testing splits.
2. Detection Metrics
The system identifies these errors by analyzing the classifier's own "confusion" using three specific scores:
- CIES Score: Identifies classes that are frequently swapped by the model.
- IIES Score: A metric that flags "confident misclassifications"—instances where the model is highly certain of one label, but the dataset provides another.
- SES Score: Uses Structural Similarity (SSIM) to find duplicates within the same predicted class.
3. Visual Guidance and Interaction
Rather than presenting users with a raw list of images, the system provides visual context to speed up decision-making. Modified confusion matrices sort class pairs by error frequency, putting the most problematic data front and center. High-dimensional UMAP projections allow users to see spatial clusters; for example, a "cat" label appearing in the middle of a "frog" cluster serves as an immediate visual red flag. Interactive linked lists then allow users to batch-reassign labels or remove duplicates with a few clicks.
Evaluation and Real-World Impact
The system was evaluated using MNIST (70,000 images) and CIFAR-10 (60,000 images). Crucially, the authors did not just use these for testing; they discovered previously undocumented labeling errors in these widely-used benchmark sets, such as a frog incorrectly labeled as a cat in CIFAR-10.
Key results from a user study with 10 participants include:
- Efficiency: Users resolved 85.65% of introduced errors in just 15 minutes.
- Accuracy Boost: On a corrupted version of MNIST with 94.37% initial accuracy, a single round of visual correction and retraining boosted validation accuracy to 99.05%.
- Iterative Refinement: As the most egregious errors are fixed and the model is retrained, it becomes more "certain," which helps it identify increasingly subtle errors in subsequent iterations.
Conclusion
The core insight of this work is that even a model trained on noisy data is often "smarter" than the noise itself. By using the model as a filter, the system reduces the search space for errors by over 90%. While currently tailored to image classification, this framework demonstrates the power of human-AI collaboration in building the high-quality foundations necessary for robust deep learning.
Summary updated