TV-SVM: Total Variation Support Vector Machine for Semi-Supervised Data Classification

Xavier Bresson, Ruiliang ZhangarXiv 2012

Abstract

We introduce semi-supervised data classification algorithms based on total variation (TV), Reproducing Kernel Hilbert Space (RKHS), support vector machine (SVM), Cheeger cut, labeled and unlabeled data points. We design binary and multi-class semi-supervised classification algorithms. We compare the TV-based classification algorithms with the related Laplacian-based algorithms, and show that TV classification perform significantly better when the number of labeled data is small.

Introduction

In semi-supervised learning (SSL), the challenge lies in effectively leveraging a vast amount of unlabeled data alongside a very limited set of labeled examples. Traditional graph-based methods often rely on the graph Laplacian for manifold regularization, assuming a "smooth" transition of labels across the graph. However, this $L_2$-norm-based approach can lead to "bleeding" across class boundaries, particularly in sparse-label regimes.

This paper proposes TV-SVM, a novel framework that replaces traditional Laplacian regularization with Total Variation (TV) regularization. By adopting the "sharp" $L_1$ norm from image processing, TV-SVM preserves the boundaries between data clusters, offering a robust alternative that excels when only a handful of labels are available per class.

Methodology

The core innovation is the application of Total Variation as a regularizer for both Regularized Least Squares (RLS) and Support Vector Machines (SVM).

From Smoothness to Sharpness

While the graph Laplacian minimizes squared differences between neighboring nodes ($L_2$ norm), TV minimizes absolute differences ($L_1$ norm). In image processing, TV is renowned for edge-preserving denoising; in classification, it maintains sharp transitions at the decision boundaries between clusters.

Optimization via Splitting

The non-differentiable nature of the $L_1$ norm necessitates advanced optimization techniques. The authors employ an iterative strategy using Augmented Lagrangian methods (similar to ADMM). This approach splits the complex objective function into smaller, solvable sub-problems that are iterated until convergence.

Multi-class Extension

The binary classification logic is extended to multi-class scenarios through a simplex constraint. This ensures that the predicted class probabilities for each data point are normalized and sum to one.

Experimental Setup

The proposed algorithms were evaluated using the USPS handwritten digit dataset. Experiments focused on:

  • Binary Classification: Distinguishing between digits '4' and '9'.
  • Multi-class Classification: Distinguishing between digits '0', '1', '4', and '9'.
  • Label Scarcity: Testing performance with as few as 1 label per class, up to 50 labels per class.

Key Results

The quantitative analysis reveals a significant performance advantage for TV-based methods in low-label scenarios.

Error rates (%) for binary classification (USPS 4 vs 9) across different label densities.

As shown in the table above, for binary classification with only 1 label per class, Lap-RLS suffers from an 18.09% error rate, whereas TV-SVM achieves a remarkably low 3.18% error. This trend persists across various label counts, with TV-based methods consistently maintaining lower error rates than their Laplacian counterparts.

In multi-class experiments (USPS 0, 1, 4, 9), the gap is even more pronounced. With 1 label per class, Lap-SVM fails significantly with a 49.95% error rate (near-random guessing for four classes), while TV-SVM maintains high precision with only a 1.75% error rate.

Discussion and Insights

The primary "aha moment" is that classification boundaries in high-dimensional data are often sharp rather than smooth. By utilizing an $L_1$ norm, TV-SVM can maintain a sharp jump in the decision function between clusters, whereas Laplacian methods attempt to bridge the gap with a slope, leading to misclassifications.

Furthermore, the choice of regularizer becomes the critical factor for success in "small $n$" scenarios. While most algorithms converge to similar performance levels as the number of labels increases, TV-based methods are uniquely powerful when labels are nearly non-existent. The paper also establishes a theoretical link between these methods and Cheeger cuts, a graph-theoretic approach for optimal graph partitioning.

Limitations and Future Work

Despite its performance, TV-SVM introduces some trade-offs:

  • Computational Complexity: Unlike the linear systems of Laplacian methods, TV-based methods require iterative solvers, which are more computationally intensive.
  • Hyperparameter Sensitivity: The model requires careful tuning of parameters like $\eta, \lambda, \gamma$, and step sizes ($r_1, r_2$).
  • Scalability: Future work is needed to determine how these iterative solvers scale to massive graphs containing millions of nodes.

Summary updated

BibTeX
@misc{bresson2012tv,
  author = {Xavier Bresson and Ruiliang Zhang},
  title = {{TV-SVM: Total Variation Support Vector Machine for Semi-Supervised Data Classification}},
  year = {2012},
  eprint = {1210.0699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1210.0699},
}
Figure