Overview
The paper introduces the TOP kernel (Tangent vectors Of Posterior log-odds), a novel method for extracting discriminative features from generative probabilistic models. By focusing on the gradient of the class decision boundary rather than the data's marginal likelihood, the TOP kernel achieves theoretically faster convergence rates and superior performance in protein sequence classification compared to the widely used Fisher kernel.
The Problem
In machine learning, practitioners often face a dilemma: generative models (like Hidden Markov Models) are excellent at handling complex, non-vector data like DNA or protein sequences, but discriminative classifiers (like Support Vector Machines) usually provide better classification accuracy.
The Fisher kernel (FK) was previously proposed to bridge this gap by using the "score vector" (the gradient of the log-likelihood) as a feature vector for SVMs. However, the Fisher kernel is derived from the marginal likelihood—essentially asking how the model's description of the data changes. The authors argue that for classification, we should instead ask how the model's decision (the posterior probability) changes. The goal is to create a kernel that more directly minimizes classification error.
The TOP Kernel Method
The authors propose the TOP kernel, standing for Tangent vectors Of Posterior log-odds.
-
The Feature Vector: Instead of using the gradient of the log-likelihood (as in FK), the TOP kernel uses the gradient of the posterior log-odds: $v(x, \theta) = \log P(y=+1|x, \theta) - \log P(y=-1|x, \theta)$.
-
Theoretical Foundation: The authors define two new performance measures to analyze feature extractors: $R(f_\theta)$ (classification error) and $D(f_\theta)$ (estimation error of the posterior probability).
- Approximation: They use a first-order Taylor expansion of the log-odds around the estimated parameters. This allows the SVM to "correct" the generative model's initial estimate by finding an optimal linear combination of these gradients.
Key Insights
- Discriminative Focus: The core insight is that the Fisher kernel is somewhat "unsupervised" because it doesn't explicitly use class labels in its gradient calculation. The TOP kernel is inherently discriminative because it looks at the sensitivity of the class boundary itself.
- Faster Convergence: A major theoretical contribution is proving that the TOP kernel has a convergence rate of $O_p(n^{-1})$, which is significantly faster than the $O_p(n^{-1/2})$ rate of the standard "plug-in" estimate (simply using the HMM's prediction).
- The Exponential Family Advantage: The authors show that if the data distribution belongs to the exponential family (like Markov models without hidden states), the TOP kernel can theoretically achieve the Bayes optimal error rate.
Experimental Results
The researchers evaluated their method on protein sequence classification using data from the Superfamily website (based on the SCOP hierarchical scheme). They focused on six distinct two-class classification problems generated from the four largest classes, using fully connected Hidden Markov Models (HMMs) to generate the kernels.
- Superior Accuracy: As shown in the boxplots above, the TOP kernel consistently outperformed both the Fisher kernel and the standard HMM plug-in estimate across all six classification tasks.
- Statistical Significance: Using the Wilcoxon signed-ranks test, the TOP kernel was found to be significantly better than the Fisher kernel across all tested settings.
- Robustness: The scatter plot illustrates a head-to-head comparison on 15 different data splits for a specific class pair (1-2). The TOP kernel achieved lower error rates in 13 out of 15 cases (indicated by points falling above the diagonal line).
Limitations and Future Work
- High Dimensionality: The authors only explored first-order Taylor expansions. While higher-order expansions might capture more detail, they would lead to extremely high-dimensional feature vectors that are computationally impractical.
- Linearity Constraints: The current TOP kernel relies on a local linear approximation of the log-odds. Future work should investigate local or global nonlinear expansions.
- Learning the Transformation: The paper uses a fixed logistic function for the posterior probability. Learning the nonlinear transformation directly from training data could yield even better features.
Summary updated