Two view learning: SVM-2K, Theory and Practice

Jason D. R. Farquhar, David R. Hardoon, Hongying Meng, John Shawe-Taylor, Sándor SzedmákNeurIPS 2005

Introduction

SVM-2K is a novel learning algorithm that combines the "denoising" power of Kernel Canonical Correlation Analysis (KCCA) with the predictive strength of Support Vector Machines (SVM) into a single optimization step. By forcing two different views of the same data (e.g., two different image descriptors) to produce similar predictions, the model significantly reduces its complexity and improves its ability to generalize to new data.

The Problem with Two-Stage Pipelines

In many real-world scenarios, we have "two views" of the same phenomenon—think of a news article written in both English and French, or an image described by both its color distribution and its texture.

The standard approach to handling this is a two-stage pipeline:

  1. Preprocessing: Use Kernel Canonical Correlation Analysis (KCCA) to find a subspace where the two views are highly correlated, effectively "denoising" the data by focusing on shared information.
  2. Classification: Train an SVM on this new subspace.

The authors identify a major flaw here: the KCCA step is "blind" to the final classification task. It might find directions that are highly correlated but useless for distinguishing between classes. SVM-2K aims to solve this by performing correlation and classification simultaneously.

The SVM-2K Method

The core contribution is the SVM-2K algorithm. Instead of treating correlation and classification as separate steps, the authors propose a single optimization problem with three main components:

  • Two SVMs: The model effectively trains two SVMs at once—one for View A and one for View B.
  • Similarity Constraint: This is the "secret sauce." The authors add a constraint (using an $\epsilon$-insensitive 1-norm) that forces the 1-dimensional projections (the decision values) of both SVMs to be very close to each other for every training example.
  • Unified Objective: The final decision function is the average of the two SVM outputs.

The paper also provides a rigorous theoretical grounding using Rademacher complexity. They prove that by forcing the two views to agree, you significantly restrict the "size" of the space of possible functions the model can choose from, which theoretically leads to better performance on unseen data.

Experimental Setup: PASCAL VOC Dataset

The authors evaluated their approach on the PASCAL Visual Object Classes (VOC) challenge dataset, which includes images of motorbikes, bicycles, people, and cars.

PASCAL VOC Dataset Examples

To test the two-view approach, the researchers extracted two distinct feature sets from the images:

  1. View 1: Affine invariant interest point detectors with moment invariant descriptors.
  2. View 2: SIFT (Scale-Invariant Feature Transform) keypoint features.

Both views were converted into "bag-of-visual-words" histograms (length 400) via clustering.

Key Insights and Results

  • Correlation as Regularization: The requirement that two independent views must agree on a prediction acts as a powerful form of regularization. It’s harder for a model to "overfit" to noise if that noise has to be present and identical in two completely different feature sets.
  • Beyond Preprocessing: By integrating KCCA-like constraints directly into the SVM objective, the model can find "classification-aware" correlations that a standard KCCA pipeline would miss.

The experimental results strongly validate the SVM-2K approach. SVM-2K consistently outperformed individual SVMs and the traditional KCCA+SVM pipeline across all test categories.

Performance and Rademacher Complexity Results
  • The Complexity Shortcut: The most surprising insight is the theoretical confirmation shown in the results table above. The authors demonstrate that the Rademacher complexity of the combined SVM-2K space (Rad 2K) is significantly lower than the complexity of either individual SVM space (Rad 1 and Rad 2). This reduction in complexity directly correlates with the improved classification accuracy, providing a solid theoretical foundation for why the method works so well.

Limitations and Future Work

  • Constraint Rigidity: The authors note that forcing the outputs of two linear functions to be similar might seem like an "arbitrary restriction," especially for points far from the decision boundary. While it works well in practice here, it might be too restrictive for some datasets.
  • Binary Focus: The current formulation is designed for binary classification. Extending this to multi-class problems or regression tasks is a natural next step.
  • Computational Cost: Solving the combined optimization problem is more complex than a standard SVM, though the authors provide a dual formulation to make it tractable. Future work could look into more efficient solvers for very large datasets.

Summary updated

BibTeX
@inproceedings{farquhar2005two,
  author = {Jason D. R. Farquhar and David R. Hardoon and Hongying Meng and John Shawe-Taylor and Sándor Szedmák},
  title = {{Two view learning: SVM-2K, Theory and Practice}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
  url = {https://openreview.net/forum?id=HyVh3P-_WH},
}
Figure