Abstract
Multi-class classification problem is among the most popular and well-studied statistical frameworks. Modern multi-class datasets can be extremely ambiguous and single-output predictions fail to deliver satisfactory performance. By allowing predictors to predict a set of label candidates, set-valued classification offers a natural way to deal with this ambiguity. Several formulations of set-valued classification are available in the literature and each of them leads to different prediction strategies. The present survey aims to review popular formulations using a unified statistical framework. The proposed framework encompasses previously considered and leads to new formulations as well as it allows to understand underlying trade-offs of each formulation. We provide infinite sample optimal set-valued classification strategies and review a general plug-in principle to construct data-driven algorithms. The exposition is supported by examples and pointers to both theoretical and practical contributions. Finally, we provide experiments on real-world datasets comparing these approaches in practice and providing general practical guidelines.
Introduction
In standard machine learning paradigms, models are typically required to output a single label for a given input. However, in the presence of noisy, blurry, or multi-object data, forcing a single choice often leads to significant errors. Set-valued classification (SVC) addresses this by allowing models to predict a set of candidate labels, effectively capturing the inherent uncertainty and ambiguity of the data.
The primary challenge in SVC lies in defining the criteria for an optimal set. Existing literature offers various formulations, often focusing on different trade-offs between error rate and set size. This survey provides a unified statistical framework to categorize and analyze these methods, moving beyond fragmented perspectives.
A Unified Framework for Set-Valued Classification
The proposed framework formalizes the search for an optimal set-valued classifier $\Gamma$ by minimizing a functional—typically error rate or set size—subject to specific constraints. SVC strategies can be categorized into four primary formulations:
- Point-wise Size Control (Top-k): The model predicts a fixed number $k$ of labels for every input. While common in benchmarks, it lacks adaptability to varying levels of difficulty across inputs.
- Point-wise Error Control: This approach ensures that for every individual input, the probability of the true label being excluded from the predicted set remains below a predefined threshold $\epsilon$.
- Average Size Control: The objective is to minimize the overall error rate while maintaining the average number of predicted labels across the dataset below a specific limit.
- Average Error Control: This formulation seeks to minimize the average set size while keeping the average error rate below a target threshold.
Additionally, the framework supports hybrid strategies that combine these constraints. Most implementations utilize a "plug-in" principle: first estimating class probabilities and then applying a decision rule (e.g., thresholding or ranking) to construct the output set.
Datasets and Ambiguity
The effectiveness of these frameworks is evaluated across three benchmarks representing a spectrum of ambiguity:
- MNIST: Hand-written digits with minimal ambiguity, where models typically achieve near-perfect accuracy.
- ImageNet: A large-scale natural image dataset characterized by high ambiguity due to complex scenes and multiple objects.
- PlantCLEF2015: Fine-grained plant identification where species often appear nearly identical, resulting in extreme ambiguity.
Key Insights and Experimental Results
Experimental analysis reveals several critical findings regarding the performance and practical application of SVC:
- Efficiency of Adaptive Set Sizes: Average constraints prove more efficient than point-wise ones. By adapting the set size to local ambiguity—predicting larger sets for difficult images and smaller ones for clear cases—models achieve a superior trade-off between accuracy and informativeness compared to fixed top-k approaches.
- The Role of Calibration: Point-wise error control relies heavily on well-calibrated probability estimates. Since standard neural networks are often poorly calibrated, post-hoc calibration is essential for reliable SVC performance.
- Dataset-Dependent Utility: The benefits of SVC are most pronounced in high-ambiguity settings. While different frameworks perform similarly on MNIST, their differences are stark on ImageNet and PlantCLEF.
- Estimation Efficiency: Threshold estimation for average size control is significantly more data-efficient than for average error control.
Conclusion and Future Work
While the plug-in approach is effective, its performance is bound by the quality of the underlying probability estimates. Future research should explore Empirical Risk Minimization (ERM) for SVC, enabling models to learn to output sets directly, potentially bypassing the need for intermediate probability estimation.
Summary updated