TL;DR
This paper introduces Output Kernel Trees (OK3), a framework that extends decision trees and ensembles to predict complex, structured outputs (like graphs or images). By applying the "kernel trick" to the output space, the authors allow trees to handle any data type where a similarity kernel can be defined, combining the interpretability and scalability of trees with the flexibility of kernel methods.
Introduction: The Structured Output Challenge
Standard decision trees are workhorses of machine learning, but they are traditionally limited to simple outputs: a single category (classification) or a real number (regression). However, many modern problems involve structured outputs. For example, in biology, you might want to predict a network of protein interactions; in computer vision, you might want to predict the missing half of an image.
While kernel methods (like Support Vector Machines) are excellent at handling structured data, they often struggle with high-dimensional input spaces containing irrelevant features. Decision trees, conversely, excel at feature selection and handling irrelevant variables but lacked a principled way to "output" a structure. The authors aim to bridge this gap, creating a model that inherits the best of both worlds.
Methods: Kernelizing the Tree
The core innovation of this paper is the kernelization of the tree-splitting criterion.
- The Variance Trick: Standard regression trees split nodes by trying to maximize the reduction of variance in the output. The authors observe that the formula for variance can be rewritten entirely in terms of scalar products (dot products) between output vectors.
- The Kernel Trick: By replacing these scalar products with a kernel function $k(y, y')$, they can calculate "variance" in a high-dimensional (or even infinite-dimensional) feature space without ever explicitly mapping the data there. This allows the tree to grow based on complex relationships in the output space.
- Output Kernel Trees (OK3): This new algorithm grows trees where each leaf represents a "center of mass" in the output's feature space.
- The Pre-image Problem: A challenge with kernelized outputs is turning a point in the abstract feature space back into a "real" output (e.g., an actual image or graph). The authors solve this by searching the training data within a leaf to find the sample that most closely matches the predicted feature vector.
- Ensembles: To improve accuracy and reduce variance, the authors apply Bagging and Extra-Trees (Extremely Randomized Trees) to the OK3 framework.
Datasets and Key Results
The authors evaluated OK3 on two distinct structured tasks: image reconstruction and enzyme network inference.
Image Reconstruction
Using a subset of the USPS handwritten digit dataset (16x16 pixels), the task was to predict the bottom half of a digit (128 pixels) given the top half. OK3 ensembles significantly outperformed single trees and were competitive with Kernel Dependency Estimation (KDE). Specifically, Extra-Trees provided the best balance of accuracy and computational efficiency.
Biological Networks
The second task involved reconstructing the yeast enzyme network from the KEGG database. This required predicting edges (interactions) between 668 enzymes based on gene expression, protein localization, and phylogenetic profiles. On this task, OK3 with Extra-Trees achieved an Area Under the ROC Curve (AUC) of 0.845. This outperformed the previous state-of-the-art result (0.804) reported on the same dataset using different kernel-based approaches. The tree-based approach proved particularly adept at handling discrete and boolean attributes, which are often tricky for traditional gradient-based kernel methods.
Key Insights
- Unified Framework: OK3 is a generalization. If you use a linear kernel, you get standard multi-output regression trees. If you use a Dirac kernel (1 if identical, 0 otherwise), you get standard classification trees with Gini entropy.
- Supervised Kernel Learning: The model doesn't just predict an output; it effectively learns to approximate a kernel function for unseen inputs. This makes it a powerful tool for "kernel completion" tasks.
- Feature Importance for Structures: Because it's a tree-based model, OK3 can rank which input features are most important for predicting a complex output. In the enzyme task, they discovered that phylogenetic profiles were far more informative than localization data.
- Scalability: Unlike some kernel methods that scale poorly with the number of training instances, OK3 maintains the relative efficiency of tree induction, especially when using ensembles like Extra-Trees.
Limitations and Future Work
- The Pre-image Constraint: The current method for generating a final prediction relies on picking an existing sample from the training set (or a leaf). While effective, it means the model cannot "invent" a completely new output structure that it hasn't seen before.
- Computational Complexity: While trees are generally fast, calculating the kernelized split score has a quadratic complexity $O(N^2)$ relative to the number of samples in a node. The authors suggest that if the output space has a low-dimensional representation, standard multi-output trees might be more efficient.
- Future Directions: The authors suggest exploring different types of output kernels (e.g., for strings or trees) and investigating how the choice of input space affects the generalization of the learned output kernel.
Summary updated