Abstract
A human's ability to diagnose errors, gather data, and generate features in order to build better models is largely untapped. We hypothesize that analyzing results from multiple models can help people diagnose errors by understanding relationships among data, features, and algorithms. These relationships might otherwise be masked by the bias inherent to any individual model. We demonstrate this approach in our Prospect system, show how multiple models can be used to detect label noise and aid in generating new features, and validate our methods in a pair of experiments.
Introduction
Building a high-performing machine learning model is rarely just about picking the right algorithm; it’s about the quality of the data and the features used to describe it. However, when a model performs poorly, practitioners often struggle to diagnose the root cause. Is the label wrong? Are the features insufficient? Or is the algorithm just a bad fit?
Most existing tools focus on comparing the accuracy of different models. This is often insufficient because any single model has an inherent "bias" that can mask underlying data issues. If one only looks at a single model, it is difficult to determine if a misclassification is a quirk of that specific algorithm or a fundamental problem with the data point itself.
The Prospect System
The authors introduce Prospect, a system that shifts the focus from model performance to data understanding. Prospect marginalizes the bias of individual algorithms by aggregating results from a diverse collection of models.
The system operates through a multi-stage pipeline:
- Ensemble Generation: Prospect automatically trains a large collection of "configurations"—combinations of different feature sets, learning algorithms (e.g., SVMs, Decision Trees, and Naive Bayes), and hyperparameters.
- Cross-Validation: It uses k-fold cross-validation to generate a distribution of predicted labels for every example in the dataset across all models.
- Meta-Statistics Calculation: Instead of just looking at the final prediction, Prospect calculates two key metrics for each data point: Incorrectness (the percentage of models that misclassified the example) and Label Entropy (a measure of how much the models disagreed with each other).
Data Diagnosis via Meta-Statistics
These metrics are visualized on a diagnostic scatter plot (Incorrectness vs. Entropy), which reveals three distinct regions critical for debugging:
- Canonical: Low incorrectness, low entropy. These are "easy" examples that models consistently classify correctly.
- Confused: High incorrectness, low entropy. Models consistently agree on a prediction, but it's the wrong one. This is a strong indicator of label noise (mislabeling).
- Unsure: High entropy. Models disagree significantly. This suggests the current features do not provide enough information to distinguish the classes, signaling a need for new features.
Experimental Validation
Prospect was evaluated using three diverse datasets: 20 Newsgroups (text), MNIST Digits (images), and Flowers (images).
In experiments where labels were intentionally corrupted, Prospect's "confused region" analysis reduced the manual inspection effort by a factor of 3 compared to standard baselines. Furthermore, the authors demonstrated that examples in the "unsure" region are significantly more responsive to new features. In the Newsgroups and Digits datasets, adding features improved the correctness of "unsure" examples far more than it did for the rest of the data (p < 0.01). User studies with practitioners confirmed that Prospect helped identify fundamental data flaws and enabled accuracy boosts of up to 30% by encouraging the exploration of previously unconsidered configurations.
Conclusion
Prospect demonstrates that by "averaging out" the specific biases of individual algorithms through ensemble analysis, practitioners can gain a clearer picture of inherent data properties. While the current system requires human intervention for the "fix" (re-labeling or feature engineering) and faces computational costs in training hundreds of models, it provides a powerful heuristic for targeted data debugging. Future work may explore automated feature suggestions and more efficient configuration sampling.
Summary updated