TL;DR
This paper proposes a novel approach to training conformal predictors by directly optimizing "efficiency criteria" like observed fuzziness, rather than relying on traditional prediction error minimization. Their experiments on handwritten digit classification show that training with observed fuzziness leads to better efficiency scores, while still maintaining competitive prediction accuracy.
What Problem Does This Paper Address?
Conformal prediction is a powerful framework for generating reliable prediction sets and p-values. The standard approach involves taking an existing machine learning model and wrapping it with a conformal prediction layer. This separation, while convenient, might limit the overall performance. The authors identify a gap: efficiency criteria, like "observed fuzziness" (a measure of how "fuzzy" the predictions are, based on p-values of incorrect labels), are typically used after a predictor is trained to evaluate its performance. This paper asks: can we use these efficiency criteria during training as objective functions to create better conformal predictors from the ground up?
Methods
The core idea is to treat efficiency criteria as training objectives. Instead of minimizing the prediction error of a base classifier, the authors propose minimizing the "observed fuzziness" of the conformal predictor. They implement this by:
- Split-Conformal Prediction: They use a standard split of data into training and testing sets, and further split the training set into "pre-training" and "pre-test" (calibration) sets. This is crucial for ensuring the validity of conformal predictions.
- Model Class: They focus on a simple 1-dimensional model class for the conformity measure, parameterized by a single real-valued parameter
p. This allows for an approximate exhaustive search over a discrete version of the parameter space. - Training Objectives: They compare two training strategies:
- PE-training: Minimizing the prediction error (PE) of the underlying point classifier. This is the traditional approach.
- OF-training: Minimizing the observed fuzziness (OF) of the conformal predictor. This is the novel approach.
- Conformity Measure: They use a kernel-based conformity score
Qpwherepis the parameter to be optimized. The kernel is an exponential function of the Euclidean distance between feature vectors.
Datasets
The experiments are conducted on the MNIST dataset for handwritten digit classification. The data is split into:
Dpre-pre-trainDpre-pre-testDpre-test(calibration set)Dtest
These splits are used to train and evaluate models with varying dataset sizes (2 * nsize, where nsize is 5, 10, 20, or 40).
Key Insights and Ideas
- Training with Efficiency: The paper demonstrates that efficiency criteria can be directly used as training objectives, moving beyond their traditional role as evaluation metrics. This opens up a new avenue for designing more specialized conformal predictors.
- Consonant vs. Dissonant Training: The authors highlight that "consonant training" (optimizing for the same criterion you evaluate on, e.g., OF-training for OF-testing) generally performs better than "dissonant training" (e.g., OF-training for PE-testing). This suggests that aligning training objectives with evaluation goals is crucial.
- OF-training for Better Efficiency: Conformal predictors trained by minimizing observed fuzziness (OF-training) achieve better observed fuzziness scores on the test set compared to those trained by minimizing prediction error.
- PE-training for Better Accuracy: Conversely, predictors trained by minimizing prediction error (PE-training) tend to have better prediction accuracy, though the difference is not always overwhelming.
Key Results
- OF-training leads to lower observed fuzziness: The primary finding is that models trained using observed fuzziness as the objective function consistently achieve lower observed fuzziness scores on the test set.
- PE-training leads to competitive prediction error: While OF-trained models excel in efficiency, PE-trained models generally maintain better prediction error, though OF-trained models are not significantly worse.
- Consonant training is generally superior: The results strongly support the idea that training and testing objectives should align. For example, when the goal is to minimize prediction error, PE-training is usually better, and when the goal is to minimize observed fuzziness, OF-training is usually better.
- Performance improves with training set size: As expected, test performance generally improves as the size of the training sets increases, although the improvement plateaus relatively quickly.
Limitations and Future Work
- Limited Model Class: The experiments are restricted to a 1-dimensional model class for the conformity measure. The authors suggest exploring more complex model classes and using methods like Gradient Descent instead of exhaustive search for optimization.
- Split-Conformal Prediction: The paper focuses on split-conformal prediction. Future work could explore full conformal prediction and more data-efficient methods like cross-conformal prediction or jackknife+.
- Other Efficiency Criteria: The authors mention that other efficiency criteria exist (some non-probabilistic) and suggest investigating their use in training, acknowledging that prediction error might suffer in such cases.
- Broader Empirical Studies: More extensive empirical studies across a wider range of datasets are recommended to confirm these findings.
Summary updated