A Comparative Evaluation of Quantification Methods
Tobias Schumacher, Markus Strohmaier, Florian Lemmerich
TL;DR
The paper tackles the problem of estimating class prevalences under distribution shift by conducting a large-scale empirical comparison of 24 quantification methods across 40 datasets, covering binary and multiclass settings. It categorizes methods into adjusted count, distribution matching, and classifier-based approaches, and evaluates them under varied training/test shifts and sample sizes, including a LeQua challenge case study. Key findings show no single best method across all scenarios; binary quantification favors threshold-based and distribution-matching methods, while multiclass quantification benefits from distribution-matching approaches like GPAC, ED, FM, EM, readme, and especially HDx, with multiclass posing a substantially harder challenge. The results have practical implications for practitioners selecting quantification methods and for researchers pursuing robust multiclass quantification, while also suggesting that tuning base classifiers offers limited gains in many settings.
Abstract
Quantification represents the problem of estimating the distribution of class labels on unseen data. It also represents a growing research field in supervised machine learning, for which a large variety of different algorithms has been proposed in recent years. However, a comprehensive empirical comparison of quantification methods that supports algorithm selection is not available yet. In this work, we close this research gap by conducting a thorough empirical performance comparison of 24 different quantification methods on overall more than 40 data sets, considering binary as well as multiclass quantification settings. We observe that no single algorithm generally outperforms all competitors, but identify a group of methods including the threshold selection-based Median Sweep and TSMax methods, the DyS framework including the HDy method, Forman's mixture model, and Friedman's method that performs best in the binary setting. For the multiclass setting, we observe that a different, broad group of algorithms yields good performance, including the HDx method, the Generalized Probabilistic Adjusted Count, the readme method, the energy distance minimization method, the EM algorithm for quantification, and Friedman's method. We also find that tuning the underlying classifiers has in most cases only a limited impact on the quantification performance. More generally, we find that the performance on multiclass quantification is inferior to the results obtained in the binary setting. Our results can guide practitioners who intend to apply quantification algorithms and help researchers to identify opportunities for future research.
