Support Vector Classification with Input Data Uncertainty

Jinbo Bi, Tong Zhang

Traditional Support Vector Machines (SVMs) operate under the assumption that input data is perfect, confining any potential noise or errors strictly to the output labels. However, in real-world applications like speech recognition or medical imaging, the inputs themselves are frequently noisy due to sampling errors, sensor limitations, or preprocessing artifacts.

This paper introduces Total Support Vector Classification (TSVC), a framework that explicitly models uncertainty in the input features. By incorporating this uncertainty, TSVC produces more robust classifiers that consistently outperform standard SVMs when dealing with corrupted or noisy data.

The Problem with Input Uncertainty

In standard supervised learning, the input $x$ is treated as the absolute "ground truth." If a standard SVM is trained on noisy inputs, the resulting decision boundary is often skewed by apparent "outliers" that are, in reality, just high-variance data points.

While some argue that noise in both training and testing phases might "cancel out," the authors demonstrate that ignoring input uncertainty leads to suboptimal predictors. TSVC addresses this by incorporating "confidence information"—knowing exactly how much to trust each specific data point—directly into the learning process.

Methods: Total Support Vector Classification

Drawing inspiration from "Total Least Squares" regression, the authors propose TSVC to account for errors in both independent and dependent variables.

  1. Statistical Foundation: The approach begins with a likelihood-based model, treating the "true" unobserved input as a hidden variable. To maintain computational feasibility, this is approximated by treating the true input as a parameter to be optimized.
  2. Bounded Uncertainty Model: Rather than assuming a complex probability distribution for noise, TSVC employs a simple geometric model: each input $x_i$ is assumed to lie within a bounded distance $\delta_i$ of its true value.
  3. The TSVC Formulation: The standard SVM objective function is modified. Instead of merely finding a hyperplane that separates the observed points, TSVC finds a hyperplane and a "shift" for each point ($\Delta x_i$) within its uncertainty bound that maximizes the margin.
  4. Geometric Interpretation: This formulation leads to an intuitive geometric interpretation. TSVC is equivalent to shifting every data point along the direction of the weight vector $w$ to its most "pessimistic" position within its uncertainty sphere, and then finding the maximum margin for these shifted points.
Geometric interpretation of TSVC showing standard SVM, uniform uncertainty, and varying uncertainty bounds.
  1. Optimization: The authors provide an iterative alternating optimization algorithm and a more efficient Quadratically Constrained Quadratic Program (QCQP) formulation for linear cases. They also extend the method to non-linear kernels using a first-order Taylor expansion to handle uncertainty in high-dimensional feature spaces.

Datasets and Key Results

The authors evaluated TSVC on both synthetic and real-world datasets, demonstrating consistent improvements over standard Support Vector Classification (SVC).

  • Synthetic 2D Data: Two datasets were generated with linear ($x_1 - x_2 = 0$) and quadratic ($x_1^2 + x_2^2 = 9$) target boundaries. Gaussian noise and specific "outlier" noise were added to the inputs to test robustness. At small sample sizes ($n=20$), TSVC dropped the error rate from 8.9% to 6.1% on the linear dataset, and from 9.9% to 7.9% on the quadratic dataset.
Synthetic 2D datasets with linear and quadratic boundaries, illustrating input uncertainty spheres.
  • NIST Handwritten Digits: To simulate real-world uncertainty, clean digit images were randomly rotated between -8° and 8°. The task was to discriminate between odd and even numbers. By modeling the rotation as input uncertainty, TSVC achieved lower error rates (e.g., 16.10% vs 18.91% for $n=500$), proving that this approach helps the classifier generalize better to "clean" test data.

Key Insights

  • Classification's "Total Least Squares": Just as Total Least Squares accounts for errors in both independent and dependent variables in regression, TSVC achieves the same comprehensive error modeling for classification.
  • Robustness to Outliers: TSVC is naturally less sensitive to outliers. If a point has a large uncertainty bound ($\delta_i$), the model can "move" it further from the decision boundary during training, preventing a single noisy point from drastically pulling the boundary.
  • Feature-Specific Trust: The model allows for different $\delta_i$ values for every data point. If a specific sensor measurement is known to be shaky, that metadata can be fed directly into the TSVC to improve the global model.

Limitations and Future Work

While highly effective, the TSVC framework has a few limitations:

  • Kernel Approximation: The kernelized version of TSVC relies on a first-order Taylor expansion. This approximation might struggle with extremely complex, highly non-linear kernels where the first derivative fails to capture enough local geometry.
  • Estimating $\delta$: The model's performance heavily depends on having a good estimate of the uncertainty bounds ($\delta_i$). In the NIST experiment, $\delta$ had to be treated as a tuning parameter. Finding automated ways to estimate these bounds directly from data remains an open challenge.
  • Test-Time Uncertainty: The current framework focuses on recovering the "true" classifier from noisy training data. Rigorously handling uncertainty in the test data—where labels are entirely unknown—requires further investigation into mixture models or "voted" classifiers.

Summary updated

BibTeX
@inproceedings{bi2004support,
  author = {Jinbo Bi and Tong Zhang},
  title = {{Support Vector Classification with Input Data Uncertainty}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2004},
}
Figure