Large-Scale Multiclass Transduction

Thomas Gärtner, Quoc V. Le, Simon Burton, Alexander J. Smola, S. V. N. Vishwanathan

This paper presents a significant leap in making transductive inference—a flavor of semi-supervised learning—practical for massive datasets. By combining Gaussian Processes (GPs) with variational inference and clever optimization, the authors demonstrate that we can leverage unlabeled data even when dealing with hundreds of thousands of data points.

The Scaling Wall of Transduction

In many real-world scenarios, labeled data is scarce and expensive, while unlabeled data is abundant. Transduction aims to improve a model's performance on a specific test set by looking at the features of that test set during the training phase.

However, traditional transductive methods—especially those based on Gaussian Processes—suffer from a "scaling wall." Standard GPs require $O(m^3)$ time (where $m$ is the total number of data points) because they involve inverting large kernel matrices. When you add a massive amount of unlabeled data to the mix, these algorithms typically grind to a halt. The challenge is: how do we use all that unlabeled data without the computational cost exploding?

A Scalable Approach

The authors introduce a scalable method for multiclass transductive inference using Gaussian Processes. Their approach rests on three main pillars:

  1. Variational Inference: Instead of trying to solve the intractable integral required for a full Bayesian treatment of the unlabeled data, the authors minimize a variational lower bound. This turns the inference problem into a more manageable iterative optimization problem.
  2. Balancing Constraints: A common failure mode in transductive learning is "label collapse," where the model assigns all unlabeled points to the majority class to maximize likelihood. The authors prevent this by enforcing a constraint: the distribution of labels on the test set must be similar to the distribution seen in the training set (within a confidence interval). Experimental results suggest that without these marginal balancing constraints, the variational approach would likely fail to provide better generalization than simple inductive models.
  3. Efficient Parameterization: The algorithm is designed to be effective whenever multiplying a kernel matrix (or its inverse) by a vector is fast. By using Conjugate Gradient (CG) and Newton-Raphson methods, the algorithm avoids explicit matrix inversion.
  4. For string kernels, they use an $\alpha$-parameterization that leverages suffix trees for linear-time computation.
  5. For graph kernels, they use a $t$-parameterization, taking advantage of the fact that the graph Laplacian (and thus the inverse kernel) is often very sparse.

Key Results and Datasets

The authors evaluated their method on a diverse range of data, demonstrating significant performance boosts and unprecedented scaling.

UCI Benchmarks and USPS

On standard UCI datasets (like cancer, housing, ionosphere) and the USPS handwritten digit recognition dataset, the Transductive GP consistently outperformed the Inductive GP, often reducing error rates by 1-2 percentage points. Furthermore, the method showed performance comparable to or better than $S^3VM$ (Successive Over-Relaxation for Support Vector Machines), a state-of-the-art method for transduction at the time.

Performance comparison on UCI benchmarks and USPS dataset

Scaling to Large Graphs: WebKB and Epinions

The method was also tested on WebKB, a dataset of 8,275 webpages from universities classified into categories based on link structure.

Error rates on the WebKB graph datasets

The most impressive result, however, was the successful classification of the Epinions graph—a massive social network dataset consisting of 75,888 vertices and 508,960 "trust" edges. To the authors' knowledge, no previous transductive method had been able to process a graph of that size in reasonable time on standard hardware.

Interestingly, the authors point out that for graph-based models, performing transduction on the full dataset can actually be computationally cheaper than performing induction on just the training set. This is because the inverse kernel matrix of the full graph is often sparse, whereas the "restricted" version needed for induction (the Schur complement) is usually dense and expensive to compute.

Limitations and Future Work

While highly scalable, the method is not without limitations:

  • Calibration Issues: On the WebKB dataset, class membership probabilities were not well-calibrated, forcing the use of a heuristic (picking the most likely instances for each class) for final predictions.
  • Structured Labels: The current framework assumes labels are independent. Extending this to structured labels and Conditional Random Fields (CRFs) is a future goal, though finding suitable marginal distributions for complex structures remains a significant hurdle.
  • Alternative Constraints: While label balancing works well, the authors suggest exploring other constraints, such as those derived from exchangeable distributions like Latent Dirichlet Allocation (LDA).

Summary updated

BibTeX
@inproceedings{gartner2005large,
  author = {Thomas Gärtner and Quoc V. Le and Simon Burton and Alexander J. Smola and S. V. N. Vishwanathan},
  title = {{Large-Scale Multiclass Transduction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
}
Figure