Introduction
In the early 2010s, deep learning often relied on training models layer-by-layer. A significant challenge during this period was bridging the gap between mathematically robust, convex kernel methods and the hierarchical representations learned by deep architectures.
A previous breakthrough, the Multilayer Kernel Machine (MKM), attempted this by stacking kernel layers. However, its training process was inefficient: it used Kernel Principal Component Analysis (KPCA) to extract features in an unsupervised manner, followed by a tedious "trial and error" stage using mutual information and cross-validation to identify relevant features for classification. This paper introduces a supervised strategy to streamline this pipeline, making it faster and more effective.
Methodology
The authors propose a supervised approach for learning the hidden layers of an MKM, replacing unsupervised feature extraction with a more targeted method.
- Multilayer Kernel Machines (MKM): Similar to standard neural networks, an MKM stacks layers where each layer uses a kernel function to project data into a high-dimensional space. This work utilizes arc-cosine kernels, designed to mimic the behavior of infinite-width neural networks.
- Kernel Partial Least Squares (KPLS): Instead of KPCA (which maximizes variance), the authors employ KPLS. This method finds latent variables that maximize the covariance between the input data and the target class labels.
- Automatic Ranking: Because KPLS is supervised, the resulting features are automatically ranked by their relevance to the output. This allows the model to select informative features by simply thresholding eigenvalues, eliminating the need for complex manual feature selection.
- Final Classifier: The architecture concludes with a Large Margin Nearest Neighbor (LMNN) classifier to perform final predictions.
Datasets
The approach was evaluated on three multiclass datasets designed to test deep architectures:
- mnist-back-image: MNIST handwritten digits with backgrounds filled with random image patches.
- mnist-back-random: MNIST digits with random pixel noise backgrounds.
- Brodatz 29: A texture recognition dataset containing 29 different texture classes, such as grass or woven fabric.
The MNIST variants represent "hard" cases where shallow models typically struggle, requiring the hierarchical feature learning capabilities of deeper models.
Key Results and Insights
The transition to a supervised strategy yielded several significant improvements in both performance and training efficiency.
- Superior Accuracy and Efficiency: On the
mnist-back-imagedataset, the KPLS-based MKM consistently outperformed the KPCA-based version across multiple layers. By introducing labels early in the pipeline, the model avoids wasting capacity on prominent but irrelevant features (like background noise). - Stability: A striking finding was the reduced variance in error rates across different runs for KPLS compared to KPCA, indicating a more robust training process.
- Texture Recognition Success: On the Brodatz dataset, KPLS with an "order 0" kernel achieved the best results. In a 29-class task where a random classifier would have a ~96.6% error rate, the model's performance demonstrates significant feature-learning power.
- Streamlined Pipeline: The authors successfully removed the need for the "trial and error" cross-validation step for feature selection at every layer, greatly simplifying the overall architecture.
Limitations and Future Work
Despite its successes, the method faces challenges regarding scalability. Due to the computational intensity of kernel methods, experiments were limited to small subsets of MNIST (1,000 training samples). Additionally, the authors noted some numerical instability as the number of layers increased, particularly with specific kernel orders.
Future research may explore other projection methods, such as Kernel Canonical Correlation Analysis (CCA), or hybrid approaches combining KPLS and KPCA to further refine deep kernel architectures.
Summary updated