[Paper Review] Prediction Scores as a Window into Classifier Behavior
This paper introduces Classilist, an interactive web-based visualization system that analyzes multi-class classifier prediction scores to reveal classifier behavior, reliability, and biases. By linking score distributions to classification correctness and sample features, it enables detailed per-class analysis, uncovering issues like misclassification patterns, score miscalibration, and class-specific biases—offering insights that improve model interpretation and design.
Most multi-class classifiers make their prediction for a test sample by scoring the classes and selecting the one with the highest score. Analyzing these prediction scores is useful to understand the classifier behavior and to assess its reliability. We present an interactive visualization that facilitates per-class analysis of these scores. Our system, called Classilist, enables relating these scores to the classification correctness and to the underlying samples and their features. We illustrate how such analysis reveals varying behavior of different classifiers. Classilist is available for use online, along with source code, video tutorials, and plugins for R, RapidMiner, and KNIME at https://katehara.github.io/classilist-site/.
Motivation & Objective
- To address the lack of systematic analysis of prediction scores beyond top-class predictions in multi-class classifiers.
- To enable researchers and practitioners to diagnose classifier behavior, reliability, and data quality issues through visual exploration of score distributions.
- To provide an interactive, scalable, and accessible tool that relates prediction scores to classification correctness and underlying sample features.
- To support comparative analysis across different classifiers by visualizing score patterns, false positive distributions, and class-specific behaviors.
- To make prediction score analysis accessible via plugins for R, RapidMiner, and KNIME, and a web-based interface.
Proposed method
- Classilist uses histogram-based visualizations to display the distribution of prediction scores for each class, color-coded by classification outcome (true positives, false positives, false negatives).
- It integrates brushing and linking between multiple views: score histograms, feature box plots, confusion matrices, and a sample viewer for detailed inspection.
- Users can filter samples by prediction correctness and score ranges, and dynamically adjust the probability axis to focus on effective score ranges.
- The system supports interactive exploration: clicking on a histogram bar highlights corresponding samples across all views, including misclassified instances in other classes.
- It enables filtering of true negatives with non-zero scores to detect borderline cases and potential misclassification risks.
- Classilist is built as a web application with open-source code, and includes plugins for R, RapidMiner, and KNIME to integrate with machine learning pipelines.
Experimental results
Research questions
- RQ1How do prediction score distributions vary across different classifiers, and what insights do they reveal about model behavior?
- RQ2To what extent do high-confidence predictions correlate with correct classifications, and where do classifiers fail despite high scores?
- RQ3How can visualization of score distributions expose class-specific biases or data quality issues, such as mislabeled samples or class overlap?
- RQ4Can interactive exploration of score distributions help identify reasons behind misclassification, such as feature-level patterns or ambiguous sample representations?
- RQ5How can visualization systems effectively scale to tens of classes while maintaining interpretability and interactivity?
Key findings
- The k-Nearest-Neighbor classifier with k=2 produced a tri-modal histogram for digit '5', revealing distinct clusters based on neighbor class composition—three peaks corresponding to two, one, or zero neighboring '5' samples.
- The Naive Bayes classifier exhibited a high concentration of false positives in the highest score bin for class '5', indicating poor calibration despite high confidence predictions.
- The neural network classifier showed a gradual increase in error rate as prediction scores decreased, suggesting a more consistent but less reliable behavior at lower confidence levels.
- Class '5' was systematically assigned low scores even when correctly classified, indicating a strong bias against this class, largely due to high intra-class variation in the dataset.
- Samples with scores between 20% and 40% for class '5' were almost all actual '5's but were misclassified, suggesting that score recalibration with weighting could reduce errors without increasing false positives.
- The visualization revealed that true negatives with non-zero scores to a given class represent borderline cases with high misclassification risk, especially under small input perturbations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.