Classifier comparison using precision

Lovedeep GondaraarXiv 2016 · OpenReview

TL;DR

This paper addresses the critical need for robust statistical methods to compare machine learning classifiers based on precision, a metric often overlooked in favor of accuracy, especially for rare classes. The authors introduce and survey various statistical tests, including those accounting for correlated precision values, and demonstrate their application to complex scenarios like deep architectures and cross-validation.

What Problem Does This Paper Address?

While accuracy is a common metric for comparing classifiers, it can be misleading, particularly when dealing with imbalanced datasets or rare classes where precision becomes a more informative performance indicator. The existing literature offers limited guidance on statistically comparing classifiers using precision, especially when multiple classifiers are trained on the same dataset, leading to correlated precision values. This correlation can bias inference if not properly accounted for. The paper aims to fill this gap by providing a comprehensive framework for precision-based classifier comparison.

Methods

The paper proposes and reviews several statistical methods for comparing classifiers based on precision:

  • Marginal Regression Framework (GEE): This approach uses Generalized Estimating Equations (GEE) to model precision, accounting for the correlation between precision values arising from using the same dataset. It allows for simultaneous comparison of multiple classifiers and can be extended to handle multi-class problems and cross-validation settings.
  • Empirical Wald Test and Score Test: These are statistical tests derived from the marginal regression framework to test the null hypothesis of equal precision between classifiers.
  • Relative Precision (RP): This method focuses on the ratio of precisions between two classifiers, offering a more intuitive interpretation and graphical representation (forest plots) of the comparison. Confidence intervals for RP are used to determine statistical significance.
  • Partial Bayesian Update: When the population prevalence of a class is known, this method allows for updating the precision estimate to better reflect real-world performance.
  • Combining Inference: Methods are presented to combine per-class p-values for an overall global null hypothesis test, addressing the challenge of multiple comparisons.

Datasets

The authors evaluated their methods using publicly available datasets from the UCI machine learning repository. These datasets vary in characteristics and sample sizes, including:

  • WILT
  • DIABETIC RETINOPATHY
  • PHISHING
  • BANK NOTE
  • MAGIC
  • URBAN LAND COVER

They also used a Kaggle dataset for comparing deep architectures (dogs vs. cats).

Key Insights and Ideas

  • Precision is Crucial for Rare Classes: The paper strongly emphasizes that accuracy can be a poor metric for imbalanced datasets, and precision is vital for understanding classifier performance on rare or critical classes.
  • Correlation Matters: Ignoring the correlation between precision values from classifiers trained on the same data can lead to biased statistical inference. The proposed methods explicitly address this.
  • Beyond Pairwise Comparisons: The paper extends beyond simple pairwise comparisons to enable simultaneous comparison of multiple classifiers, which is more practical in real-world scenarios.
  • Bayesian Update for Prevalence: Incorporating known class prevalence can significantly improve the reliability of precision estimates, especially in applications like medical diagnostics or object detection.
  • Visualizing Comparisons: Relative Precision (RP) offers a powerful way to visualize classifier comparisons using forest plots, making it easier to interpret results and identify significant differences.

Key Results

  • The proposed methods (GS and GW statistics) were shown to agree with each other and with relative precision comparisons.
  • The Generalized Score (GS) test demonstrated higher power and better performance with small sample sizes compared to the Empirical Wald test (GW).
  • The methods were successfully applied to compare deep convolutional neural networks, revealing performance differences on specific classes even when overall accuracy was similar.
  • Cross-validation experiments showed that the proposed methods are applicable in these settings and can offer more power in limited sample size scenarios.
  • The paper demonstrates that combining p-values from per-class comparisons can effectively test a global null hypothesis for overall classifier performance.

Limitations and Future Work

  • Computational Cost: While the paper mentions that GEE is implemented "out of the box" in statistical packages, complex scenarios with many classifiers or large datasets might still involve significant computational resources.
  • Assumption of Positive Correlation: While Dai's method is recommended for combining dependent p-values, it's noted that Simes' method works well for positively correlated p-values, implying that the performance might vary if correlations are not consistently positive.
  • Future Work: The paper suggests that the presented methods can be extended to more complicated comparisons, such as multiple object detection/classification in images, and can be used to adjust hyperparameters for optimal performance. The authors also highlight the value of their methods for large-scale testing where tens of classifiers need to be compared.

Summary updated

Abstract

New proposed models are often compared to state-of-the-art using statistical significance testing. Literature is scarce for classifier comparison using metrics other than accuracy. We present a survey of statistical methods that can be used for classifier comparison using precision, accounting for inter-precision correlation arising from use of same dataset. Comparisons are made using per-class precision and methods presented to test global null hypothesis of an overall model comparison. Comparisons are extended to multiple multi-class classifiers and to models using cross validation or its variants. Partial Bayesian update to precision is introduced when population prevalence of a class is known. Applications to compare deep architectures are studied.
BibTeX
@misc{gondara2016classifier,
  author = {Lovedeep Gondara},
  title = {{Classifier comparison using precision}},
  year = {2016},
  eprint = {1609.09471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.09471},
}
Figure