Abstract
This paper introduces a novel framework for Class Proportion Estimation (CPE) capable of accurately estimating the prevalence of classes in an unlabeled test set, including those entirely absent during training. By leveraging this "missing class" estimation, the authors develop the first consistent learning strategy for Multiclass Anomaly Rejection (MCAR), allowing classifiers to identify and reject instances from previously unseen categories.
Introduction
In real-world machine learning, the distribution of training data often diverges from test data—a phenomenon known as domain adaptation. This paper addresses two specific challenges:
- Class Proportion Estimation (CPE): Estimating class ratios in a test set without labels.
- Multiclass Anomaly Rejection (MCAR): Providing a "reject" option for instances belonging to classes not seen during training (anomalies).
Existing CPE methods typically assume all test classes were present in training. This work breaks that assumption, providing a method to estimate the proportion of an "unobserved" anomaly class and proving that this approach leads to Bayes-consistent classifiers.
Methodology
The proposed approach reduces CPE to a series of Mixture Proportion Estimation (MPE) problems.
The Core Idea: Irreducibility
The authors define "irreducibility": if a distribution $P_0$ is a mixture of a known $P_1$ and an unknown $G$, the proportion of $P_1$ is identifiable if $G$ is sufficiently distinct from $P_1$.
ROC Curve Analysis
To estimate proportions, the authors analyze the Receiver Operating Characteristic (ROC) curve of a classifier trained to distinguish a known class from the unlabeled test mixture. They prove that the proportion of the known class is related to the slope of the optimal ROC curve at its right-hand endpoint (where the false positive rate is 1). Practically, Kernel Logistic Regression (KLR) is used to estimate posterior probabilities, and a specialized regression model fits the empirical ROC curve to find this endpoint slope.
Sieve Estimation for MCAR
For anomaly rejection, the authors employ "sieve estimation," performing Empirical Risk Minimization (ERM) over increasingly complex classifier families to ensure generalization as data size grows.
Experimental Evaluation
The methods were evaluated on 13 binary datasets (e.g., Australian, Banana, Diabetes) and 5 multiclass datasets (e.g., DNA, SatImage). Class proportions were artificially manipulated to test recovery under varying levels of class shift and anomaly prevalence.
Key Results
The proposed MPE-Incomplete method demonstrated superior robustness in the presence of anomalies. While competing methods (like EM algorithms or $L^2$ distance matching) showed errors that grew linearly with anomaly proportion, MPE-Incomplete remained stable.
In standard CPE scenarios (no anomalies), the refined MPE-Projected and MPE-Joint variants performed competitively with or better than state-of-the-art methods across most benchmarks.
Discussion and Conclusion
Linking class proportions to the derivative of the ROC curve endpoint provides a stable geometric solution to a high-dimensional density estimation problem. Furthermore, the paper provides the first formal proof of consistency for MCAR, ensuring convergence to the optimal decision rule with sufficient data.
Limitations include computational complexity for extremely high-dimensional datasets and the reliance on the "irreducibility" assumption. If an anomaly class perfectly mimics a mixture of known classes, unique identification remains an open challenge. Future work includes a thorough experimental investigation of the full MCAR classifier using various surrogate losses.
Summary updated