Handling uncertainties in SVM classification

Emilie Niaf, Rémi Flamary, Carole Lartizien, Stéphane CanuarXiv 2011

Abstract

Standard Support Vector Machines (SVMs) typically require "hard" binary labels, which can lead to suboptimal performance when training data contains inherent uncertainty. This paper introduces P-SVM, a hybrid formulation that incorporates probabilistic labels directly into the training phase by combining classification and regression objectives. Experimental results on synthetic datasets demonstrate that P-SVM provides significantly more accurate posterior probability estimates and exhibits greater robustness to label noise compared to traditional SVMs with post-hoc calibration.

Introduction

In traditional supervised learning, models are often trained on "ground truth" labels provided by experts. However, in complex domains such as medical imaging, experts frequently encounter cases where they are uncertain. For instance, a radiologist might estimate a 70% probability of malignancy rather than a definitive diagnosis.

Standard SVMs (C-SVM) force these nuanced observations into binary categories, discarding valuable information about uncertainty and potentially leading to non-robust classifiers that overfit to inaccurate labels. While post-hoc techniques like Platt scaling can estimate probabilities after training, they are external fixes rather than integrated solutions. This paper proposes a method to utilize these "probabilistic labels" during the learning process itself.

Methodology

The core innovation of this work is a new objective function that treats certain labels as classification targets and uncertain labels as regression targets. The training set is partitioned into two groups:

  1. Certain Data: Optimized using a standard hinge loss to maximize the margin between classes.
  2. Uncertain Data: Optimized using an $ε$-insensitive cost function (similar to Support Vector Regression), ensuring the model's output aligns closely with the provided probability estimate ($p_i$).

The model assumes a sigmoid relationship between the SVM decision function and the posterior probability. By deriving the dual form of this hybrid problem, the authors transform it into a convex quadratic programming problem. This allows for efficient computation and the application of the "Kernel Trick" to handle non-linear data distributions.

Experimental Results

Probability Estimation Accuracy

The P-SVM was evaluated against a standard C-SVM paired with Platt scaling using 1D synthetic data derived from overlapping normal distributions. In this controlled environment, the true posterior probability is known. P-SVM achieved a Kullback-Leibler (KL) distance of 0.2, significantly outperforming the standard SVM's KL of 11.3.

Figure 2: Absolute difference between the true posterior probability and the estimates provided by C-SVM + Platt (blue) and P-SVM (red). P-SVM shows a much lower error across the input range.

Robustness to Label Noise

To test robustness, the authors used 2D synthetic data and introduced uniform noise to simulate "sloppy" labeling. P-SVM maintained superior performance as noise levels increased. In high-noise environments, P-SVM maintained approximately 99% accuracy, whereas the standard SVM's accuracy dropped to 95%.

Figure 6: Comparison of Accuracy (left) and Kullback-Leibler divergence (right) between C-SVM and P-SVM as a function of noise amplitude. P-SVM consistently maintains higher accuracy and lower KL divergence.

Conclusion

By treating uncertainty as a quantitative signal rather than noise, P-SVM creates decision boundaries that more closely follow the theoretical Bayes rule. The model's native ability to estimate probabilities without external calibration makes it a powerful tool for domains where expert uncertainty is common. Future work will focus on applying this framework to real-world clinical data, specifically for prostate cancer diagnosis, and extending the model to estimate conditional cumulative distribution functions.

Summary updated

BibTeX
@misc{niaf2011handling,
  author = {Emilie Niaf and Rémi Flamary and Carole Lartizien and Stéphane Canu},
  title = {{Handling uncertainties in SVM classification}},
  year = {2011},
  eprint = {1106.3397},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1106.3397},
}
Figure